otto-de/SBOM Auditor Action

Audits SBOM for license compliance.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
github_tokenGitHub token to access the dependency graph API.yes${{ github.token }}
fail_hardIf true, the action will fail if license violations are found.nofalse
openai_api_keyAPI key for AI-assisted summary generation. Use with ai_provider input to specify the provider.no
ai_providerAI provider to use for summary generation. Options: openai, azure, bedrock, github.noopenai
azure_endpointAzure OpenAI endpoint URL (required when ai_provider is "azure").no
azure_deploymentAzure OpenAI deployment name (required when ai_provider is "azure").no
aws_regionAWS region for Bedrock (required when ai_provider is "bedrock").no
ai_model_nameSpecific AI model name to use (optional, provider-specific defaults will be used).no
package_policy_pathPath to the optional package policy JSON file. If not provided, helpers/package_policy.json within the action will be used.no
policy_pathPath to a custom license policy JSON file. Can contain "policies" (license rules) and/or "packagePolicies" (PURL-based exceptions). By default merged with the built-in policy.no
policy_modeHow to handle custom policies: "merge" (default) combines with built-in policies, "replace" uses only the custom policy.nomerge
internal_dependency_patternA newline-separated list of regex patterns to identify internal dependencies that should be skipped from the audit.no""
enable_cacheEnable caching for SBOM enrichment to speed up subsequent runs.notrue
cache_ttl_hoursCache time-to-live in hours for package data (default: 168 = 7 days).no168
debugEnable debug logging for detailed troubleshooting output.nofalse
namedescription
audit_exit_codeThe exit code of the license audit. 0 if successful, non-zero otherwise.
license-audit-reportPath to the license audit report in markdown format.
sbom_enrichedPath to the enriched SBOM file.
licenses_mdPath to the collected license texts.