-
-
Notifications
You must be signed in to change notification settings - Fork 744
pscanrules: PII Disclosure threshold handling and visible text #6804
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
Conversation
Great job! No new security vulnerabilities introduced in this pull requestUse @Checkmarx to reach out to us for assistance. Just send a PR comment with Examples: |
0aa3ba3
to
cfbf4aa
Compare
Note the diff probably seems like a lot of change but part of that is because an extra loop was introduced which changed indentation on a bunch of lines, and another block of code was moved earlier in the file. |
addOns/pscanrules/src/main/java/org/zaproxy/zap/extension/pscanrules/PiiScanRule.java
Outdated
Show resolved
Hide resolved
addOns/pscanrules/src/main/java/org/zaproxy/zap/extension/pscanrules/PiiScanRule.java
Outdated
Show resolved
Hide resolved
addOns/pscanrules/src/main/java/org/zaproxy/zap/extension/pscanrules/PiiScanRule.java
Outdated
Show resolved
Hide resolved
...c/main/javahelp/org/zaproxy/zap/extension/pscanrules/resources/help/contents/pscanrules.html
Outdated
Show resolved
Hide resolved
addOns/pscanrules/src/test/java/org/zaproxy/zap/extension/pscanrules/PiiScanRuleUnitTest.java
Outdated
Show resolved
Hide resolved
addOns/pscanrules/src/test/java/org/zaproxy/zap/extension/pscanrules/PiiScanRuleUnitTest.java
Outdated
Show resolved
Hide resolved
addOns/pscanrules/src/test/java/org/zaproxy/zap/extension/pscanrules/PiiScanRuleUnitTest.java
Outdated
Show resolved
Hide resolved
addOns/pscanrules/src/test/java/org/zaproxy/zap/extension/pscanrules/PiiScanRuleUnitTest.java
Outdated
Show resolved
Hide resolved
e8b6f05
to
2e6ee57
Compare
Signed-off-by: kingthorin <[email protected]>
Got all those (I think) and the conflict. |
Thank you! |
Overview
The PII Disclosure scan rule now only evaluates visible text and script blocks at Medium or High alert threshold, while the entire response body is considered at Low alert threshold.
This is intended to reduce false positives related to values present in non-visible HTML elements such as attributes, etc.