Closed maximpn closed 1 week ago
Pinging @elastic/security-solution (Team: SecuritySolution)
Pinging @elastic/security-detection-rule-management (Team:Detection Rule Management)
Pinging @elastic/security-detections-response (Team:Detections and Resp)
Pinging @elastic/security-detection-engine (Team:Detection Engine)
Epic: https://github.com/elastic/security-team/issues/9398
Deadline: Jul 29, 2024 (see milestones in https://github.com/elastic/security-team/issues/9400)
Summary
As part of the Serverless project, we need to create OpenAPI specs for all public Detections API endpoints, because we want all of them documented before Serverless GA. Please look for more context in the epic.
During a Security Solution public API research we discovered that some public Detections API endpoints have missing OpenAPI specs. We need to add them.
API endpoints
The following public API endpoints are available in both Serverless and ESS, and don't have any OpenAPI specs:
POST /api/detection_engine/rules/preview
https://github.com/elastic/kibana/pull/186764POST /api/detection_engine/signals/status
https://github.com/elastic/kibana/pull/184838POST /api/detection_engine/signals/tags
https://github.com/elastic/kibana/pull/184838POST /api/detection_engine/signals/search
https://github.com/elastic/kibana/pull/184838GET /api/detection_engine/privileges
https://github.com/elastic/kibana/pull/186764The following public API endpoints are available in ESS only, and don't have any OpenAPI specs:
POST /api/detection_engine/index
https://github.com/elastic/kibana/pull/186401GET /api/detection_engine/index
https://github.com/elastic/kibana/pull/186401DELETE /api/detection_engine/index
https://github.com/elastic/kibana/pull/186401POST /api/detection_engine/signals/migration_status
https://github.com/elastic/kibana/pull/184838POST /api/detection_engine/signals/migration
( https://github.com/elastic/kibana/pull/184838POST /api/detection_engine/signals/finalize_migration
https://github.com/elastic/kibana/pull/184838DELETE /api/detection_engine/signals/migration
https://github.com/elastic/kibana/pull/184838POST /api/detection_engine/rules/_bulk_delete
https://github.com/elastic/kibana/pull/186764To do