[9.1] [Security Solution] Log calls to Fleet APIs (#229957)#230529
Merged
kibanamachine merged 1 commit intoelastic:9.1from Aug 5, 2025
Merged
[9.1] [Security Solution] Log calls to Fleet APIs (#229957)#230529kibanamachine merged 1 commit intoelastic:9.1from
kibanamachine merged 1 commit intoelastic:9.1from
Conversation
**Partially addresses: elastic#229688 **Is a follow-up to: elastic#229185 ## Summary This PR adds debug logging to the areas where the Rule Management backend interacts with Fleet APIs. This is to help us troubleshoot flaky tests. --------- Co-authored-by: Georgii Gorbachev <georgii.gorbachev@elastic.co> (cherry picked from commit 2d4e421)
Contributor
💚 Build Succeeded
Metrics [docs]
cc @nikitaindik |
nikitaindik
added a commit
that referenced
this pull request
Aug 6, 2025
# Backport This will backport the following commits from `main` to `9.0`: - [[Security Solution] Log calls to Fleet APIs (#229957)](#229957) <!--- Backport version: 10.0.1 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Nikita Indik","email":"nikita.indik@elastic.co"},"sourceCommit":{"committedDate":"2025-08-05T10:04:10Z","message":"[Security Solution] Log calls to Fleet APIs (#229957)\n\n**Partially addresses: https://github.com/elastic/kibana/issues/229688**\n**Is a follow-up to: https://github.com/elastic/kibana/pull/229185**\n\n## Summary\nThis PR adds debug logging to the areas where the Rule Management\nbackend interacts with Fleet APIs. This is to help us troubleshoot flaky\ntests.\n\n---------\n\nCo-authored-by: Georgii Gorbachev <georgii.gorbachev@elastic.co>","sha":"2d4e4215955dfa6d752c5973134d4d09fec1ee86","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Detections and Resp","Team: SecuritySolution","Team:Detection Rule Management","backport:version","v9.2.0","v9.0.5","v9.1.1","v8.18.5","v8.19.1"],"title":"[Security Solution] Log calls to Fleet APIs","number":229957,"url":"https://github.com/elastic/kibana/pull/229957","mergeCommit":{"message":"[Security Solution] Log calls to Fleet APIs (#229957)\n\n**Partially addresses: https://github.com/elastic/kibana/issues/229688**\n**Is a follow-up to: https://github.com/elastic/kibana/pull/229185**\n\n## Summary\nThis PR adds debug logging to the areas where the Rule Management\nbackend interacts with Fleet APIs. This is to help us troubleshoot flaky\ntests.\n\n---------\n\nCo-authored-by: Georgii Gorbachev <georgii.gorbachev@elastic.co>","sha":"2d4e4215955dfa6d752c5973134d4d09fec1ee86"}},"sourceBranch":"main","suggestedTargetBranches":["9.0"],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/229957","number":229957,"mergeCommit":{"message":"[Security Solution] Log calls to Fleet APIs (#229957)\n\n**Partially addresses: https://github.com/elastic/kibana/issues/229688**\n**Is a follow-up to: https://github.com/elastic/kibana/pull/229185**\n\n## Summary\nThis PR adds debug logging to the areas where the Rule Management\nbackend interacts with Fleet APIs. This is to help us troubleshoot flaky\ntests.\n\n---------\n\nCo-authored-by: Georgii Gorbachev <georgii.gorbachev@elastic.co>","sha":"2d4e4215955dfa6d752c5973134d4d09fec1ee86"}},{"branch":"9.0","label":"v9.0.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.1","label":"v9.1.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/230529","number":230529,"state":"MERGED","mergeCommit":{"sha":"9b2f46a633732e22b6badfc14fdd6cab7e09f9e6","message":"[9.1] [Security Solution] Log calls to Fleet APIs (#229957) (#230529)\n\n# Backport\n\nThis will backport the following commits from `main` to `9.1`:\n- [[Security Solution] Log calls to Fleet APIs\n(#229957)](https://github.com/elastic/kibana/pull/229957)\n\n\n\n### Questions ?\nPlease refer to the [Backport tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by: Nikita Indik <nikita.indik@elastic.co>\nCo-authored-by: Georgii Gorbachev <georgii.gorbachev@elastic.co>"}},{"branch":"8.18","label":"v8.18.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/230618","number":230618,"state":"OPEN"},{"branch":"8.19","label":"v8.19.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/230591","number":230591,"state":"OPEN"}]}] BACKPORT--> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
nikitaindik
added a commit
that referenced
this pull request
Aug 6, 2025
# Backport This will backport the following commits from `main` to `8.19`: - [[Security Solution] Log calls to Fleet APIs (#229957)](#229957) <!--- Backport version: 10.0.1 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Nikita Indik","email":"nikita.indik@elastic.co"},"sourceCommit":{"committedDate":"2025-08-05T10:04:10Z","message":"[Security Solution] Log calls to Fleet APIs (#229957)\n\n**Partially addresses: https://github.com/elastic/kibana/issues/229688**\n**Is a follow-up to: https://github.com/elastic/kibana/pull/229185**\n\n## Summary\nThis PR adds debug logging to the areas where the Rule Management\nbackend interacts with Fleet APIs. This is to help us troubleshoot flaky\ntests.\n\n---------\n\nCo-authored-by: Georgii Gorbachev <georgii.gorbachev@elastic.co>","sha":"2d4e4215955dfa6d752c5973134d4d09fec1ee86","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Detections and Resp","Team: SecuritySolution","Team:Detection Rule Management","backport:version","v9.2.0","v9.0.5","v9.1.1","v8.18.5","v8.19.1"],"title":"[Security Solution] Log calls to Fleet APIs","number":229957,"url":"https://github.com/elastic/kibana/pull/229957","mergeCommit":{"message":"[Security Solution] Log calls to Fleet APIs (#229957)\n\n**Partially addresses: https://github.com/elastic/kibana/issues/229688**\n**Is a follow-up to: https://github.com/elastic/kibana/pull/229185**\n\n## Summary\nThis PR adds debug logging to the areas where the Rule Management\nbackend interacts with Fleet APIs. This is to help us troubleshoot flaky\ntests.\n\n---------\n\nCo-authored-by: Georgii Gorbachev <georgii.gorbachev@elastic.co>","sha":"2d4e4215955dfa6d752c5973134d4d09fec1ee86"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18","8.19"],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/229957","number":229957,"mergeCommit":{"message":"[Security Solution] Log calls to Fleet APIs (#229957)\n\n**Partially addresses: https://github.com/elastic/kibana/issues/229688**\n**Is a follow-up to: https://github.com/elastic/kibana/pull/229185**\n\n## Summary\nThis PR adds debug logging to the areas where the Rule Management\nbackend interacts with Fleet APIs. This is to help us troubleshoot flaky\ntests.\n\n---------\n\nCo-authored-by: Georgii Gorbachev <georgii.gorbachev@elastic.co>","sha":"2d4e4215955dfa6d752c5973134d4d09fec1ee86"}},{"branch":"9.0","label":"v9.0.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.1","label":"v9.1.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/230529","number":230529,"state":"MERGED","mergeCommit":{"sha":"9b2f46a633732e22b6badfc14fdd6cab7e09f9e6","message":"[9.1] [Security Solution] Log calls to Fleet APIs (#229957) (#230529)\n\n# Backport\n\nThis will backport the following commits from `main` to `9.1`:\n- [[Security Solution] Log calls to Fleet APIs\n(#229957)](https://github.com/elastic/kibana/pull/229957)\n\n\n\n### Questions ?\nPlease refer to the [Backport tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by: Nikita Indik <nikita.indik@elastic.co>\nCo-authored-by: Georgii Gorbachev <georgii.gorbachev@elastic.co>"}},{"branch":"8.18","label":"v8.18.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Georgii Gorbachev <georgii.gorbachev@elastic.co>
nikitaindik
added a commit
that referenced
this pull request
Aug 6, 2025
# Backport This will backport the following commits from `main` to `8.18`: - [[Security Solution] Log calls to Fleet APIs (#229957)](#229957) <!--- Backport version: 10.0.1 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Nikita Indik","email":"nikita.indik@elastic.co"},"sourceCommit":{"committedDate":"2025-08-05T10:04:10Z","message":"[Security Solution] Log calls to Fleet APIs (#229957)\n\n**Partially addresses: https://github.com/elastic/kibana/issues/229688**\n**Is a follow-up to: https://github.com/elastic/kibana/pull/229185**\n\n## Summary\nThis PR adds debug logging to the areas where the Rule Management\nbackend interacts with Fleet APIs. This is to help us troubleshoot flaky\ntests.\n\n---------\n\nCo-authored-by: Georgii Gorbachev <georgii.gorbachev@elastic.co>","sha":"2d4e4215955dfa6d752c5973134d4d09fec1ee86","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Detections and Resp","Team: SecuritySolution","Team:Detection Rule Management","backport:version","v9.2.0","v9.0.5","v9.1.1","v8.18.5","v8.19.1"],"title":"[Security Solution] Log calls to Fleet APIs","number":229957,"url":"https://github.com/elastic/kibana/pull/229957","mergeCommit":{"message":"[Security Solution] Log calls to Fleet APIs (#229957)\n\n**Partially addresses: https://github.com/elastic/kibana/issues/229688**\n**Is a follow-up to: https://github.com/elastic/kibana/pull/229185**\n\n## Summary\nThis PR adds debug logging to the areas where the Rule Management\nbackend interacts with Fleet APIs. This is to help us troubleshoot flaky\ntests.\n\n---------\n\nCo-authored-by: Georgii Gorbachev <georgii.gorbachev@elastic.co>","sha":"2d4e4215955dfa6d752c5973134d4d09fec1ee86"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18"],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/229957","number":229957,"mergeCommit":{"message":"[Security Solution] Log calls to Fleet APIs (#229957)\n\n**Partially addresses: https://github.com/elastic/kibana/issues/229688**\n**Is a follow-up to: https://github.com/elastic/kibana/pull/229185**\n\n## Summary\nThis PR adds debug logging to the areas where the Rule Management\nbackend interacts with Fleet APIs. This is to help us troubleshoot flaky\ntests.\n\n---------\n\nCo-authored-by: Georgii Gorbachev <georgii.gorbachev@elastic.co>","sha":"2d4e4215955dfa6d752c5973134d4d09fec1ee86"}},{"branch":"9.0","label":"v9.0.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.1","label":"v9.1.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/230529","number":230529,"state":"MERGED","mergeCommit":{"sha":"9b2f46a633732e22b6badfc14fdd6cab7e09f9e6","message":"[9.1] [Security Solution] Log calls to Fleet APIs (#229957) (#230529)\n\n# Backport\n\nThis will backport the following commits from `main` to `9.1`:\n- [[Security Solution] Log calls to Fleet APIs\n(#229957)](https://github.com/elastic/kibana/pull/229957)\n\n\n\n### Questions ?\nPlease refer to the [Backport tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by: Nikita Indik <nikita.indik@elastic.co>\nCo-authored-by: Georgii Gorbachev <georgii.gorbachev@elastic.co>"}},{"branch":"8.18","label":"v8.18.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/230591","number":230591,"state":"OPEN"}]}] BACKPORT-->
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport
This will backport the following commits from
mainto9.1:Questions ?
Please refer to the Backport tool documentation