Repository navigation
Plimsoll in CI: SARIF output for GitHub code scanning, and a GitHub Action that runs the analysis and uploads it. It is also on Maven Central as io.github.hasanyelaldi:plimsoll-cli:0.2.0 (plus plimsoll-core and plimsoll-collectors).
- uses: hasanyelaldi/plimsoll@v0.2.0
with:
path: . # a directory of services, or a specThe job needs security-events: write to upload; see In GitHub Actions. On the command line: java -jar plimsoll.jar analyze --format=SARIF path/to/spec-or-repo.
plimsoll.jar is signed with key CBFEEF57067799F155B117A344F145F2D5D160C1 (plimsoll.jar.asc). SHA-256: 885fc23bcb8dcf7ed504a87a4f124a17e6a6f0e2e3f7e3dee2706545562aeae0.
Read the known limitations before trusting a report.
What's in 0.2.0
Plimsoll in CI: SARIF output for code scanning and a GitHub Action that runs the analysis and uploads it.
CLI and report
--format=SARIF: SARIF 2.1.0 for code scanning; a finding is placed at the firstfile:lineamong its values
(ADR 0013, #75). Each result has its ownprimaryLocationLineHash, so findings that share a line stay separate
alerts (#76).- GitHub Action (
uses: hasanyelaldi/plimsoll@v0.2.0): downloads the release jar, checks its SHA-256 and signature,
runs the analysis and uploads SARIF to code scanning; fails on findings at or abovefail-onafter the upload (#76).