anchore / anchore/syft

SBOM for Github Actions workflow files

Open
#4,209 6 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
9.6k
Forks
954
Avg merge
23h 27m
Merged PRs (30d)
48

Description

**What would you like to be added**:

I would like to be able to track my github actions workflows as an SBOM, such that if I have a action with `uses: actions/checkout@v1.2.3`, I get out an SBOM that contains this action, and which actions in turn it contains.

AFAIK, there is no standard today for how to express github actions as an SBOM, but if we resolve each tag to a commit, and then recursively follow each workflow, it should be Doable™.

**Why is this needed**:
It will let users of full semver tag, as in v1.2.3 as opposed to v1, detect if the tag has moved, as they can diff the generated SBOM against the previous SBOM. It will also let GHA users track which direct and transitive workflows they're pulling in via their GHAs

**Additional context**:

Contributor guide

Open the contributing guide

Research direction

Start with GitHub Actions workflow files and their `uses:` entries, then review how Syft currently represents SBOM components and dependencies. Define how tags resolve to commits and how nested actions are followed recursively; done means the generated SBOM includes direct and transitive actions with stable identities suitable for comparison.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, go
Domain
devops, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.