Security Attack discovery API
Generate attack discoveries from alerts
Spaces method and path for this operation:
<div><span class="operation-verb post">post</span> <span class="operation-path">/s/{space_id}/api/attack_discovery/_generate</span></div>Refer to Spaces for more information.
Initiates the generation of attack discoveries by analyzing security alerts using AI. Returns an execution UUID that can be used to track the generation progress and retrieve results. Results may also be retrieved via the find endpoint.
post/api/attack_discovery/_generate
Request body
Example request
{
"anonymizationFields": [
{
"allowed": true,
"createdAt": "2023-10-31T12:00:00Z",
"createdBy": "user1",
"field": "url.domain",
"id": "I am a string",
"namespace": "default",
"timestamp": "2023-10-31T12:00:00Z",
"updatedAt": "2023-10-31T12:00:00Z",
"updatedBy": "user1"
}
],
"apiConfig": {
"actionTypeId": "actionType456",
"connectorId": "connector123",
"defaultSystemPromptId": "systemPrompt001",
"model": "gpt-4",
"provider": "OpenAI"
}
}Response
Indicates a successful call.
Example response
{
"execution_uuid": "I am a string"
}