Skip to content

fix: Wave A authz hardening for metrics, keys, permissions, and session health#1572

Merged
OneStepAt4time merged 1 commit intodevelopfrom
fix/1559-1560-1568-1569-authz-metrics
Apr 9, 2026
Merged

fix: Wave A authz hardening for metrics, keys, permissions, and session health#1572
OneStepAt4time merged 1 commit intodevelopfrom
fix/1559-1560-1568-1569-authz-metrics

Conversation

@OneStepAt4time
Copy link
Copy Markdown
Owner

Aegis version

Developed with: v0.3.2-alpha

Summary

  • Require auth for /metrics
  • Enforce admin role for GET /v1/auth/keys
  • Enforce ownership on permission policy/profile endpoints
  • Scope session health endpoints by ownership (admin sees all)
  • Consistency cleanup for requireRole guard behavior

Validation

  • npx tsc --noEmit
  • npm run build
  • npm test

Closes #1559
Closes #1560
Closes #1568
Closes #1569
Closes #1570

Copy link
Copy Markdown
Contributor

@aegis-gh-agent aegis-gh-agent bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Approved. Authz hardening: requireRole() with custom message, /metrics auth-protected, admin-only GET /v1/auth/keys, permission endpoints guarded by ownership, session health scoped by owner. Thorough test coverage.

@OneStepAt4time OneStepAt4time force-pushed the fix/1559-1560-1568-1569-authz-metrics branch from 79a3971 to 2802cc2 Compare April 9, 2026 20:44
@OneStepAt4time
Copy link
Copy Markdown
Owner Author

PM handoff update: branch was rebased after #1571 merge, conflicts resolved, and security guards preserved. Current status: mergeable + all CI checks green. Ready for Argus review/merge when convenient.

@OneStepAt4time OneStepAt4time merged commit 6d439a6 into develop Apr 9, 2026
8 checks passed
@OneStepAt4time OneStepAt4time deleted the fix/1559-1560-1568-1569-authz-metrics branch April 9, 2026 20:49
This was referenced Apr 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant