Endor Labs SBOM Management
Manage Software Bill of Materials - export, import, analyze, and compare.
Supported Actions
| Action |
Description |
export |
Generate SBOM from current project |
import |
Import and analyze an external SBOM |
analyze |
Analyze project's component inventory |
compare |
Compare two SBOMs for drift detection |
validate |
Check SBOM format compliance |
Workflow
Action: Export
- Use
get_resource MCP tool (resource_type: Project, name: project/repo name) to get UUID. If not found, suggest /endor-scan first.
- Export SBOM:
# CycloneDX (recommended)
npx -y endorctl sbom export --project-uuid {uuid} --format cyclonedx --output sbom-cyclonedx.json
# SPDX
npx -y endorctl sbom export --project-uuid {uuid} --format spdx --output sbom-spdx.json
- Present summary with: format, file path, project name, component counts by type (Libraries/Frameworks/Applications/Total), top-level dependencies with versions and licenses, NTIA compliance checks (component names, versions, unique IDs, dependency relationships, author info, timestamp).
Action: Analyze
- Run
/endor-scan if not already scanned
- Query findings and dependencies
- Present component breakdown:
- Counts by category (direct/transitive/dev) with vuln and license risk counts
- Vulnerability coverage: components with CVEs, critical/high count, reachable count
- License distribution with risk levels
Action: Compare
Compare two SBOMs for drift detection. Present:
- Added/removed/updated packages with versions
- Security impact: new vulns introduced, vulns resolved, net change
- License impact: new risks, resolved risks
Action: Validate
Validate SBOM file against compliance standards. Check: format validity, NTIA minimum elements, component completeness, dependency relationships.
Next Steps
/endor-scan - scan for vulnerabilities
/endor-license - check license compliance
/endor-cicd - automate SBOM generation
For data source policy, read references/data-sources.md.
Error Handling
| Error |
Action |
| Project not found |
Run /endor-scan first |
| Auth error |
Run /endor-setup |
| Invalid SBOM format |
Show validation errors, suggest corrections |
1---2name: endor-sbom3description: >4 Manage Software Bill of Materials — export, import, analyze, and compare SBOMs in5 CycloneDX and SPDX formats. Use when the user says "generate SBOM", "export SBOM",6 "software bill of materials", "endor sbom", "compare SBOMs", "NTIA compliance", or7 needs component inventory for compliance. Do NOT use for vulnerability scanning8 (/endor-scan) or license analysis (/endor-license).9metadata:10 source: https://skillmd.com/skills/endorlabs/endor-sbom11---1213# Endor Labs SBOM Management1415Manage Software Bill of Materials - export, import, analyze, and compare.1617## Supported Actions1819| Action | Description |20|--------|-------------|21| `export` | Generate SBOM from current project |22| `import` | Import and analyze an external SBOM |23| `analyze` | Analyze project's component inventory |24| `compare` | Compare two SBOMs for drift detection |25| `validate` | Check SBOM format compliance |2627## Workflow2829### Action: Export30311. Use `get_resource` MCP tool (`resource_type`: `Project`, `name`: project/repo name) to get UUID. If not found, suggest `/endor-scan` first.322. Export SBOM:33```bash34# CycloneDX (recommended)35npx -y endorctl sbom export --project-uuid {uuid} --format cyclonedx --output sbom-cyclonedx.json3637# SPDX38npx -y endorctl sbom export --project-uuid {uuid} --format spdx --output sbom-spdx.json39```403. Present summary with: format, file path, project name, component counts by type (Libraries/Frameworks/Applications/Total), top-level dependencies with versions and licenses, NTIA compliance checks (component names, versions, unique IDs, dependency relationships, author info, timestamp).4142### Action: Analyze43441. Run `/endor-scan` if not already scanned452. Query findings and dependencies463. Present component breakdown:47 - Counts by category (direct/transitive/dev) with vuln and license risk counts48 - Vulnerability coverage: components with CVEs, critical/high count, reachable count49 - License distribution with risk levels5051### Action: Compare5253Compare two SBOMs for drift detection. Present:54- Added/removed/updated packages with versions55- Security impact: new vulns introduced, vulns resolved, net change56- License impact: new risks, resolved risks5758### Action: Validate5960Validate SBOM file against compliance standards. Check: format validity, NTIA minimum elements, component completeness, dependency relationships.6162## Next Steps63641. `/endor-scan` - scan for vulnerabilities652. `/endor-license` - check license compliance663. `/endor-cicd` - automate SBOM generation6768For data source policy, read references/data-sources.md.6970## Error Handling7172| Error | Action |73|-------|--------|74| Project not found | Run `/endor-scan` first |75| Auth error | Run `/endor-setup` |76| Invalid SBOM format | Show validation errors, suggest corrections |