- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Full name: projects.locations.instances.legacySearches.legacyCaseSearchEverything
legacySearches.legacyCaseSearchEverything to get search results for cases.
HTTP request
POST https://chronicle.africa-south1.rep.googleapis.com/v1alpha/{instance}/legacySearches:legacyCaseSearchEverything Path parameters
| Parameters | |
|---|---|
instance |
Required. The instance to get the search results for. Format: projects/{project}/locations/{location}/instances/{instance} |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{ "startTime": string, "endTime": string, "tags": [ string ], "caseSource": [ string ], "priorities": [ enum ( |
| Fields | |
|---|---|
startTime |
Optional. Defines the UTC start time to search for cases by Creation time (optional - used if TimeRangeFilter is set to Custom filter). The Localization (timezone) settings are taken into consideration (default is the start of epoch time). Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
endTime |
Optional. Defines the UTC end time to search for cases by Creation time (optional - used if TimeRangeFilter is set to Custom filter). The Localization (timezone) settings are taken into consideration (default is current time). Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
tags[] |
Optional. List of strings representing case tags. If one or more tags exist in the case, it will be fetched. |
caseSource[] |
Optional. List of strings representing case sources. Available inputs: System / Manual / Test. |
priorities[] |
Optional. List of strings representing case priority |
importance[] |
Optional. List of strings representing the case importance (i.e. marked as "is important"). ex. ["True"] will return only cases that were marked as important. ex. ["True","False] Will return only cases marked as important and all cases not marked as important (all). Available inputs: True / False. |
incident[] |
Optional. List of strings representing cases marked as incidents. ex. ["True"] will return only cases that were marked as an incident. ex. ["True","False"] Will return all cases marked as an incident and all cases not marked as an incident (all). Available inputs: True / False. |
environments[] |
Optional. List of strings representing the environments that the case is associated with. If the case matches at least one environment it will be fetched. |
assignedUsers[] |
Optional. A list of strings that represents the Users (analysts) / Roles that are assigned to the case. If the case matches at least one User or Role it will be fetched. Available inputs: Username (GUID) / @Role name. |
externalAlertId |
Optional. Represents the 'TicketId' mapped from the original SIEM's alert ID |
products[] |
Optional. list of strings that represent the Products that exists in the case. If the case matches at least one Product it will be fetched. |
ports[] |
Optional. List of strings that represent the ports that exist in the case. If the case matches at least one Port it will be fetched. |
stage[] |
Optional. List of strings that represents the Stages that case is on. If the case matches at least one Stage it will be fetched. Available inputs: Triage / Assessment / Investigation / Incident / Improvement / Research. |
ruleGenerator[] |
Optional. List of strings that represents the Rule Generator (Alert Type in the Platform) that exist in the case. If the case matches at least one Rule Generator it will be fetched. |
categoryOutcomes[] |
Optional. List of strings that represents whether to fetch cases that contain a specific value in CategoryOutcome. Available inputs: Allowed / Blocked / [] (empty). |
involvedEntity |
Optional. A string that represents an entity to search for in cases |
caseComment |
Optional. A string that represents a part of the body of a case comment to search for in cases |
title |
Optional. A string that represents free text / search term to search for cases. Free text will look for the case's name. Available inputs: free text / Entity: / AlertName: / DestinationEntity: / SourceEntity: / TicketIds: / CaseIDs: |
closeReason |
Optional. An integer field that represents the Reason the case was closed and fetches cases that match the value |
timeRangeFilter |
Optional. A SearchTimeRangeType (integer) field that represents the number of days back to search cases by creation. time (for custom time range, use 0 and set the StartTime and EndTime parameters). |
sortBy |
Optional. The sort by property and order. |
paging |
|
requestedPage |
Optional. The requested page. |
pageSize |
Optional. Number of entries to return. |
searchTerm |
Optional. Search term. |
isCaseClosed |
Optional. A boolean field that represents whether to filter by the case status (is closed or not). Available inputs: true / false / null. |
Response body
If successful, the response body contains an instance of LegacyCaseSearchEverythingResponse.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the instance resource:
chronicle.legacySearches.searchCases
For more information, see the IAM documentation.