You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We still have logic marked as experimental within our repo that should be deprecated and ultimately removed. This logic was intended to support ml functionality that is no longer supported.
When you try to use this existing code today, it throws an error because it uses a deprecated way to call the ES API.
detection_rules es experimental ml upload-job my-job.json
TypeError: Positional arguments can't be used with Elasticsearch API methods. Instead only use keyword arguments.
Desired Solution
These CLI commands should be officially removed. We should tag the commit for folks to have a reference point in case they still want to use this logic.
Considered Alternatives
We could update the call to supply the kwargs func(job_id=name, body=body)here as a starting point, but with the additional context below, this capability should no longer be supported.
Additionally, the original issue where the experimental ML features were merged in states that the ML release processes are to be managed via a different internal repo (dremel), which also has been deprecated with the statement:
NOTE: We are no longer using dreml to ship experimental machine learning models. All existing models have been/are being delivered via integration packages or other mechanisms. Please get in touch with the Security ML team for more information on packaging ML models.
The text was updated successfully, but these errors were encountered:
Repository Feature
Core Repo - (rule management, validation, testing, lib, cicd, etc.)
Problem Description
We still have logic marked as experimental within our repo that should be deprecated and ultimately removed. This logic was intended to support ml functionality that is no longer supported.
When you try to use this existing code today, it throws an error because it uses a deprecated way to call the ES API.
Desired Solution
These CLI commands should be officially removed. We should tag the commit for folks to have a reference point in case they still want to use this logic.
Considered Alternatives
We could update the call to supply the kwargs
func(job_id=name, body=body)
here as a starting point, but with the additional context below, this capability should no longer be supported.Additional Context
We now have ML jobs supported via integrations.
Additionally, the original issue where the experimental ML features were merged in states that the ML release processes are to be managed via a different internal repo (dremel), which also has been deprecated with the statement:
The text was updated successfully, but these errors were encountered: