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
2 changes: 2 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ jobs:

- name: Generate SBOMs, upload to release and attest
id: attest_goreleaser
env:
SYFT_GOLANG_SEARCH_REMOTE_LICENSES: "true"
run: |
# goreleaser output resides in dist/artifacts.json
# Attest all built containers and manifests
Expand Down
9 changes: 9 additions & 0 deletions docs/examples/contracts/sbom/sbom-quality.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#release-contract
schemaVersion: v1
materials:
# SBOMs will be uploaded to your artifact registry and referenced by digest in the attestation
# Both SBOM_CYCLONEDX_JSON and SBOM_SPDX_JSON are supported
- type: SBOM_CYCLONEDX_JSON
name: sbom
policyGroups:
- ref: sbom-quality
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#vuln-scan-contract
schemaVersion: v1
materials:
# SCA scans will be uploaded to your artifact registry and referenced by digest in the attestation
# BLACKDUCK_SCA_JSON, SARIF, TWISTCLI_SCAN_JSON, GHAS_DEPENDENCY_SCAN
# are supported
- type: SARIF
name: vuln-scan
policyGroups:
- ref: vulnerability-management

Loading