File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # SBOM & Security Scan - Calls Org-Level Reusable Workflow
2+ # This is a lightweight caller workflow that invokes the organization's
3+ # shared SBOM generation and security scanning workflow.
4+ #
5+ # Features:
6+ # - CycloneDX SBOM generation
7+ # - Trivy vulnerability scanning
8+ # - License compliance checking
9+ # - SARIF upload to GitHub Security tab
10+ name : SBOM & Security Scan
11+
12+ on :
13+ pull_request :
14+ paths :
15+ - " pyproject.toml"
16+ - " uv.lock"
17+ - " .github/workflows/sbom.yml"
18+ push :
19+ branches :
20+ - main
21+ - master
22+ - develop
23+ paths :
24+ - " pyproject.toml"
25+ - " uv.lock"
26+ schedule :
27+ # Weekly scan every Monday at 8:00 AM UTC
28+ - cron : " 0 8 * * 1"
29+ workflow_dispatch :
30+
31+ permissions :
32+ contents : read
33+ security-events : write
34+
35+ jobs :
36+ sbom :
37+ name : SBOM & Security
38+ uses : ByronWilliamsCPA/.github/.github/workflows/python-sbom.yml@c22009ccaab0d3234819d30d9d7a03d53c531cb9 # main
39+ with :
40+ python-version : ' 3.12'
41+ fail-on-vulnerabilities : true
42+ severity-threshold : ' CRITICAL,HIGH'
43+ artifact-retention-days : 90
44+ fail-on-forbidden-licenses : false
You can’t perform that action at this time.
0 commit comments