sechub
sechub copied to clipboard
feat: improve scan and implement falsePositives
This PR adds support for false positives on GitHub actions by implementing falsePositives
action. This action works for the following SecHub CLI actions:
-
defineFalsePositives
with inputaction
specified asDEFINE
. -
markFalsePositives
with inputaction
specified asMARK
. -
unmarkFalsePositives
with inputaction
specified asUNMARK
.
This PR also improves and fixes scan
action to be fully working with the latest client version. Previous getReport
was failing since getReport
does not support the additional input --reportformat
. According to documentation getReport
on CLI always outputs in JSON. This PR fixes that.
In addition also improved CLI binaries release download by using GitHub tool cache, so that we can download and cache the tool in runners.
Closes: #2078