Skip to content

Commit 32f5966

Browse files
Provide Deprecate Warnings for Experimental ML commands (#4365)
1 parent f8312cc commit 32f5966

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

detection_rules/ml.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,10 @@ def get_ml_model_manifests_by_model_id(repo: str = 'elastic/detection-rules') ->
276276
@es_experimental.group('ml')
277277
def ml_group():
278278
"""Experimental machine learning commands."""
279+
click.secho('\n***** Deprecation Warning *****\n', fg='yellow', err=True)
280+
click.secho('\n* The experiment "ml" command(s) are deprecated and will be removed in a future release. *\n',
281+
fg='yellow', err=True)
282+
click.secho('\n* Command Removal Timeframe: May 1, 2025 *\n', fg='yellow', err=True)
279283

280284

281285
@ml_group.command('check-files')

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "detection_rules"
3-
version = "0.3.16"
3+
version = "0.3.17"
44
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."
55
readme = "README.md"
66
requires-python = ">=3.12"

0 commit comments

Comments
 (0)