ContainerThreatDetectionSettings

Resource capturing the settings for the Container Threat Detection service.

JSON representation
{
  "name": string,
  "serviceEnablementState": enum (EnablementState),
  "modules": {
    string: {
      object (Config)
    },
    ...
  },
  "serviceAccount": string,
  "updateTime": string
}
Fields
name

string

Identifier. The resource name of the ContainerThreatDetectionSettings.

Formats:

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

enum (EnablementState)

The state of enablement for the service at its level of the resource hierarchy. A DISABLED state will override all module enablement_states to DISABLED.

modules

map (key: string, value: object (Config))

The configurations including the state of enablement for the service's different modules. The absence of a module in the map implies its configuration is inherited from its parent's configuration.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

serviceAccount

string

Output only. The service account used by Container Threat Detection for scanning. Service accounts are scoped at the project level meaning this field will be empty at any level above a project.

updateTime

string (Timestamp format)

Output only. The time the settings were last updated.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".