Skip to content

ROX-12226: Fetch RHELv2 unpatched CVE components resolution status and store them in scanner db #935

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Sep 16, 2022

Conversation

daynewlee
Copy link
Contributor

@daynewlee daynewlee commented Sep 15, 2022

In this pr, we are fetching resolution states of RHELv2 unpatched CVE components and store those data in the database.
In the future, we can work with the UI team and update the Stackrox dashboard to present these status of affected components in unpatched CVEs. In this way the customers can determine an appropriate course of action to mitigate these vulnerabilities.

@daynewlee daynewlee requested review from c-du and RTann September 15, 2022 21:43
@daynewlee daynewlee changed the title Yli3/rox/12226 ROX-12226: Fetch RHELv2 unpatched CVE components resolution status and store them in scanner db Sep 15, 2022
@ghost
Copy link

ghost commented Sep 15, 2022

Images are ready for the commit at c892bc8.

To use the images, use the tag 2.26-11-gc892bc8fab.

@daynewlee daynewlee force-pushed the yli3/rox/12226 branch 2 times, most recently from c89552b to f79e11e Compare September 16, 2022 02:43
@@ -0,0 +1,188 @@

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: remove new line

</arithmetic>
</local_variable>
</variables>
</oval_definitions>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: add new line

components := resolution.Components

for j := 0; j < len(components); j++ {
component := components[j]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the index is only used to get the component, you can use for _, component := range syntax.

@daynewlee daynewlee added the generate-dumps-on-pr Generates the image based on dumps from the PR label Sep 16, 2022
@daynewlee daynewlee merged commit 34eda4b into master Sep 16, 2022
@daynewlee daynewlee deleted the yli3/rox/12226 branch September 16, 2022 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
generate-dumps-on-pr Generates the image based on dumps from the PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants