Repository navigation
Add support in new scan results CDX upload via Xray - #864
Conversation
…o migrate-cdx-upload-to-xray
…o migrate-cdx-upload-to-xray
…o migrate-cdx-upload-to-xray # Conflicts: # go.sum
|
Heads up: this came out of an automated review pass in my harness, not from me reading the diff line by line — and I don't fully follow it myself, so please sanity-check it rather than take it at face value. The claim is about
The new call passes the value straight into Separately: the server whitelists only Frogbot itself is fine — it hardcodes |
…o migrate-cdx-upload-to-xray
@Jordanh1996 Due to security hardening considerations and the fact that this is an implementation details and not for the user to control we dont allow any custom names in this flow anymore. |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
…o migrate-cdx-upload-to-xray
…o migrate-cdx-upload-to-xray

devbranch.go vet ./....go fmt ./....This PR adds support in performing scan-cdx upload via Xray instead of a direct 'rt upload' call.
The existing mechanism uploads and creates the designated repo if doesnt exist. This requires an Artifactory ADMIN token.
This feature allows the user to keep providing only an Xray ADMIN token (like we used to provide in V2) and the entire process happens internally in Xray