Class GoogleCloudSecuritycenterV2ResourceValueConfig
A resource value configuration (RVC) is a mapping configuration of user's resources to resource values. Used in Attack path simulations.
Implements
Inherited Members
Namespace: Google.Apis.SecurityCommandCenter.v1beta2.Data
Assembly: Google.Apis.SecurityCommandCenter.v1beta2.dll
Syntax
public class GoogleCloudSecuritycenterV2ResourceValueConfig : IDirectResponseSchema
Properties
CloudProvider
Cloud provider this configuration applies to
Declaration
[JsonProperty("cloudProvider")]
public virtual string CloudProvider { get; set; }
Property Value
Type | Description |
---|---|
string |
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CreateTimeRaw
Output only. Timestamp this resource value configuration was created.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
Description
Description of the resource value configuration.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Identifier. Name for the resource value configuration
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
ResourceLabelsSelector
List of resource labels to search for, evaluated with AND
. For example, "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
Declaration
[JsonProperty("resourceLabelsSelector")]
public virtual IDictionary<string, string> ResourceLabelsSelector { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, string> |
ResourceType
Apply resource_value only to resources that match resource_type. resource_type will be checked with AND
of
other resources. For example, "storage.googleapis.com/Bucket" with resource_value "HIGH" will apply "HIGH"
value only to "storage.googleapis.com/Bucket" resources.
Declaration
[JsonProperty("resourceType")]
public virtual string ResourceType { get; set; }
Property Value
Type | Description |
---|---|
string |
ResourceValue
Resource value level this expression represents Only required when there is no Sensitive Data Protection mapping in the request
Declaration
[JsonProperty("resourceValue")]
public virtual string ResourceValue { get; set; }
Property Value
Type | Description |
---|---|
string |
Scope
Project or folder to scope this configuration to. For example, "project/456" would apply this configuration
only to resources in "project/456" scope and will be checked with AND
of other resources.
Declaration
[JsonProperty("scope")]
public virtual string Scope { get; set; }
Property Value
Type | Description |
---|---|
string |
SensitiveDataProtectionMapping
A mapping of the sensitivity on Sensitive Data Protection finding to resource values. This mapping can only be used in combination with a resource_type that is related to BigQuery, e.g. "bigquery.googleapis.com/Dataset".
Declaration
[JsonProperty("sensitiveDataProtectionMapping")]
public virtual GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping SensitiveDataProtectionMapping { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping |
TagValues
Tag values combined with AND
to check against. For Google Cloud resources, they are tag value IDs in the
form of "tagValues/123". Example: [ "tagValues/123", "tagValues/456", "tagValues/789" ]
https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing
Declaration
[JsonProperty("tagValues")]
public virtual IList<string> TagValues { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
UpdateTimeRaw
Output only. Timestamp this resource value configuration was last updated.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |