Skip to main content

findings_trends_v2s

Creates, updates, deletes, gets or lists a findings_trends_v2s resource.

Overview​

Namefindings_trends_v2s
TypeResource
Idaws.securityhub.findings_trends_v2s

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
timestampstring (date-time)The timestamp for this data point in the findings trend metrics.
trends_valuesobjectThe finding trend metric values associated with this timestamp, including severity counts.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_findings_trends_v2selectregionReturns findings trend data based on the specified criteria. This operation helps you analyze patterns and changes in findings over time.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples​

Returns findings trend data based on the specified criteria. This operation helps you analyze patterns and changes in findings over time.

SELECT
timestamp,
trends_values
FROM aws.securityhub.findings_trends_v2s
WHERE region = '{{ region }}' -- required
;