Skip to content

fix(sbom): reject PM_LOCK_FILE env - #265

Open
nervgh wants to merge 4 commits into
mainfrom
fix/sbom/reject-pm-lock-file-env
Open

fix(sbom): reject PM_LOCK_FILE env#265
nervgh wants to merge 4 commits into
mainfrom
fix/sbom/reject-pm-lock-file-env

Conversation

@nervgh

@nervgh nervgh commented Aug 20, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

nervgh added 4 commits August 20, 2026 13:49
Preserve `/var/lib/pm/index.json` as the sole SBOM source to prevent
incomplete package data, and reject all overrides before builds begin.

Signed-off-by: Alexandr Zaytsev <alexandr.zaytsev@flant.com>
Signed-off-by: Alexandr Zaytsev <alexandr.zaytsev@flant.com>
Specify tests and implementation steps to preserve the fixed SBOM path
while rejecting all PM_LOCK_FILE overrides, which were not previously
covered by the plan.

Signed-off-by: Alexandr Zaytsev <alexandr.zaytsev@flant.com>
Keep the pm SBOM state at its metadata-defined path to prevent
configuration from breaking cataloger discovery, rather than accepting
custom, default, relative, or empty overrides.

Signed-off-by: Alexandr Zaytsev <alexandr.zaytsev@flant.com>
@nervgh
nervgh marked this pull request as ready for review August 20, 2026 12:04
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