Full name: projects.locations.instances.legacySdk.legacyCreateEntity
Legacy RPC for create entity.
HTTP request
Path parameters
Parameters | |
---|---|
instance |
Required. The CreateEntity request. Format: projects/{project}/locations/{location}/instances/{instance}/legacySdk:createEntity |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "caseId": string, "alertIdentifier": string, "entityIdentifier": string, "entityType": string, "isInternal": boolean, "isSuspicious": boolean, "isEnriched": boolean, "isVulnerable": boolean, "properties": { string: string, ... }, "environment": string } |
Fields | |
---|---|
caseId |
Required. The case id. |
alertIdentifier |
Required. The alert identifier. |
entityIdentifier |
Required. The entity identifier. |
entityType |
Required. The entity type. |
isInternal |
Optional. The is internal. |
isSuspicious |
Optional. The is suspicious. |
isEnriched |
Optional. The is enriched. |
isVulnerable |
Optional. The is vulnerable. |
properties |
Optional. The properties. An object containing a list of |
environment |
Optional. The environment. |
Response body
If successful, the response body is an empty JSON object.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.