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

View Source

Information related to the Google Cloud resource.

Attributes

  • awsMetadata (type: GoogleApi.SecurityCenter.V1.Model.AwsMetadata.t, default: nil) - The AWS metadata associated with the finding.
  • azureMetadata (type: GoogleApi.SecurityCenter.V1.Model.AzureMetadata.t, default: nil) - The Azure metadata associated with the finding.
  • cloudProvider (type: String.t, default: nil) - Indicates which cloud provider the resource resides in.
  • displayName (type: String.t, default: nil) - The human readable name of the resource.
  • folders (type: list(GoogleApi.SecurityCenter.V1.Model.Folder.t), default: nil) - Output only. Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
  • location (type: String.t, default: nil) - The region or location of the service (if applicable).
  • name (type: String.t, default: nil) - The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
  • organization (type: String.t, default: nil) - Indicates which organization or tenant in the cloud provider the finding applies to.
  • parent (type: String.t, default: nil) - The full resource name of resource's parent.
  • parentDisplayName (type: String.t, default: nil) - The human readable name of resource's parent.
  • project (type: String.t, default: nil) - The full resource name of project that the resource belongs to.
  • projectDisplayName (type: String.t, default: nil) - The project ID that the resource belongs to.
  • resourcePath (type: GoogleApi.SecurityCenter.V1.Model.ResourcePath.t, default: nil) - Provides the path to the resource within the resource hierarchy.
  • resourcePathString (type: String.t, default: nil) - A string representation of the resource path. For Google Cloud, it has the format of organizations/{organization_id}/folders/{folder_id}/folders/{folder_id}/projects/{project_id} where there can be any number of folders. For AWS, it has the format of org/{organization_id}/ou/{organizational_unit_id}/ou/{organizational_unit_id}/account/{account_id} where there can be any number of organizational units. For Azure, it has the format of mg/{management_group_id}/mg/{management_group_id}/subscription/{subscription_id}/rg/{resource_group_name} where there can be any number of management groups.
  • service (type: String.t, default: nil) - The parent service or product from which the resource is provided, for example, GKE or SNS.
  • type (type: String.t, default: nil) - The full resource type of the resource.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.SecurityCenter.V1.Model.GoogleCloudSecuritycenterV1Resource{
  awsMetadata: GoogleApi.SecurityCenter.V1.Model.AwsMetadata.t() | nil,
  azureMetadata: GoogleApi.SecurityCenter.V1.Model.AzureMetadata.t() | nil,
  cloudProvider: String.t() | nil,
  displayName: String.t() | nil,
  folders: [GoogleApi.SecurityCenter.V1.Model.Folder.t()] | nil,
  location: String.t() | nil,
  name: String.t() | nil,
  organization: String.t() | nil,
  parent: String.t() | nil,
  parentDisplayName: String.t() | nil,
  project: String.t() | nil,
  projectDisplayName: String.t() | nil,
  resourcePath: GoogleApi.SecurityCenter.V1.Model.ResourcePath.t() | nil,
  resourcePathString: String.t() | nil,
  service: String.t() | nil,
  type: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.