-
-
Notifications
You must be signed in to change notification settings - Fork 737
Reduce usage of error level logging in ascan rules #6644
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
base: main
Are you sure you want to change the base?
Conversation
Great job! No new security vulnerabilities introduced in this pull request |
1177681
to
231a33d
Compare
@@ -382,7 +382,7 @@ private void sendPayloadsToMakeCallBack(String paramName, String[] commandExecPa | |||
ex.getMessage(), | |||
msg.getRequestHeader().getURI()); | |||
} catch (IOException ex) { |
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.
Exception
is also caught just below, shall I remove that catch clause?
@@ -156,7 +156,7 @@ public void scan(HttpMessage msg, String param, String value) { | |||
scanWithPayloads(param, ATTACK_PATTERNS_CVE44228, PREFIX_CVE44228); | |||
scanWithPayloads(param, ATTACK_PATTERNS_CVE45046, PREFIX_CVE45046); | |||
} catch (Exception e) { | |||
LOGGER.error(e.getMessage(), e); | |||
LOGGER.warn(e.getMessage(), e); |
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.
OAST
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.
This may be too much change, I'm happy to revert this file if wanted.
5c23602
to
0380908
Compare
0380908
to
815e1c2
Compare
- Add change note. - Update logging in scan rules. Signed-off-by: kingthorin <[email protected]> # Conflicts: # addOns/ascanrules/CHANGELOG.md
815e1c2
to
1d5b721
Compare
Overview