xray

package
v1.31.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 31, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL