VulnerabilitiesMetricsQueryResult
objectA query result with metrics grouped by the dimensions specified in the query, at a particular time.
Timestamp corresponding to the aggregated metric data in the event object.
RFC-3339 format with a “T” character separating date from time within the field value.
Example:2025-04-01T07:20:50.000Z
One OfPayload containing the aggregated metric data and associated dimensions included in the query.
Payload containing the aggregated vulnerability count metric data and associated dimensions included in the query.
Example:{"vulnerability_count":58,"state":"open","service":"7f9fd312-a987-4628-b4c5-bb4f4fddd5f7"}
Show Child Parameters
VulnerabilitiesMetricsQueryResultEvent
Payload containing the aggregated metric data and associated dimensions included in the query.
One OfAllowed values:lowmediumhighcritical
Example:low
Allowed values:openfixeddismissed
Example:dismissed
Allowed values:container_imagelibrary
Example:container_image
Example:trivy
Example:prod
Example:us-east-1
VulnerabilityCountMetricEvent
objectPayload containing the aggregated vulnerability count metric data and associated dimensions included in the query.
Allowed values:lowmediumhighcritical
Example:low
Allowed values:openfixeddismissed
Example:dismissed
Allowed values:container_imagelibrary
Example:container_image
Example:trivy
Example:prod
Example:us-east-1
VulnerabilityMetricsAbsoluteTimeRange
objectA duration representing an exact start and end time.
Time zone in IANA Time Zone Database format (e.g., ‘America/New_York’, ‘Europe/London’, ‘Etc/UTC’).
Optional, defaults to UTC when unspecified.
Default:Etc/UTC
Example:America/Chicago
Allowed values:absolute
Start of the query time range in RFC-3339 format.
Example:2025-03-30T07:20:50Z
Start of the query time range in RFC-3339 format.
Example:2025-06-30T08:20:50Z
VulnerabilityMetricsRelativeTimeRange
objectA duration representing a relative-to-now span of time.
The start time is floored to the requested granularity.
The exact start and end timestamps are returned in the result query in the meta.start and meta.end fields.
Example:
7d from now, with 1day granularity initiated at 2024-01-08T17:11:00+05:00 will query for the time range from 2024-01-01T00:00:00+05:00 to 2024-01-08T17:11:00+05:00.
Time zone in IANA Time Zone Database format (e.g., ‘America/New_York’, ‘Europe/London’, ‘Etc/UTC’).
Optional, defaults to UTC when unspecified.
Default:Etc/UTC
Example:America/Chicago
Allowed values:relative
One OfMatch pattern:^([1-9]|[1-9][0-9]|1[0-9]{2}|2[0-9]{2}|3[0-5][0-9]|36[0-5])d$
Default:30d