jamiemagee/Scan Nix code with codeql-nix

Run the codeql-nix extractor and queries, then upload SARIF to GitHub code scanning.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
source-rootDirectory containing the Nix code to scan.no.
query-suiteCodeQL query suite to run. One of: - "code-scanning" (default) — the curated codeql-nix security/correctness suite - "code-quality" — the nixpkgs-hammering-style style/quality lints - a path to a .qls file - a single .ql file nocode-scanning
enable-qualityIf "true", also runs the `code-quality` suite (Phase 3a nixpkgs-hammering ports). Findings from both suites are uploaded to the same SARIF file under the same category. Default is "false" so existing pipelines see no change. nofalse
categorySARIF category used to disambiguate analyses in the Security tab.nocodeql-nix
versionVersion of codeql-nix to use (a `vX.Y.Z` tag, or `latest`). nolatest
uploadWhether to upload SARIF to GitHub code scanning.notrue
outputPath to write the SARIF file to (default: ./codeql-nix-results.sarif).nocodeql-nix-results.sarif
namedescription
sarif-filePath of the produced SARIF file.