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

[Bug] Fix ML job IDs that used hyphens #1287

Merged
merged 7 commits into from
Jun 15, 2021

Conversation

rw-access
Copy link
Contributor

@rw-access rw-access commented Jun 15, 2021

Issues

Closes elastic/kibana#102146 (which might transfer here)

Summary

See the ticket for more info.
This PR fixes the job IDs to use _ instead of -

@rw-access rw-access added bug Something isn't working ML machine learning related rule v7.14.0 7.14 rules release package v7.13.2 labels Jun 15, 2021
@rw-access rw-access added v7.13.3 and removed v7.13.2 labels Jun 15, 2021
Copy link
Member

@spong spong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thank you for the quick fix @rw-access! 🙂

Copy link
Contributor

@bm11100 bm11100 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about changing the updated_date?

@randomuserid
Copy link
Contributor

randomuserid commented Jun 15, 2021

Should we also add the prefix “network” to their names like the others, makes them easier to find in the folder e.g.

network_rare_destination_country

@rw-access rw-access requested a review from bm11100 June 15, 2021 17:18
@rw-access
Copy link
Contributor Author

Feel free to change the folder or add subfolders however you see fit, @randomuserid. I'll let you do that in a separate PR.

Copy link
Contributor

@bm11100 bm11100 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@rw-access rw-access merged commit 49cb2e8 into elastic:main Jun 15, 2021
@rw-access rw-access deleted the bug/fix-ml-job-dashes branch June 15, 2021 17:40
protectionsmachine pushed a commit that referenced this pull request Jun 15, 2021
* Fix ML job IDs that used hyphens
* Update ml_high_count_network_denies.toml
* Update ml_spike_in_traffic_to_a_country.toml
* Set updated_date

(cherry picked from commit 49cb2e8)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport: auto bug Something isn't working ML machine learning related rule v7.13.3 v7.14.0 7.14 rules release package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Security Solution][Detections] ML Rules configured with incorrect ML Job ID
5 participants