Skip to content

Conversation

kingthorin
Copy link
Member

Overview

  • Add change note.
  • Update logging in scan rules.

@thc202 thc202 changed the title ascanrules all: Reduce usage of error level logging Reduce usage of error level logging in ascan rules Aug 6, 2025
@psiinon
Copy link
Member

psiinon commented Aug 6, 2025

Logo
Checkmarx One – Scan Summary & Details6a49f02a-6ae3-4f14-b90e-d35412f2251e

Great job! No new security vulnerabilities introduced in this pull request


Use @Checkmarx to reach out to us for assistance.

Just send a PR comment with @Checkmarx followed by a natural language request.

Examples: @Checkmarx how are you able to help me? @Checkmarx rescan this PR

ex.getClass().getName(),
ex.getMessage(),
msg.getRequestHeader().getURI());
} catch (IOException ex) {
Copy link
Member Author

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?

scanWithPayloads(param, ATTACK_PATTERNS_CVE45046, PREFIX_CVE45046);
} catch (Exception e) {
LOGGER.error(e.getMessage(), e);
LOGGER.warn(e.getMessage(), e);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OAST

Copy link
Member Author

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.

@kingthorin kingthorin force-pushed the dont-log-at-error branch 4 times, most recently from 5c23602 to 0380908 Compare August 6, 2025 15:37
@kingthorin kingthorin marked this pull request as draft August 7, 2025 01:13
@kingthorin kingthorin marked this pull request as ready for review August 7, 2025 11:50
@kingthorin kingthorin force-pushed the dont-log-at-error branch 2 times, most recently from ee9626c to bdb1f46 Compare September 15, 2025 18:40
- Add change note.
- Update logging in scan rules.

Signed-off-by: kingthorin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants