Skip to main content

resource_value_configs

Overview

Nameresource_value_configs
TypeResource
Idgoogle.securitycenter.resource_value_configs

Fields

NameDatatypeDescription
namestringName for the resource value config
descriptionstringDescription of the resource value config.
createTimestringOutput only. Timestamp this resource value config was created.
resourceLabelsSelectorobjectList of resource labels to search for, evaluated with AND. E.g. "resource_labels_selector": {"key": "value", "env": "prod"} will match resources with labels "key": "value" AND "env": "prod" https://cloud.google.com/resource-manager/docs/creating-managing-labels
resourceTypestringApply resource_value only to resources that match resource_type. resource_type will be checked with "AND" of other resources. E.g. "storage.googleapis.com/Bucket" with resource_value "HIGH" will apply "HIGH" value only to "storage.googleapis.com/Bucket" resources.
resourceValuestringRequired. Resource value level this expression represents
scopestringProject or folder to scope this config to. For example, "project/456" would apply this config only to resources in "project/456" scope will be checked with "AND" of other resources.
tagValuesarrayRequired. Tag values combined with AND to check against. Values in the form "tagValues/123" E.g. [ "tagValues/123", "tagValues/456", "tagValues/789" ] https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing
updateTimestringOutput only. Timestamp this resource value config was last updated.

Methods

NameAccessible byRequired ParamsDescription
organizations_resource_value_configs_getSELECTorganizationsId, resourceValueConfigsIdGets a ResourceValueConfig.
organizations_resource_value_configs_listSELECTorganizationsIdLists all ResourceValueConfigs.
organizations_resource_value_configs_deleteDELETEorganizationsId, resourceValueConfigsIdDeletes a ResourceValueConfig.
_organizations_resource_value_configs_listEXECorganizationsIdLists all ResourceValueConfigs.
organizations_resource_value_configs_batch_createEXECorganizationsIdCreates a ResourceValueConfig for an organization. Maps user's tags to difference resource values for use by the attack path simulation.
organizations_resource_value_configs_patchEXECorganizationsId, resourceValueConfigsIdUpdates an existing ResourceValueConfigs with new rules.