threatHuntSummaryV2
The summary of the threat hunt.
Arguments
| Argument | Type | Description |
|---|---|---|
| first | Int | Returns the first n elements from the list. |
| after | String | Returns the elements in the list that occur after the specified cursor. |
| last | Int | Returns the last n elements from the list. |
| before | String | Returns the elements in the list that occur before the specified cursor. |
| huntId (required) | String! | ID of the threat hunt. |
| objectTypeFilter | [String!] | Optional list of object types to filter by. Should be of type ManagedObjectType. |
| matchesFoundFilter | ThreatHuntMatchesFound | Optionally filter by if the hunt had any matches. |
| quarantinedMatchesFilter | ThreatHuntQuarantinedMatchType | Optionally filter hunts based on whether they have quarantined matches. |
| threatHuntSummaryFilters | ThreatHuntSummaryFiltersInput | Filters to apply to the threat hunt summary. |
| threatHuntSummarySort | ThreatHuntSummarySort | Sorts threat hunt object summaries. |
| workloadNameSearch | String | Optional object name search filter with partial match. |
Returns
ThreatHuntResultObjectsSummaryConnection!
Sample
query ThreatHuntSummaryV2($huntId: String!) {
threatHuntSummaryV2(
huntId: $huntId
first: 10
) {
nodes {
earliestMatchedSnapshotDate
hasQuarantinedMatches
latestMatchedSnapshotDate
latestSnapshotWithoutMatchDate
location
objectScanStatus
totalMatchedPaths
totalMatchedSnapshots
totalUniqueMatchedPaths
}
pageInfo {
hasNextPage
endCursor
}
}
}
{
"data": {
"threatHuntSummaryV2": {
"nodes": [
[
{
"earliestMatchedSnapshotDate": "2024-01-01T00:00:00.000Z",
"hasQuarantinedMatches": true,
"latestMatchedSnapshotDate": "2024-01-01T00:00:00.000Z",
"latestSnapshotWithoutMatchDate": "2024-01-01T00:00:00.000Z",
"location": "example-string",
"objectScanStatus": "OBJ_FAILED"
}
]
],
"pageInfo": {
"endCursor": "example-string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "example-string"
}
}
}
}