Asset(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Security Command Center representation of a Google Cloud resource.
The Asset is a Security Command Center resource that captures information about a single Google Cloud resource. All modifications to an Asset are only within the context of Security Command Center and don't affect the referenced Google Cloud resource.
Attributes | |
---|---|
Name | Description |
name |
str
The relative resource name of this asset. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/assets/{asset_id}". |
security_center_properties |
Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user. |
resource_properties |
Sequence[
Resource managed properties. These properties are managed and defined by the Google Cloud resource and cannot be modified by the user. |
security_marks |
User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the asset. |
create_time |
The time at which the asset was created in Security Command Center. |
update_time |
The time at which the asset was last updated, added, or deleted in Cloud SCC. |
iam_policy |
Cloud IAM Policy information associated with the Google Cloud resource described by the Security Command Center asset. This information is managed and defined by the Google Cloud resource and cannot be modified by the user. |
Classes
IamPolicy
IamPolicy(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Cloud IAM Policy information associated with the Google Cloud resource described by the Security Command Center asset. This information is managed and defined by the Google Cloud resource and cannot be modified by the user.
ResourcePropertiesEntry
ResourcePropertiesEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The abstract base class for a message.
Parameters | |
---|---|
Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict,
A dictionary or message to be used to determine the values for this message. |
ignore_unknown_fields |
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if |
SecurityCenterProperties
SecurityCenterProperties(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user.