Skip to main content

Configuration parameters summary

Evidence

Evidence typeDescriptionexample
CycloneDXCycloneDX SBOM evidencevalint slsa busybox:latest
SLSA ProvenanceSLSA v1 providence evidencevalint slsa busybox:latest
GenericCustom evidencevalint bom custom_evidence.txt -o statement-generic

Target format


[scheme]:[name]:[tag]

Sourcestarget-typeschemeDescriptionexample
Docker Daemonimagedockeruse the Docker daemondocker:busybox:latest
OCI registryimageregistryuse the docker registry directlyregistry:busybox:latest
Docker archiveimagedocker-archiveuse a tarball from disk for archives created from "docker save"docker-archive:path/to/yourimage.tar
OCI archiveimageoci-archivetarball from disk for OCI archivesoci-archive:path/to/
yourimage.tar
Podman daemonimagepodmanUse the Podman daemonpodman:busybox:latest
Remote gitgitgitremote repository gitgit:https://github.com/yourrepository.git
Local gitgitgitlocal repository gitgit:path/to/yourrepository
Directorydirdirdirectory path on diskdir:path/to/yourproject
Filefilefilefile path on diskfile:path/to/yourproject/file

Example command valint slsa docker:busybox:latest.

Evidence Stores

TypeDescriptionrequirement
cacheEvidence is stored locallyaccess to a directory
OCIEvidence is stored on a remote OCI registryaccess to a OCI registry
scribeEvidence is stored on scribe servicescribe credentials

Environment context

The following table includes the types of environments we currently support:

context-typedescription
locallocal endpoints
githubGithub Actions
gitlabGitLab CI/CD
azureAzure Pipelines
bitbucketBitbucket pipelines
circleCircleCI workflows
travisTravis CI workflows
tektonTekton CI Workflows
jenkinsJenkins declarative or scripted pipelines

The fields are collected from any supported environment.

FieldDescription
context_typeEnvironment type
git_urlEnvironment provided git url
git_branchEnvironment provided git branch
git_commitEnvironment provided git commit
git_tagEnvironment provided git tag
git_refEnvironment provided git ref
git_uuidEnvironment provided git uuid
workflowEnvironment workflow
job_nameEnvironment Job name
actorEnvironment provided actor
build_numEnvironment build num

The following fields are collected from any supported artifact (target).

FieldDescriptionTargetvalues
content_typeTarget Evidence Format (CLI) value of flags--format, --input-formatAll
nameProduct key (CLI) - value of flag --product-keyAll
product_versionProduct Version (CLI) - value of flag --product-versionAll
pipeline_namePipeline name (CLI) - value of flag --pipeline-nameAll
deliverableMark as Deilverable (CLI) - value of flag --deliverableAll
labelsAttach label (CLI) - value of flag --labelAll
envAttach environment (CLI) - value of flag --envAll
timestampEvidence creation timestampAll
sbomgroupTarget SBOM group - image, directory, file, gitAll
sbomnameTarget SBOM nameAll
sbomversionTarget SBOM nameAll
sbompurlTarget SBOM nameAll
sbomhashsTarget SBOM hashs (list of hashs)All
input_schemeUser input scheme (CLI) - value from target scheme:target:tagAll
input_nameUser input name (CLI) - value from target scheme:target:tagAll
input_tagUser input tag (CLI) - value from target scheme:target:tagAll
imageIDTarget image IDimage
repoDigestTarget repo digest (list)image
imageTagTarget image tags (list)image
image_nameTarget image nameimage
dir_idTarget sha256 hashdirectory
dir_pathTarget pathdirectory
file_idTarget sha256 hashfile
file_pathTarget pathfile
target_git_urlTarget provided git urlgit
target_git_branchTarget provided git branchgit
target_git_commitTarget provided git commitgit
target_git_tagTarget provided git taggit
target_git_refTarget provided git refgit
toolTool nameAll
tool_versionEvidence creator tool versionAll
tool_vendorEvidence creator tool vendorAll
format_typeEvidence format typeAll
format_versionEvidence Format versionAll
format_encodingEvidence Format encodingAll

content type is set by the --format or --input-format flag it supports the following types.

Commandcontent_type
cyclonedx-json
statement-cyclonedx-json
attest-cyclonedx-json
statement-slsa
attest-slsa
statement-generic
attest-generic

valint bom format support

CommandFormataliasDescriptionsigned
cyclonedx-jsonjsonCyclondeDX json formatno
statement-cyclonedx-jsonstatementIn-toto CyclondeDX Statementno
attest-cyclonedx-jsonattestIn-toto CyclondeDX Attestationyes

valint slsa format support

FormataliasDescriptionsigned
statement-slsastatementIn-toto SLSA Provenance Statementno
attest-slsaattestIn-toto SLSA Provenance Attestationyes

Select using slsa command -o, --format flag.

valint evidence format support

FormataliasDescriptionsigned
statement-genericstatementIn-toto Generic Statementno
attest-genericattestIn-toto Generic Attestationsyes

Select using evidence command -o, --format flag.

valint verify Input format support

FormataliasDescriptionsigned
statement-cyclonedx-jsonstatementIn-toto CyclondeDX Statementno
attest-cyclonedx-jsonattestIn-toto CyclondeDX Attestationyes
statement-genericIn-toto Generic Statementno
attest-genericIn-toto Generic Attestationsyes
statement-slsaIn-toto SLSA Provenance Statementno
attest-slsaIn-toto SLSA Provenance Attestationyes

Select using verify command -i, --input-format flag.