Skip to content

Conversation

@nikitaindik
Copy link
Contributor

@nikitaindik nikitaindik commented Aug 5, 2025

Part of epic: #229688
Is a follow-up to: #229957

Summary

This PR adds logging to backend endpoints that call Fleet APIs. This will assist us in debugging flaky tests. I aimed to balance log granularity and readability.

Changes

Added logging to endpoints:

  • bootstrap prebuilt rules
  • perform prebuilt rule installation
  • import rules
  • get installed integrations
  • get all integrations
  • install prebuilt rules and timelines (legacy endpoint)

@nikitaindik nikitaindik self-assigned this Aug 5, 2025
@nikitaindik nikitaindik force-pushed the add-logging-to-backend-endpoints branch from f903b2f to 9894d72 Compare August 7, 2025 13:45
@nikitaindik nikitaindik changed the title [Security Solution] Add debug logging to backend endpoints [Security Solution] Add debug logging to endpoints that call Fleet APIs Aug 7, 2025
@nikitaindik nikitaindik added Team:Detections and Resp Security Detection Response Team Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:Detection Rule Management Security Detection Rule Management Team v9.2.0 v9.0.5 v9.1.1 v8.18.5 v8.19.1 release_note:skip Skip the PR/issue when compiling release notes backport:version Backport to applied version labels labels Aug 7, 2025
@nikitaindik nikitaindik marked this pull request as ready for review August 7, 2025 14:07
@nikitaindik nikitaindik requested a review from a team as a code owner August 7, 2025 14:07
@nikitaindik nikitaindik requested a review from jkelas August 7, 2025 14:07
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-detections-response (Team:Detections and Resp)

@elasticmachine
Copy link
Contributor

Pinging @elastic/security-solution (Team: SecuritySolution)

@elasticmachine
Copy link
Contributor

Pinging @elastic/security-detection-rule-management (Team:Detection Rule Management)

@banderror banderror requested review from banderror and removed request for jkelas August 7, 2025 14:24
Copy link
Contributor

@banderror banderror left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nikitaindik LGTM, just a couple minor comments 👍

@nikitaindik nikitaindik requested a review from banderror August 12, 2025 09:28
@nikitaindik
Copy link
Contributor Author

Thanks for reviewing, @banderror! I have addressed the feedback. Please review it again.

Copy link
Contributor

@banderror banderror left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @nikitaindik :shipit:

@kibanamachine
Copy link
Contributor

💔 Some backports could not be created

Status Branch Result
8.18 Backport failed because of merge conflicts

You might need to backport the following PRs to 8.18:
- [Security Solution] Split prebuilt rule Cypress tests (#231150)
- [Security Solution] Transfer rule preview tests to Detection Engine (API Integration) (#230267)
- Remove @paralleldrive/cuid2 (#230293)
8.19 Backport failed because of merge conflicts
9.0 Backport failed because of merge conflicts

You might need to backport the following PRs to 9.0:
- [Security Solution] Split prebuilt rule Cypress tests (#231150)
- [Security Solution] Transfer rule preview tests to Detection Engine (API Integration) (#230267)
9.1

Note: Successful backport PRs will be merged automatically after passing CI.

Manual backport

To create the backport manually run:

node scripts/backport --pr 230503

Questions ?

Please refer to the Backport tool documentation

nikitaindik added a commit to nikitaindik/kibana that referenced this pull request Aug 12, 2025
…Is (elastic#230503)

**Part of epic: elastic#229688
**Is a follow-up to: elastic#229957

## Summary
This PR adds logging to backend endpoints that call Fleet APIs. This
will assist us in debugging flaky tests. I aimed to balance log
granularity and readability.

## Changes
Added logging to endpoints:
- bootstrap prebuilt rules
- perform prebuilt rule installation
- import rules
- get installed integrations
- get all integrations
- install prebuilt rules and timelines (legacy endpoint)

(cherry picked from commit 48b2f79)

# Conflicts:
#	x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/prebuilt_rules/logic/integrations/install_promotion_rules.ts
nikitaindik added a commit to nikitaindik/kibana that referenced this pull request Aug 12, 2025
…Is (elastic#230503)

**Part of epic: elastic#229688
**Is a follow-up to: elastic#229957

## Summary
This PR adds logging to backend endpoints that call Fleet APIs. This
will assist us in debugging flaky tests. I aimed to balance log
granularity and readability.

## Changes
Added logging to endpoints:
- bootstrap prebuilt rules
- perform prebuilt rule installation
- import rules
- get installed integrations
- get all integrations
- install prebuilt rules and timelines (legacy endpoint)

(cherry picked from commit 48b2f79)

# Conflicts:
#	x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/prebuilt_rules/api/bootstrap_prebuilt_rules/bootstrap_prebuilt_rules_handler.ts
nikitaindik added a commit to nikitaindik/kibana that referenced this pull request Aug 12, 2025
…Is (elastic#230503)

**Part of epic: elastic#229688
**Is a follow-up to: elastic#229957

## Summary
This PR adds logging to backend endpoints that call Fleet APIs. This
will assist us in debugging flaky tests. I aimed to balance log
granularity and readability.

## Changes
Added logging to endpoints:
- bootstrap prebuilt rules
- perform prebuilt rule installation
- import rules
- get installed integrations
- get all integrations
- install prebuilt rules and timelines (legacy endpoint)

(cherry picked from commit 48b2f79)

# Conflicts:
#	x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/prebuilt_rules/logic/integrations/install_promotion_rules.ts
@nikitaindik
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
9.0
8.19
8.18

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Aug 12, 2025
…eet APIs (#230503) (#231502)

# Backport

This will backport the following commits from `main` to `9.1`:
- [[Security Solution] Add debug logging to endpoints that call Fleet
APIs (#230503)](#230503)

<!--- Backport version: 9.6.6 -->

### 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-12T18:30:06Z","message":"[Security
Solution] Add debug logging to endpoints that call Fleet APIs
(#230503)\n\n**Part of epic:
https://github.com/elastic/kibana/issues/229688**\n**Is a follow-up to:
https://github.com/elastic/kibana/pull/229957**\n\n## Summary \nThis PR
adds logging to backend endpoints that call Fleet APIs. This\nwill
assist us in debugging flaky tests. I aimed to balance log\ngranularity
and readability.\n\n## Changes\nAdded logging to endpoints:\n- bootstrap
prebuilt rules\n- perform prebuilt rule installation\n- import rules\n-
get installed integrations\n- get all integrations\n- install prebuilt
rules and timelines (legacy
endpoint)","sha":"48b2f798eb91df39b437de73e9668cc34918133d","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","v8.18.5","v9.1.2","v8.19.2"],"title":"[Security
Solution] Add debug logging to endpoints that call Fleet
APIs","number":230503,"url":"https://github.com/elastic/kibana/pull/230503","mergeCommit":{"message":"[Security
Solution] Add debug logging to endpoints that call Fleet APIs
(#230503)\n\n**Part of epic:
https://github.com/elastic/kibana/issues/229688**\n**Is a follow-up to:
https://github.com/elastic/kibana/pull/229957**\n\n## Summary \nThis PR
adds logging to backend endpoints that call Fleet APIs. This\nwill
assist us in debugging flaky tests. I aimed to balance log\ngranularity
and readability.\n\n## Changes\nAdded logging to endpoints:\n- bootstrap
prebuilt rules\n- perform prebuilt rule installation\n- import rules\n-
get installed integrations\n- get all integrations\n- install prebuilt
rules and timelines (legacy
endpoint)","sha":"48b2f798eb91df39b437de73e9668cc34918133d"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18","9.1","8.19"],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/230503","number":230503,"mergeCommit":{"message":"[Security
Solution] Add debug logging to endpoints that call Fleet APIs
(#230503)\n\n**Part of epic:
https://github.com/elastic/kibana/issues/229688**\n**Is a follow-up to:
https://github.com/elastic/kibana/pull/229957**\n\n## Summary \nThis PR
adds logging to backend endpoints that call Fleet APIs. This\nwill
assist us in debugging flaky tests. I aimed to balance log\ngranularity
and readability.\n\n## Changes\nAdded logging to endpoints:\n- bootstrap
prebuilt rules\n- perform prebuilt rule installation\n- import rules\n-
get installed integrations\n- get all integrations\n- install prebuilt
rules and timelines (legacy
endpoint)","sha":"48b2f798eb91df39b437de73e9668cc34918133d"}},{"branch":"9.0","label":"v9.0.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.1","label":"v9.1.2","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.2","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Nikita Indik <nikita.indik@elastic.co>
@mistic mistic added v9.1.3 and removed v9.1.2 labels Aug 12, 2025
nikitaindik added a commit that referenced this pull request Aug 12, 2025
…leet APIs (#230503) (#231512)

# Backport

This will backport the following commits from `main` to `8.19`:
- [[Security Solution] Add debug logging to endpoints that call Fleet
APIs (#230503)](#230503)

<!--- 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-12T18:30:06Z","message":"[Security
Solution] Add debug logging to endpoints that call Fleet APIs
(#230503)\n\n**Part of epic:
https://github.com/elastic/kibana/issues/229688**\n**Is a follow-up to:
https://github.com/elastic/kibana/pull/229957**\n\n## Summary \nThis PR
adds logging to backend endpoints that call Fleet APIs. This\nwill
assist us in debugging flaky tests. I aimed to balance log\ngranularity
and readability.\n\n## Changes\nAdded logging to endpoints:\n- bootstrap
prebuilt rules\n- perform prebuilt rule installation\n- import rules\n-
get installed integrations\n- get all integrations\n- install prebuilt
rules and timelines (legacy
endpoint)","sha":"48b2f798eb91df39b437de73e9668cc34918133d","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","v8.18.5","v9.1.2","v8.19.2"],"title":"[Security
Solution] Add debug logging to endpoints that call Fleet
APIs","number":230503,"url":"https://github.com/elastic/kibana/pull/230503","mergeCommit":{"message":"[Security
Solution] Add debug logging to endpoints that call Fleet APIs
(#230503)\n\n**Part of epic:
https://github.com/elastic/kibana/issues/229688**\n**Is a follow-up to:
https://github.com/elastic/kibana/pull/229957**\n\n## Summary \nThis PR
adds logging to backend endpoints that call Fleet APIs. This\nwill
assist us in debugging flaky tests. I aimed to balance log\ngranularity
and readability.\n\n## Changes\nAdded logging to endpoints:\n- bootstrap
prebuilt rules\n- perform prebuilt rule installation\n- import rules\n-
get installed integrations\n- get all integrations\n- install prebuilt
rules and timelines (legacy
endpoint)","sha":"48b2f798eb91df39b437de73e9668cc34918133d"}},"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/230503","number":230503,"mergeCommit":{"message":"[Security
Solution] Add debug logging to endpoints that call Fleet APIs
(#230503)\n\n**Part of epic:
https://github.com/elastic/kibana/issues/229688**\n**Is a follow-up to:
https://github.com/elastic/kibana/pull/229957**\n\n## Summary \nThis PR
adds logging to backend endpoints that call Fleet APIs. This\nwill
assist us in debugging flaky tests. I aimed to balance log\ngranularity
and readability.\n\n## Changes\nAdded logging to endpoints:\n- bootstrap
prebuilt rules\n- perform prebuilt rule installation\n- import rules\n-
get installed integrations\n- get all integrations\n- install prebuilt
rules and timelines (legacy
endpoint)","sha":"48b2f798eb91df39b437de73e9668cc34918133d"}},{"branch":"9.0","label":"v9.0.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.1","label":"v9.1.2","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/231502","number":231502,"state":"OPEN"},{"branch":"8.19","label":"v8.19.2","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
nikitaindik added a commit that referenced this pull request Aug 12, 2025
…eet APIs (#230503) (#231511)

# Backport

This will backport the following commits from `main` to `9.0`:
- [[Security Solution] Add debug logging to endpoints that call Fleet
APIs (#230503)](#230503)

<!--- 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-12T18:30:06Z","message":"[Security
Solution] Add debug logging to endpoints that call Fleet APIs
(#230503)\n\n**Part of epic:
https://github.com/elastic/kibana/issues/229688**\n**Is a follow-up to:
https://github.com/elastic/kibana/pull/229957**\n\n## Summary \nThis PR
adds logging to backend endpoints that call Fleet APIs. This\nwill
assist us in debugging flaky tests. I aimed to balance log\ngranularity
and readability.\n\n## Changes\nAdded logging to endpoints:\n- bootstrap
prebuilt rules\n- perform prebuilt rule installation\n- import rules\n-
get installed integrations\n- get all integrations\n- install prebuilt
rules and timelines (legacy
endpoint)","sha":"48b2f798eb91df39b437de73e9668cc34918133d","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","v8.18.5","v9.1.2","v8.19.2"],"title":"[Security
Solution] Add debug logging to endpoints that call Fleet
APIs","number":230503,"url":"https://github.com/elastic/kibana/pull/230503","mergeCommit":{"message":"[Security
Solution] Add debug logging to endpoints that call Fleet APIs
(#230503)\n\n**Part of epic:
https://github.com/elastic/kibana/issues/229688**\n**Is a follow-up to:
https://github.com/elastic/kibana/pull/229957**\n\n## Summary \nThis PR
adds logging to backend endpoints that call Fleet APIs. This\nwill
assist us in debugging flaky tests. I aimed to balance log\ngranularity
and readability.\n\n## Changes\nAdded logging to endpoints:\n- bootstrap
prebuilt rules\n- perform prebuilt rule installation\n- import rules\n-
get installed integrations\n- get all integrations\n- install prebuilt
rules and timelines (legacy
endpoint)","sha":"48b2f798eb91df39b437de73e9668cc34918133d"}},"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/230503","number":230503,"mergeCommit":{"message":"[Security
Solution] Add debug logging to endpoints that call Fleet APIs
(#230503)\n\n**Part of epic:
https://github.com/elastic/kibana/issues/229688**\n**Is a follow-up to:
https://github.com/elastic/kibana/pull/229957**\n\n## Summary \nThis PR
adds logging to backend endpoints that call Fleet APIs. This\nwill
assist us in debugging flaky tests. I aimed to balance log\ngranularity
and readability.\n\n## Changes\nAdded logging to endpoints:\n- bootstrap
prebuilt rules\n- perform prebuilt rule installation\n- import rules\n-
get installed integrations\n- get all integrations\n- install prebuilt
rules and timelines (legacy
endpoint)","sha":"48b2f798eb91df39b437de73e9668cc34918133d"}},{"branch":"9.0","label":"v9.0.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.1","label":"v9.1.2","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/231502","number":231502,"state":"OPEN"},{"branch":"8.19","label":"v8.19.2","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
nikitaindik added a commit that referenced this pull request Aug 12, 2025
…leet APIs (#230503) (#231513)

# Backport

This will backport the following commits from `main` to `8.18`:
- [[Security Solution] Add debug logging to endpoints that call Fleet
APIs (#230503)](#230503)

<!--- 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-12T18:30:06Z","message":"[Security
Solution] Add debug logging to endpoints that call Fleet APIs
(#230503)\n\n**Part of epic:
https://github.com/elastic/kibana/issues/229688**\n**Is a follow-up to:
https://github.com/elastic/kibana/pull/229957**\n\n## Summary \nThis PR
adds logging to backend endpoints that call Fleet APIs. This\nwill
assist us in debugging flaky tests. I aimed to balance log\ngranularity
and readability.\n\n## Changes\nAdded logging to endpoints:\n- bootstrap
prebuilt rules\n- perform prebuilt rule installation\n- import rules\n-
get installed integrations\n- get all integrations\n- install prebuilt
rules and timelines (legacy
endpoint)","sha":"48b2f798eb91df39b437de73e9668cc34918133d","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","v8.18.5","v9.1.2","v8.19.2"],"title":"[Security
Solution] Add debug logging to endpoints that call Fleet
APIs","number":230503,"url":"https://github.com/elastic/kibana/pull/230503","mergeCommit":{"message":"[Security
Solution] Add debug logging to endpoints that call Fleet APIs
(#230503)\n\n**Part of epic:
https://github.com/elastic/kibana/issues/229688**\n**Is a follow-up to:
https://github.com/elastic/kibana/pull/229957**\n\n## Summary \nThis PR
adds logging to backend endpoints that call Fleet APIs. This\nwill
assist us in debugging flaky tests. I aimed to balance log\ngranularity
and readability.\n\n## Changes\nAdded logging to endpoints:\n- bootstrap
prebuilt rules\n- perform prebuilt rule installation\n- import rules\n-
get installed integrations\n- get all integrations\n- install prebuilt
rules and timelines (legacy
endpoint)","sha":"48b2f798eb91df39b437de73e9668cc34918133d"}},"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/230503","number":230503,"mergeCommit":{"message":"[Security
Solution] Add debug logging to endpoints that call Fleet APIs
(#230503)\n\n**Part of epic:
https://github.com/elastic/kibana/issues/229688**\n**Is a follow-up to:
https://github.com/elastic/kibana/pull/229957**\n\n## Summary \nThis PR
adds logging to backend endpoints that call Fleet APIs. This\nwill
assist us in debugging flaky tests. I aimed to balance log\ngranularity
and readability.\n\n## Changes\nAdded logging to endpoints:\n- bootstrap
prebuilt rules\n- perform prebuilt rule installation\n- import rules\n-
get installed integrations\n- get all integrations\n- install prebuilt
rules and timelines (legacy
endpoint)","sha":"48b2f798eb91df39b437de73e9668cc34918133d"}},{"branch":"9.0","label":"v9.0.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.1","label":"v9.1.2","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/231502","number":231502,"state":"OPEN"},{"branch":"8.19","label":"v8.19.2","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
fkanout pushed a commit to fkanout/kibana that referenced this pull request Aug 14, 2025
…Is (elastic#230503)

**Part of epic: elastic#229688
**Is a follow-up to: elastic#229957

## Summary  
This PR adds logging to backend endpoints that call Fleet APIs. This
will assist us in debugging flaky tests. I aimed to balance log
granularity and readability.

## Changes
Added logging to endpoints:
- bootstrap prebuilt rules
- perform prebuilt rule installation
- import rules
- get installed integrations
- get all integrations
- install prebuilt rules and timelines (legacy endpoint)
NicholasPeretti pushed a commit to NicholasPeretti/kibana that referenced this pull request Aug 18, 2025
…Is (elastic#230503)

**Part of epic: elastic#229688
**Is a follow-up to: elastic#229957

## Summary  
This PR adds logging to backend endpoints that call Fleet APIs. This
will assist us in debugging flaky tests. I aimed to balance log
granularity and readability.

## Changes
Added logging to endpoints:
- bootstrap prebuilt rules
- perform prebuilt rule installation
- import rules
- get installed integrations
- get all integrations
- install prebuilt rules and timelines (legacy endpoint)
qn895 pushed a commit to qn895/kibana that referenced this pull request Aug 26, 2025
…Is (elastic#230503)

**Part of epic: elastic#229688
**Is a follow-up to: elastic#229957

## Summary  
This PR adds logging to backend endpoints that call Fleet APIs. This
will assist us in debugging flaky tests. I aimed to balance log
granularity and readability.

## Changes
Added logging to endpoints:
- bootstrap prebuilt rules
- perform prebuilt rule installation
- import rules
- get installed integrations
- get all integrations
- install prebuilt rules and timelines (legacy endpoint)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:version Backport to applied version labels release_note:skip Skip the PR/issue when compiling release notes Team:Detection Rule Management Security Detection Rule Management Team Team:Detections and Resp Security Detection Response Team Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. v8.18.6 v8.19.3 v9.0.6 v9.1.3 v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants