lucashgrifoni/OSS Security Policy as Code

Evaluate a repository against bundled OSS security baselines (governance, CI/CD, supply chain).

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
targetPath to the repository root to evaluate. Defaults to the workspace.no.
profileProfile ID (e.g. github-level-1, github-release-hardening-2) or path to an external YAML profile. Omit to read the profile from oss-policy-kit.yaml at the target. no""
fail-onCI gate mode: none, fail, or degraded. Defaults to fail.nofail
output-dirDirectory where evaluation-report.json / .md will be written.nooss-policy-reports
waiversOptional path to a waivers YAML file (kept under version control).no""
scorecard-jsonOptional OpenSSF Scorecard JSON export used as supplemental evidence.no""
sarif-outputOptional SARIF 2.1.0 file path (relative paths resolve under output-dir). When set, the action emits SARIF; uploading it to Code Scanning is the caller's responsibility (e.g. via github/codeql-action/upload-sarif). no""
kit-versionPin a specific oss-policy-kit version on PyPI. Defaults to the version that matches this action tag. Use `latest` to track the newest 5.x. no""
python-versionPython version used to run the kit. 3.12+ is required.no3.12
namedescription
report-jsonAbsolute path to evaluation-report.json
report-markdownAbsolute path to evaluation-report.md
sarifAbsolute path to the SARIF file (only set when sarif-output was provided).
exit-codeExit code returned by `oss-policy-kit evaluate` (0 / 1 / 2 / 3).