Skip to content

refactor: use redhat dataSource for redhat-oval#626

Open
DmitriyLewen wants to merge 2 commits intoaquasecurity:mainfrom
DmitriyLewen:refactor/use-redhat-datasource-for-oval
Open

refactor: use redhat dataSource for redhat-oval#626
DmitriyLewen wants to merge 2 commits intoaquasecurity:mainfrom
DmitriyLewen:refactor/use-redhat-datasource-for-oval

Conversation

@DmitriyLewen
Copy link
Contributor

Description

This PR consolidates the Red Hat OVAL data source to use the existing RedHat data source identifier instead of maintaining a separate RedHatOVAL identifier.

See more details in aquasecurity/trivy#9192 (comment)

Changes

  • Data Source Consolidation: Changed redhat-oval vulnsrc to use vulnerability.RedHat instead of vulnerability.RedHatOVAL
  • Updated Data Source Metadata:
  • Removed RedHatOVAL constant: Deleted the separate RedHatOVAL source ID from vulnerability/const.go and AllSourceIDs slice
  • Updated Tests: Modified all test expectations in redhat-oval_test.go and test fixtures to reflect the new data source values

Related PRs

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