Provide Deprecate Warnings for Experimental ML commands (#4365)

This commit is contained in:
shashank-elastic
2025-01-15 21:53:16 +05:30
committed by GitHub
parent f8312cc5b0
commit 32f596629d
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -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')
+1 -1
View File
@@ -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 Securitys Detection Engine."
readme = "README.md"
requires-python = ">=3.12"