Skip to content

feat(sbom): add VEX lifecycle - #218

Open
nervgh wants to merge 8 commits into
mainfrom
feat/sbom/vex-lifecycle
Open

feat(sbom): add VEX lifecycle#218
nervgh wants to merge 8 commits into
mainfrom
feat/sbom/vex-lifecycle

Conversation

@nervgh

@nervgh nervgh commented Jul 31, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@nervgh
nervgh force-pushed the feat/sbom/vex-lifecycle branch 2 times, most recently from 051676b to 9cdb56e Compare July 31, 2026 18:06
@nervgh
nervgh marked this pull request as ready for review August 3, 2026 17:33
nervgh added 8 commits August 3, 2026 20:35
Signed-off-by: Alexandr Zaytsev <alexandr.zaytsev@flant.com>
Define contracts, data model, plan, quickstart, and research for VEX
document handling in werf.yaml. These documents establish the
architecture before implementation, mirroring the existing SBOM
pattern for OCI artifact storage and retrieval.

Signed-off-by: Alexandr Zaytsev <alexandr.zaytsev@flant.com>
Signed-off-by: Alexandr Zaytsev <alexandr.zaytsev@flant.com>
Add a `vex` option to Dockerfile and Stapel image definitions in
werf.yaml. During build, wrap the OpenVEX document in an in-toto
statement and DSSE envelope and attach it to the image manifest as an
OCI artifact.

Rebuilds skip publishing when the VEX document and image digest are
unchanged, and cleanup removes VEX artifacts orphaned with their
stages.

Signed-off-by: Alexandr Zaytsev <alexandr.zaytsev@flant.com>
Add tasks T026-T029 for git-tracking validation of VEX files
and cleanup of a duplicate VEX validation call.

Signed-off-by: Alexandr Zaytsev <alexandr.zaytsev@flant.com>
Add ReadVEXFile to FileReader and InspectConfigVexFilePath to Inspector
interfaces. Update convergeImageVex in build_phase.go to use these
methods instead of direct os.ReadFile, ensuring VEX files are validated
as Git-tracked.

Signed-off-by: Alexandr Zaytsev <alexandr.zaytsev@flant.com>
Signed-off-by: Alexandr Zaytsev <alexandr.zaytsev@flant.com>
Signed-off-by: Alexandr Zaytsev <alexandr.zaytsev@flant.com>
@nervgh
nervgh force-pushed the feat/sbom/vex-lifecycle branch from 1e92164 to 13630b7 Compare August 3, 2026 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant