xray

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 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"
)
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 */
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