Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/reusable-python-security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
static-and-deps:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4 # TODO: pin to commit SHA before merge
- uses: actions/setup-python@v5 # TODO: pin to commit SHA before merge
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: "${{ inputs.python-version }}"
- run: pip install ruff mypy bandit pip-audit cyclonedx-bom
Expand All @@ -26,7 +26,7 @@ jobs:
run: pip-audit
- name: SBOM (CycloneDX)
run: cyclonedx-py environment -o sbom.json || true
- uses: actions/upload-artifact@v4 # TODO: pin to commit SHA before merge
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: sbom
path: sbom.json
4 changes: 2 additions & 2 deletions docs/security-baseline.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ Each repo should also carry, matching cmcp / ca2a / agent-manifest:

Copy-paste versions of these, plus the org-level settings (secret scanning, push protection, Dependabot alerts, and the branch-protection ruleset), are in the internal security hardening bundle.

## Note
## Action pinning

All third-party actions must be pinned to a commit SHA before merge. The reusable workflow currently uses version tags marked with `TODO`.
All actions first-party (`actions/*`) and third-party (e.g. `anchore/sbom-action`) are pinned to a commit SHA with a `# vX.Y.Z` comment for readability. This applies org-wide; see `reusable-python-security.yml` and `sbom.yml` in cmcp / ca2a / trace-spec for the pattern. When bumping a version, update both the SHA and the comment together.
Loading