Add OpenTaint SARIF reader support#266
Add OpenTaint SARIF reader support#266seqradev wants to merge 4 commits intoOWASP-Benchmark:mainfrom
Conversation
Add support for Seqra security static analysis tool: - SeqraReader.java: SARIF reader using CweSourceType.TAG - SeqraReaderTest.java: Unit tests for the reader - Benchmark_Seqra.sarif: Test data file - Register reader in Reader.java
|
@darkspirit510 - Can you review all this and the change to BencharkJava too. This tool's repo is apparently at: https://github.com/seqra/seqra-jvm and there is a wiki article about it here: https://deepwiki.com/seqra/seqra-jvm-sast. |
|
Hi @davewichers, If you have any questions, feel free to ask. Thanks for the quick response! |
darkspirit510
left a comment
There was a problem hiding this comment.
Just one minor thing, the rest looks good to me.
plugin/src/main/java/org/owasp/benchmarkutils/score/parsers/sarif/SeqraReader.java
Outdated
Show resolved
Hide resolved
|
@davewichers I guess this one can be merged. |
|
Hi @darkspirit510, we've updated the analyzer's name, so I need to make the same change in this PR. Please let me handle it — I need a day to do it. |
beda9d2 to
d7f0857
Compare
d7f0857 to
0f94428
Compare
|
@seqradev - Failing a test case. |
|
@darkspirit510 - Can you review this again to see if you are OK to merge it now? |
OpenTaintReader, a new SARIF-based parser for the OpenTaint static analysis toolcookie-issecure-falserule, which reports CWE-319 but should map to CWE-614 (Insecure Cookie) for Benchmark scoringReader.javaalongside existing parsers