Scan sbom

Scan a Software Bill of Materials file for vulnerabilities

trivy sbom ./sbom.json

tool
trivy15 commands
tags
trivysecuritysbomscan

More trivy commands

  • trivy fs --severity HIGH,CRITICAL .

    Scan a local directory for vulnerabilities and misconfigs

  • trivy k8s --report summary cluster

    Security audit of the whole cluster: images, configs, RBAC

  • trivy k8s --namespace production --report summary all

    Scan workloads only in a specific namespace

  • trivy config ./my-chart

    Check Helm chart templates for security misconfigurations

  • trivy image --format json -o results.json img:tag

    Machine-readable vulnerability scan results

all 15 trivy commands