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 ¶
func ValidateJSONWithModuleInput ¶ added in v1.8.0
ValidateJSONWithModuleInput takes the body of the results to evaluate and the defined module in a policy to validate against the input data
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.