Skip to content

Edit related_integrations field for custom rules in UI and API #5099

Closed
@maximpn

Description

@maximpn

Description

There is a PR adding functionality to add and edit rule's related integrations. Currently related integrations are only hardcoded in Elastic prebuilt rules. Users can view them on rules details page. When the mentioned above PR is merged users will be able to add related integrations when creating a custom rule. On top of that users will be able to update related integrations when editing a rule.

Background & resources

Which documentation set does this change impact?

ESS and serverless

ESS release

8.15

Serverless release

Mon, 6th May 2024

Feature differences

The feature is identical in ESS/serverless.

API docs impact

The feature touched existing rule management endpoints. All endpoints will accept related integrations as well as return them. The followings APIs are affected

  • Get rule GET /api/detection_engine/rules
  • Create rule POST /api/detection_engine/rules
  • Update rule PUT /api/detection_engine/rules
  • Patch rule PATCH /api/detection_engine/rules
  • Find rules GET /api/detection_engine/rules/_find
  • Bulk create rules POST /api/detection_engine/rules/_bulk_create (endpoint is deprecated)
  • Bulk update rules PUT /api/detection_engine/rules/_bulk_update (endpoint is deprecated)
  • Bulk patch rules PATCH /api/detection_engine/rules/_bulk_update (endpoint is deprecated)
  • Bulk actions POST /api/detection_engine/rules/_bulk_action
    • Edit rules
    • Export rules
    • Import rules
    • Rule response from bulk operations
  • Import rules POST /api/detection_engine/rules/_import
  • Export rules POST /api/detection_engine/rules/_export

Prerequisites, privileges, feature flags

There is not a feature flag for the feature.


### Tasks
- [x] https://github.com/elastic/staging-serverless-security-docs/pull/337
- [ ] https://github.com/elastic/security-docs/pull/5151
- [x] API docs (classic) — https://github.com/elastic/security-docs/pull/5183

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions