pub struct Resource {Show 17 fields
pub application: Option<GoogleCloudSecuritycenterV1ResourceApplication>,
pub aws_metadata: Option<AwsMetadata>,
pub azure_metadata: Option<AzureMetadata>,
pub cloud_provider: Option<String>,
pub display_name: Option<String>,
pub folders: Option<Vec<Folder>>,
pub location: Option<String>,
pub name: Option<String>,
pub organization: Option<String>,
pub parent_display_name: Option<String>,
pub parent_name: Option<String>,
pub project_display_name: Option<String>,
pub project_name: Option<String>,
pub resource_path: Option<ResourcePath>,
pub resource_path_string: Option<String>,
pub service: Option<String>,
pub type_: Option<String>,
}Expand description
Information related to the Google Cloud resource that is associated with this finding.
This type is not used in any activity, and only used as part of another schema.
Fields§
§application: Option<GoogleCloudSecuritycenterV1ResourceApplication>The App Hub application this resource belongs to.
aws_metadata: Option<AwsMetadata>The AWS metadata associated with the finding.
azure_metadata: Option<AzureMetadata>The Azure metadata associated with the finding.
cloud_provider: Option<String>Indicates which cloud provider the finding is from.
display_name: Option<String>The human readable name of the resource.
folders: Option<Vec<Folder>>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: Option<String>The region or location of the service (if applicable).
name: Option<String>The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
organization: Option<String>Indicates which organization / tenant the finding is for.
parent_display_name: Option<String>The human readable name of resource’s parent.
parent_name: Option<String>The full resource name of resource’s parent.
project_display_name: Option<String>The project ID that the resource belongs to.
project_name: Option<String>The full resource name of project that the resource belongs to.
resource_path: Option<ResourcePath>Provides the path to the resource within the resource hierarchy.
resource_path_string: Option<String>A string representation of the resource path. For Google Cloud, it has the format of org/{organization_id}/folder/{folder_id}/folder/{folder_id}/project/{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: Option<String>The service or resource provider associated with the resource.
type_: Option<String>The full resource type of the resource.