opensearch-project / opensearch-project/security-analytics

[FEATURE] Id field should not be mandatory when creating custom rule

Open
#195 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
111
Forks
111
Avg merge
1d 17h
Merged PRs (30d)
13

Description

Is your feature request related to a problem?
In the create rule API, Id field is required as part of feature payload. User shouldn't have to pass this.

What solution would you like?
The Id field should be dropped from the requirement

What alternatives have you considered?
N/A

Do you have any additional context?
Screen Shot 2022-12-13 at 11 16 52 AM

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue points to the create rule API and its custom-rule payload; start by tracing that endpoint's request validation and schema. Done means Id is no longer required when creating a custom rule, and the documented create-rule request reflects the behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.