Documentation
¶
Index ¶
Constants ¶
View Source
const CosignEvaluationRule = "isCompliant"
CosignEvaluationRule defines the expected evaluation role of a provided rego module
View Source
const CosignRegoPackageName = "sigstore"
CosignRegoPackageName defines the expected package name of a provided rego module
View Source
const QUERY = "data.signature.allow"
The query below should meet the following requirements: * Provides no Bindings. Do not use a query that sets a variable, e.g. x := data.signature.allow * Queries for a single value.
Variables ¶
This section is empty.
Functions ¶
func ValidateJSON ¶
Types ¶
type CosignRuleResult ¶
type CosignRuleResult struct { Warning string `json:"warning,omitempty"` Error string `json:"error,omitempty"` Result bool `json:"result,omitempty"` }
CosignRuleResult defines a expected result object when wrapping the custom messages of the result of our cosign rego rule
Click to show internal directories.
Click to hide internal directories.