Skip to content

Commit

Permalink
Provide Deprecate Warnings for Experimental ML commands (#4365)
Browse files Browse the repository at this point in the history
  • Loading branch information
shashank-elastic authored Jan 15, 2025
1 parent f8312cc commit 32f5966
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions detection_rules/ml.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,10 @@ def get_ml_model_manifests_by_model_id(repo: str = 'elastic/detection-rules') ->
@es_experimental.group('ml')
def ml_group():
"""Experimental machine learning commands."""
click.secho('\n***** Deprecation Warning *****\n', fg='yellow', err=True)
click.secho('\n* The experiment "ml" command(s) are deprecated and will be removed in a future release. *\n',
fg='yellow', err=True)
click.secho('\n* Command Removal Timeframe: May 1, 2025 *\n', fg='yellow', err=True)


@ml_group.command('check-files')
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "detection_rules"
version = "0.3.16"
version = "0.3.17"
description = "Detection Rules is the home for rules used by Elastic Security. This repository is used for the development, maintenance, testing, validation, and release of rules for Elastic Security’s Detection Engine."
readme = "README.md"
requires-python = ">=3.12"
Expand Down

0 comments on commit 32f5966

Please sign in to comment.