Skip to content

fix: add security headers to audit route - #1130

Merged
greatest0fallt1me merged 1 commit into
CalloraOrg:mainfrom
Baskarayelu:fix/audit-security-1102
Jul 30, 2026
Merged

fix: add security headers to audit route#1130
greatest0fallt1me merged 1 commit into
CalloraOrg:mainfrom
Baskarayelu:fix/audit-security-1102

Conversation

@Baskarayelu

Copy link
Copy Markdown
Contributor

Summary

  • apply the standard CSP, X-Content-Type-Options, and Referrer-Policy middleware to /api/audit
  • cover the required headers on the audit route

Verification

  • npx jest src/routes/audit.test.ts --runInBand --forceExit (10 tests passed)

Closes #1102

@greatest0fallt1me
greatest0fallt1me merged commit 7428447 into CalloraOrg:main Jul 30, 2026
1 check passed
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.

Add security header sweep for /api/audit [b#040]

2 participants