Policies and findings · GraphQL type

FindingStatusChange type

A single status transition in the history of a Finding.

Fields

Field Name Description
status - FindingStatus! The status that was applied at this point in time.
timestamp - Time! When this status was applied.
objectSnapshot - GraphObject The stored snapshot of the object state that triggered or resolved the finding — the object as it appeared when the rule was evaluated. A snapshot is invisible to listings, searches, and relationship traversals, so its relationship fields resolve empty; see GraphObjectSnapshotInfo for the state's observation time and the id of the live object it was taken from. Null once the object it was taken from is deleted — snapshots are readable only while that object exists.
previousObjectSnapshot - GraphObject The stored snapshot of the object state immediately before this change. Null when the object was new and had no previous state, and once the object the snapshot was taken from is deleted.
diff - [FindingDiffEntry!]! Changed fields between this change's object state and the state immediately before it, compared over the object's GraphQL view (schema field names, including computed fields). Object identity and bookkeeping fields (id, orgId, objectType, objectTypeLabel, createdAt, updatedAt) and relationship traversals to other objects are not compared. Empty when the object was new (no previous state) or the two states are identical.

Used by

Example

Example

{
  "status": "OPEN",
  "timestamp": "2021-10-07T18:23:25.829Z",
  "objectSnapshot": GraphObject,
  "previousObjectSnapshot": GraphObject,
  "diff": [FindingDiffEntry]
}