DateRange - AWS Security Hub CSPM
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

DateRange

A date range for the date filter.

Contents

Comparison

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.

Type: String

Valid Values: WITHIN | OLDER_THAN

Required: No

Unit

A date range unit for the date filter.

Type: String

Valid Values: DAYS

Required: No

Value

A date range value for the date filter.

Type: Integer

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: