ROX-30576: Copy repo 2 cpe to bundle root #2074
Open
+18
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds a copy of the
repository-to-cpe.json
file to root of the diff and offline bundles to address an issue where newer Central instances are not returningrepository-to-cpe.json
from the bundlesrhelv2/
dir.Testing
Verified via the PR's CI artifacts that the copy of the file exists in both locations:
Also deployed ACS in offline mode with a remote secured cluster. Uploaded the
offline-dump
from this PR's CI run (roxctl scanner upload-db ...
) and then observed scanner successfully pulling the file.Also sent requests directly to the Central API to verify the same:
For sanity, also uploaded the live offline bundle from
roxctl scanner download-db ...
and observed errors in scanner logs and when hitting the API directly:Was unable to test online mode because the URL is hardcoded in Central.