# ContainerThreatDetectionSettings

- [JSON representation](https://docs.cloud.google.com/security-command-center/docs/reference/rest/v1beta2/ContainerThreatDetectionSettings#SCHEMA_REPRESENTATION)

Resource capturing the settings for the Container Threat Detection service.

| JSON representation |
|---|
| ``` { "name": string, "serviceEnablementState": enum (`https://docs.cloud.google.com/security-command-center/docs/reference/rest/v1beta2/EnablementState`), "modules": { string: { object (`https://docs.cloud.google.com/security-command-center/docs/reference/rest/v1beta2/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 (`https://docs.cloud.google.com/security-command-center/docs/reference/rest/v1beta2/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 (`https://docs.cloud.google.com/security-command-center/docs/reference/rest/v1beta2/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 (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. The time the settings were last updated. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |