Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for Strelka Rule Duplication #585

Merged
merged 1 commit into from
Jul 19, 2024
Merged

Conversation

coreyogburn
Copy link
Contributor

The titleUpdater regex didn't account for comments between the identifier and the opening curly bracket of the rule. Updated the regex so that's no longer a problem.

When building a new title for the rule, check against ES to see if the new publicId is taken, if so increment a tailing number up to 10 times before giving up.

Updated the UI to report any errors during the duplication request.

The titleUpdater regex didn't account for comments between the identifier and the opening curly bracket of the rule. Updated the regex so that's no longer a problem.

When building a new title for the rule, check against ES to see if the new publicId is taken, if so increment a tailing number up to 10 times before giving up.

Updated the UI to report any errors during the duplication request.
@coreyogburn coreyogburn merged commit 4739d31 into 2.4/dev Jul 19, 2024
3 checks passed
@coreyogburn coreyogburn deleted the cogburn/strelka-duplication branch July 19, 2024 22:00
@github-actions github-actions bot locked and limited conversation to collaborators Jul 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants