jhl-labs/Security CLI Action

Install security-cli from jhl-labs/dist and publish scan findings as GitHub Actions annotations.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jun 15, 2026
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: jhl-labs/security-cli-action@4b5b383f2f18841ed470dfb85dc9084b9b909aad # no releases — HEAD as of 2026-07-11

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
tokenGitHub token used by checkout and security-cli tool installation.no${{ github.token }}
checkoutWhether this action should checkout the repository before scanning.notrue
repositoryRepository to checkout.no${{ github.repository }}
refGit ref to checkout.no${{ github.ref }}
fetch-depthCheckout fetch depth. Use 0 when secret scanning needs Git history.no0
versionsecurity-cli version to install, such as v0.1.8. Use latest for the newest public release.nolatest
targetPath or artifact target passed to security-cli.no.
commandsecurity-cli command to run.nodiagnose
profilesecurity-cli profile.noci
output-dirDirectory where security-cli writes reports.noreports/security
formatsComma-separated security-cli output formats.nostdout,json,sarif
install-toolsInstall the default scanner toolchain before scanning.notrue
update-dbUpdate scanner vulnerability databases before scanning.nofalse
annotation-limitMaximum number of GitHub Actions annotations to emit.no200
fail-on-findingsReturn the security-cli exit code after annotations are emitted.notrue
usage-trackingSend usage metrics to SE Actions Space. Requires SE_ACTIONS_API_KEY in the caller environment.notrue
usage-action-slugAction slug registered in SE Actions Space for usage metrics.nosecurity-cli-action
se-actions-base-urlSE Actions Space base URL used for usage metrics.nohttps://actions.euno.work
se-actions-origin-ipOptional origin IP used to bypass an external proxy for usage metrics smoke tests.no""
extra-argsExtra arguments appended to the security-cli command.no""
namedescription
exit-codesecurity-cli exit code.
duration-secondssecurity-cli execution duration in seconds.
report-dirDirectory containing security-cli reports.