AWS Security ChangesHomeSearch

AWS cli documentation change

Service: cli · 2026-05-07 · Documentation low

File: cli/latest/reference/securityhub/get-automation-rule-v2.md

Summary

Updated operator documentation for automation rules and added new date range filter conditions

Security assessment

Clarifies operator usage in security automation rules (V1/V2 support) and adds new date filtering conditions ('WITHIN'/'OLDER_THAN'). While this updates security feature documentation, there's no evidence it addresses a specific vulnerability.

Diff

diff --git a/cli/latest/reference/securityhub/get-automation-rule-v2.md b/cli/latest/reference/securityhub/get-automation-rule-v2.md
index de4001ae5..3324744a0 100644
--- a//cli/latest/reference/securityhub/get-automation-rule-v2.md
+++ b//cli/latest/reference/securityhub/get-automation-rule-v2.md
@@ -15 +15 @@
-  * [AWS CLI 2.34.41 Command Reference](../../index.html) »
+  * [AWS CLI 2.34.44 Command Reference](../../index.html) »
@@ -437 +437 @@ Criteria -> (tagged union structure)
->>>>>>>>> `CONTAINS` and `NOT_CONTAINS` operators can be used only with automation rules V1. `CONTAINS_WORD` operator is only supported in `GetFindingsV2` , `GetFindingStatisticsV2` , `GetResourcesV2` , and `GetResourcesStatisticsV2` APIs. For more information, see [Automation rules](https://docs.aws.amazon.com/securityhub/latest/userguide/automation-rules.html) in the _Security Hub CSPM User Guide_ .
+>>>>>>>> The `CONTAINS` operator works with automation rules V1 and V2. The `NOT_CONTAINS` operator works only with automation rules V1. The `CONTAINS_WORD` operator works only in the `GetFindingsV2` , `GetFindingStatisticsV2` , `GetResourcesV2` , and `GetResourcesStatisticsV2` APIs. For more information, see [Automation rules](https://docs.aws.amazon.com/securityhub/latest/userguide/automation-rules.html) in the _Security Hub CSPM User Guide_ .
@@ -519,0 +520,11 @@ Criteria -> (tagged union structure)
+>>>>>>>> 
+>>>>>>>> Comparison -> (string)
+>>>>>>>>
+>>>>>>>>> The condition to apply to a date range filter. If you specify `WITHIN` , Security Hub filters for dates within the specified date range. If you specify `OLDER_THAN` , Security Hub filters for dates before the specified date range. If you don’t specify a value, the default is `WITHIN` .
+>>>>>>>>> 
+>>>>>>>>> Possible values:
+>>>>>>>>> 
+>>>>>>>>>   * `WITHIN`
+>>>>>>>>>   * `OLDER_THAN`
+>>>>>>>>> 
+
@@ -866 +877 @@ Criteria -> (tagged union structure)
->>>>>>>>>>> `CONTAINS` and `NOT_CONTAINS` operators can be used only with automation rules V1. `CONTAINS_WORD` operator is only supported in `GetFindingsV2` , `GetFindingStatisticsV2` , `GetResourcesV2` , and `GetResourcesStatisticsV2` APIs. For more information, see [Automation rules](https://docs.aws.amazon.com/securityhub/latest/userguide/automation-rules.html) in the _Security Hub CSPM User Guide_ .
+>>>>>>>>>> The `CONTAINS` operator works with automation rules V1 and V2. The `NOT_CONTAINS` operator works only with automation rules V1. The `CONTAINS_WORD` operator works only in the `GetFindingsV2` , `GetFindingStatisticsV2` , `GetResourcesV2` , and `GetResourcesStatisticsV2` APIs. For more information, see [Automation rules](https://docs.aws.amazon.com/securityhub/latest/userguide/automation-rules.html) in the _Security Hub CSPM User Guide_ .
@@ -948,0 +960,11 @@ Criteria -> (tagged union structure)
+>>>>>>>>>> 
+>>>>>>>>>> Comparison -> (string)
+>>>>>>>>>>
+>>>>>>>>>>> The condition to apply to a date range filter. If you specify `WITHIN` , Security Hub filters for dates within the specified date range. If you specify `OLDER_THAN` , Security Hub filters for dates before the specified date range. If you don’t specify a value, the default is `WITHIN` .
+>>>>>>>>>>> 
+>>>>>>>>>>> Possible values:
+>>>>>>>>>>> 
+>>>>>>>>>>>   * `WITHIN`
+>>>>>>>>>>>   * `OLDER_THAN`
+>>>>>>>>>>> 
+
@@ -1261 +1283 @@ UpdatedAt -> (timestamp)
-  * [AWS CLI 2.34.41 Command Reference](../../index.html) »
+  * [AWS CLI 2.34.44 Command Reference](../../index.html) »