validation configures optional pre-sync validation gates (cosign, vulnerability).
When nil, no validation is performed.
cosign
object
cosign configures cosign signature verification.
enabled
boolean required
enabled activates cosign signature verification.
keylessIssuer
string
keylessIssuer is the OIDC issuer for keyless (Fulcio) verification.
Required when publicKey is empty and enabled is true.
publicKey
string
publicKey is a PEM-encoded cosign public key for key-based verification.
When empty, keyless verification is used (requires keylessIssuer).
sbomGate
object
sbomGate requires a Software Bill of Materials (SBOM) to be attached
as an OCI referrer before allowing sync. Supports SPDX and CycloneDX formats.
enabled
boolean required
enabled activates SBOM gate checking.
vulnerabilityGate
object
vulnerabilityGate configures vulnerability severity gating.
enabled
boolean required
enabled activates vulnerability gate checking.
maxSeverity
string required
maxSeverity is the highest severity level allowed. Images with findings
at or above this level are blocked from syncing.
enum: critical, high, medium, low
requireCveReport
boolean
requireCveReport, when true (default), blocks sync if no SARIF vulnerability
report is found attached to the source image. When false, images without
reports are allowed through.