Chapter 29. Detection Service


29.1. Detection Service

29.1.1. DetectBuildTime

POST /v1/detect/build

DetectBuildTime checks if any images violate build time policies.

29.1.1.1. Description

29.1.1.2. Parameters

29.1.1.2.1. Body Parameter
Expand
NameDescriptionRequiredDefaultPattern

body

V1BuildDetectionRequest

X

  

29.1.1.3. Return Type

V1BuildDetectionResponse

29.1.1.4. Content Type

  • application/json

29.1.1.5. Responses

Expand
Table 29.1. HTTP Response Codes
CodeMessageDatatype

200

A successful response.

V1BuildDetectionResponse

0

An unexpected error response.

GoogleRpcStatus

29.1.1.6. Samples

29.1.2. DetectDeployTime

POST /v1/detect/deploy

DetectDeployTime checks if any deployments violate deploy time policies.

29.1.2.1. Description

29.1.2.2. Parameters

29.1.2.2.1. Body Parameter
Expand
NameDescriptionRequiredDefaultPattern

body

V1DeployDetectionRequest

X

  

29.1.2.3. Return Type

V1DeployDetectionResponse

29.1.2.4. Content Type

  • application/json

29.1.2.5. Responses

Expand
Table 29.2. HTTP Response Codes
CodeMessageDatatype

200

A successful response.

V1DeployDetectionResponse

0

An unexpected error response.

GoogleRpcStatus

29.1.2.6. Samples

29.1.3. DetectDeployTimeFromYAML

POST /v1/detect/deploy/yaml

DetectDeployTimeFromYAML checks if the given deployment yaml violates any deploy time policies.

29.1.3.1. Description

29.1.3.2. Parameters

29.1.3.2.1. Body Parameter
Expand
NameDescriptionRequiredDefaultPattern

body

V1DeployYAMLDetectionRequest

X

  

29.1.3.3. Return Type

V1DeployDetectionResponse

29.1.3.4. Content Type

  • application/json

29.1.3.5. Responses

Expand
Table 29.3. HTTP Response Codes
CodeMessageDatatype

200

A successful response.

V1DeployDetectionResponse

0

An unexpected error response.

GoogleRpcStatus

29.1.3.6. Samples

Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat Documentation

Legal Notice

Theme

© 2026 Red Hat
Back to top