Documentation ¶
Index ¶
Constants ¶
View Source
const ( CleanScanBuildName = "cleanBuildName" FatalScanBuildName = "fatalBuildName" VulnerableBuildName = "vulnerableBuildName" VulnerabilitiesEndpoint = "vulnerabilities" ContextualAnalysisFeatureId = "contextual_analysis" BadFeatureId = "unknown" )
View Source
const BuildScanResultsResponse = `` /* 2256-byte string literal not displayed */
View Source
const CleanXrayScanResponse = `` /* 529-byte string literal not displayed */
View Source
const EntitledResponse = `
{
"entitled": true,
"feature_id": "contextual_analysis"
}
`
View Source
const FatalErrorXrayScanResponse = `
{
"errors": [{"status":-1}, {"status":500}]
}
`
View Source
const NotEntitledResponse = `
{
"entitled": false,
"feature_id": "unknown"
}
`
View Source
const TriggerBuildScanResponse = `` /* 279-byte string literal not displayed */
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 */
View Source
const VulnerableXraySummaryArtifactResponse = `` /* 2330-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.