ec rego functions reference documentation

The EC CLI provides custom rego builtin functions in addition to the default ones.

Below is a summary of each function added by the EC CLI. Click on their names to view additional information.

ec.oci.blob

Fetch a blob from an OCI registry.

ec.oci.image_files

Fetch structured files (YAML or JSON) from within an image.

ec.oci.image_manifest

Fetch an Image Manifest from an OCI registry.

ec.purl.is_valid

Determine whether or not a given PURL is valid.

ec.purl.parse

Parse a valid PURL into an object.

ec.sigstore.verify_attestation

Use sigstore to verify the attestation of an image.

ec.sigstore.verify_image

Use sigstore to verify the signature of an image.