Skip to content

Update Mend reader for XML and add Mend reader for SARIF - #326

Open
jankuehl-ws wants to merge 2 commits into
OWASP-Benchmark:mainfrom
jankuehl-ws:feature/update-mend-reader
Open

Update Mend reader for XML and add Mend reader for SARIF#326
jankuehl-ws wants to merge 2 commits into
OWASP-Benchmark:mainfrom
jankuehl-ws:feature/update-mend-reader

Conversation

@jankuehl-ws

Copy link
Copy Markdown

No description provided.

@davewichers

Copy link
Copy Markdown
Contributor

@darkspirit510 - Can you review and make sure there are test cases for the new features (and old). And if they are missing can you add them to this PR? Hopefully, they sent you some of the new format results files via email or something.

@darkspirit510 darkspirit510 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Two minor remarks. Code itself looks good. Parsing works without errors.

import org.owasp.benchmarkutils.score.ResultFile;
import org.owasp.benchmarkutils.score.TestSuiteResults;

/**

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Guess this is AI generated comment. It does not add any value, so I propose to remove it.

}
}

private void parseFindings(Report.EngineResults.Result result, TestSuiteResults tr) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

parseFindings and parseVulnerabilities looks very similar. Can you merge them somehow?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants