Edit required_fields field for custom rules in UI and API #5131
Labels
Docset: ESS
Issues that apply to docs in the Stack release
Docset: Serverless
Issues for Serverless Security
Feature: Rules
Team: Detections/Response
Detections and Response
v8.15.0
Description
This documentation request is basically a clone of the "related_integrations" documentation request, but for "required_fields".
We are wrapping up the work on the PR that adds an ability to add and edit rule's required fields. "Required fields" is an optional field that shows the user which Elasticsearch fields are needed for the rule to run properly. Currently required fields are hardcoded in Elastic prebuilt rules. Once this PR is merged, users will be able to modify required fields for custom rules.
Background & resources
Which documentation set does this change impact?
ESS and serverless
ESS release
8.15
Serverless release
Mon, May 20, 2024
Feature differences
The feature is identical in ESS and Serverless.
API docs impact
The feature touched existing rule management endpoints. All endpoints will accept required fields as well as return them. The followings APIs are affected
GET /api/detection_engine/rules
POST /api/detection_engine/rules
PUT /api/detection_engine/rules
PATCH /api/detection_engine/rules
GET /api/detection_engine/rules/_find
POST /api/detection_engine/rules/_bulk_create
(endpoint is deprecated)PUT /api/detection_engine/rules/_bulk_update
(endpoint is deprecated)PATCH /api/detection_engine/rules/_bulk_update
(endpoint is deprecated)POST /api/detection_engine/rules/_bulk_action
POST /api/detection_engine/rules/_import
POST /api/detection_engine/rules/_export
Prerequisites, privileges, feature flags
No special requirements
Tasks
The text was updated successfully, but these errors were encountered: