This product is not supported for your selected
Datadog site. (
).
このページは日本語には対応しておりません。随時翻訳に取り組んでいます。
翻訳に関してご質問やご意見ございましたら、
お気軽にご連絡ください。
aws_securityhub_automation_rule
account_id
Type: STRING
actions
Type: UNORDERED_LIST_STRUCT
Provider name: Actions
Description: One or more actions to update finding fields if a finding matches the defined criteria of the rule.
finding_fields_update
Type: STRUCT
Provider name: FindingFieldsUpdate
Description: Specifies that the automation rule action is an update to a finding field.
confidence
Type: INT32
Provider name: Confidence
Description: The rule action updates the Confidence
field of a finding.
criticality
Type: INT32
Provider name: Criticality
Description: The rule action updates the Criticality
field of a finding.
note
Type: STRUCT
Provider name: Note
text
Type: STRING
Provider name: Text
Description: The updated note text.
updated_by
Type: STRING
Provider name: UpdatedBy
Description: The principal that updated the note.
related_findings
Type: UNORDERED_LIST_STRUCT
Provider name: RelatedFindings
Description: The rule action updates the RelatedFindings
field of a finding.
id
Type: STRING
Provider name: Id
Description: The product-generated identifier for a related finding.
product_arn
Type: STRING
Provider name: ProductArn
Description: The ARN of the product that generated a related finding.
severity
Type: STRUCT
Provider name: Severity
label
Type: STRING
Provider name: Label
Description: The severity value of the finding. The allowed values are the following.INFORMATIONAL
- No issue was found.LOW
- The issue does not require action on its own.MEDIUM
- The issue must be addressed but not urgently.HIGH
- The issue must be addressed as a priority.CRITICAL
- The issue must be remediated immediately to avoid it escalating.
normalized
Type: INT32
Provider name: Normalized
Description: The normalized severity for the finding. This attribute is to be deprecated in favor of Label
. If you provide Normalized
and don’t provide Label
, Label
is set automatically as follows.- 0 -
INFORMATIONAL
- 1–39 -
LOW
- 40–69 -
MEDIUM
- 70–89 -
HIGH
- 90–100 -
CRITICAL
product
Type: DOUBLE
Provider name: Product
Description: The native severity as defined by the Amazon Web Services service or integrated partner product that generated the finding.
types
Type: UNORDERED_LIST_STRING
Provider name: Types
Description: The rule action updates the Types
field of a finding.
user_defined_fields
Type: MAP_STRING_STRING
Provider name: UserDefinedFields
Description: The rule action updates the UserDefinedFields
field of a finding.
verification_state
Type: STRING
Provider name: VerificationState
Description: The rule action updates the VerificationState
field of a finding.
workflow
Type: STRUCT
Provider name: Workflow
status
Type: STRING
Provider name: Status
Description: The status of the investigation into the finding. The workflow status is specific to an individual finding. It does not affect the generation of new findings. For example, setting the workflow status to SUPPRESSED
or RESOLVED
does not prevent a new finding for the same issue. The allowed values are the following.NEW
- The initial state of a finding, before it is reviewed. Security Hub also resets WorkFlowStatus
from NOTIFIED
or RESOLVED
to NEW
in the following cases:- The record state changes from
ARCHIVED
to ACTIVE
. - The compliance status changes from
PASSED
to either WARNING
, FAILED
, or NOT_AVAILABLE
.
NOTIFIED
- Indicates that you notified the resource owner about the security issue. Used when the initial reviewer is not the resource owner, and needs intervention from the resource owner.RESOLVED
- The finding was reviewed and remediated and is now considered resolved.SUPPRESSED
- Indicates that you reviewed the finding and don’t believe that any action is needed. The finding is no longer updated.
type
Type: STRING
Provider name: Type
Description: Specifies the type of action that Security Hub takes when a finding matches the defined criteria of a rule.
created_at
Type: TIMESTAMP
Provider name: CreatedAt
Description: A timestamp that indicates when the rule was created. For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
created_by
Type: STRING
Provider name: CreatedBy
Description: The principal that created a rule.
criteria
Type: STRUCT
Provider name: Criteria
Description: A set of Amazon Web Services Security Finding Format finding field attributes and corresponding expected values that Security Hub uses to filter findings. If a rule is enabled and a finding matches the conditions specified in this parameter, Security Hub applies the rule action to the finding.
aws_account_id
Type: UNORDERED_LIST_STRUCT
Provider name: AwsAccountId
Description: The Amazon Web Services account ID in which a finding was generated. Array Members: Minimum number of 1 item. Maximum number of 100 items.
comparison
Type: STRING
Provider name: Comparison
Description: The condition to apply to a string value when filtering Security Hub findings. To search for values that have the filter value, use one of the following comparison operators:- To search for values that include the filter value, use
CONTAINS
. For example, the filter Title CONTAINS CloudFront
matches findings that have a Title
that includes the string CloudFront. - To search for values that exactly match the filter value, use
EQUALS
. For example, the filter AwsAccountId EQUALS 123456789012
only matches findings that have an account ID of 123456789012
. - To search for values that start with the filter value, use
PREFIX
. For example, the filter ResourceRegion PREFIX us
matches findings that have a ResourceRegion
that starts with us
. A ResourceRegion
that starts with a different value, such as af
, ap
, or ca
, doesn’t match.
CONTAINS
, EQUALS
, and PREFIX
filters on the same field are joined by OR
. A finding matches if it matches any one of those filters. For example, the filters Title CONTAINS CloudFront OR Title CONTAINS CloudWatch
match a finding that includes either CloudFront
, CloudWatch
, or both strings in the title. To search for values that don’t have the filter value, use one of the following comparison operators:- To search for values that exclude the filter value, use
NOT_CONTAINS
. For example, the filter Title NOT_CONTAINS CloudFront
matches findings that have a Title
that excludes the string CloudFront. - To search for values other than the filter value, use
NOT_EQUALS
. For example, the filter AwsAccountId NOT_EQUALS 123456789012
only matches findings that have an account ID other than 123456789012
. - To search for values that don’t start with the filter value, use
PREFIX_NOT_EQUALS
. For example, the filter ResourceRegion PREFIX_NOT_EQUALS us
matches findings with a ResourceRegion
that starts with a value other than us
.
NOT_CONTAINS
, NOT_EQUALS
, and PREFIX_NOT_EQUALS
filters on the same field are joined by AND
. A finding matches only if it matches all of those filters. For example, the filters Title NOT_CONTAINS CloudFront AND Title NOT_CONTAINS CloudWatch
match a finding that excludes both CloudFront
and CloudWatch
in the title. You can’t have both a CONTAINS
filter and a NOT_CONTAINS
filter on the same field. Similarly, you can’t provide both an EQUALS
filter and a NOT_EQUALS
or PREFIX_NOT_EQUALS
filter on the same field. Combining filters in this way returns an error. CONTAINS
filters can only be used with other CONTAINS
filters. NOT_CONTAINS
filters can only be used with other NOT_CONTAINS
filters. You can combine PREFIX
filters with NOT_EQUALS
or PREFIX_NOT_EQUALS
filters for the same field. Security Hub first processes the PREFIX
filters, and then the NOT_EQUALS
or PREFIX_NOT_EQUALS
filters. For example, for the following filters, Security Hub first identifies findings that have resource types that start with either AwsIam
or AwsEc2
. It then excludes findings that have a resource type of AwsIamPolicy
and findings that have a resource type of AwsEc2NetworkInterface
.ResourceType PREFIX AwsIam
ResourceType PREFIX AwsEc2
ResourceType NOT_EQUALS AwsIamPolicy
ResourceType NOT_EQUALS AwsEc2NetworkInterface
CONTAINS
and NOT_CONTAINS
operators can be used only with automation rules. For more information, see Automation rules in the Security Hub User Guide.
value
Type: STRING
Provider name: Value
Description: The string filter value. Filter values are case sensitive. For example, the product name for control-based findings is Security Hub
. If you provide security hub
as the filter value, there’s no match.
aws_account_name
Type: UNORDERED_LIST_STRUCT
Provider name: AwsAccountName
Description: The name of the Amazon Web Services account in which a finding was generated. Array Members: Minimum number of 1 item. Maximum number of 20 items.
comparison
Type: STRING
Provider name: Comparison
Description: The condition to apply to a string value when filtering Security Hub findings. To search for values that have the filter value, use one of the following comparison operators:- To search for values that include the filter value, use
CONTAINS
. For example, the filter Title CONTAINS CloudFront
matches findings that have a Title
that includes the string CloudFront. - To search for values that exactly match the filter value, use
EQUALS
. For example, the filter AwsAccountId EQUALS 123456789012
only matches findings that have an account ID of 123456789012
. - To search for values that start with the filter value, use
PREFIX
. For example, the filter ResourceRegion PREFIX us
matches findings that have a ResourceRegion
that starts with us
. A ResourceRegion
that starts with a different value, such as af
, ap
, or ca
, doesn’t match.
CONTAINS
, EQUALS
, and PREFIX
filters on the same field are joined by OR
. A finding matches if it matches any one of those filters. For example, the filters Title CONTAINS CloudFront OR Title CONTAINS CloudWatch
match a finding that includes either CloudFront
, CloudWatch
, or both strings in the title. To search for values that don’t have the filter value, use one of the following comparison operators:- To search for values that exclude the filter value, use
NOT_CONTAINS
. For example, the filter Title NOT_CONTAINS CloudFront
matches findings that have a Title
that excludes the string CloudFront. - To search for values other than the filter value, use
NOT_EQUALS
. For example, the filter AwsAccountId NOT_EQUALS 123456789012
only matches findings that have an account ID other than 123456789012
. - To search for values that don’t start with the filter value, use
PREFIX_NOT_EQUALS
. For example, the filter ResourceRegion PREFIX_NOT_EQUALS us
matches findings with a ResourceRegion
that starts with a value other than us
.
NOT_CONTAINS
, NOT_EQUALS
, and PREFIX_NOT_EQUALS
filters on the same field are joined by AND
. A finding matches only if it matches all of those filters. For example, the filters Title NOT_CONTAINS CloudFront AND Title NOT_CONTAINS CloudWatch
match a finding that excludes both CloudFront
and CloudWatch
in the title. You can’t have both a CONTAINS
filter and a NOT_CONTAINS
filter on the same field. Similarly, you can’t provide both an EQUALS
filter and a NOT_EQUALS
or PREFIX_NOT_EQUALS
filter on the same field. Combining filters in this way returns an error. CONTAINS
filters can only be used with other CONTAINS
filters. NOT_CONTAINS
filters can only be used with other NOT_CONTAINS
filters. You can combine PREFIX
filters with NOT_EQUALS
or PREFIX_NOT_EQUALS
filters for the same field. Security Hub first processes the PREFIX
filters, and then the NOT_EQUALS
or PREFIX_NOT_EQUALS
filters. For example, for the following filters, Security Hub first identifies findings that have resource types that start with either AwsIam
or AwsEc2
. It then excludes findings that have a resource type of AwsIamPolicy
and findings that have a resource type of AwsEc2NetworkInterface
.ResourceType PREFIX AwsIam
ResourceType PREFIX AwsEc2
ResourceType NOT_EQUALS AwsIamPolicy
ResourceType NOT_EQUALS AwsEc2NetworkInterface
CONTAINS
and NOT_CONTAINS
operators can be used only with automation rules. For more information, see Automation rules in the Security Hub User Guide.
value
Type: STRING
Provider name: Value
Description: The string filter value. Filter values are case sensitive. For example, the product name for control-based findings is Security Hub
. If you provide security hub
as the filter value, there’s no match.
company_name
Type: UNORDERED_LIST_STRUCT
Provider name: CompanyName
Description: The name of the company for the product that generated the finding. For control-based findings, the company is Amazon Web Services. Array Members: Minimum number of 1 item. Maximum number of 20 items.
comparison
Type: STRING
Provider name: Comparison
Description: The condition to apply to a string value when filtering Security Hub findings. To search for values that have the filter value, use one of the following comparison operators:- To search for values that include the filter value, use
CONTAINS
. For example, the filter Title CONTAINS CloudFront
matches findings that have a Title
that includes the string CloudFront. - To search for values that exactly match the filter value, use
EQUALS
. For example, the filter AwsAccountId EQUALS 123456789012
only matches findings that have an account ID of 123456789012
. - To search for values that start with the filter value, use
PREFIX
. For example, the filter ResourceRegion PREFIX us
matches findings that have a ResourceRegion
that starts with us
. A ResourceRegion
that starts with a different value, such as af
, ap
, or ca
, doesn’t match.
CONTAINS
, EQUALS
, and PREFIX
filters on the same field are joined by OR
. A finding matches if it matches any one of those filters. For example, the filters Title CONTAINS CloudFront OR Title CONTAINS CloudWatch
match a finding that includes either CloudFront
, CloudWatch
, or both strings in the title. To search for values that don’t have the filter value, use one of the following comparison operators:- To search for values that exclude the filter value, use
NOT_CONTAINS
. For example, the filter Title NOT_CONTAINS CloudFront
matches findings that have a Title
that excludes the string CloudFront. - To search for values other than the filter value, use
NOT_EQUALS
. For example, the filter AwsAccountId NOT_EQUALS 123456789012
only matches findings that have an account ID other than 123456789012
. - To search for values that don’t start with the filter value, use
PREFIX_NOT_EQUALS
. For example, the filter ResourceRegion PREFIX_NOT_EQUALS us
matches findings with a ResourceRegion
that starts with a value other than us
.
NOT_CONTAINS
, NOT_EQUALS
, and PREFIX_NOT_EQUALS
filters on the same field are joined by AND
. A finding matches only if it matches all of those filters. For example, the filters Title NOT_CONTAINS CloudFront AND Title NOT_CONTAINS CloudWatch
match a finding that excludes both CloudFront
and CloudWatch
in the title. You can’t have both a CONTAINS
filter and a NOT_CONTAINS
filter on the same field. Similarly, you can’t provide both an EQUALS
filter and a NOT_EQUALS
or PREFIX_NOT_EQUALS
filter on the same field. Combining filters in this way returns an error. CONTAINS
filters can only be used with other CONTAINS
filters. NOT_CONTAINS
filters can only be used with other NOT_CONTAINS
filters. You can combine PREFIX
filters with NOT_EQUALS
or PREFIX_NOT_EQUALS
filters for the same field. Security Hub first processes the PREFIX
filters, and then the NOT_EQUALS
or PREFIX_NOT_EQUALS
filters. For example, for the following filters, Security Hub first identifies findings that have resource types that start with either AwsIam
or AwsEc2
. It then excludes findings that have a resource type of AwsIamPolicy
and findings that have a resource type of AwsEc2NetworkInterface
.ResourceType PREFIX AwsIam
ResourceType PREFIX AwsEc2
ResourceType NOT_EQUALS AwsIamPolicy
ResourceType NOT_EQUALS AwsEc2NetworkInterface
CONTAINS
and NOT_CONTAINS
operators can be used only with automation rules. For more information, see Automation rules in the Security Hub User Guide.
value
Type: STRING
Provider name: Value
Description: The string filter value. Filter values are case sensitive. For example, the product name for control-based findings is Security Hub
. If you provide security hub
as the filter value, there’s no match.
compliance_associated_standards_id
Type: UNORDERED_LIST_STRUCT
Provider name: ComplianceAssociatedStandardsId
Description: The unique identifier of a standard in which a control is enabled. This field consists of the resource portion of the Amazon Resource Name (ARN) returned for a standard in the DescribeStandards API response. Array Members: Minimum number of 1 item. Maximum number of 20 items.
comparison
Type: STRING
Provider name: Comparison
Description: The condition to apply to a string value when filtering Security Hub findings. To search for values that have the filter value, use one of the following comparison operators:- To search for values that include the filter value, use
CONTAINS
. For example, the filter Title CONTAINS CloudFront
matches findings that have a Title
that includes the string CloudFront. - To search for values that exactly match the filter value, use
EQUALS
. For example, the filter AwsAccountId EQUALS 123456789012
only matches findings that have an account ID of 123456789012
. - To search for values that start with the filter value, use
PREFIX
. For example, the filter ResourceRegion PREFIX us
matches findings that have a ResourceRegion
that starts with us
. A ResourceRegion
that starts with a different value, such as af
, ap
, or ca
, doesn’t match.
CONTAINS
, EQUALS
, and PREFIX
filters on the same field are joined by OR
. A finding matches if it matches any one of those filters. For example, the filters Title CONTAINS CloudFront OR Title CONTAINS CloudWatch
match a finding that includes either CloudFront
, CloudWatch
, or both strings in the title. To search for values that don’t have the filter value, use one of the following comparison operators:- To search for values that exclude the filter value, use
NOT_CONTAINS
. For example, the filter Title NOT_CONTAINS CloudFront
matches findings that have a Title
that excludes the string CloudFront. - To search for values other than the filter value, use
NOT_EQUALS
. For example, the filter AwsAccountId NOT_EQUALS 123456789012
only matches findings that have an account ID other than 123456789012
. - To search for values that don’t start with the filter value, use
PREFIX_NOT_EQUALS
. For example, the filter ResourceRegion PREFIX_NOT_EQUALS us
matches findings with a ResourceRegion
that starts with a value other than us
.
NOT_CONTAINS
, NOT_EQUALS
, and PREFIX_NOT_EQUALS
filters on the same field are joined by AND
. A finding matches only if it matches all of those filters. For example, the filters Title NOT_CONTAINS CloudFront AND Title NOT_CONTAINS CloudWatch
match a finding that excludes both CloudFront
and CloudWatch
in the title. You can’t have both a CONTAINS
filter and a NOT_CONTAINS
filter on the same field. Similarly, you can’t provide both an EQUALS
filter and a NOT_EQUALS
or PREFIX_NOT_EQUALS
filter on the same field. Combining filters in this way returns an error. CONTAINS
filters can only be used with other CONTAINS
filters. NOT_CONTAINS
filters can only be used with other NOT_CONTAINS
filters. You can combine PREFIX
filters with NOT_EQUALS
or PREFIX_NOT_EQUALS
filters for the same field. Security Hub first processes the PREFIX
filters, and then the NOT_EQUALS
or PREFIX_NOT_EQUALS
filters. For example, for the following filters, Security Hub first identifies findings that have resource types that start with either AwsIam
or AwsEc2
. It then excludes findings that have a resource type of AwsIamPolicy
and findings that have a resource type of AwsEc2NetworkInterface
.ResourceType PREFIX AwsIam
ResourceType PREFIX AwsEc2
ResourceType NOT_EQUALS AwsIamPolicy
ResourceType NOT_EQUALS AwsEc2NetworkInterface
CONTAINS
and NOT_CONTAINS
operators can be used only with automation rules. For more information, see Automation rules in the Security Hub User Guide.
value
Type: STRING
Provider name: Value
Description: The string filter value. Filter values are case sensitive. For example, the product name for control-based findings is Security Hub
. If you provide security hub
as the filter value, there’s no match.
compliance_security_control_id
Type: UNORDERED_LIST_STRUCT
Provider name: ComplianceSecurityControlId
Description: The security control ID for which a finding was generated. Security control IDs are the same across standards. Array Members: Minimum number of 1 item. Maximum number of 20 items.
comparison
Type: STRING
Provider name: Comparison
Description: The condition to apply to a string value when filtering Security Hub findings. To search for values that have the filter value, use one of the following comparison operators:- To search for values that include the filter value, use
CONTAINS
. For example, the filter Title CONTAINS CloudFront
matches findings that have a Title
that includes the string CloudFront. - To search for values that exactly match the filter value, use
EQUALS
. For example, the filter AwsAccountId EQUALS 123456789012
only matches findings that have an account ID of 123456789012
. - To search for values that start with the filter value, use
PREFIX
. For example, the filter ResourceRegion PREFIX us
matches findings that have a ResourceRegion
that starts with us
. A ResourceRegion
that starts with a different value, such as af
, ap
, or ca
, doesn’t match.
CONTAINS
, EQUALS
, and PREFIX
filters on the same field are joined by OR
. A finding matches if it matches any one of those filters. For example, the filters Title CONTAINS CloudFront OR Title CONTAINS CloudWatch
match a finding that includes either CloudFront
, CloudWatch
, or both strings in the title. To search for values that don’t have the filter value, use one of the following comparison operators:- To search for values that exclude the filter value, use
NOT_CONTAINS
. For example, the filter Title NOT_CONTAINS CloudFront
matches findings that have a Title
that excludes the string CloudFront. - To search for values other than the filter value, use
NOT_EQUALS
. For example, the filter AwsAccountId NOT_EQUALS 123456789012
only matches findings that have an account ID other than 123456789012
. - To search for values that don’t start with the filter value, use
PREFIX_NOT_EQUALS
. For example, the filter ResourceRegion PREFIX_NOT_EQUALS us
matches findings with a ResourceRegion
that starts with a value other than us
.
NOT_CONTAINS
, NOT_EQUALS
, and PREFIX_NOT_EQUALS
filters on the same field are joined by AND
. A finding matches only if it matches all of those filters. For example, the filters Title NOT_CONTAINS CloudFront AND Title NOT_CONTAINS CloudWatch
match a finding that excludes both CloudFront
and CloudWatch
in the title. You can’t have both a CONTAINS
filter and a NOT_CONTAINS
filter on the same field. Similarly, you can’t provide both an EQUALS
filter and a NOT_EQUALS
or PREFIX_NOT_EQUALS
filter on the same field. Combining filters in this way returns an error. CONTAINS
filters can only be used with other CONTAINS
filters. NOT_CONTAINS
filters can only be used with other NOT_CONTAINS
filters. You can combine PREFIX
filters with NOT_EQUALS
or PREFIX_NOT_EQUALS
filters for the same field. Security Hub first processes the PREFIX
filters, and then the NOT_EQUALS
or PREFIX_NOT_EQUALS
filters. For example, for the following filters, Security Hub first identifies findings that have resource types that start with either AwsIam
or AwsEc2
. It then excludes findings that have a resource type of AwsIamPolicy
and findings that have a resource type of AwsEc2NetworkInterface
.ResourceType PREFIX AwsIam
ResourceType PREFIX AwsEc2
ResourceType NOT_EQUALS AwsIamPolicy
ResourceType NOT_EQUALS AwsEc2NetworkInterface
CONTAINS
and NOT_CONTAINS
operators can be used only with automation rules. For more information, see Automation rules in the Security Hub User Guide.
value
Type: STRING
Provider name: Value
Description: The string filter value. Filter values are case sensitive. For example, the product name for control-based findings is Security Hub
. If you provide security hub
as the filter value, there’s no match.
compliance_status
Type: UNORDERED_LIST_STRUCT
Provider name: ComplianceStatus
Description: The result of a security check. This field is only used for findings generated from controls. Array Members: Minimum number of 1 item. Maximum number of 20 items.
comparison
Type: STRING
Provider name: Comparison
Description: The condition to apply to a string value when filtering Security Hub findings. To search for values that have the filter value, use one of the following comparison operators:- To search for values that include the filter value, use
CONTAINS
. For example, the filter Title CONTAINS CloudFront
matches findings that have a Title
that includes the string CloudFront. - To search for values that exactly match the filter value, use
EQUALS
. For example, the filter AwsAccountId EQUALS 123456789012
only matches findings that have an account ID of 123456789012
. - To search for values that start with the filter value, use
PREFIX
. For example, the filter ResourceRegion PREFIX us
matches findings that have a ResourceRegion
that starts with us
. A ResourceRegion
that starts with a different value, such as af
, ap
, or ca
, doesn’t match.
CONTAINS
, EQUALS
, and PREFIX
filters on the same field are joined by OR
. A finding matches if it matches any one of those filters. For example, the filters Title CONTAINS CloudFront OR Title CONTAINS CloudWatch
match a finding that includes either CloudFront
, CloudWatch
, or both strings in the title. To search for values that don’t have the filter value, use one of the following comparison operators:- To search for values that exclude the filter value, use
NOT_CONTAINS
. For example, the filter Title NOT_CONTAINS CloudFront
matches findings that have a Title
that excludes the string CloudFront. - To search for values other than the filter value, use
NOT_EQUALS
. For example, the filter AwsAccountId NOT_EQUALS 123456789012
only matches findings that have an account ID other than 123456789012
. - To search for values that don’t start with the filter value, use
PREFIX_NOT_EQUALS
. For example, the filter ResourceRegion PREFIX_NOT_EQUALS us
matches findings with a ResourceRegion
that starts with a value other than us
.
NOT_CONTAINS
, NOT_EQUALS
, and PREFIX_NOT_EQUALS
filters on the same field are joined by AND
. A finding matches only if it matches all of those filters. For example, the filters Title NOT_CONTAINS CloudFront AND Title NOT_CONTAINS CloudWatch
match a finding that excludes both CloudFront
and CloudWatch
in the title. You can’t have both a CONTAINS
filter and a NOT_CONTAINS
filter on the same field. Similarly, you can’t provide both an EQUALS
filter and a NOT_EQUALS
or PREFIX_NOT_EQUALS
filter on the same field. Combining filters in this way returns an error. CONTAINS
filters can only be used with other CONTAINS
filters. NOT_CONTAINS
filters can only be used with other NOT_CONTAINS
filters. You can combine PREFIX
filters with NOT_EQUALS
or PREFIX_NOT_EQUALS
filters for the same field. Security Hub first processes the PREFIX
filters, and then the NOT_EQUALS
or PREFIX_NOT_EQUALS
filters. For example, for the following filters, Security Hub first identifies findings that have resource types that start with either AwsIam
or AwsEc2
. It then excludes findings that have a resource type of AwsIamPolicy
and findings that have a resource type of AwsEc2NetworkInterface
.ResourceType PREFIX AwsIam
ResourceType PREFIX AwsEc2
ResourceType NOT_EQUALS AwsIamPolicy
ResourceType NOT_EQUALS AwsEc2NetworkInterface
CONTAINS
and NOT_CONTAINS
operators can be used only with automation rules. For more information, see Automation rules in the Security Hub User Guide.
value
Type: STRING
Provider name: Value
Description: The string filter value. Filter values are case sensitive. For example, the product name for control-based findings is Security Hub
. If you provide security hub
as the filter value, there’s no match.
confidence
Type: UNORDERED_LIST_STRUCT
Provider name: Confidence
Description: The likelihood that a finding accurately identifies the behavior or issue that it was intended to identify. Confidence
is scored on a 0–100 basis using a ratio scale. A value of 0
means 0 percent confidence, and a value of 100
means 100 percent confidence. For example, a data exfiltration detection based on a statistical deviation of network traffic has low confidence because an actual exfiltration hasn’t been verified. For more information, see Confidence in the Security Hub User Guide. Array Members: Minimum number of 1 item. Maximum number of 20 items.
eq
Type: DOUBLE
Provider name: Eq
Description: The equal-to condition to be applied to a single field when querying for findings.
gt
Type: DOUBLE
Provider name: Gt
Description: The greater-than condition to be applied to a single field when querying for findings.
gte
Type: DOUBLE
Provider name: Gte
Description: The greater-than-equal condition to be applied to a single field when querying for findings.
lt
Type: DOUBLE
Provider name: Lt
Description: The less-than condition to be applied to a single field when querying for findings.
lte
Type: DOUBLE
Provider name: Lte
Description: The less-than-equal condition to be applied to a single field when querying for findings.
created_at
Type: UNORDERED_LIST_STRUCT
Provider name: CreatedAt
Description: A timestamp that indicates when this finding record was created. For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps. Array Members: Minimum number of 1 item. Maximum number of 20 items.
date_range
Type: STRUCT
Provider name: DateRange
Description: A date range for the date filter.
unit
Type: STRING
Provider name: Unit
Description: A date range unit for the date filter.
value
Type: INT32
Provider name: Value
Description: A date range value for the date filter.
end
Type: STRING
Provider name: End
Description: A timestamp that provides the end date for the date filter. For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
start
Type: STRING
Provider name: Start
Description: A timestamp that provides the start date for the date filter. For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
criticality
Type: UNORDERED_LIST_STRUCT
Provider name: Criticality
Description: The level of importance that is assigned to the resources that are associated with a finding. Criticality
is scored on a 0–100 basis, using a ratio scale that supports only full integers. A score of 0
means that the underlying resources have no criticality, and a score of 100
is reserved for the most critical resources. For more information, see Criticality in the Security Hub User Guide. Array Members: Minimum number of 1 item. Maximum number of 20 items.
eq
Type: DOUBLE
Provider name: Eq
Description: The equal-to condition to be applied to a single field when querying for findings.
gt
Type: DOUBLE
Provider name: Gt
Description: The greater-than condition to be applied to a single field when querying for findings.
gte
Type: DOUBLE
Provider name: Gte
Description: The greater-than-equal condition to be applied to a single field when querying for findings.
lt
Type: DOUBLE
Provider name: Lt
Description: The less-than condition to be applied to a single field when querying for findings.
lte
Type: DOUBLE
Provider name: Lte
Description: The less-than-equal condition to be applied to a single field when querying for findings.
description
Type: UNORDERED_LIST_STRUCT
Provider name: Description
Description: A finding’s description. Array Members: Minimum number of 1 item. Maximum number of 20 items.
comparison
Type: STRING
Provider name: Comparison
Description: The condition to apply to a string value when filtering Security Hub findings. To search for values that have the filter value, use one of the following comparison operators:- To search for values that include the filter value, use
CONTAINS
. For example, the filter Title CONTAINS CloudFront
matches findings that have a Title
that includes the string CloudFront. - To search for values that exactly match the filter value, use
EQUALS
. For example, the filter AwsAccountId EQUALS 123456789012
only matches findings that have an account ID of 123456789012
. - To search for values that start with the filter value, use
PREFIX
. For example, the filter ResourceRegion PREFIX us
matches findings that have a ResourceRegion
that starts with us
. A ResourceRegion
that starts with a different value, such as af
, ap
, or ca
, doesn’t match.
CONTAINS
, EQUALS
, and PREFIX
filters on the same field are joined by OR
. A finding matches if it matches any one of those filters. For example, the filters Title CONTAINS CloudFront OR Title CONTAINS CloudWatch
match a finding that includes either CloudFront
, CloudWatch
, or both strings in the title. To search for values that don’t have the filter value, use one of the following comparison operators:- To search for values that exclude the filter value, use
NOT_CONTAINS
. For example, the filter Title NOT_CONTAINS CloudFront
matches findings that have a Title
that excludes the string CloudFront. - To search for values other than the filter value, use
NOT_EQUALS
. For example, the filter AwsAccountId NOT_EQUALS 123456789012
only matches findings that have an account ID other than 123456789012
. - To search for values that don’t start with the filter value, use
PREFIX_NOT_EQUALS
. For example, the filter ResourceRegion PREFIX_NOT_EQUALS us
matches findings with a ResourceRegion
that starts with a value other than us
.
NOT_CONTAINS
, NOT_EQUALS
, and PREFIX_NOT_EQUALS
filters on the same field are joined by AND
. A finding matches only if it matches all of those filters. For example, the filters Title NOT_CONTAINS CloudFront AND Title NOT_CONTAINS CloudWatch
match a finding that excludes both CloudFront
and CloudWatch
in the title. You can’t have both a CONTAINS
filter and a NOT_CONTAINS
filter on the same field. Similarly, you can’t provide both an EQUALS
filter and a NOT_EQUALS
or PREFIX_NOT_EQUALS
filter on the same field. Combining filters in this way returns an error. CONTAINS
filters can only be used with other CONTAINS
filters. NOT_CONTAINS
filters can only be used with other NOT_CONTAINS
filters. You can combine PREFIX
filters with NOT_EQUALS
or PREFIX_NOT_EQUALS
filters for the same field. Security Hub first processes the PREFIX
filters, and then the NOT_EQUALS
or PREFIX_NOT_EQUALS
filters. For example, for the following filters, Security Hub first identifies findings that have resource types that start with either AwsIam
or AwsEc2
. It then excludes findings that have a resource type of AwsIamPolicy
and findings that have a resource type of AwsEc2NetworkInterface
.ResourceType PREFIX AwsIam
ResourceType PREFIX AwsEc2
ResourceType NOT_EQUALS AwsIamPolicy
ResourceType NOT_EQUALS AwsEc2NetworkInterface
CONTAINS
and NOT_CONTAINS
operators can be used only with automation rules. For more information, see Automation rules in the Security Hub User Guide.
value
Type: STRING
Provider name: Value
Description: The string filter value. Filter values are case sensitive. For example, the product name for control-based findings is Security Hub
. If you provide security hub
as the filter value, there’s no match.
first_observed_at
Type: UNORDERED_LIST_STRUCT
Provider name: FirstObservedAt
Description: A timestamp that indicates when the potential security issue captured by a finding was first observed by the security findings product. For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps. Array Members: Minimum number of 1 item. Maximum number of 20 items.
date_range
Type: STRUCT
Provider name: DateRange
Description: A date range for the date filter.
unit
Type: STRING
Provider name: Unit
Description: A date range unit for the date filter.
value
Type: INT32
Provider name: Value
Description: A date range value for the date filter.
end
Type: STRING
Provider name: End
Description: A timestamp that provides the end date for the date filter. For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
start
Type: STRING
Provider name: Start
Description: A timestamp that provides the start date for the date filter. For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
generator_id
Type: UNORDERED_LIST_STRUCT
Provider name: GeneratorId
Description: The identifier for the solution-specific component that generated a finding. Array Members: Minimum number of 1 item. Maximum number of 100 items.
comparison
Type: STRING
Provider name: Comparison
Description: The condition to apply to a string value when filtering Security Hub findings. To search for values that have the filter value, use one of the following comparison operators:- To search for values that include the filter value, use
CONTAINS
. For example, the filter Title CONTAINS CloudFront
matches findings that have a Title
that includes the string CloudFront. - To search for values that exactly match the filter value, use
EQUALS
. For example, the filter AwsAccountId EQUALS 123456789012
only matches findings that have an account ID of 123456789012
. - To search for values that start with the filter value, use
PREFIX
. For example, the filter ResourceRegion PREFIX us
matches findings that have a ResourceRegion
that starts with us
. A ResourceRegion
that starts with a different value, such as af
, ap
, or ca
, doesn’t match.
CONTAINS
, EQUALS
, and PREFIX
filters on the same field are joined by OR
. A finding matches if it matches any one of those filters. For example, the filters Title CONTAINS CloudFront OR Title CONTAINS CloudWatch
match a finding that includes either CloudFront
, CloudWatch
, or both strings in the title. To search for values that don’t have the filter value, use one of the following comparison operators:- To search for values that exclude the filter value, use
NOT_CONTAINS
. For example, the filter Title NOT_CONTAINS CloudFront
matches findings that have a Title
that excludes the string CloudFront. - To search for values other than the filter value, use
NOT_EQUALS
. For example, the filter AwsAccountId NOT_EQUALS 123456789012
only matches findings that have an account ID other than 123456789012
. - To search for values that don’t start with the filter value, use
PREFIX_NOT_EQUALS
. For example, the filter ResourceRegion PREFIX_NOT_EQUALS us
matches findings with a ResourceRegion
that starts with a value other than us
.
NOT_CONTAINS
, NOT_EQUALS
, and PREFIX_NOT_EQUALS
filters on the same field are joined by AND
. A finding matches only if it matches all of those filters. For example, the filters Title NOT_CONTAINS CloudFront AND Title NOT_CONTAINS CloudWatch
match a finding that excludes both CloudFront
and CloudWatch
in the title. You can’t have both a CONTAINS
filter and a NOT_CONTAINS
filter on the same field. Similarly, you can’t provide both an EQUALS
filter and a NOT_EQUALS
or PREFIX_NOT_EQUALS
filter on the same field. Combining filters in this way returns an error. CONTAINS
filters can only be used with other CONTAINS
filters. NOT_CONTAINS
filters can only be used with other NOT_CONTAINS
filters. You can combine PREFIX
filters with NOT_EQUALS
or PREFIX_NOT_EQUALS
filters for the same field. Security Hub first processes the PREFIX
filters, and then the NOT_EQUALS
or PREFIX_NOT_EQUALS
filters. For example, for the following filters, Security Hub first identifies findings that have resource types that start with either AwsIam
or AwsEc2
. It then excludes findings that have a resource type of AwsIamPolicy
and findings that have a resource type of AwsEc2NetworkInterface
.ResourceType PREFIX AwsIam
ResourceType PREFIX AwsEc2
ResourceType NOT_EQUALS AwsIamPolicy
ResourceType NOT_EQUALS AwsEc2NetworkInterface
CONTAINS
and NOT_CONTAINS
operators can be used only with automation rules. For more information, see Automation rules in the Security Hub User Guide.
value
Type: STRING
Provider name: Value
Description: The string filter value. Filter values are case sensitive. For example, the product name for control-based findings is Security Hub
. If you provide security hub
as the filter value, there’s no match.
id
Type: UNORDERED_LIST_STRUCT
Provider name: Id
Description: The product-specific identifier for a finding. Array Members: Minimum number of 1 item. Maximum number of 20 items.
comparison
Type: STRING
Provider name: Comparison
Description: The condition to apply to a string value when filtering Security Hub findings. To search for values that have the filter value, use one of the following comparison operators:- To search for values that include the filter value, use
CONTAINS
. For example, the filter Title CONTAINS CloudFront
matches findings that have a Title
that includes the string CloudFront. - To search for values that exactly match the filter value, use
EQUALS
. For example, the filter AwsAccountId EQUALS 123456789012
only matches findings that have an account ID of 123456789012
. - To search for values that start with the filter value, use
PREFIX
. For example, the filter ResourceRegion PREFIX us
matches findings that have a ResourceRegion
that starts with us
. A ResourceRegion
that starts with a different value, such as af
, ap
, or ca
, doesn’t match.
CONTAINS
, EQUALS
, and PREFIX
filters on the same field are joined by OR
. A finding matches if it matches any one of those filters. For example, the filters Title CONTAINS CloudFront OR Title CONTAINS CloudWatch
match a finding that includes either CloudFront
, CloudWatch
, or both strings in the title. To search for values that don’t have the filter value, use one of the following comparison operators:- To search for values that exclude the filter value, use
NOT_CONTAINS
. For example, the filter Title NOT_CONTAINS CloudFront
matches findings that have a Title
that excludes the string CloudFront. - To search for values other than the filter value, use
NOT_EQUALS
. For example, the filter AwsAccountId NOT_EQUALS 123456789012
only matches findings that have an account ID other than 123456789012
. - To search for values that don’t start with the filter value, use
PREFIX_NOT_EQUALS
. For example, the filter ResourceRegion PREFIX_NOT_EQUALS us
matches findings with a ResourceRegion
that starts with a value other than us
.
NOT_CONTAINS
, NOT_EQUALS
, and PREFIX_NOT_EQUALS
filters on the same field are joined by AND
. A finding matches only if it matches all of those filters. For example, the filters Title NOT_CONTAINS CloudFront AND Title NOT_CONTAINS CloudWatch
match a finding that excludes both CloudFront
and CloudWatch
in the title. You can’t have both a CONTAINS
filter and a NOT_CONTAINS
filter on the same field. Similarly, you can’t provide both an EQUALS
filter and a NOT_EQUALS
or PREFIX_NOT_EQUALS
filter on the same field. Combining filters in this way returns an error. CONTAINS
filters can only be used with other CONTAINS
filters. NOT_CONTAINS
filters can only be used with other NOT_CONTAINS
filters. You can combine PREFIX
filters with NOT_EQUALS
or PREFIX_NOT_EQUALS
filters for the same field. Security Hub first processes the PREFIX
filters, and then the NOT_EQUALS
or PREFIX_NOT_EQUALS
filters. For example, for the following filters, Security Hub first identifies findings that have resource types that start with either AwsIam
or AwsEc2
. It then excludes findings that have a resource type of AwsIamPolicy
and findings that have a resource type of AwsEc2NetworkInterface
.ResourceType PREFIX AwsIam
ResourceType PREFIX AwsEc2
ResourceType NOT_EQUALS AwsIamPolicy
ResourceType NOT_EQUALS AwsEc2NetworkInterface
CONTAINS
and NOT_CONTAINS
operators can be used only with automation rules. For more information, see Automation rules in the Security Hub User Guide.
value
Type: STRING
Provider name: Value
Description: The string filter value. Filter values are case sensitive. For example, the product name for control-based findings is Security Hub
. If you provide security hub
as the filter value, there’s no match.
last_observed_at
Type: UNORDERED_LIST_STRUCT
Provider name: LastObservedAt
Description: A timestamp that indicates when the security findings provider most recently observed a change in the resource that is involved in the finding. For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps. Array Members: Minimum number of 1 item. Maximum number of 20 items.
date_range
Type: STRUCT
Provider name: DateRange
Description: A date range for the date filter.
unit
Type: STRING
Provider name: Unit
Description: A date range unit for the date filter.
value
Type: INT32
Provider name: Value
Description: A date range value for the date filter.
end
Type: STRING
Provider name: End
Description: A timestamp that provides the end date for the date filter. For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
start
Type: STRING
Provider name: Start
Description: A timestamp that provides the start date for the date filter. For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
note_text
Type: UNORDERED_LIST_STRUCT
Provider name: NoteText
Description: The text of a user-defined note that’s added to a finding. Array Members: Minimum number of 1 item. Maximum number of 20 items.
comparison
Type: STRING
Provider name: Comparison
Description: The condition to apply to a string value when filtering Security Hub findings. To search for values that have the filter value, use one of the following comparison operators:- To search for values that include the filter value, use
CONTAINS
. For example, the filter Title CONTAINS CloudFront
matches findings that have a Title
that includes the string CloudFront. - To search for values that exactly match the filter value, use
EQUALS
. For example, the filter AwsAccountId EQUALS 123456789012
only matches findings that have an account ID of 123456789012
. - To search for values that start with the filter value, use
PREFIX
. For example, the filter ResourceRegion PREFIX us
matches findings that have a ResourceRegion
that starts with us
. A ResourceRegion
that starts with a different value, such as af
, ap
, or ca
, doesn’t match.
CONTAINS
, EQUALS
, and PREFIX
filters on the same field are joined by OR
. A finding matches if it matches any one of those filters. For example, the filters Title CONTAINS CloudFront OR Title CONTAINS CloudWatch
match a finding that includes either CloudFront
, CloudWatch
, or both strings in the title. To search for values that don’t have the filter value, use one of the following comparison operators:- To search for values that exclude the filter value, use
NOT_CONTAINS
. For example, the filter Title NOT_CONTAINS CloudFront
matches findings that have a Title
that excludes the string CloudFront. - To search for values other than the filter value, use
NOT_EQUALS
. For example, the filter AwsAccountId NOT_EQUALS 123456789012
only matches findings that have an account ID other than 123456789012
. - To search for values that don’t start with the filter value, use
PREFIX_NOT_EQUALS
. For example, the filter ResourceRegion PREFIX_NOT_EQUALS us
matches findings with a ResourceRegion
that starts with a value other than us
.
NOT_CONTAINS
, NOT_EQUALS
, and PREFIX_NOT_EQUALS
filters on the same field are joined by AND
. A finding matches only if it matches all of those filters. For example, the filters Title NOT_CONTAINS CloudFront AND Title NOT_CONTAINS CloudWatch
match a finding that excludes both CloudFront
and CloudWatch
in the title. You can’t have both a CONTAINS
filter and a NOT_CONTAINS
filter on the same field. Similarly, you can’t provide both an EQUALS
filter and a NOT_EQUALS
or PREFIX_NOT_EQUALS
filter on the same field. Combining filters in this way returns an error. CONTAINS
filters can only be used with other CONTAINS
filters. NOT_CONTAINS
filters can only be used with other NOT_CONTAINS
filters. You can combine PREFIX
filters with NOT_EQUALS
or PREFIX_NOT_EQUALS
filters for the same field. Security Hub first processes the PREFIX
filters, and then the NOT_EQUALS
or PREFIX_NOT_EQUALS
filters. For example, for the following filters, Security Hub first identifies findings that have resource types that start with either AwsIam
or AwsEc2
. It then excludes findings that have a resource type of AwsIamPolicy
and findings that have a resource type of AwsEc2NetworkInterface
.ResourceType PREFIX AwsIam
ResourceType PREFIX AwsEc2
ResourceType NOT_EQUALS AwsIamPolicy
ResourceType NOT_EQUALS AwsEc2NetworkInterface
CONTAINS
and NOT_CONTAINS
operators can be used only with automation rules. For more information, see Automation rules in the Security Hub User Guide.
value
Type: STRING
Provider name: Value
Description: The string filter value. Filter values are case sensitive. For example, the product name for control-based findings is Security Hub
. If you provide security hub
as the filter value, there’s no match.
note_updated_at
Type: UNORDERED_LIST_STRUCT
Provider name: NoteUpdatedAt
Description: The timestamp of when the note was updated. For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps. Array Members: Minimum number of 1 item. Maximum number of 20 items.
date_range
Type: STRUCT
Provider name: DateRange
Description: A date range for the date filter.
unit
Type: STRING
Provider name: Unit
Description: A date range unit for the date filter.
value
Type: INT32
Provider name: Value
Description: A date range value for the date filter.
end
Type: STRING
Provider name: End
Description: A timestamp that provides the end date for the date filter. For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
start
Type: STRING
Provider name: Start
Description: A timestamp that provides the start date for the date filter. For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
note_updated_by
Type: UNORDERED_LIST_STRUCT
Provider name: NoteUpdatedBy
Description: The principal that created a note. Array Members: Minimum number of 1 item. Maximum number of 20 items.
comparison
Type: STRING
Provider name: Comparison
Description: The condition to apply to a string value when filtering Security Hub findings. To search for values that have the filter value, use one of the following comparison operators:- To search for values that include the filter value, use
CONTAINS
. For example, the filter Title CONTAINS CloudFront
matches findings that have a Title
that includes the string CloudFront. - To search for values that exactly match the filter value, use
EQUALS
. For example, the filter AwsAccountId EQUALS 123456789012
only matches findings that have an account ID of 123456789012
. - To search for values that start with the filter value, use
PREFIX
. For example, the filter ResourceRegion PREFIX us
matches findings that have a ResourceRegion
that starts with us
. A ResourceRegion
that starts with a different value, such as af
, ap
, or ca
, doesn’t match.
CONTAINS
, EQUALS
, and PREFIX
filters on the same field are joined by OR
. A finding matches if it matches any one of those filters. For example, the filters Title CONTAINS CloudFront OR Title CONTAINS CloudWatch
match a finding that includes either CloudFront
, CloudWatch
, or both strings in the title. To search for values that don’t have the filter value, use one of the following comparison operators:- To search for values that exclude the filter value, use
NOT_CONTAINS
. For example, the filter Title NOT_CONTAINS CloudFront
matches findings that have a Title
that excludes the string CloudFront. - To search for values other than the filter value, use
NOT_EQUALS
. For example, the filter AwsAccountId NOT_EQUALS 123456789012
only matches findings that have an account ID other than 123456789012
. - To search for values that don’t start with the filter value, use
PREFIX_NOT_EQUALS
. For example, the filter ResourceRegion PREFIX_NOT_EQUALS us
matches findings with a ResourceRegion
that starts with a value other than us
.
NOT_CONTAINS
, NOT_EQUALS
, and PREFIX_NOT_EQUALS
filters on the same field are joined by AND
. A finding matches only if it matches all of those filters. For example, the filters Title NOT_CONTAINS CloudFront AND Title NOT_CONTAINS CloudWatch
match a finding that excludes both CloudFront
and CloudWatch
in the title. You can’t have both a CONTAINS
filter and a NOT_CONTAINS
filter on the same field. Similarly, you can’t provide both an EQUALS
filter and a NOT_EQUALS
or PREFIX_NOT_EQUALS
filter on the same field. Combining filters in this way returns an error. CONTAINS
filters can only be used with other CONTAINS
filters. NOT_CONTAINS
filters can only be used with other NOT_CONTAINS
filters. You can combine PREFIX
filters with NOT_EQUALS
or PREFIX_NOT_EQUALS
filters for the same field. Security Hub first processes the PREFIX
filters, and then the NOT_EQUALS
or PREFIX_NOT_EQUALS
filters. For example, for the following filters, Security Hub first identifies findings that have resource types that start with either AwsIam
or AwsEc2
. It then excludes findings that have a resource type of AwsIamPolicy
and findings that have a resource type of AwsEc2NetworkInterface
.ResourceType PREFIX AwsIam
ResourceType PREFIX AwsEc2
ResourceType NOT_EQUALS AwsIamPolicy
ResourceType NOT_EQUALS AwsEc2NetworkInterface
CONTAINS
and NOT_CONTAINS
operators can be used only with automation rules. For more information, see Automation rules in the Security Hub User Guide.
value
Type: STRING
Provider name: Value
Description: The string filter value. Filter values are case sensitive. For example, the product name for control-based findings is Security Hub
. If you provide security hub
as the filter value, there’s no match.
product_arn
Type: UNORDERED_LIST_STRUCT
Provider name: ProductArn
Description: The Amazon Resource Name (ARN) for a third-party product that generated a finding in Security Hub. Array Members: Minimum number of 1 item. Maximum number of 20 items.
comparison
Type: STRING
Provider name: Comparison
Description: The condition to apply to a string value when filtering Security Hub findings. To search for values that have the filter value, use one of the following comparison operators:- To search for values that include the filter value, use
CONTAINS
. For example, the filter Title CONTAINS CloudFront
matches findings that have a Title
that includes the string CloudFront. - To search for values that exactly match the filter value, use
EQUALS
. For example, the filter AwsAccountId EQUALS 123456789012
only matches findings that have an account ID of 123456789012
. - To search for values that start with the filter value, use
PREFIX
. For example, the filter ResourceRegion PREFIX us
matches findings that have a ResourceRegion
that starts with us
. A ResourceRegion
that starts with a different value, such as af
, ap
, or ca
, doesn’t match.
CONTAINS
, EQUALS
, and PREFIX
filters on the same field are joined by OR
. A finding matches if it matches any one of those filters. For example, the filters Title CONTAINS CloudFront OR Title CONTAINS CloudWatch
match a finding that includes either CloudFront
, CloudWatch
, or both strings in the title. To search for values that don’t have the filter value, use one of the following comparison operators:- To search for values that exclude the filter value, use
NOT_CONTAINS
. For example, the filter Title NOT_CONTAINS CloudFront
matches findings that have a Title
that excludes the string CloudFront. - To search for values other than the filter value, use
NOT_EQUALS
. For example, the filter AwsAccountId NOT_EQUALS 123456789012
only matches findings that have an account ID other than 123456789012
. - To search for values that don’t start with the filter value, use
PREFIX_NOT_EQUALS
. For example, the filter ResourceRegion PREFIX_NOT_EQUALS us
matches findings with a ResourceRegion
that starts with a value other than us
.
NOT_CONTAINS
, NOT_EQUALS
, and PREFIX_NOT_EQUALS
filters on the same field are joined by AND
. A finding matches only if it matches all of those filters. For example, the filters Title NOT_CONTAINS CloudFront AND Title NOT_CONTAINS CloudWatch
match a finding that excludes both CloudFront
and CloudWatch
in the title. You can’t have both a CONTAINS
filter and a NOT_CONTAINS
filter on the same field. Similarly, you can’t provide both an EQUALS
filter and a NOT_EQUALS
or PREFIX_NOT_EQUALS
filter on the same field. Combining filters in this way returns an error. CONTAINS
filters can only be used with other CONTAINS
filters. NOT_CONTAINS
filters can only be used with other NOT_CONTAINS
filters. You can combine PREFIX
filters with NOT_EQUALS
or PREFIX_NOT_EQUALS
filters for the same field. Security Hub first processes the PREFIX
filters, and then the NOT_EQUALS
or PREFIX_NOT_EQUALS
filters. For example, for the following filters, Security Hub first identifies findings that have resource types that start with either AwsIam
or AwsEc2
. It then excludes findings that have a resource type of AwsIamPolicy
and findings that have a resource type of AwsEc2NetworkInterface
.ResourceType PREFIX AwsIam
ResourceType PREFIX AwsEc2
ResourceType NOT_EQUALS AwsIamPolicy
ResourceType NOT_EQUALS AwsEc2NetworkInterface
CONTAINS
and NOT_CONTAINS
operators can be used only with automation rules. For more information, see Automation rules in the Security Hub User Guide.
value
Type: STRING
Provider name: Value
Description: The string filter value. Filter values are case sensitive. For example, the product name for control-based findings is Security Hub
. If you provide security hub
as the filter value, there’s no match.
product_name
Type: UNORDERED_LIST_STRUCT
Provider name: ProductName
Description: Provides the name of the product that generated the finding. For control-based findings, the product name is Security Hub. Array Members: Minimum number of 1 item. Maximum number of 20 items.
comparison
Type: STRING
Provider name: Comparison
Description: The condition to apply to a string value when filtering Security Hub findings. To search for values that have the filter value, use one of the following comparison operators:- To search for values that include the filter value, use
CONTAINS
. For example, the filter Title CONTAINS CloudFront
matches findings that have a Title
that includes the string CloudFront. - To search for values that exactly match the filter value, use
EQUALS
. For example, the filter AwsAccountId EQUALS 123456789012
only matches findings that have an account ID of 123456789012
. - To search for values that start with the filter value, use
PREFIX
. For example, the filter ResourceRegion PREFIX us
matches findings that have a ResourceRegion
that starts with us
. A ResourceRegion
that starts with a different value, such as af
, ap
, or ca
, doesn’t match.
CONTAINS
, EQUALS
, and PREFIX
filters on the same field are joined by OR
. A finding matches if it matches any one of those filters. For example, the filters Title CONTAINS CloudFront OR Title CONTAINS CloudWatch
match a finding that includes either CloudFront
, CloudWatch
, or both strings in the title. To search for values that don’t have the filter value, use one of the following comparison operators:- To search for values that exclude the filter value, use
NOT_CONTAINS
. For example, the filter Title NOT_CONTAINS CloudFront
matches findings that have a Title
that excludes the string CloudFront. - To search for values other than the filter value, use
NOT_EQUALS
. For example, the filter AwsAccountId NOT_EQUALS 123456789012
only matches findings that have an account ID other than 123456789012
. - To search for values that don’t start with the filter value, use
PREFIX_NOT_EQUALS
. For example, the filter ResourceRegion PREFIX_NOT_EQUALS us
matches findings with a ResourceRegion
that starts with a value other than us
.
NOT_CONTAINS
, NOT_EQUALS
, and PREFIX_NOT_EQUALS
filters on the same field are joined by AND
. A finding matches only if it matches all of those filters. For example, the filters Title NOT_CONTAINS CloudFront AND Title NOT_CONTAINS CloudWatch
match a finding that excludes both CloudFront
and CloudWatch
in the title. You can’t have both a CONTAINS
filter and a NOT_CONTAINS
filter on the same field. Similarly, you can’t provide both an EQUALS
filter and a NOT_EQUALS
or PREFIX_NOT_EQUALS
filter on the same field. Combining filters in this way returns an error. CONTAINS
filters can only be used with other CONTAINS
filters. NOT_CONTAINS
filters can only be used with other NOT_CONTAINS
filters. You can combine PREFIX
filters with NOT_EQUALS
or PREFIX_NOT_EQUALS
filters for the same field. Security Hub first processes the PREFIX
filters, and then the NOT_EQUALS
or PREFIX_NOT_EQUALS
filters. For example, for the following filters, Security Hub first identifies findings that have resource types that start with either AwsIam
or AwsEc2
. It then excludes findings that have a resource type of AwsIamPolicy
and findings that have a resource type of AwsEc2NetworkInterface
.ResourceType PREFIX AwsIam
ResourceType PREFIX AwsEc2
ResourceType NOT_EQUALS AwsIamPolicy
ResourceType NOT_EQUALS AwsEc2NetworkInterface
CONTAINS
and NOT_CONTAINS
operators can be used only with automation rules. For more information, see Automation rules in the Security Hub User Guide.
value
Type: STRING
Provider name: Value
Description: The string filter value. Filter values are case sensitive. For example, the product name for control-based findings is Security Hub
. If you provide security hub
as the filter value, there’s no match.
record_state
Type: UNORDERED_LIST_STRUCT
Provider name: RecordState
Description: Provides the current state of a finding. Array Members: Minimum number of 1 item. Maximum number of 20 items.
comparison
Type: STRING
Provider name: Comparison
Description: The condition to apply to a string value when filtering Security Hub findings. To search for values that have the filter value, use one of the following comparison operators:- To search for values that include the filter value, use
CONTAINS
. For example, the filter Title CONTAINS CloudFront
matches findings that have a Title
that includes the string CloudFront. - To search for values that exactly match the filter value, use
EQUALS
. For example, the filter AwsAccountId EQUALS 123456789012
only matches findings that have an account ID of 123456789012
. - To search for values that start with the filter value, use
PREFIX
. For example, the filter ResourceRegion PREFIX us
matches findings that have a ResourceRegion
that starts with us
. A ResourceRegion
that starts with a different value, such as af
, ap
, or ca
, doesn’t match.
CONTAINS
, EQUALS
, and PREFIX
filters on the same field are joined by OR
. A finding matches if it matches any one of those filters. For example, the filters Title CONTAINS CloudFront OR Title CONTAINS CloudWatch
match a finding that includes either CloudFront
, CloudWatch
, or both strings in the title. To search for values that don’t have the filter value, use one of the following comparison operators:- To search for values that exclude the filter value, use
NOT_CONTAINS
. For example, the filter Title NOT_CONTAINS CloudFront
matches findings that have a Title
that excludes the string CloudFront. - To search for values other than the filter value, use
NOT_EQUALS
. For example, the filter AwsAccountId NOT_EQUALS 123456789012
only matches findings that have an account ID other than 123456789012
. - To search for values that don’t start with the filter value, use
PREFIX_NOT_EQUALS
. For example, the filter ResourceRegion PREFIX_NOT_EQUALS us
matches findings with a ResourceRegion
that starts with a value other than us
.
NOT_CONTAINS
, NOT_EQUALS
, and PREFIX_NOT_EQUALS
filters on the same field are joined by AND
. A finding matches only if it matches all of those filters. For example, the filters Title NOT_CONTAINS CloudFront AND Title NOT_CONTAINS CloudWatch
match a finding that excludes both CloudFront
and CloudWatch
in the title. You can’t have both a CONTAINS
filter and a NOT_CONTAINS
filter on the same field. Similarly, you can’t provide both an EQUALS
filter and a NOT_EQUALS
or PREFIX_NOT_EQUALS
filter on the same field. Combining filters in this way returns an error. CONTAINS
filters can only be used with other CONTAINS
filters. NOT_CONTAINS
filters can only be used with other NOT_CONTAINS
filters. You can combine PREFIX
filters with NOT_EQUALS
or PREFIX_NOT_EQUALS
filters for the same field. Security Hub first processes the PREFIX
filters, and then the NOT_EQUALS
or PREFIX_NOT_EQUALS
filters. For example, for the following filters, Security Hub first identifies findings that have resource types that start with either AwsIam
or AwsEc2
. It then excludes findings that have a resource type of AwsIamPolicy
and findings that have a resource type of AwsEc2NetworkInterface
.ResourceType PREFIX AwsIam
ResourceType PREFIX AwsEc2
ResourceType NOT_EQUALS AwsIamPolicy
ResourceType NOT_EQUALS AwsEc2NetworkInterface
CONTAINS
and NOT_CONTAINS
operators can be used only with automation rules. For more information, see Automation rules in the Security Hub User Guide.
value
Type: STRING
Provider name: Value
Description: The string filter value. Filter values are case sensitive. For example, the product name for control-based findings is Security Hub
. If you provide security hub
as the filter value, there’s no match.
related_findings_id
Type: UNORDERED_LIST_STRUCT
Provider name: RelatedFindingsId
Description: The product-generated identifier for a related finding. Array Members: Minimum number of 1 item. Maximum number of 20 items.
comparison
Type: STRING
Provider name: Comparison
Description: The condition to apply to a string value when filtering Security Hub findings. To search for values that have the filter value, use one of the following comparison operators:- To search for values that include the filter value, use
CONTAINS
. For example, the filter Title CONTAINS CloudFront
matches findings that have a Title
that includes the string CloudFront. - To search for values that exactly match the filter value, use
EQUALS
. For example, the filter AwsAccountId EQUALS 123456789012
only matches findings that have an account ID of 123456789012
. - To search for values that start with the filter value, use
PREFIX
. For example, the filter ResourceRegion PREFIX us
matches findings that have a ResourceRegion
that starts with us
. A ResourceRegion
that starts with a different value, such as af
, ap
, or ca
, doesn’t match.
CONTAINS
, EQUALS
, and PREFIX
filters on the same field are joined by OR
. A finding matches if it matches any one of those filters. For example, the filters Title CONTAINS CloudFront OR Title CONTAINS CloudWatch
match a finding that includes either CloudFront
, CloudWatch
, or both strings in the title. To search for values that don’t have the filter value, use one of the following comparison operators:- To search for values that exclude the filter value, use
NOT_CONTAINS
. For example, the filter Title NOT_CONTAINS CloudFront
matches findings that have a Title
that excludes the string CloudFront. - To search for values other than the filter value, use
NOT_EQUALS
. For example, the filter AwsAccountId NOT_EQUALS 123456789012
only matches findings that have an account ID other than 123456789012
. - To search for values that don’t start with the filter value, use
PREFIX_NOT_EQUALS
. For example, the filter ResourceRegion PREFIX_NOT_EQUALS us
matches findings with a ResourceRegion
that starts with a value other than us
.
NOT_CONTAINS
, NOT_EQUALS
, and PREFIX_NOT_EQUALS
filters on the same field are joined by AND
. A finding matches only if it matches all of those filters. For example, the filters Title NOT_CONTAINS CloudFront AND Title NOT_CONTAINS CloudWatch
match a finding that excludes both CloudFront
and CloudWatch
in the title. You can’t have both a CONTAINS
filter and a NOT_CONTAINS
filter on the same field. Similarly, you can’t provide both an EQUALS
filter and a NOT_EQUALS
or PREFIX_NOT_EQUALS
filter on the same field. Combining filters in this way returns an error. CONTAINS
filters can only be used with other CONTAINS
filters. NOT_CONTAINS
filters can only be used with other NOT_CONTAINS
filters. You can combine PREFIX
filters with NOT_EQUALS
or PREFIX_NOT_EQUALS
filters for the same field. Security Hub first processes the PREFIX
filters, and then the NOT_EQUALS
or PREFIX_NOT_EQUALS
filters. For example, for the following filters, Security Hub first identifies findings that have resource types that start with either AwsIam
or AwsEc2
. It then excludes findings that have a resource type of AwsIamPolicy
and findings that have a resource type of AwsEc2NetworkInterface
.ResourceType PREFIX AwsIam
ResourceType PREFIX AwsEc2
ResourceType NOT_EQUALS AwsIamPolicy
ResourceType NOT_EQUALS AwsEc2NetworkInterface
CONTAINS
and NOT_CONTAINS
operators can be used only with automation rules. For more information, see Automation rules in the Security Hub User Guide.
value
Type: STRING
Provider name: Value
Description: The string filter value. Filter values are case sensitive. For example, the product name for control-based findings is Security Hub
. If you provide security hub
as the filter value, there’s no match.
related_findings_product_arn
Type: UNORDERED_LIST_STRUCT
Provider name: RelatedFindingsProductArn
Description: The ARN for the product that generated a related finding. Array Members: Minimum number of 1 item. Maximum number of 20 items.
comparison
Type: STRING
Provider name: Comparison
Description: The condition to apply to a string value when filtering Security Hub findings. To search for values that have the filter value, use one of the following comparison operators:- To search for values that include the filter value, use
CONTAINS
. For example, the filter Title CONTAINS CloudFront
matches findings that have a Title
that includes the string CloudFront. - To search for values that exactly match the filter value, use
EQUALS
. For example, the filter AwsAccountId EQUALS 123456789012
only matches findings that have an account ID of 123456789012
. - To search for values that start with the filter value, use
PREFIX
. For example, the filter ResourceRegion PREFIX us
matches findings that have a ResourceRegion
that starts with us
. A ResourceRegion
that starts with a different value, such as af
, ap
, or ca
, doesn’t match.
CONTAINS
, EQUALS
, and PREFIX
filters on the same field are joined by OR
. A finding matches if it matches any one of those filters. For example, the filters Title CONTAINS CloudFront OR Title CONTAINS CloudWatch
match a finding that includes either CloudFront
, CloudWatch
, or both strings in the title. To search for values that don’t have the filter value, use one of the following comparison operators:- To search for values that exclude the filter value, use
NOT_CONTAINS
. For example, the filter Title NOT_CONTAINS CloudFront
matches findings that have a Title
that excludes the string CloudFront. - To search for values other than the filter value, use
NOT_EQUALS
. For example, the filter AwsAccountId NOT_EQUALS 123456789012
only matches findings that have an account ID other than 123456789012
. - To search for values that don’t start with the filter value, use
PREFIX_NOT_EQUALS
. For example, the filter ResourceRegion PREFIX_NOT_EQUALS us
matches findings with a ResourceRegion
that starts with a value other than us
.
NOT_CONTAINS
, NOT_EQUALS
, and PREFIX_NOT_EQUALS
filters on the same field are joined by AND
. A finding matches only if it matches all of those filters. For example, the filters Title NOT_CONTAINS CloudFront AND Title NOT_CONTAINS CloudWatch
match a finding that excludes both CloudFront
and CloudWatch
in the title. You can’t have both a CONTAINS
filter and a NOT_CONTAINS
filter on the same field. Similarly, you can’t provide both an EQUALS
filter and a NOT_EQUALS
or PREFIX_NOT_EQUALS
filter on the same field. Combining filters in this way returns an error. CONTAINS
filters can only be used with other CONTAINS
filters. NOT_CONTAINS
filters can only be used with other NOT_CONTAINS
filters. You can combine PREFIX
filters with NOT_EQUALS
or PREFIX_NOT_EQUALS
filters for the same field. Security Hub first processes the PREFIX
filters, and then the NOT_EQUALS
or PREFIX_NOT_EQUALS
filters. For example, for the following filters, Security Hub first identifies findings that have resource types that start with either AwsIam
or AwsEc2
. It then excludes findings that have a resource type of AwsIamPolicy
and findings that have a resource type of AwsEc2NetworkInterface
.ResourceType PREFIX AwsIam
ResourceType PREFIX AwsEc2
ResourceType NOT_EQUALS AwsIamPolicy
ResourceType NOT_EQUALS AwsEc2NetworkInterface
CONTAINS
and NOT_CONTAINS
operators can be used only with automation rules. For more information, see Automation rules in the Security Hub User Guide.
value
Type: STRING
Provider name: Value
Description: The string filter value. Filter values are case sensitive. For example, the product name for control-based findings is Security Hub
. If you provide security hub
as the filter value, there’s no match.
resource_application_arn
Type: UNORDERED_LIST_STRUCT
Provider name: ResourceApplicationArn
Description: The Amazon Resource Name (ARN) of the application that is related to a finding. Array Members: Minimum number of 1 item. Maximum number of 20 items.
comparison
Type: STRING
Provider name: Comparison
Description: The condition to apply to a string value when filtering Security Hub findings. To search for values that have the filter value, use one of the following comparison operators:- To search for values that include the filter value, use
CONTAINS
. For example, the filter Title CONTAINS CloudFront
matches findings that have a Title
that includes the string CloudFront. - To search for values that exactly match the filter value, use
EQUALS
. For example, the filter AwsAccountId EQUALS 123456789012
only matches findings that have an account ID of 123456789012
. - To search for values that start with the filter value, use
PREFIX
. For example, the filter ResourceRegion PREFIX us
matches findings that have a ResourceRegion
that starts with us
. A ResourceRegion
that starts with a different value, such as af
, ap
, or ca
, doesn’t match.
CONTAINS
, EQUALS
, and PREFIX
filters on the same field are joined by OR
. A finding matches if it matches any one of those filters. For example, the filters Title CONTAINS CloudFront OR Title CONTAINS CloudWatch
match a finding that includes either CloudFront
, CloudWatch
, or both strings in the title. To search for values that don’t have the filter value, use one of the following comparison operators:- To search for values that exclude the filter value, use
NOT_CONTAINS
. For example, the filter Title NOT_CONTAINS CloudFront
matches findings that have a Title
that excludes the string CloudFront. - To search for values other than the filter value, use
NOT_EQUALS
. For example, the filter AwsAccountId NOT_EQUALS 123456789012
only matches findings that have an account ID other than 123456789012
. - To search for values that don’t start with the filter value, use
PREFIX_NOT_EQUALS
. For example, the filter ResourceRegion PREFIX_NOT_EQUALS us
matches findings with a ResourceRegion
that starts with a value other than us
.
NOT_CONTAINS
, NOT_EQUALS
, and PREFIX_NOT_EQUALS
filters on the same field are joined by AND
. A finding matches only if it matches all of those filters. For example, the filters Title NOT_CONTAINS CloudFront AND Title NOT_CONTAINS CloudWatch
match a finding that excludes both CloudFront
and CloudWatch
in the title. You can’t have both a CONTAINS
filter and a NOT_CONTAINS
filter on the same field. Similarly, you can’t provide both an EQUALS
filter and a NOT_EQUALS
or PREFIX_NOT_EQUALS
filter on the same field. Combining filters in this way returns an error. CONTAINS
filters can only be used with other CONTAINS
filters. NOT_CONTAINS
filters can only be used with other NOT_CONTAINS
filters. You can combine PREFIX
filters with NOT_EQUALS
or PREFIX_NOT_EQUALS
filters for the same field. Security Hub first processes the PREFIX
filters, and then the NOT_EQUALS
or PREFIX_NOT_EQUALS
filters. For example, for the following filters, Security Hub first identifies findings that have resource types that start with either AwsIam
or AwsEc2
. It then excludes findings that have a resource type of AwsIamPolicy
and findings that have a resource type of AwsEc2NetworkInterface
.ResourceType PREFIX AwsIam
ResourceType PREFIX AwsEc2
ResourceType NOT_EQUALS AwsIamPolicy
ResourceType NOT_EQUALS AwsEc2NetworkInterface
CONTAINS
and NOT_CONTAINS
operators can be used only with automation rules. For more information, see Automation rules in the Security Hub User Guide.
value
Type: STRING
Provider name: Value
Description: The string filter value. Filter values are case sensitive. For example, the product name for control-based findings is Security Hub
. If you provide security hub
as the filter value, there’s no match.
resource_application_name
Type: UNORDERED_LIST_STRUCT
Provider name: ResourceApplicationName
Description: The name of the application that is related to a finding. Array Members: Minimum number of 1 item. Maximum number of 20 items.
comparison
Type: STRING
Provider name: Comparison
Description: The condition to apply to a string value when filtering Security Hub findings. To search for values that have the filter value, use one of the following comparison operators:- To search for values that include the filter value, use
CONTAINS
. For example, the filter Title CONTAINS CloudFront
matches findings that have a Title
that includes the string CloudFront. - To search for values that exactly match the filter value, use
EQUALS
. For example, the filter AwsAccountId EQUALS 123456789012
only matches findings that have an account ID of 123456789012
. - To search for values that start with the filter value, use
PREFIX
. For example, the filter ResourceRegion PREFIX us
matches findings that have a ResourceRegion
that starts with us
. A ResourceRegion
that starts with a different value, such as af
, ap
, or ca
, doesn’t match.
CONTAINS
, EQUALS
, and PREFIX
filters on the same field are joined by OR
. A finding matches if it matches any one of those filters. For example, the filters Title CONTAINS CloudFront OR Title CONTAINS CloudWatch
match a finding that includes either CloudFront
, CloudWatch
, or both strings in the title. To search for values that don’t have the filter value, use one of the following comparison operators:- To search for values that exclude the filter value, use
NOT_CONTAINS
. For example, the filter Title NOT_CONTAINS CloudFront
matches findings that have a Title
that excludes the string CloudFront. - To search for values other than the filter value, use
NOT_EQUALS
. For example, the filter AwsAccountId NOT_EQUALS 123456789012
only matches findings that have an account ID other than 123456789012
. - To search for values that don’t start with the filter value, use
PREFIX_NOT_EQUALS
. For example, the filter ResourceRegion PREFIX_NOT_EQUALS us
matches findings with a ResourceRegion
that starts with a value other than us
.
NOT_CONTAINS
, NOT_EQUALS
, and PREFIX_NOT_EQUALS
filters on the same field are joined by AND
. A finding matches only if it matches all of those filters. For example, the filters Title NOT_CONTAINS CloudFront AND Title NOT_CONTAINS CloudWatch
match a finding that excludes both CloudFront
and CloudWatch
in the title. You can’t have both a CONTAINS
filter and a NOT_CONTAINS
filter on the same field. Similarly, you can’t provide both an EQUALS
filter and a NOT_EQUALS
or PREFIX_NOT_EQUALS
filter on the same field. Combining filters in this way returns an error. CONTAINS
filters can only be used with other CONTAINS
filters. NOT_CONTAINS
filters can only be used with other NOT_CONTAINS
filters. You can combine PREFIX
filters with NOT_EQUALS
or PREFIX_NOT_EQUALS
filters for the same field. Security Hub first processes the PREFIX
filters, and then the NOT_EQUALS
or PREFIX_NOT_EQUALS
filters. For example, for the following filters, Security Hub first identifies findings that have resource types that start with either AwsIam
or AwsEc2
. It then excludes findings that have a resource type of AwsIamPolicy
and findings that have a resource type of AwsEc2NetworkInterface
.ResourceType PREFIX AwsIam
ResourceType PREFIX AwsEc2
ResourceType NOT_EQUALS AwsIamPolicy
ResourceType NOT_EQUALS AwsEc2NetworkInterface
CONTAINS
and NOT_CONTAINS
operators can be used only with automation rules. For more information, see Automation rules in the Security Hub User Guide.
value
Type: STRING
Provider name: Value
Description: The string filter value. Filter values are case sensitive. For example, the product name for control-based findings is Security Hub
. If you provide security hub
as the filter value, there’s no match.
resource_details_other
Type: UNORDERED_LIST_STRUCT
Provider name: ResourceDetailsOther
Description: Custom fields and values about the resource that a finding pertains to. Array Members: Minimum number of 1 item. Maximum number of 20 items.
comparison
Type: STRING
Provider name: Comparison
Description: The condition to apply to the key value when filtering Security Hub findings with a map filter. To search for values that have the filter value, use one of the following comparison operators:- To search for values that include the filter value, use
CONTAINS
. For example, for the ResourceTags
field, the filter Department CONTAINS Security
matches findings that include the value Security
for the Department
tag. In the same example, a finding with a value of Security team
for the Department
tag is a match. - To search for values that exactly match the filter value, use
EQUALS
. For example, for the ResourceTags
field, the filter Department EQUALS Security
matches findings that have the value Security
for the Department
tag.
CONTAINS
and EQUALS
filters on the same field are joined by OR
. A finding matches if it matches any one of those filters. For example, the filters Department CONTAINS Security OR Department CONTAINS Finance
match a finding that includes either Security
, Finance
, or both values. To search for values that don’t have the filter value, use one of the following comparison operators:- To search for values that exclude the filter value, use
NOT_CONTAINS
. For example, for the ResourceTags
field, the filter Department NOT_CONTAINS Finance
matches findings that exclude the value Finance
for the Department
tag. - To search for values other than the filter value, use
NOT_EQUALS
. For example, for the ResourceTags
field, the filter Department NOT_EQUALS Finance
matches findings that don’t have the value Finance
for the Department
tag.
NOT_CONTAINS
and NOT_EQUALS
filters on the same field are joined by AND
. A finding matches only if it matches all of those filters. For example, the filters Department NOT_CONTAINS Security AND Department NOT_CONTAINS Finance
match a finding that excludes both the Security
and Finance
values. CONTAINS
filters can only be used with other CONTAINS
filters. NOT_CONTAINS
filters can only be used with other NOT_CONTAINS
filters. You can’t have both a CONTAINS
filter and a NOT_CONTAINS
filter on the same field. Similarly, you can’t have both an EQUALS
filter and a NOT_EQUALS
filter on the same field. Combining filters in this way returns an error. CONTAINS
and NOT_CONTAINS
operators can be used only with automation rules. For more information, see Automation rules in the Security Hub User Guide.
key
Type: STRING
Provider name: Key
Description: The key of the map filter. For example, for ResourceTags
, Key
identifies the name of the tag. For UserDefinedFields
, Key
is the name of the field.
value
Type: STRING
Provider name: Value
Description: The value for the key in the map filter. Filter values are case sensitive. For example, one of the values for a tag called Department
might be Security
. If you provide security
as the filter value, then there’s no match.
resource_id
Type: UNORDERED_LIST_STRUCT
Provider name: ResourceId
Description: The identifier for the given resource type. For Amazon Web Services resources that are identified by Amazon Resource Names (ARNs), this is the ARN. For Amazon Web Services resources that lack ARNs, this is the identifier as defined by the Amazon Web Services service that created the resource. For non-Amazon Web Services resources, this is a unique identifier that is associated with the resource. Array Members: Minimum number of 1 item. Maximum number of 100 items.
comparison
Type: STRING
Provider name: Comparison
Description: The condition to apply to a string value when filtering Security Hub findings. To search for values that have the filter value, use one of the following comparison operators:- To search for values that include the filter value, use
CONTAINS
. For example, the filter Title CONTAINS CloudFront
matches findings that have a Title
that includes the string CloudFront. - To search for values that exactly match the filter value, use
EQUALS
. For example, the filter AwsAccountId EQUALS 123456789012
only matches findings that have an account ID of 123456789012
. - To search for values that start with the filter value, use
PREFIX
. For example, the filter ResourceRegion PREFIX us
matches findings that have a ResourceRegion
that starts with us
. A ResourceRegion
that starts with a different value, such as af
, ap
, or ca
, doesn’t match.
CONTAINS
, EQUALS
, and PREFIX
filters on the same field are joined by OR
. A finding matches if it matches any one of those filters. For example, the filters Title CONTAINS CloudFront OR Title CONTAINS CloudWatch
match a finding that includes either CloudFront
, CloudWatch
, or both strings in the title. To search for values that don’t have the filter value, use one of the following comparison operators:- To search for values that exclude the filter value, use
NOT_CONTAINS
. For example, the filter Title NOT_CONTAINS CloudFront
matches findings that have a Title
that excludes the string CloudFront. - To search for values other than the filter value, use
NOT_EQUALS
. For example, the filter AwsAccountId NOT_EQUALS 123456789012
only matches findings that have an account ID other than 123456789012
. - To search for values that don’t start with the filter value, use
PREFIX_NOT_EQUALS
. For example, the filter ResourceRegion PREFIX_NOT_EQUALS us
matches findings with a ResourceRegion
that starts with a value other than us
.
NOT_CONTAINS
, NOT_EQUALS
, and PREFIX_NOT_EQUALS
filters on the same field are joined by AND
. A finding matches only if it matches all of those filters. For example, the filters Title NOT_CONTAINS CloudFront AND Title NOT_CONTAINS CloudWatch
match a finding that excludes both CloudFront
and CloudWatch
in the title. You can’t have both a CONTAINS
filter and a NOT_CONTAINS
filter on the same field. Similarly, you can’t provide both an EQUALS
filter and a NOT_EQUALS
or PREFIX_NOT_EQUALS
filter on the same field. Combining filters in this way returns an error. CONTAINS
filters can only be used with other CONTAINS
filters. NOT_CONTAINS
filters can only be used with other NOT_CONTAINS
filters. You can combine PREFIX
filters with NOT_EQUALS
or PREFIX_NOT_EQUALS
filters for the same field. Security Hub first processes the PREFIX
filters, and then the NOT_EQUALS
or PREFIX_NOT_EQUALS
filters. For example, for the following filters, Security Hub first identifies findings that have resource types that start with either AwsIam
or AwsEc2
. It then excludes findings that have a resource type of AwsIamPolicy
and findings that have a resource type of AwsEc2NetworkInterface
.ResourceType PREFIX AwsIam
ResourceType PREFIX AwsEc2
ResourceType NOT_EQUALS AwsIamPolicy
ResourceType NOT_EQUALS AwsEc2NetworkInterface
CONTAINS
and NOT_CONTAINS
operators can be used only with automation rules. For more information, see Automation rules in the Security Hub User Guide.
value
Type: STRING
Provider name: Value
Description: The string filter value. Filter values are case sensitive. For example, the product name for control-based findings is Security Hub
. If you provide security hub
as the filter value, there’s no match.
resource_partition
Type: UNORDERED_LIST_STRUCT
Provider name: ResourcePartition
Description: The partition in which the resource that the finding pertains to is located. A partition is a group of Amazon Web Services Regions. Each Amazon Web Services account is scoped to one partition. Array Members: Minimum number of 1 item. Maximum number of 20 items.
comparison
Type: STRING
Provider name: Comparison
Description: The condition to apply to a string value when filtering Security Hub findings. To search for values that have the filter value, use one of the following comparison operators:- To search for values that include the filter value, use
CONTAINS
. For example, the filter Title CONTAINS CloudFront
matches findings that have a Title
that includes the string CloudFront. - To search for values that exactly match the filter value, use
EQUALS
. For example, the filter AwsAccountId EQUALS 123456789012
only matches findings that have an account ID of 123456789012
. - To search for values that start with the filter value, use
PREFIX
. For example, the filter ResourceRegion PREFIX us
matches findings that have a ResourceRegion
that starts with us
. A ResourceRegion
that starts with a different value, such as af
, ap
, or ca
, doesn’t match.
CONTAINS
, EQUALS
, and PREFIX
filters on the same field are joined by OR
. A finding matches if it matches any one of those filters. For example, the filters Title CONTAINS CloudFront OR Title CONTAINS CloudWatch
match a finding that includes either CloudFront
, CloudWatch
, or both strings in the title. To search for values that don’t have the filter value, use one of the following comparison operators:- To search for values that exclude the filter value, use
NOT_CONTAINS
. For example, the filter Title NOT_CONTAINS CloudFront
matches findings that have a Title
that excludes the string CloudFront. - To search for values other than the filter value, use
NOT_EQUALS
. For example, the filter AwsAccountId NOT_EQUALS 123456789012
only matches findings that have an account ID other than 123456789012
. - To search for values that don’t start with the filter value, use
PREFIX_NOT_EQUALS
. For example, the filter ResourceRegion PREFIX_NOT_EQUALS us
matches findings with a ResourceRegion
that starts with a value other than us
.
NOT_CONTAINS
, NOT_EQUALS
, and PREFIX_NOT_EQUALS
filters on the same field are joined by AND
. A finding matches only if it matches all of those filters. For example, the filters Title NOT_CONTAINS CloudFront AND Title NOT_CONTAINS CloudWatch
match a finding that excludes both CloudFront
and CloudWatch
in the title. You can’t have both a CONTAINS
filter and a NOT_CONTAINS
filter on the same field. Similarly, you can’t provide both an EQUALS
filter and a NOT_EQUALS
or PREFIX_NOT_EQUALS
filter on the same field. Combining filters in this way returns an error. CONTAINS
filters can only be used with other CONTAINS
filters. NOT_CONTAINS
filters can only be used with other NOT_CONTAINS
filters. You can combine PREFIX
filters with NOT_EQUALS
or PREFIX_NOT_EQUALS
filters for the same field. Security Hub first processes the PREFIX
filters, and then the NOT_EQUALS
or PREFIX_NOT_EQUALS
filters. For example, for the following filters, Security Hub first identifies findings that have resource types that start with either AwsIam
or AwsEc2
. It then excludes findings that have a resource type of AwsIamPolicy
and findings that have a resource type of AwsEc2NetworkInterface
.ResourceType PREFIX AwsIam
ResourceType PREFIX AwsEc2
ResourceType NOT_EQUALS AwsIamPolicy
ResourceType NOT_EQUALS AwsEc2NetworkInterface
CONTAINS
and NOT_CONTAINS
operators can be used only with automation rules. For more information, see Automation rules in the Security Hub User Guide.
value
Type: STRING
Provider name: Value
Description: The string filter value. Filter values are case sensitive. For example, the product name for control-based findings is Security Hub
. If you provide security hub
as the filter value, there’s no match.
resource_region
Type: UNORDERED_LIST_STRUCT
Provider name: ResourceRegion
Description: The Amazon Web Services Region where the resource that a finding pertains to is located. Array Members: Minimum number of 1 item. Maximum number of 20 items.
comparison
Type: STRING
Provider name: Comparison
Description: The condition to apply to a string value when filtering Security Hub findings. To search for values that have the filter value, use one of the following comparison operators:- To search for values that include the filter value, use
CONTAINS
. For example, the filter Title CONTAINS CloudFront
matches findings that have a Title
that includes the string CloudFront. - To search for values that exactly match the filter value, use
EQUALS
. For example, the filter AwsAccountId EQUALS 123456789012
only matches findings that have an account ID of 123456789012
. - To search for values that start with the filter value, use
PREFIX
. For example, the filter ResourceRegion PREFIX us
matches findings that have a ResourceRegion
that starts with us
. A ResourceRegion
that starts with a different value, such as af
, ap
, or ca
, doesn’t match.
CONTAINS
, EQUALS
, and PREFIX
filters on the same field are joined by OR
. A finding matches if it matches any one of those filters. For example, the filters Title CONTAINS CloudFront OR Title CONTAINS CloudWatch
match a finding that includes either CloudFront
, CloudWatch
, or both strings in the title. To search for values that don’t have the filter value, use one of the following comparison operators:- To search for values that exclude the filter value, use
NOT_CONTAINS
. For example, the filter Title NOT_CONTAINS CloudFront
matches findings that have a Title
that excludes the string CloudFront. - To search for values other than the filter value, use
NOT_EQUALS
. For example, the filter AwsAccountId NOT_EQUALS 123456789012
only matches findings that have an account ID other than 123456789012
. - To search for values that don’t start with the filter value, use
PREFIX_NOT_EQUALS
. For example, the filter ResourceRegion PREFIX_NOT_EQUALS us
matches findings with a ResourceRegion
that starts with a value other than us
.
NOT_CONTAINS
, NOT_EQUALS
, and PREFIX_NOT_EQUALS
filters on the same field are joined by AND
. A finding matches only if it matches all of those filters. For example, the filters Title NOT_CONTAINS CloudFront AND Title NOT_CONTAINS CloudWatch
match a finding that excludes both CloudFront
and CloudWatch
in the title. You can’t have both a CONTAINS
filter and a NOT_CONTAINS
filter on the same field. Similarly, you can’t provide both an EQUALS
filter and a NOT_EQUALS
or PREFIX_NOT_EQUALS
filter on the same field. Combining filters in this way returns an error. CONTAINS
filters can only be used with other CONTAINS
filters. NOT_CONTAINS
filters can only be used with other NOT_CONTAINS
filters. You can combine PREFIX
filters with NOT_EQUALS
or PREFIX_NOT_EQUALS
filters for the same field. Security Hub first processes the PREFIX
filters, and then the NOT_EQUALS
or PREFIX_NOT_EQUALS
filters. For example, for the following filters, Security Hub first identifies findings that have resource types that start with either AwsIam
or AwsEc2
. It then excludes findings that have a resource type of AwsIamPolicy
and findings that have a resource type of AwsEc2NetworkInterface
.ResourceType PREFIX AwsIam
ResourceType PREFIX AwsEc2
ResourceType NOT_EQUALS AwsIamPolicy
ResourceType NOT_EQUALS AwsEc2NetworkInterface
CONTAINS
and NOT_CONTAINS
operators can be used only with automation rules. For more information, see Automation rules in the Security Hub User Guide.
value
Type: STRING
Provider name: Value
Description: The string filter value. Filter values are case sensitive. For example, the product name for control-based findings is Security Hub
. If you provide security hub
as the filter value, there’s no match.
resource_tags
Type: UNORDERED_LIST_STRUCT
Provider name: ResourceTags
Description: A list of Amazon Web Services tags associated with a resource at the time the finding was processed. Array Members: Minimum number of 1 item. Maximum number of 20 items.
comparison
Type: STRING
Provider name: Comparison
Description: The condition to apply to the key value when filtering Security Hub findings with a map filter. To search for values that have the filter value, use one of the following comparison operators:- To search for values that include the filter value, use
CONTAINS
. For example, for the ResourceTags
field, the filter Department CONTAINS Security
matches findings that include the value Security
for the Department
tag. In the same example, a finding with a value of Security team
for the Department
tag is a match. - To search for values that exactly match the filter value, use
EQUALS
. For example, for the ResourceTags
field, the filter Department EQUALS Security
matches findings that have the value Security
for the Department
tag.
CONTAINS
and EQUALS
filters on the same field are joined by OR
. A finding matches if it matches any one of those filters. For example, the filters Department CONTAINS Security OR Department CONTAINS Finance
match a finding that includes either Security
, Finance
, or both values. To search for values that don’t have the filter value, use one of the following comparison operators:- To search for values that exclude the filter value, use
NOT_CONTAINS
. For example, for the ResourceTags
field, the filter Department NOT_CONTAINS Finance
matches findings that exclude the value Finance
for the Department
tag. - To search for values other than the filter value, use
NOT_EQUALS
. For example, for the ResourceTags
field, the filter Department NOT_EQUALS Finance
matches findings that don’t have the value Finance
for the Department
tag.
NOT_CONTAINS
and NOT_EQUALS
filters on the same field are joined by AND
. A finding matches only if it matches all of those filters. For example, the filters Department NOT_CONTAINS Security AND Department NOT_CONTAINS Finance
match a finding that excludes both the Security
and Finance
values. CONTAINS
filters can only be used with other CONTAINS
filters. NOT_CONTAINS
filters can only be used with other NOT_CONTAINS
filters. You can’t have both a CONTAINS
filter and a NOT_CONTAINS
filter on the same field. Similarly, you can’t have both an EQUALS
filter and a NOT_EQUALS
filter on the same field. Combining filters in this way returns an error. CONTAINS
and NOT_CONTAINS
operators can be used only with automation rules. For more information, see Automation rules in the Security Hub User Guide.
key
Type: STRING
Provider name: Key
Description: The key of the map filter. For example, for ResourceTags
, Key
identifies the name of the tag. For UserDefinedFields
, Key
is the name of the field.
value
Type: STRING
Provider name: Value
Description: The value for the key in the map filter. Filter values are case sensitive. For example, one of the values for a tag called Department
might be Security
. If you provide security
as the filter value, then there’s no match.
resource_type
Type: UNORDERED_LIST_STRUCT
Provider name: ResourceType
Description: The type of resource that the finding pertains to. Array Members: Minimum number of 1 item. Maximum number of 20 items.
comparison
Type: STRING
Provider name: Comparison
Description: The condition to apply to a string value when filtering Security Hub findings. To search for values that have the filter value, use one of the following comparison operators:- To search for values that include the filter value, use
CONTAINS
. For example, the filter Title CONTAINS CloudFront
matches findings that have a Title
that includes the string CloudFront. - To search for values that exactly match the filter value, use
EQUALS
. For example, the filter AwsAccountId EQUALS 123456789012
only matches findings that have an account ID of 123456789012
. - To search for values that start with the filter value, use
PREFIX
. For example, the filter ResourceRegion PREFIX us
matches findings that have a ResourceRegion
that starts with us
. A ResourceRegion
that starts with a different value, such as af
, ap
, or ca
, doesn’t match.
CONTAINS
, EQUALS
, and PREFIX
filters on the same field are joined by OR
. A finding matches if it matches any one of those filters. For example, the filters Title CONTAINS CloudFront OR Title CONTAINS CloudWatch
match a finding that includes either CloudFront
, CloudWatch
, or both strings in the title. To search for values that don’t have the filter value, use one of the following comparison operators:- To search for values that exclude the filter value, use
NOT_CONTAINS
. For example, the filter Title NOT_CONTAINS CloudFront
matches findings that have a Title
that excludes the string CloudFront. - To search for values other than the filter value, use
NOT_EQUALS
. For example, the filter AwsAccountId NOT_EQUALS 123456789012
only matches findings that have an account ID other than 123456789012
. - To search for values that don’t start with the filter value, use
PREFIX_NOT_EQUALS
. For example, the filter ResourceRegion PREFIX_NOT_EQUALS us
matches findings with a ResourceRegion
that starts with a value other than us
.
NOT_CONTAINS
, NOT_EQUALS
, and PREFIX_NOT_EQUALS
filters on the same field are joined by AND
. A finding matches only if it matches all of those filters. For example, the filters Title NOT_CONTAINS CloudFront AND Title NOT_CONTAINS CloudWatch
match a finding that excludes both CloudFront
and CloudWatch
in the title. You can’t have both a CONTAINS
filter and a NOT_CONTAINS
filter on the same field. Similarly, you can’t provide both an EQUALS
filter and a NOT_EQUALS
or PREFIX_NOT_EQUALS
filter on the same field. Combining filters in this way returns an error. CONTAINS
filters can only be used with other CONTAINS
filters. NOT_CONTAINS
filters can only be used with other NOT_CONTAINS
filters. You can combine PREFIX
filters with NOT_EQUALS
or PREFIX_NOT_EQUALS
filters for the same field. Security Hub first processes the PREFIX
filters, and then the NOT_EQUALS
or PREFIX_NOT_EQUALS
filters. For example, for the following filters, Security Hub first identifies findings that have resource types that start with either AwsIam
or AwsEc2
. It then excludes findings that have a resource type of AwsIamPolicy
and findings that have a resource type of AwsEc2NetworkInterface
.ResourceType PREFIX AwsIam
ResourceType PREFIX AwsEc2
ResourceType NOT_EQUALS AwsIamPolicy
ResourceType NOT_EQUALS AwsEc2NetworkInterface
CONTAINS
and NOT_CONTAINS
operators can be used only with automation rules. For more information, see Automation rules in the Security Hub User Guide.
value
Type: STRING
Provider name: Value
Description: The string filter value. Filter values are case sensitive. For example, the product name for control-based findings is Security Hub
. If you provide security hub
as the filter value, there’s no match.
severity_label
Type: UNORDERED_LIST_STRUCT
Provider name: SeverityLabel
Description: The severity value of the finding. Array Members: Minimum number of 1 item. Maximum number of 20 items.
comparison
Type: STRING
Provider name: Comparison
Description: The condition to apply to a string value when filtering Security Hub findings. To search for values that have the filter value, use one of the following comparison operators:- To search for values that include the filter value, use
CONTAINS
. For example, the filter Title CONTAINS CloudFront
matches findings that have a Title
that includes the string CloudFront. - To search for values that exactly match the filter value, use
EQUALS
. For example, the filter AwsAccountId EQUALS 123456789012
only matches findings that have an account ID of 123456789012
. - To search for values that start with the filter value, use
PREFIX
. For example, the filter ResourceRegion PREFIX us
matches findings that have a ResourceRegion
that starts with us
. A ResourceRegion
that starts with a different value, such as af
, ap
, or ca
, doesn’t match.
CONTAINS
, EQUALS
, and PREFIX
filters on the same field are joined by OR
. A finding matches if it matches any one of those filters. For example, the filters Title CONTAINS CloudFront OR Title CONTAINS CloudWatch
match a finding that includes either CloudFront
, CloudWatch
, or both strings in the title. To search for values that don’t have the filter value, use one of the following comparison operators:- To search for values that exclude the filter value, use
NOT_CONTAINS
. For example, the filter Title NOT_CONTAINS CloudFront
matches findings that have a Title
that excludes the string CloudFront. - To search for values other than the filter value, use
NOT_EQUALS
. For example, the filter AwsAccountId NOT_EQUALS 123456789012
only matches findings that have an account ID other than 123456789012
. - To search for values that don’t start with the filter value, use
PREFIX_NOT_EQUALS
. For example, the filter ResourceRegion PREFIX_NOT_EQUALS us
matches findings with a ResourceRegion
that starts with a value other than us
.
NOT_CONTAINS
, NOT_EQUALS
, and PREFIX_NOT_EQUALS
filters on the same field are joined by AND
. A finding matches only if it matches all of those filters. For example, the filters Title NOT_CONTAINS CloudFront AND Title NOT_CONTAINS CloudWatch
match a finding that excludes both CloudFront
and CloudWatch
in the title. You can’t have both a CONTAINS
filter and a NOT_CONTAINS
filter on the same field. Similarly, you can’t provide both an EQUALS
filter and a NOT_EQUALS
or PREFIX_NOT_EQUALS
filter on the same field. Combining filters in this way returns an error. CONTAINS
filters can only be used with other CONTAINS
filters. NOT_CONTAINS
filters can only be used with other NOT_CONTAINS
filters. You can combine PREFIX
filters with NOT_EQUALS
or PREFIX_NOT_EQUALS
filters for the same field. Security Hub first processes the PREFIX
filters, and then the NOT_EQUALS
or PREFIX_NOT_EQUALS
filters. For example, for the following filters, Security Hub first identifies findings that have resource types that start with either AwsIam
or AwsEc2
. It then excludes findings that have a resource type of AwsIamPolicy
and findings that have a resource type of AwsEc2NetworkInterface
.ResourceType PREFIX AwsIam
ResourceType PREFIX AwsEc2
ResourceType NOT_EQUALS AwsIamPolicy
ResourceType NOT_EQUALS AwsEc2NetworkInterface
CONTAINS
and NOT_CONTAINS
operators can be used only with automation rules. For more information, see Automation rules in the Security Hub User Guide.
value
Type: STRING
Provider name: Value
Description: The string filter value. Filter values are case sensitive. For example, the product name for control-based findings is Security Hub
. If you provide security hub
as the filter value, there’s no match.
source_url
Type: UNORDERED_LIST_STRUCT
Provider name: SourceUrl
Description: Provides a URL that links to a page about the current finding in the finding product. Array Members: Minimum number of 1 item. Maximum number of 20 items.
comparison
Type: STRING
Provider name: Comparison
Description: The condition to apply to a string value when filtering Security Hub findings. To search for values that have the filter value, use one of the following comparison operators:- To search for values that include the filter value, use
CONTAINS
. For example, the filter Title CONTAINS CloudFront
matches findings that have a Title
that includes the string CloudFront. - To search for values that exactly match the filter value, use
EQUALS
. For example, the filter AwsAccountId EQUALS 123456789012
only matches findings that have an account ID of 123456789012
. - To search for values that start with the filter value, use
PREFIX
. For example, the filter ResourceRegion PREFIX us
matches findings that have a ResourceRegion
that starts with us
. A ResourceRegion
that starts with a different value, such as af
, ap
, or ca
, doesn’t match.
CONTAINS
, EQUALS
, and PREFIX
filters on the same field are joined by OR
. A finding matches if it matches any one of those filters. For example, the filters Title CONTAINS CloudFront OR Title CONTAINS CloudWatch
match a finding that includes either CloudFront
, CloudWatch
, or both strings in the title. To search for values that don’t have the filter value, use one of the following comparison operators:- To search for values that exclude the filter value, use
NOT_CONTAINS
. For example, the filter Title NOT_CONTAINS CloudFront
matches findings that have a Title
that excludes the string CloudFront. - To search for values other than the filter value, use
NOT_EQUALS
. For example, the filter AwsAccountId NOT_EQUALS 123456789012
only matches findings that have an account ID other than 123456789012
. - To search for values that don’t start with the filter value, use
PREFIX_NOT_EQUALS
. For example, the filter ResourceRegion PREFIX_NOT_EQUALS us
matches findings with a ResourceRegion
that starts with a value other than us
.
NOT_CONTAINS
, NOT_EQUALS
, and PREFIX_NOT_EQUALS
filters on the same field are joined by AND
. A finding matches only if it matches all of those filters. For example, the filters Title NOT_CONTAINS CloudFront AND Title NOT_CONTAINS CloudWatch
match a finding that excludes both CloudFront
and CloudWatch
in the title. You can’t have both a CONTAINS
filter and a NOT_CONTAINS
filter on the same field. Similarly, you can’t provide both an EQUALS
filter and a NOT_EQUALS
or PREFIX_NOT_EQUALS
filter on the same field. Combining filters in this way returns an error. CONTAINS
filters can only be used with other CONTAINS
filters. NOT_CONTAINS
filters can only be used with other NOT_CONTAINS
filters. You can combine PREFIX
filters with NOT_EQUALS
or PREFIX_NOT_EQUALS
filters for the same field. Security Hub first processes the PREFIX
filters, and then the NOT_EQUALS
or PREFIX_NOT_EQUALS
filters. For example, for the following filters, Security Hub first identifies findings that have resource types that start with either AwsIam
or AwsEc2
. It then excludes findings that have a resource type of AwsIamPolicy
and findings that have a resource type of AwsEc2NetworkInterface
.ResourceType PREFIX AwsIam
ResourceType PREFIX AwsEc2
ResourceType NOT_EQUALS AwsIamPolicy
ResourceType NOT_EQUALS AwsEc2NetworkInterface
CONTAINS
and NOT_CONTAINS
operators can be used only with automation rules. For more information, see Automation rules in the Security Hub User Guide.
value
Type: STRING
Provider name: Value
Description: The string filter value. Filter values are case sensitive. For example, the product name for control-based findings is Security Hub
. If you provide security hub
as the filter value, there’s no match.
title
Type: UNORDERED_LIST_STRUCT
Provider name: Title
Description: A finding’s title. Array Members: Minimum number of 1 item. Maximum number of 100 items.
comparison
Type: STRING
Provider name: Comparison
Description: The condition to apply to a string value when filtering Security Hub findings. To search for values that have the filter value, use one of the following comparison operators:- To search for values that include the filter value, use
CONTAINS
. For example, the filter Title CONTAINS CloudFront
matches findings that have a Title
that includes the string CloudFront. - To search for values that exactly match the filter value, use
EQUALS
. For example, the filter AwsAccountId EQUALS 123456789012
only matches findings that have an account ID of 123456789012
. - To search for values that start with the filter value, use
PREFIX
. For example, the filter ResourceRegion PREFIX us
matches findings that have a ResourceRegion
that starts with us
. A ResourceRegion
that starts with a different value, such as af
, ap
, or ca
, doesn’t match.
CONTAINS
, EQUALS
, and PREFIX
filters on the same field are joined by OR
. A finding matches if it matches any one of those filters. For example, the filters Title CONTAINS CloudFront OR Title CONTAINS CloudWatch
match a finding that includes either CloudFront
, CloudWatch
, or both strings in the title. To search for values that don’t have the filter value, use one of the following comparison operators:- To search for values that exclude the filter value, use
NOT_CONTAINS
. For example, the filter Title NOT_CONTAINS CloudFront
matches findings that have a Title
that excludes the string CloudFront. - To search for values other than the filter value, use
NOT_EQUALS
. For example, the filter AwsAccountId NOT_EQUALS 123456789012
only matches findings that have an account ID other than 123456789012
. - To search for values that don’t start with the filter value, use
PREFIX_NOT_EQUALS
. For example, the filter ResourceRegion PREFIX_NOT_EQUALS us
matches findings with a ResourceRegion
that starts with a value other than us
.
NOT_CONTAINS
, NOT_EQUALS
, and PREFIX_NOT_EQUALS
filters on the same field are joined by AND
. A finding matches only if it matches all of those filters. For example, the filters Title NOT_CONTAINS CloudFront AND Title NOT_CONTAINS CloudWatch
match a finding that excludes both CloudFront
and CloudWatch
in the title. You can’t have both a CONTAINS
filter and a NOT_CONTAINS
filter on the same field. Similarly, you can’t provide both an EQUALS
filter and a NOT_EQUALS
or PREFIX_NOT_EQUALS
filter on the same field. Combining filters in this way returns an error. CONTAINS
filters can only be used with other CONTAINS
filters. NOT_CONTAINS
filters can only be used with other NOT_CONTAINS
filters. You can combine PREFIX
filters with NOT_EQUALS
or PREFIX_NOT_EQUALS
filters for the same field. Security Hub first processes the PREFIX
filters, and then the NOT_EQUALS
or PREFIX_NOT_EQUALS
filters. For example, for the following filters, Security Hub first identifies findings that have resource types that start with either AwsIam
or AwsEc2
. It then excludes findings that have a resource type of AwsIamPolicy
and findings that have a resource type of AwsEc2NetworkInterface
.ResourceType PREFIX AwsIam
ResourceType PREFIX AwsEc2
ResourceType NOT_EQUALS AwsIamPolicy
ResourceType NOT_EQUALS AwsEc2NetworkInterface
CONTAINS
and NOT_CONTAINS
operators can be used only with automation rules. For more information, see Automation rules in the Security Hub User Guide.
value
Type: STRING
Provider name: Value
Description: The string filter value. Filter values are case sensitive. For example, the product name for control-based findings is Security Hub
. If you provide security hub
as the filter value, there’s no match.
type
Type: UNORDERED_LIST_STRUCT
Provider name: Type
Description: One or more finding types in the format of namespace/category/classifier that classify a finding. For a list of namespaces, classifiers, and categories, see Types taxonomy for ASFF in the Security Hub User Guide. Array Members: Minimum number of 1 item. Maximum number of 20 items.
comparison
Type: STRING
Provider name: Comparison
Description: The condition to apply to a string value when filtering Security Hub findings. To search for values that have the filter value, use one of the following comparison operators:- To search for values that include the filter value, use
CONTAINS
. For example, the filter Title CONTAINS CloudFront
matches findings that have a Title
that includes the string CloudFront. - To search for values that exactly match the filter value, use
EQUALS
. For example, the filter AwsAccountId EQUALS 123456789012
only matches findings that have an account ID of 123456789012
. - To search for values that start with the filter value, use
PREFIX
. For example, the filter ResourceRegion PREFIX us
matches findings that have a ResourceRegion
that starts with us
. A ResourceRegion
that starts with a different value, such as af
, ap
, or ca
, doesn’t match.
CONTAINS
, EQUALS
, and PREFIX
filters on the same field are joined by OR
. A finding matches if it matches any one of those filters. For example, the filters Title CONTAINS CloudFront OR Title CONTAINS CloudWatch
match a finding that includes either CloudFront
, CloudWatch
, or both strings in the title. To search for values that don’t have the filter value, use one of the following comparison operators:- To search for values that exclude the filter value, use
NOT_CONTAINS
. For example, the filter Title NOT_CONTAINS CloudFront
matches findings that have a Title
that excludes the string CloudFront. - To search for values other than the filter value, use
NOT_EQUALS
. For example, the filter AwsAccountId NOT_EQUALS 123456789012
only matches findings that have an account ID other than 123456789012
. - To search for values that don’t start with the filter value, use
PREFIX_NOT_EQUALS
. For example, the filter ResourceRegion PREFIX_NOT_EQUALS us
matches findings with a ResourceRegion
that starts with a value other than us
.
NOT_CONTAINS
, NOT_EQUALS
, and PREFIX_NOT_EQUALS
filters on the same field are joined by AND
. A finding matches only if it matches all of those filters. For example, the filters Title NOT_CONTAINS CloudFront AND Title NOT_CONTAINS CloudWatch
match a finding that excludes both CloudFront
and CloudWatch
in the title. You can’t have both a CONTAINS
filter and a NOT_CONTAINS
filter on the same field. Similarly, you can’t provide both an EQUALS
filter and a NOT_EQUALS
or PREFIX_NOT_EQUALS
filter on the same field. Combining filters in this way returns an error. CONTAINS
filters can only be used with other CONTAINS
filters. NOT_CONTAINS
filters can only be used with other NOT_CONTAINS
filters. You can combine PREFIX
filters with NOT_EQUALS
or PREFIX_NOT_EQUALS
filters for the same field. Security Hub first processes the PREFIX
filters, and then the NOT_EQUALS
or PREFIX_NOT_EQUALS
filters. For example, for the following filters, Security Hub first identifies findings that have resource types that start with either AwsIam
or AwsEc2
. It then excludes findings that have a resource type of AwsIamPolicy
and findings that have a resource type of AwsEc2NetworkInterface
.ResourceType PREFIX AwsIam
ResourceType PREFIX AwsEc2
ResourceType NOT_EQUALS AwsIamPolicy
ResourceType NOT_EQUALS AwsEc2NetworkInterface
CONTAINS
and NOT_CONTAINS
operators can be used only with automation rules. For more information, see Automation rules in the Security Hub User Guide.
value
Type: STRING
Provider name: Value
Description: The string filter value. Filter values are case sensitive. For example, the product name for control-based findings is Security Hub
. If you provide security hub
as the filter value, there’s no match.
updated_at
Type: UNORDERED_LIST_STRUCT
Provider name: UpdatedAt
Description: A timestamp that indicates when the finding record was most recently updated. For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps. Array Members: Minimum number of 1 item. Maximum number of 20 items.
date_range
Type: STRUCT
Provider name: DateRange
Description: A date range for the date filter.
unit
Type: STRING
Provider name: Unit
Description: A date range unit for the date filter.
value
Type: INT32
Provider name: Value
Description: A date range value for the date filter.
end
Type: STRING
Provider name: End
Description: A timestamp that provides the end date for the date filter. For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
start
Type: STRING
Provider name: Start
Description: A timestamp that provides the start date for the date filter. For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
user_defined_fields
Type: UNORDERED_LIST_STRUCT
Provider name: UserDefinedFields
Description: A list of user-defined name and value string pairs added to a finding. Array Members: Minimum number of 1 item. Maximum number of 20 items.
comparison
Type: STRING
Provider name: Comparison
Description: The condition to apply to the key value when filtering Security Hub findings with a map filter. To search for values that have the filter value, use one of the following comparison operators:- To search for values that include the filter value, use
CONTAINS
. For example, for the ResourceTags
field, the filter Department CONTAINS Security
matches findings that include the value Security
for the Department
tag. In the same example, a finding with a value of Security team
for the Department
tag is a match. - To search for values that exactly match the filter value, use
EQUALS
. For example, for the ResourceTags
field, the filter Department EQUALS Security
matches findings that have the value Security
for the Department
tag.
CONTAINS
and EQUALS
filters on the same field are joined by OR
. A finding matches if it matches any one of those filters. For example, the filters Department CONTAINS Security OR Department CONTAINS Finance
match a finding that includes either Security
, Finance
, or both values. To search for values that don’t have the filter value, use one of the following comparison operators:- To search for values that exclude the filter value, use
NOT_CONTAINS
. For example, for the ResourceTags
field, the filter Department NOT_CONTAINS Finance
matches findings that exclude the value Finance
for the Department
tag. - To search for values other than the filter value, use
NOT_EQUALS
. For example, for the ResourceTags
field, the filter Department NOT_EQUALS Finance
matches findings that don’t have the value Finance
for the Department
tag.
NOT_CONTAINS
and NOT_EQUALS
filters on the same field are joined by AND
. A finding matches only if it matches all of those filters. For example, the filters Department NOT_CONTAINS Security AND Department NOT_CONTAINS Finance
match a finding that excludes both the Security
and Finance
values. CONTAINS
filters can only be used with other CONTAINS
filters. NOT_CONTAINS
filters can only be used with other NOT_CONTAINS
filters. You can’t have both a CONTAINS
filter and a NOT_CONTAINS
filter on the same field. Similarly, you can’t have both an EQUALS
filter and a NOT_EQUALS
filter on the same field. Combining filters in this way returns an error. CONTAINS
and NOT_CONTAINS
operators can be used only with automation rules. For more information, see Automation rules in the Security Hub User Guide.
key
Type: STRING
Provider name: Key
Description: The key of the map filter. For example, for ResourceTags
, Key
identifies the name of the tag. For UserDefinedFields
, Key
is the name of the field.
value
Type: STRING
Provider name: Value
Description: The value for the key in the map filter. Filter values are case sensitive. For example, one of the values for a tag called Department
might be Security
. If you provide security
as the filter value, then there’s no match.
verification_state
Type: UNORDERED_LIST_STRUCT
Provider name: VerificationState
Description: Provides the veracity of a finding. Array Members: Minimum number of 1 item. Maximum number of 20 items.
comparison
Type: STRING
Provider name: Comparison
Description: The condition to apply to a string value when filtering Security Hub findings. To search for values that have the filter value, use one of the following comparison operators:- To search for values that include the filter value, use
CONTAINS
. For example, the filter Title CONTAINS CloudFront
matches findings that have a Title
that includes the string CloudFront. - To search for values that exactly match the filter value, use
EQUALS
. For example, the filter AwsAccountId EQUALS 123456789012
only matches findings that have an account ID of 123456789012
. - To search for values that start with the filter value, use
PREFIX
. For example, the filter ResourceRegion PREFIX us
matches findings that have a ResourceRegion
that starts with us
. A ResourceRegion
that starts with a different value, such as af
, ap
, or ca
, doesn’t match.
CONTAINS
, EQUALS
, and PREFIX
filters on the same field are joined by OR
. A finding matches if it matches any one of those filters. For example, the filters Title CONTAINS CloudFront OR Title CONTAINS CloudWatch
match a finding that includes either CloudFront
, CloudWatch
, or both strings in the title. To search for values that don’t have the filter value, use one of the following comparison operators:- To search for values that exclude the filter value, use
NOT_CONTAINS
. For example, the filter Title NOT_CONTAINS CloudFront
matches findings that have a Title
that excludes the string CloudFront. - To search for values other than the filter value, use
NOT_EQUALS
. For example, the filter AwsAccountId NOT_EQUALS 123456789012
only matches findings that have an account ID other than 123456789012
. - To search for values that don’t start with the filter value, use
PREFIX_NOT_EQUALS
. For example, the filter ResourceRegion PREFIX_NOT_EQUALS us
matches findings with a ResourceRegion
that starts with a value other than us
.
NOT_CONTAINS
, NOT_EQUALS
, and PREFIX_NOT_EQUALS
filters on the same field are joined by AND
. A finding matches only if it matches all of those filters. For example, the filters Title NOT_CONTAINS CloudFront AND Title NOT_CONTAINS CloudWatch
match a finding that excludes both CloudFront
and CloudWatch
in the title. You can’t have both a CONTAINS
filter and a NOT_CONTAINS
filter on the same field. Similarly, you can’t provide both an EQUALS
filter and a NOT_EQUALS
or PREFIX_NOT_EQUALS
filter on the same field. Combining filters in this way returns an error. CONTAINS
filters can only be used with other CONTAINS
filters. NOT_CONTAINS
filters can only be used with other NOT_CONTAINS
filters. You can combine PREFIX
filters with NOT_EQUALS
or PREFIX_NOT_EQUALS
filters for the same field. Security Hub first processes the PREFIX
filters, and then the NOT_EQUALS
or PREFIX_NOT_EQUALS
filters. For example, for the following filters, Security Hub first identifies findings that have resource types that start with either AwsIam
or AwsEc2
. It then excludes findings that have a resource type of AwsIamPolicy
and findings that have a resource type of AwsEc2NetworkInterface
.ResourceType PREFIX AwsIam
ResourceType PREFIX AwsEc2
ResourceType NOT_EQUALS AwsIamPolicy
ResourceType NOT_EQUALS AwsEc2NetworkInterface
CONTAINS
and NOT_CONTAINS
operators can be used only with automation rules. For more information, see Automation rules in the Security Hub User Guide.
value
Type: STRING
Provider name: Value
Description: The string filter value. Filter values are case sensitive. For example, the product name for control-based findings is Security Hub
. If you provide security hub
as the filter value, there’s no match.
workflow_status
Type: UNORDERED_LIST_STRUCT
Provider name: WorkflowStatus
Description: Provides information about the status of the investigation into a finding. Array Members: Minimum number of 1 item. Maximum number of 20 items.
comparison
Type: STRING
Provider name: Comparison
Description: The condition to apply to a string value when filtering Security Hub findings. To search for values that have the filter value, use one of the following comparison operators:- To search for values that include the filter value, use
CONTAINS
. For example, the filter Title CONTAINS CloudFront
matches findings that have a Title
that includes the string CloudFront. - To search for values that exactly match the filter value, use
EQUALS
. For example, the filter AwsAccountId EQUALS 123456789012
only matches findings that have an account ID of 123456789012
. - To search for values that start with the filter value, use
PREFIX
. For example, the filter ResourceRegion PREFIX us
matches findings that have a ResourceRegion
that starts with us
. A ResourceRegion
that starts with a different value, such as af
, ap
, or ca
, doesn’t match.
CONTAINS
, EQUALS
, and PREFIX
filters on the same field are joined by OR
. A finding matches if it matches any one of those filters. For example, the filters Title CONTAINS CloudFront OR Title CONTAINS CloudWatch
match a finding that includes either CloudFront
, CloudWatch
, or both strings in the title. To search for values that don’t have the filter value, use one of the following comparison operators:- To search for values that exclude the filter value, use
NOT_CONTAINS
. For example, the filter Title NOT_CONTAINS CloudFront
matches findings that have a Title
that excludes the string CloudFront. - To search for values other than the filter value, use
NOT_EQUALS
. For example, the filter AwsAccountId NOT_EQUALS 123456789012
only matches findings that have an account ID other than 123456789012
. - To search for values that don’t start with the filter value, use
PREFIX_NOT_EQUALS
. For example, the filter ResourceRegion PREFIX_NOT_EQUALS us
matches findings with a ResourceRegion
that starts with a value other than us
.
NOT_CONTAINS
, NOT_EQUALS
, and PREFIX_NOT_EQUALS
filters on the same field are joined by AND
. A finding matches only if it matches all of those filters. For example, the filters Title NOT_CONTAINS CloudFront AND Title NOT_CONTAINS CloudWatch
match a finding that excludes both CloudFront
and CloudWatch
in the title. You can’t have both a CONTAINS
filter and a NOT_CONTAINS
filter on the same field. Similarly, you can’t provide both an EQUALS
filter and a NOT_EQUALS
or PREFIX_NOT_EQUALS
filter on the same field. Combining filters in this way returns an error. CONTAINS
filters can only be used with other CONTAINS
filters. NOT_CONTAINS
filters can only be used with other NOT_CONTAINS
filters. You can combine PREFIX
filters with NOT_EQUALS
or PREFIX_NOT_EQUALS
filters for the same field. Security Hub first processes the PREFIX
filters, and then the NOT_EQUALS
or PREFIX_NOT_EQUALS
filters. For example, for the following filters, Security Hub first identifies findings that have resource types that start with either AwsIam
or AwsEc2
. It then excludes findings that have a resource type of AwsIamPolicy
and findings that have a resource type of AwsEc2NetworkInterface
.ResourceType PREFIX AwsIam
ResourceType PREFIX AwsEc2
ResourceType NOT_EQUALS AwsIamPolicy
ResourceType NOT_EQUALS AwsEc2NetworkInterface
CONTAINS
and NOT_CONTAINS
operators can be used only with automation rules. For more information, see Automation rules in the Security Hub User Guide.
value
Type: STRING
Provider name: Value
Description: The string filter value. Filter values are case sensitive. For example, the product name for control-based findings is Security Hub
. If you provide security hub
as the filter value, there’s no match.
description
Type: STRING
Provider name: Description
Description: A description of the rule.
is_terminal
Type: BOOLEAN
Provider name: IsTerminal
Description: Specifies whether a rule is the last to be applied with respect to a finding that matches the rule criteria. This is useful when a finding matches the criteria for multiple rules, and each rule has different actions. If a rule is terminal, Security Hub applies the rule action to a finding that matches the rule criteria and doesn’t evaluate other rules for the finding. By default, a rule isn’t terminal.
rule_arn
Type: STRING
Provider name: RuleArn
Description: The Amazon Resource Name (ARN) of a rule.
rule_name
Type: STRING
Provider name: RuleName
Description: The name of the rule.
rule_order
Type: INT32
Provider name: RuleOrder
Description: An integer ranging from 1 to 1000 that represents the order in which the rule action is applied to findings. Security Hub applies rules with lower values for this parameter first.
rule_status
Type: STRING
Provider name: RuleStatus
Description: Whether the rule is active after it is created. If this parameter is equal to ENABLED
, Security Hub starts applying the rule to findings and finding updates after the rule is created.
Type: UNORDERED_LIST_STRING
updated_at
Type: TIMESTAMP
Provider name: UpdatedAt
Description: A timestamp that indicates when the rule was most recently updated. For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.