Skip to content

Commit

Permalink
Merge pull request #130 from stacklok/slsa_gh_att_example
Browse files Browse the repository at this point in the history
Add an example profile for GH attestations
  • Loading branch information
jhrozek authored Jul 24, 2024
2 parents ea53461 + 1b607cf commit 9ba25f2
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions profiles/github/artifact_attestation_slsa.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
# sample policy for validating SLSA provenance attestations
version: v1
type: profile
name: slsa-gh-attestation-provenance
context:
provider: github
artifact:
- type: artifact_attestation_slsa
params:
tags: ["latest"]
name: your-artifact-name
def:
workflow_repository: https://github.com/yourorg/yourrepo
workflow_ref: refs/heads/main
signer_identity: .github/workflows/your-workflow.yml
event: ["workflow_dispatch"]
runner_environment: github-hosted

0 comments on commit 9ba25f2

Please sign in to comment.