-
-
Notifications
You must be signed in to change notification settings - Fork 713
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
ascanrules: add SqlInjectionScanRule unit tests for boolean based #5797
base: main
Are you sure you want to change the base?
Conversation
addOns/ascanrules/src/main/java/org/zaproxy/zap/extension/ascanrules/SqlInjectionScanRule.java
Outdated
Show resolved
Hide resolved
@@ -93,287 +101,640 @@ void shouldReturnExpectedMappings() { | |||
is(equalTo(CommonAlertTag.WSTG_V42_INPV_05_SQLI.getValue()))); | |||
} | |||
|
|||
@Test | |||
void shouldTargetDbTech() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would have been better if this was done in a separate commit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point. I'll keep code reorganization separate from code changes going forward.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated to remove those changes
8fcb9d6
to
ff7eae4
Compare
Signed-off-by: FiveOFive <[email protected]>
ff7eae4
to
366804e
Compare
Overview
Briefly describe the purpose, goals, and changes or improvements made in this pull request.
Related Issues
Specify any related issues or pull requests by linking to them. zaproxy/zaproxy#8652
Checklist
./gradlew spotlessApply
for code formattingFor more details, please refer to the developer rules and guidelines.