Documentation ¶
Index ¶
Constants ¶
View Source
const ( CleanScanBuildName = "cleanBuildName" FatalScanBuildName = "fatalBuildName" VulnerableBuildName = "vulnerableBuildName" VulnerabilitiesEndpoint = "vulnerabilities" )
View Source
const CleanXrayScanResponse = `` /* 529-byte string literal not displayed */
View Source
const FatalErrorXrayScanResponse = `
{
"errors": [{"status":-1}, {"status":500}]
}
`
View Source
const VulnerabilityReportDeleteResponse = `
{
"info": "report deleted successfully"
}
`
View Source
const VulnerabilityReportDetailsResponse = `` /* 3812-byte string literal not displayed */
View Source
const VulnerabilityReportStatusResponse = `` /* 302-byte string literal not displayed */
View Source
const VulnerabilityRequestResponse = `
{
"report_id": 777,
"status": "pending"
}
`
View Source
const VulnerableXrayScanResponse = `` /* 63265-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func StartXrayMockServer ¶
func StartXrayMockServer() int
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.