craevidence/cli

By craevidence

Updated 3 days ago

CRA Evidence: Automate EU Cyber Resilience Act & SBOMs.Secure your code at craevidence.com

Image
Security
Developer tools
0

2.6K

craevidence/cli repository overview

CRA Evidence CLI

Generate and verify EU Cyber Resilience Act (CRA) software evidence in your CI/CD pipeline: SBOM generation, local vulnerability checks, VEX and CSAF advisory drafting, CRA applicability assessment, and release-readiness checks.

Platform: linux/amd64. Images are cosign-signed (keyless / Sigstore).

Tags

  • craevidence/cli:latest - most recent release
  • craevidence/cli:3.5.0 - pinned version

Quick start (no account, no API key)

# List the available commands
docker run --rm craevidence/cli:latest --help

# Scan a container image for known vulnerabilities
docker run --rm craevidence/cli:latest check --image nginx:1.27

# Or check an SBOM file from the current directory
docker run --rm -v "$PWD:/work" -w /work craevidence/cli:latest check sbom.cdx.json

check never sends data to CRA Evidence. By default it uses the network for
vulnerability data (Grype when available, OSV.dev as a fallback, plus CISA KEV
and FIRST EPSS for enrichment). It is a local snapshot, not an audit, and an
exit code of 0 does not by itself prove compliance.

Assess CRA applicability (offline)

docker run --rm -v "$PWD:/work" -w /work craevidence/cli:latest \
  assessment new --template consumer-iot --product "My Device" --non-interactive

Run assessment templates to list the available product types.

Upload evidence (requires an API key)

docker run --rm -e CRA_EVIDENCE_API_KEY -v "$PWD:/work" -w /work \
  craevidence/cli:latest \
  upload-sbom --product my-product --version 1.0.0 --file sbom.cdx.json

Set CRA_EVIDENCE_API_KEY in your environment. The default API endpoint is https://api.craevidence.com (override with CRA_EVIDENCE_URL).

Tag summary

Content type

Image

Digest

sha256:0e3af6f69

Size

109 MB

Last updated

3 days ago

docker pull craevidence/cli