-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[v9 readiness] Add product header in FTR test #200833
[v9 readiness] Add product header in FTR test #200833
Conversation
Pinging @elastic/security-detection-rule-management (Team:Detection Rule Management) |
@jloleysens This PR could be an example of suppressing elasticsearch deprecation warnings. |
@elasticmachine merge upstream |
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]
History
|
...test_suites/detections_response/utils/rules/prebuilt_rules/perform_upgrade_prebuilt_rules.ts
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@TinaHeiligers Thank you for submitting this. Could you please elaborate more on what this PR is supposed to fix, specifically, and how it is related to #197110?
Just a couple of things that would be great to clarify:
- Why only the
/internal/detection_engine/prebuilt_rules/upgrade/_perform
is affected by this change? Should we add the same header to other API calls to our endpoints? - Is there documentation explaining what
x-elastic-product-origin
is? - My understanding was that the warnings from [Security Solution] Rule Management tests shouldn't access system indices directly #197110 are triggered by attempts to write to saved object indices directly from tests. Not sure I understand how adding that header to an API call would fix this.
@bandarr-io this pr isn't needed, we want the deprecation logs to surface. |
Related to #197110
Elasticsearch has deprecated access to system indices, and is surfaced in the Kibana deprecation logger and in the ES deprecation log (this is viewable in Discover by end users).
We can decide to exclude these from the “digest” because it is counterproductive for Kibana to display deprecation warnings that users cannot resolve.
To improve the user experience, this pull request (PR) effectively suppresses these deprecation logs for the
/internal/detection_engine/prebuilt_rules/upgrade/_perform
endpoint, allowing users to focus on actionable items.