Resource(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Information related to the Google Cloud resource that is associated with this finding.
This message has oneof
_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
---|---|
Name | Description |
name |
str
The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name |
display_name |
str
The human readable name of the resource. |
type_ |
str
The full resource type of the resource. |
project_name |
str
The full resource name of project that the resource belongs to. |
project_display_name |
str
The project ID that the resource belongs to. |
parent_name |
str
The full resource name of resource's parent. |
parent_display_name |
str
The human readable name of resource's parent. |
folders |
MutableSequence[google.cloud.securitycenter_v1.types.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. |
cloud_provider |
google.cloud.securitycenter_v1.types.CloudProvider
Indicates which cloud provider the finding is from. |
organization |
str
Indicates which organization / tenant the finding is for. |
service |
str
The service or resource provider associated with the resource. |
location |
str
The region or location of the service (if applicable). |
aws_metadata |
google.cloud.securitycenter_v1.types.AwsMetadata
The AWS metadata associated with the finding. This field is a member of oneof _ cloud_provider_metadata .
|
azure_metadata |
google.cloud.securitycenter_v1.types.AzureMetadata
The Azure metadata associated with the finding. This field is a member of oneof _ cloud_provider_metadata .
|
resource_path |
google.cloud.securitycenter_v1.types.ResourcePath
Provides the path to the resource within the resource hierarchy. |
resource_path_string |
str
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.
|