Get Attack discovery schedule by ID
Retrieves a specific Attack discovery schedule by its unique identifier. Returns complete schedule configuration including parameters, interval settings, associated actions, and execution history.
GET /api/attack_discovery/schedules/{id}
curl \ --request GET 'http://localhost:5601/api/attack_discovery/schedules/12345678-1234-1234-1234-123456789012' \ --header "Authorization: $API_KEY" \ --header "Content-Type: application/json"
Response examples (200)
{ "id": "12345678-1234-1234-1234-123456789012", "name": "Daily Security Analysis", "params": { "end": "now", "size": 100, "start": "now-24h", "api_config": { "name": "Claude 3.5 Sonnet", "connectorId": "my-bedrock-connector", "actionTypeId": "bedrock" }, "alerts_index_pattern": ".alerts-security.alerts-*" }, "actions": [], "enabled": true, "schedule": { "interval": "24h" }, "created_at": "2023-10-31T10:00:00.000Z", "created_by": "elastic", "updated_at": "2023-10-31T10:00:00.000Z", "updated_by": "elastic", "last_execution": { "date": "2023-10-31T10:00:00.000Z", "status": "ok", "last_duration": 45.2 } }
Response examples (400)
{ "error": "Bad Request", "message": "Invalid request parameters", "status_code": 400 }