GoogleApi.SecurityCenter.V1.Model.GoogleCloudSecuritycenterV2ResourceValueConfig (google_api_security_center v0.39.0)

View Source

A resource value configuration (RVC) is a mapping configuration of user's resources to resource values. Used in Attack path simulations.

Attributes

  • cloudProvider (type: String.t, default: nil) - Cloud provider this configuration applies to
  • createTime (type: DateTime.t, default: nil) - Output only. Timestamp this resource value configuration was created.
  • description (type: String.t, default: nil) - Description of the resource value configuration.
  • name (type: String.t, default: nil) - Identifier. Name for the resource value configuration
  • resourceLabelsSelector (type: map(), default: nil) - 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
  • resourceType (type: String.t, default: nil) - 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.
  • resourceValue (type: String.t, default: nil) - Resource value level this expression represents Only required when there is no Sensitive Data Protection mapping in the request
  • scope (type: String.t, default: nil) - 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.
  • sensitiveDataProtectionMapping (type: GoogleApi.SecurityCenter.V1.Model.GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping.t, default: nil) - 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".
  • tagValues (type: list(String.t), default: nil) - 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
  • updateTime (type: DateTime.t, default: nil) - Output only. Timestamp this resource value configuration was last updated.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.SecurityCenter.V1.Model.GoogleCloudSecuritycenterV2ResourceValueConfig{
    cloudProvider: String.t() | nil,
    createTime: DateTime.t() | nil,
    description: String.t() | nil,
    name: String.t() | nil,
    resourceLabelsSelector: map() | nil,
    resourceType: String.t() | nil,
    resourceValue: String.t() | nil,
    scope: String.t() | nil,
    sensitiveDataProtectionMapping:
      GoogleApi.SecurityCenter.V1.Model.GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping.t()
      | nil,
    tagValues: [String.t()] | nil,
    updateTime: DateTime.t() | nil
  }

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.