Security Analytics enables users for detecting security threats on their security event log data. It will also allow them to modify/tailor the pre-packaged solution.
Apache License 2.0
69
stars
72
forks
source link
[BUG] Unable to enter a key longer than 50 characters #1259
Describe the bug
The UI field for the "Key" parameter contains a limit of 50 characters which is not documented and prevents to create security detector rules for longer keys.
To Reproduce
Steps to reproduce the behavior:
Go to 'Security Analytics' - 'Detection Rules'
Click on 'Create detection rule' and populate 'Rule overview' and 'Details' sections with any suitable values
Scroll down to the 'Detection' section
In the 'Selection_1' block for 'Map_1' enter any valid key that is longer than 50 characters. Error message appears: "Invalid key name. Valid characters are a-z, A-Z, 0-9, hyphens, dots, and underscores" (although the key contains only allowed characters). When editing in YAML editor, the key is accepted.
Expected behavior
The key is accepted
OpenSearch Version
2.16.0
Dashboards Version
2.16.0
Plugins
Default setup via docker image
Host/Environment (please complete the following information):
OS: Ubuntu Linux 22.04
Browser and version: Chromium 127.0.6533.99 (Official Build)
Describe the bug The UI field for the "Key" parameter contains a limit of 50 characters which is not documented and prevents to create security detector rules for longer keys.
To Reproduce Steps to reproduce the behavior:
Expected behavior The key is accepted
OpenSearch Version 2.16.0
Dashboards Version 2.16.0
Plugins Default setup via docker image
Host/Environment (please complete the following information):