cra-tools/aibomgen-cli Action

Generates an AI Bill of Materials (AIBOM) for ML model files using aibomgen-cli

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
commandThe aibomgen-cli command to execute: download, scan, generate, validate, completeness, vuln-scan, mergeyesscan
scan-inputDirectory path for command=scanno.
generate-model-idsComma or newline-separated Hugging Face model IDs for command=generateno
validate-inputPath or comma/newline-separated paths to existing AIBOM files for command=validateno
validate-strictEnable strict validation mode for command=validatenofalse
validate-min-scoreMinimum completeness score (0..1) for command=validateno
validate-check-model-cardValidate model card fields for command=validatenofalse
completeness-inputPath to an existing AIBOM file for command=completenessno
completeness-plain-summaryEmit plain machine-readable summary for command=completenessnofalse
vuln-scan-inputPath or comma/newline-separated paths to existing AIBOM files for command=vuln-scanno
vuln-scan-enrichInject vulnerability findings back into the AIBOM for command=vuln-scannofalse
vuln-scan-no-previewSkip save preview prompt when command=vuln-scan and enrich is enablednofalse
vuln-scan-output-formatOutput format for enriched AIBOM in command=vuln-scannoauto
merge-aibom-filesComma or newline-separated AIBOM file paths for command=mergeno
merge-sbom-fileSBOM file path for command=mergeno
merge-output-fileOutput merged BOM file path for command=mergeno
merge-deduplicateDeduplicate components by bom-ref for command=mergenotrue
formatBOM format input for command operations: json, xml, autonoauto
output-fileOutput file path for commands that support writing a single file. Not supported for command=scan, command=generate, or command=vuln-scan.no
spec-versionCycloneDX spec version (for commands supporting --spec)no
hf-tokenHugging Face access token for private/gated modelsno
hf-modeHugging Face metadata mode for scan/generate: online or dummynoonline
hf-timeoutHugging Face timeout in secondsno0
no-security-scanDisable HF security scan enrichment on scan/generatenofalse
configPath to an aibomgen-cli configuration file (--config)no
log-levelLog verbosity: quiet, standard, debugnostandard
aibomgen-versionaibomgen-cli version to use (for example v0.2.1)nov0.2.1
aibomgen-sha256Optional SHA256 checksum for downloaded release archiveno
github-tokenGitHub token used for uploading artifacts and release assetsno${{ github.token }}
artifact-nameOptional label for the uploaded workflow artifact bundle; produced BOM files keep their original filenames inside the artifactno
upload-artifactUpload produced output files as a workflow artifact bundle while preserving each file's original filenamenotrue
upload-artifact-retentionRetention policy in days for the uploaded workflow artifact. Minimum 1 day, maximum 90 days (repository default if 0). no0
upload-release-assetsAttach produced output files to a release on release/tag events using their original filenamesnotrue
aibom-artifact-matchFallback pattern used to select workflow artifacts for release upload when current-run output files are not availableno
aibom-artifact-match-modePattern mode for the fallback aibom-artifact-match lookup: exact or globnoexact
release-ref-prefixRef prefix used to detect release pushes (default: refs/tags/)no
namedescription
cmdA reference to the aibomgen-cli command (set when command=download)
executed-commandThe command that was executed
written-filesNewline-separated output file paths discovered by the action