sbom_syft

Installation
SKILL.md

sbom_syft

Syft genera un SBOM (Software Bill of Materials) — un inventario completo y legible por máquinas de todas las dependencias incluidas en las imágenes Docker. Es requerido por regulaciones de seguridad de software (Executive Order 14028) y útil para responder rápidamente ante nuevas CVEs.

When to use

Generar en el pipeline de CI tras cada build de imagen Docker. Almacenar el SBOM junto al release tag para poder auditarlo posteriormente.

Instructions

  1. Instalar: brew install syft o curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh.
  2. Generar SBOM en formato SPDX-JSON: syft kyc-api:v1.2.3 -o spdx-json > sbom-v1.2.3.spdx.json.
  3. Integrar en GitHub Actions:
    - name: Generate SBOM
      uses: anchore/sbom-action@v0
      with:
        image: kyc-api:${{ github.sha }}
        format: spdx-json
    
Related skills
Installs
3
First Seen
Mar 6, 2026