Skip to content

Commit

Permalink
Another exception.
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahelsaig committed Aug 22, 2024
1 parent a54112a commit 60a870b
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,16 @@ public static Task RunAndConfigureAndAssertFullSecurityScanForContinuousIntegrat
configuration.ExcludeUrlWithRegex(@".*/Lombiq.Tests.UI.Shortcuts/.*");
configuration.MarkScanRuleAsFalsePositiveForUrlWithRegex(
".*/(Login|ChangePassword)([?].*)?",
".*/(Login|ChangePassword)[?][rR]eturnUrl=.*",
6,
"Path Traversal",
"Setting the returnUrl attribute to a itself yields a false positive");
"Setting the ReturnUrl query parameter to a itself yields a false positive");
configuration.MarkScanRuleAsFalsePositiveForUrlWithRegex(
".*/(Login|ChangePassword)[?][rR]eturnUrl=.*",
40018,
"SQL Injection",
"Setting the ReturnUrl query parameter to an SQL expression can't actually cause SQL Injection.");
// Active scan takes a very long time, this is not practical in CI.
configuration.ModifyZapPlan(plan => plan
Expand Down

0 comments on commit 60a870b

Please sign in to comment.