Skip to content

anomalyResults

Results for Anomaly Investigations.

Arguments

Argument Type Description
first Int Returns the first n elements from the list.
after String An opaque cursor returned from a previous query's endCursor field. Pass this value verbatim to retrieve the next page of results.
last Int Returns the last n elements from the list.
before String An opaque cursor returned from a previous query's startCursor field. Pass this value verbatim to retrieve the previous page of results.
sortOrder SortOrder Sorts the order of results.
sortBy AnomalyResultSortBy Sort anomaly results by field.
filter AnomalyResultFilterInput Filter anomaly results by input.
timezoneOffset Float Offset based on the customer timezone.

Returns

AnomalyResultConnection!

Sample

query {
  anomalyResults(first: 10) {
    nodes {
      anomalyProbability
      bytesCreatedCount
      bytesDeletedCount
      bytesModifiedCount
      bytesNetChangedCount
      detectionTime
      filesCreatedCount
      filesDeletedCount
      filesModifiedCount
      id
      isAnomaly
      isEncrypted
      location
      managedId
      objectType
      previousSnapshotDate
      previousSnapshotId
      resourceDeletedAt
      severity
      snapshotDate
      snapshotFid
      snapshotId
      suspiciousFilesCount
      workloadFid
      workloadId
      workloadName
    }
    pageInfo {
      hasNextPage
      endCursor
    }
  }
}
{}
{
  "data": {
    "anomalyResults": {
      "nodes": [
        [
          {
            "anomalyProbability": 0.0,
            "bytesCreatedCount": 0,
            "bytesDeletedCount": 0,
            "bytesModifiedCount": 0,
            "bytesNetChangedCount": 0,
            "detectionTime": "2024-01-01T00:00:00.000Z"
          }
        ]
      ],
      "pageInfo": {
        "endCursor": "example-string",
        "hasNextPage": true,
        "hasPreviousPage": true,
        "startCursor": "example-string"
      }
    }
  }
}