-
Notifications
You must be signed in to change notification settings - Fork 141
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
Adding Xray Source Control Service #811
Conversation
# Conflicts: # .github/workflows/analysis.yml # go.mod # go.sum # utils/utils.go # xray/services/scan.go # xray/services/scan_test.go
# Conflicts: # utils/utils.go
@@ -12,6 +12,18 @@ type accessDetails struct { | |||
auth.CommonConfigFields | |||
} | |||
|
|||
func (rt *accessDetails) GetXscUrl() string { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Every Xray manager have this function as this is how we check if you have XSC.
It's build on top of xray.
XrayManager.GetXscUrl -> send get request and then get yes or not.
@@ -0,0 +1,95 @@ | |||
package tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if a get this right all this test are currently unit tests and they can sit near the xsc service code and no neet the XSC testing suite
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in the client i've put just a simple unit test to make sure things don't break
open a new pull request |
Adding new XSC service which built on top of Xray.
Any functionality that is not specifically implemented inside XSC will fallback to Xray.
Main changes:
Important note: I didn't change the Xray name as this is the product name for the entire JFrog Security services.
XSC graph scan
function to support linking scan info into repositories.