[ResponseOps][Reporting] Fix "failed to decrypt apiKey" error while disabling/enabling scheduled reports#247236
Merged
js-jankisalvi merged 3 commits intoelastic:mainfrom Dec 22, 2025
Conversation
Contributor
|
Pinging @elastic/response-ops (Team:ResponseOps) |
cnasikas
approved these changes
Dec 22, 2025
Contributor
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]
|
cnasikas
approved these changes
Dec 22, 2025
Contributor
|
Starting backport for target branches: 9.3 https://github.com/elastic/kibana/actions/runs/20435629004 |
kibanamachine
pushed a commit
to kibanamachine/kibana
that referenced
this pull request
Dec 22, 2025
…isabling/enabling scheduled reports (elastic#247236) ## Summary Fixes elastic/response-ops-team#503 This PR adds request options params to `bulkEnable` and `bulkDisable` of scheduled reports tasks. So that it uses SO scoped client to update task. ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios (cherry picked from commit f35125f)
Contributor
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
mbondyra
added a commit
to mbondyra/kibana
that referenced
this pull request
Dec 22, 2025
…d_step_back * commit '51756d2722200a991607658d48ecda50aeb04a7d': (76 commits) [Synthetics] Fix SyncGlobalParamsSpaces flaky test (elastic#246487) [Synthetics] Fix useSyntheticsRules test (elastic#247259) [ES|QL] Fix index editor flaky test (elastic#247233) [ResponseOps][Reporting] Fix "failed to decrypt apiKey" error while disabling/enabling scheduled reports (elastic#247236) [Console] Update console definitions (main) (elastic#247214) [ES|QL] Esql indentation shortcut on the editor (elastic#247234) [Streams] Use original request for rules client when in default space (elastic#247014) Consolidate and improve unflattenObject (elastic#246725) [scout] use svl mode to run api-int tests (elastic#247223) SIEM Readiness V2 (elastic#245776) [ObsPresentation][A11y] Fix asset details flyout header announcement (elastic#246872) [Streams] Add abort support and silent mode for stream description generation (elastic#247082) [SLO] Add environment context to SLO feedback button (elastic#247221) Ignore the reason and retry systematically (elastic#246830) Update dependency @types/moment-duration-format to ^2.2.7 (main) (elastic#242221) [Streams 🌊 ] Add explicit waits for data grid rows before clicking expand button (elastic#246919) [Security Solution][Entity Analytics][Risk Scoring] Handle special characters in ESQL query for risk scoring (elastic#247060) [ML] Data frame analytics: Updates page headers (elastic#247097) [ES|QL] Build function arguments suggestions from hints (elastic#246736) Update dependency @hey-api/openapi-ts to v0.88.1 (main) (elastic#247210) ...
kibanamachine
added a commit
that referenced
this pull request
Dec 22, 2025
…hile disabling/enabling scheduled reports (#247236) (#247278) # Backport This will backport the following commits from `main` to `9.3`: - [[ResponseOps][Reporting] Fix "failed to decrypt apiKey" error while disabling/enabling scheduled reports (#247236)](#247236) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Janki Salvi","email":"117571355+js-jankisalvi@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-12-22T15:02:48Z","message":"[ResponseOps][Reporting] Fix \"failed to decrypt apiKey\" error while disabling/enabling scheduled reports (#247236)\n\n## Summary\n\nFixes https://github.com/elastic/response-ops-team/issues/503\n\nThis PR adds request options params to `bulkEnable` and `bulkDisable` of\nscheduled reports tasks. So that it uses SO scoped client to update\ntask.\n\n### Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n- [x] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios","sha":"f35125f8eeb39a9607ce0dd6ac7e17cfdf98ff51","branchLabelMapping":{"^v9.4.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","Team:ResponseOps","backport:version","v9.3.0","v9.4.0"],"title":"[ResponseOps][Reporting] Fix \"failed to decrypt apiKey\" error while disabling/enabling scheduled reports","number":247236,"url":"https://github.com/elastic/kibana/pull/247236","mergeCommit":{"message":"[ResponseOps][Reporting] Fix \"failed to decrypt apiKey\" error while disabling/enabling scheduled reports (#247236)\n\n## Summary\n\nFixes https://github.com/elastic/response-ops-team/issues/503\n\nThis PR adds request options params to `bulkEnable` and `bulkDisable` of\nscheduled reports tasks. So that it uses SO scoped client to update\ntask.\n\n### Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n- [x] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios","sha":"f35125f8eeb39a9607ce0dd6ac7e17cfdf98ff51"}},"sourceBranch":"main","suggestedTargetBranches":["9.3"],"targetPullRequestStates":[{"branch":"9.3","label":"v9.3.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.4.0","branchLabelMappingKey":"^v9.4.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/247236","number":247236,"mergeCommit":{"message":"[ResponseOps][Reporting] Fix \"failed to decrypt apiKey\" error while disabling/enabling scheduled reports (#247236)\n\n## Summary\n\nFixes https://github.com/elastic/response-ops-team/issues/503\n\nThis PR adds request options params to `bulkEnable` and `bulkDisable` of\nscheduled reports tasks. So that it uses SO scoped client to update\ntask.\n\n### Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n- [x] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios","sha":"f35125f8eeb39a9607ce0dd6ac7e17cfdf98ff51"}}]}] BACKPORT--> Co-authored-by: Janki Salvi <117571355+js-jankisalvi@users.noreply.github.com>
CAWilson94
pushed a commit
to CAWilson94/kibana
that referenced
this pull request
Jan 6, 2026
…isabling/enabling scheduled reports (elastic#247236) ## Summary Fixes elastic/response-ops-team#503 This PR adds request options params to `bulkEnable` and `bulkDisable` of scheduled reports tasks. So that it uses SO scoped client to update task. ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
dej611
pushed a commit
to dej611/kibana
that referenced
this pull request
Jan 8, 2026
…isabling/enabling scheduled reports (elastic#247236) ## Summary Fixes elastic/response-ops-team#503 This PR adds request options params to `bulkEnable` and `bulkDisable` of scheduled reports tasks. So that it uses SO scoped client to update task. ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
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.
Summary
Fixes https://github.com/elastic/response-ops-team/issues/503
This PR adds request options params to
bulkEnableandbulkDisableof scheduled reports tasks. So that it uses SO scoped client to update task.Checklist
Check the PR satisfies following conditions.
Reviewers should verify this PR satisfies this list as well.