Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⭐️ add recommendations from OWASP HTTP Security Response Headers #427

Merged
merged 3 commits into from
Aug 23, 2024

Conversation

chris-rock
Copy link
Member

This PR adds recommendations from OWASP http header recommendations.

  • Recommendation for removal or obfuscation of http Server header
  • Recommendation for removal of http header X-Powered-By, X-AspNet-Version, X-AspNetMvc-Version and Public-Key-Pins
cnspec scan host google.com -f core/mondoo-http-security.mql.yaml

Asset: google.com
-----------------

Checks:
✕ Fail:       Set X-Content-Type-Options HTTP header to 'nosniff'
✓ Pass:       Remove all X-AspNetMvc-Version headers.
✕ Fail:       Set Content Security Policy (CSP) HTTP header
✓ Pass:       This header Public-Key-Pins is deprecated and should not be used anymore
✓ Pass:       Remove Server header or obfuscate it
✓ Pass:       Remove all X-Powered-By headers.
✓ Pass:       Remove all X-AspNet-Version headers.
✕ Fail:       Set Strict-Transport-Security (HSTS) HTTP header

This comment has been minimized.

Co-authored-by: Letha <[email protected]>
Signed-off-by: Tim Smith <[email protected]>
@misterpantz
Copy link
Contributor

Nice, clear descriptions! 🥇

@chris-rock chris-rock merged commit 573a15c into main Aug 23, 2024
7 checks passed
@chris-rock chris-rock deleted the chris-rock/owasp-header branch August 23, 2024 16:21
@github-actions github-actions bot locked and limited conversation to collaborators Aug 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants