Skip to content

fix(redhat): check usr/share/buildinfo/ dir to detect content sets#8222

Merged
knqyf263 merged 1 commit intoaquasecurity:mainfrom
DmitriyLewen:fix/rhcos-buildinfo
Jan 9, 2025
Merged

fix(redhat): check usr/share/buildinfo/ dir to detect content sets#8222
knqyf263 merged 1 commit intoaquasecurity:mainfrom
DmitriyLewen:fix/rhcos-buildinfo

Conversation

@DmitriyLewen
Copy link
Contributor

Description

In RHCOS you don't have permissions to the /root directory.
That's why in RHCOS the content set files are in /usr/share/buildinfo/*.json

Related issues

Checklist

  • I've read the guidelines for contributing to this repository.
  • I've followed the conventions in the PR title.
  • I've added tests that prove my fix is effective or that my feature works.
  • I've updated the documentation with the relevant information (if needed).
  • I've added usage information (if the PR introduces new options)
  • I've included a "before" and "after" example to the description (if the PR is a user interface change).

@DmitriyLewen DmitriyLewen self-assigned this Jan 9, 2025
@DmitriyLewen DmitriyLewen requested a review from knqyf263 as a code owner January 9, 2025 11:14
@knqyf263 knqyf263 added this pull request to the merge queue Jan 9, 2025
Merged via the queue into aquasecurity:main with commit f352f6b Jan 9, 2025
11 checks passed
@aqua-bot aqua-bot mentioned this pull request Jan 9, 2025
@DmitriyLewen DmitriyLewen deleted the fix/rhcos-buildinfo branch January 10, 2025 05:37
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.

feat(redhat): also parse /usr/share/buildinfo for "content manifests"

2 participants