Skip to content

[9.1] [Security Solution] Log calls to Fleet APIs (#229957)#230529

Merged
kibanamachine merged 1 commit intoelastic:9.1from
kibanamachine:backport/9.1/pr-229957
Aug 5, 2025
Merged

[9.1] [Security Solution] Log calls to Fleet APIs (#229957)#230529
kibanamachine merged 1 commit intoelastic:9.1from
kibanamachine:backport/9.1/pr-229957

Conversation

@kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 9.1:

Questions ?

Please refer to the Backport tool documentation

**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)
@kibanamachine kibanamachine added the backport This PR is a backport of another PR label Aug 5, 2025
@kibanamachine kibanamachine enabled auto-merge (squash) August 5, 2025 10:16
@kibanamachine kibanamachine merged commit 9b2f46a into elastic:9.1 Aug 5, 2025
16 checks passed
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

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-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants