@@ -2784,6 +2784,18 @@ ${__________known_PUBLIC_KEY}
27842784 }
27852785 ],
27862786 " artifacts" : {}
2787+ },
2788+ " component_name" : " Unnamed" ,
2789+ " policy_spec" : {
2790+ " sources" : [
2791+ {
2792+ " policy" : [
2793+ " git::${GITHOST}/git/policy-input-output-policy.git?ref=${LATEST_COMMIT}"
2794+ ]
2795+ }
2796+ ],
2797+ " rekorUrl" : " ${REKOR}" ,
2798+ " publicKey" : " ${known_PUBLIC_KEY}"
27872799 }
27882800}
27892801-- -
@@ -3147,6 +3159,17 @@ Error: success criteria not met
31473159 }
31483160 ],
31493161 " artifacts" : {}
3162+ },
3163+ " component_name" : " Unnamed" ,
3164+ " policy_spec" : {
3165+ " sources" : [
3166+ {
3167+ " policy" : [
3168+ " git::${GITHOST}/git/olm-manifests.git?ref=${LATEST_COMMIT}"
3169+ ]
3170+ }
3171+ ],
3172+ " publicKey" : " ${known_PUBLIC_KEY}"
31503173 }
31513174}
31523175-- -
@@ -5351,3 +5374,92 @@ Error: success criteria not met
53515374[SLSA v1 attestation support :stderr - 1 ]
53525375
53535376-- -
5377+
5378+ [volatile config warnings schema contract :stdout - 1 ]
5379+ {
5380+ " success" : true ,
5381+ " components" : [
5382+ {
5383+ " name" : " Unnamed" ,
5384+ " containerImage" : " ${REGISTRY}/acceptance/volatile-config-test@sha256:${REGISTRY_acceptance/volatile-config-test:latest_DIGEST}" ,
5385+ " source" : {},
5386+ " warnings" : [
5387+ {
5388+ " msg" : " Volatile exclude rule 'test.component_scoped_rule' has no expiration date set"
5389+ },
5390+ {
5391+ " msg" : " Volatile exclude rule 'test.component_scoped_rule' is scoped to component 'Unnamed'"
5392+ },
5393+ {
5394+ " msg" : " Volatile exclude rule 'test.rule_expiring_soon' will expire (effective until: ${TIMESTAMP})"
5395+ },
5396+ {
5397+ " msg" : " Volatile exclude rule 'test.rule_pending_activation' is pending activation (effective on: ${TIMESTAMP})"
5398+ },
5399+ {
5400+ " msg" : " Volatile exclude rule 'test.rule_with_no_expiration' has no expiration date set"
5401+ }
5402+ ],
5403+ " success" : true ,
5404+ " signatures" : [
5405+ {
5406+ " keyid" : " " ,
5407+ " sig" : " ${IMAGE_SIGNATURE_acceptance/volatile-config-test}"
5408+ }
5409+ ],
5410+ " attestations" : [
5411+ {
5412+ " type" : " https://in-toto.io/Statement/v0.1" ,
5413+ " predicateType" : " https://slsa.dev/provenance/v0.2" ,
5414+ " predicateBuildType" : " https://tekton.dev/attestations/chains/pipelinerun@v2" ,
5415+ " signatures" : [
5416+ {
5417+ " keyid" : " " ,
5418+ " sig" : " ${ATTESTATION_SIGNATURE_acceptance/volatile-config-test}"
5419+ }
5420+ ]
5421+ }
5422+ ]
5423+ }
5424+ ],
5425+ " key" : " ${known_PUBLIC_KEY_JSON}" ,
5426+ " policy" : {
5427+ " sources" : [
5428+ {
5429+ " name" : " volatile-test-source" ,
5430+ " policy" : [
5431+ " git::${GITHOST}/git/volatile-config-policy.git?ref=${LATEST_COMMIT}"
5432+ ],
5433+ " volatileConfig" : {
5434+ " exclude" : [
5435+ {
5436+ " value" : " test.rule_with_no_expiration"
5437+ },
5438+ {
5439+ " value" : " test.rule_expiring_soon" ,
5440+ " effectiveUntil" : " ${TIMESTAMP}"
5441+ },
5442+ {
5443+ " value" : " test.rule_pending_activation" ,
5444+ " effectiveOn" : " ${TIMESTAMP}"
5445+ },
5446+ {
5447+ " value" : " test.component_scoped_rule" ,
5448+ " componentNames" : [
5449+ " Unnamed"
5450+ ]
5451+ }
5452+ ]
5453+ }
5454+ }
5455+ ],
5456+ " publicKey" : " ${known_PUBLIC_KEY}"
5457+ },
5458+ " ec-version" : " ${EC_VERSION}" ,
5459+ " effective-time" : " ${TIMESTAMP}"
5460+ }
5461+ -- -
5462+
5463+ [volatile config warnings schema contract :stderr - 1 ]
5464+
5465+ -- -
0 commit comments