- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Full name: projects.locations.instances.legacySearches.legacyEntitySearchCount
legacySearches.legacyEntitySearchCount to get entities count.
HTTP request
POST https://chronicle.africa-south1.rep.googleapis.com/v1alpha/{instance}/legacySearches:legacyEntitySearchCount 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 |
|---|
{ "term": string, "type": [ string ], "networkName": [ string ], "environmentsName": [ string ], "requestedPage": integer, "pageSize": integer, "requestingUser": string, "isSuspicious": boolean, "isInternalAsset": boolean, "isEnriched": boolean } |
| Fields | |
|---|---|
term |
Optional. Search term. |
type[] |
Optional. List of entity types. |
networkName[] |
Optional. List of network names. |
environmentsName[] |
Optional. List of environment names. |
requestedPage |
Optional. The requested page. |
pageSize |
Optional. Number of entries to return. |
requestingUser |
Optional. Requesting user. |
isSuspicious |
Optional. Is suspicious. |
isInternalAsset |
Optional. Is internal asset. |
isEnriched |
Optional. Is enriched. |
Response body
Response for legacySearches.legacyEntitySearchCount.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{ "payload": integer } |
| Fields | |
|---|---|
payload |
Optional. The count. |
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.searchEntities
For more information, see the IAM documentation.