Skip to content

FetchRecord

Structure Class

FetchRecord dataclass

Bases: _SerdeShape

Contains information about data that GuardDuty retrieved during an investigation, including what GuardDuty requested and what it received.

Attributes

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

The kind of data that GuardDuty retrieved. The value determines which members of Query and Result can be set. Possible values:

  • FINDINGS -- GuardDuty findings.

  • DETECTOR -- The configuration of a GuardDuty detector.

  • REPUTATION -- Reputation information about a threat indicator, such as an IP address, a domain, or a file hash.

  • FINDING_TYPE_DOCUMENTATION -- The documentation for a finding type.

  • CLOUD_TRAIL_RAW_EVENTS -- Amazon Web Services CloudTrail events.

  • RUNTIME_SIGNALS -- Runtime signals.

  • MEMBER_ACCOUNTS -- A list of member accounts.

query class-attribute instance-attribute
query: FetchQuery | None = ...

The request that GuardDuty made. Not every record includes a query.

result class-attribute instance-attribute
result: FetchResult | None = ...

The data that GuardDuty received in response to the request. Not every record includes a result.