Skip to content

Commit

Permalink
Update artifact_signature.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
rdimitrov authored Apr 11, 2024
1 parent 9acf337 commit 2411bfb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions rule-types/github/artifact_signature.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def:
properties:
name:
type: string
description: "The name of the artifact to check."
description: "The name of the artifact to check. Leave blank to match all names."
tags:
"type": array
"items": {
Expand All @@ -54,10 +54,10 @@ def:
properties:
is_signed:
type: boolean
description: "Set to true to enforce artifact being signed."
description: "Set to true to enforce artifact being signed. This checks only if there's a signature for this image, but it doesn't verify it."
is_verified:
type: boolean
description: "Set to true to enforce artifact signature being verified."
description: "Set to true to enforce artifact signature being verified. This checks that the signature is valid."
repository:
type: string
description: "Set the repository that is expected to produce the artifact, i.e. https://github.com/stacklok/minder"
Expand All @@ -72,7 +72,7 @@ def:
description: "Set the runner environment that is expected to produce the artifact, i.e. github-hosted"
allowed_workflow:
type: boolean
description: "Set to true to enforce checking if the workflow that build this artifact is part of the allowed workflows"
description: "Set to true to enforce checking if the workflow that build this artifact is part of the allowed workflows. Note: Not implemented yet."
cert_issuer:
type: string
description: "Set the certificate issuer that is expected to produce the artifact provenance, i.e. https://token.actions.githubusercontent.com"
Expand Down Expand Up @@ -104,4 +104,4 @@ def:
# Defines the configuration for alerting on the rule
alert:
type: security_advisory
security_advisory: {}
security_advisory: {}

0 comments on commit 2411bfb

Please sign in to comment.