fix: add Referrer-Policy header check and update description#518
Open
balaakasam wants to merge 2 commits into
Open
fix: add Referrer-Policy header check and update description#518balaakasam wants to merge 2 commits into
balaakasam wants to merge 2 commits into
Conversation
Signed-off-by: balaakasam <thripuraavula@gmail.com>
Member
|
New Issues (1)Checkmarx found the following issues in this Pull Request
Use @Checkmarx to interact with Checkmarx PR Assistant. |
Member
|
Needs a spotlessApply. |
Signed-off-by: balaakasam <thripuraavula@gmail.com>
Author
|
Thank you for the feedback @kingthorin. I've refactored the Referrer-Policy check to use the existing array mechanism consistent with the rest of the script. Please let me know if any further changes are needed, I can do so accordingly. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Description
Adds a missing
Referrer-Policyheader check to the existing Multiple Security Header Check script and updates the metadata description to include it in the list of checked headers.Changes
Referrer-Policyto the metadata description listReferrer-Policyheader with appropriate alert name, description, and solutionWhy
The Referrer-Policy header is a modern security header recommended by OWASP and included in the OWASP Secure Headers Project. It was missing from this script while all other major security headers were already covered.
References