# Class VulnerabilityScanningConfig (1.22.0)

1.22.0 (latest) 1.21.0 1.20.0 1.19.0 1.18.0 1.17.0 1.16.1 1.15.2 1.14.0 1.13.1 1.12.0 1.11.5 1.10.0 1.9.0 1.8.4 1.7.0 1.6.1 1.5.0 1.4.1 1.3.3 1.2.1 1.1.2 1.0.2 0.5.0 0.4.1 0.3.3 0.2.2 0.1.0

    VulnerabilityScanningConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Config on whether to perform vulnerability scanning for
resources in this repository, as well as output fields
describing current state.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `enablement_config` | `https://docs.cloud.google.com/python/docs/reference/artifactregistry/latest/google.cloud.artifactregistry_v1.types.Repository.VulnerabilityScanningConfig.EnablementConfig` Optional. Config for whether this repository has vulnerability scanning disabled. |
| `last_enable_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The last time this repository config was enabled. |
| `enablement_state` | `https://docs.cloud.google.com/python/docs/reference/artifactregistry/latest/google.cloud.artifactregistry_v1.types.Repository.VulnerabilityScanningConfig.EnablementState` Output only. State of feature enablement, combining repository enablement config and API enablement state. |
| `enablement_state_reason` | `str` Output only. Reason for the repository state. |

## Classes

### EnablementConfig

    EnablementConfig(value)

Config for vulnerability scanning of resources in this
repository.

### EnablementState

    EnablementState(value)

Describes the state of vulnerability scanning in this
repository, including both repository enablement and API
enablement.