Class AssetDiscoveryConfig (1.30.1)

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

The configuration used for Asset Discovery runs.

Attributes

NameDescription
project_ids MutableSequence[str]
The project ids to use for filtering asset discovery.
inclusion_mode google.cloud.securitycenter_v1p1beta1.types.OrganizationSettings.AssetDiscoveryConfig.InclusionMode
The mode to use for filtering asset discovery.
folder_ids MutableSequence[str]
The folder ids to use for filtering asset discovery. It consists of only digits, e.g., 756619654966.

Classes

InclusionMode

InclusionMode(value)

The mode of inclusion when running Asset Discovery. Asset discovery can be limited by explicitly identifying projects to be included or excluded. If INCLUDE_ONLY is set, then only those projects within the organization and their children are discovered during asset discovery. If EXCLUDE is set, then projects that don't match those projects are discovered during asset discovery. If neither are set, then all projects within the organization are discovered during asset discovery.

Values: INCLUSION_MODE_UNSPECIFIED (0): Unspecified. Setting the mode with this value will disable inclusion/exclusion filtering for Asset Discovery. INCLUDE_ONLY (1): Asset Discovery will capture only the resources within the projects specified. All other resources will be ignored. EXCLUDE (2): Asset Discovery will ignore all resources under the projects specified. All other resources will be retrieved.