Method: projects.locations.clusters.getContainerThreatDetectionSettings

Get the ContainerThreatDetectionSettings resource.

In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, clusters.getContainerThreatDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use containerThreatDetectionSettings.calculate for this purpose.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



Required. The name of the ContainerThreatDetectionSettings to retrieve.


  • organizations/{organization}/containerThreatDetectionSettings
  • folders/{folder}/containerThreatDetectionSettings
  • projects/{project}/containerThreatDetectionSettings
  • projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of ContainerThreatDetectionSettings.

Authorization scopes

Requires the following OAuth scope:


For more information, see the Authentication Overview.