Run the risk scoring engine

POST /api/risk_score/engine/schedule_now

Schedule the risk scoring engine to run as soon as possible. You can use this to recalculate entity risk scores after updating their asset criticality.

application/json; Elastic-Api-Version=2023-10-31

Responses

  • 200 application/json; Elastic-Api-Version=2023-10-31

    Successful response

    Hide response attribute Show response attribute object
  • 400 application/json; Elastic-Api-Version=2023-10-31

    Task manager is unavailable

    Hide response attributes Show response attributes object
  • default application/json; Elastic-Api-Version=2023-10-31

    Unexpected error

    Hide response attributes Show response attributes object
POST /api/risk_score/engine/schedule_now
curl \
 -X POST https://localhost:5601/api/risk_score/engine/schedule_now \
 -H "Content-Type: application/json; Elastic-Api-Version=2023-10-31"
Response examples (200)
{
  "success": true
}
Response examples (400)
{
  "message": "string",
  "status_code": 42
}
Response examples (default)
{
  "full_error": "string",
  "message": "string"
}