ROX-12975: Extend Enricher to accept NodeInventory as a second parameter#4492
ROX-12975: Extend Enricher to accept NodeInventory as a second parameter#4492
Conversation
|
Skipping CI for Draft Pull Request. |
|
Current dependencies on/for this PR:
This comment was auto-generated by Graphite. |
|
Images are ready for the commit at 1684b59. To use with deploy scripts, first |
caff3f5 to
f8ade4b
Compare
f8ade4b to
bef41cf
Compare
9114872 to
6e5392c
Compare
1e40e65 to
7bef2b1
Compare
3f92550 to
58e11cf
Compare
58e11cf to
098fadc
Compare
|
/retest |
|
The CI failure |
|
@vikin91: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Maddosaurus
left a comment
There was a problem hiding this comment.
Thanks for the sync review!
|
Will rebase this again after reading the suggestions to do so on Slack. |
This reverts commit f71ac7d.
- convertNodeToVulnRequest when inventory is nil - use scanner from branch - addd debug logging
23806e7 to
4e20215
Compare
lvalerom
left a comment
There was a problem hiding this comment.
The code looks good to me, just one comment regarding the go.mod.
go.mod
Outdated
| github.com/stackrox/helmtest v0.0.0-20220930104945-c4a3c15e834a | ||
| github.com/stackrox/k8s-istio-cve-pusher v0.0.0-20210422200002-d89f671ac4f5 | ||
| github.com/stackrox/scanner v0.0.0-20230120022619-96107ead11f0 | ||
| github.com/stackrox/scanner v0.0.0-20230127183442-f5521e941607 |
There was a problem hiding this comment.
I saw you reverted the tag in SCANNER_VERSION should this also be reverted?
There was a problem hiding this comment.
I will double check that. My intention was to take both from master for now.
We need to bump the SCANNER_VERSION after this stackrox/scanner#1065 is merged, but let's not make too many steps at once.
There was a problem hiding this comment.
I did go get -u github.com/stackrox/scanner@master and go mod tidy and committed 1684b59. Will deploy it locally again to test that thoroughly.
There was a problem hiding this comment.
It looks good locally. I will let the CI finish its checks
|
CI looks good so far! I will merge this on Thu in the morning to land it after the cut of RC.1 for 3.74 happens. |

Description
This PR was created as a split from #4430 in order to make the change easier to review.
This PR is meant to replace #3940.
Here, we change the call to EnrichNode, so that it accepts two parameters: Node and NodeInventory. This allows us to keep Node and NodeInventory proto messages separate.
Checklist
Not apply
Testing Performed