Method: organizations.containerThreatDetectionSettings.calculate

Calculates the effective ContainerThreatDetectionSettings based on its level in the resource hierarchy and its settings.

Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail.

HTTP request


The URLs use gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the ContainerThreatDetectionSettings to calculate.

Formats:

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

Query parameters

Parameters
showEligibleModulesOnly

boolean

Optional. When set, will only retrieve the modules that are in scope. By default, all modules will be shown.

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:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.