Resource
¶
Source code in docs_src/capo_securityhub/types/resource.py
application_arn
instance-attribute
¶
application_arn: NotRequired[NonEmptyString]
The Amazon Resource Name (ARN) of the application that is related to a finding.
application_name
instance-attribute
¶
application_name: NotRequired[NonEmptyString]
The name of the application that is related to a finding.
data_classification
instance-attribute
¶
data_classification: NotRequired[DataClassificationDetails]
Contains information about sensitive data that was detected on the resource.
details
instance-attribute
¶
details: NotRequired[ResourceDetails]
Additional details about the resource related to a finding.
id
instance-attribute
¶
id: NotRequired[NonEmptyString]
The canonical identifier for the given resource type.
owner
instance-attribute
¶
owner: NotRequired[ResourceOwner]
Information about the account and organization that own the resource.
partition
instance-attribute
¶
partition: NotRequired[Partition]
The canonical Amazon Web Services partition name that the Region is assigned to.
provider
instance-attribute
¶
provider: NotRequired[CloudProviderName]
The cloud provider that the resource belongs to. Valid values are AWS and Azure.
region
instance-attribute
¶
region: NotRequired[NonEmptyString]
The canonical Amazon Web Services external Region name where this resource is located.
Length Constraints: Minimum length of 1. Maximum length of 16.
resource_role
instance-attribute
¶
resource_role: NotRequired[NonEmptyString]
Identifies the role of the resource in the finding. A resource is either the actor or target of the finding activity,
tags
instance-attribute
¶
tags: NotRequired[FieldMap]
A list of Amazon Web Services tags associated with a resource at the time the finding was processed. Tags must follow Amazon Web Services tag naming limits and requirements.
type
instance-attribute
¶
type: NotRequired[NonEmptyString]
The type of the resource that details are provided for. If possible, set Type to one of the supported resource types. For example, if the resource is an EC2 instance, then set Type to AwsEc2Instance.
If the resource does not match any of the provided types, then set Type to Other.
Length Constraints: Minimum length of 1. Maximum length of 256.