Skip to content

Trend

Structure Class

Trend dataclass

Bases: _SerdeShape

Contains information about the number of findings over time.

Attributes

by_time_window class-attribute instance-attribute
by_time_window: list[TimeWindowGroup] | None = ...

The number of findings in each time window.

ended_at class-attribute instance-attribute
ended_at: datetime | None = ...

The timestamp at which the period of the trend ends.

granularity class-attribute instance-attribute
granularity: str | None = ...

The length of each time window in the trend. Possible values are DAY, WEEK, and MONTH.

started_at class-attribute instance-attribute
started_at: datetime | None = ...

The timestamp at which the period of the trend starts.

total_findings class-attribute instance-attribute
total_findings: int | None = ...

The total number of findings in the period.