Skip to content

[8.19] [Response Ops][Task Manager] Skip API Key Tasks If Security is Disabled (#221732)#225402

Merged
JiaweiWu merged 4 commits intoelastic:8.19from
JiaweiWu:backport/8.19/pr-221732
Jul 3, 2025
Merged

[8.19] [Response Ops][Task Manager] Skip API Key Tasks If Security is Disabled (#221732)#225402
JiaweiWu merged 4 commits intoelastic:8.19from
JiaweiWu:backport/8.19/pr-221732

Conversation

@JiaweiWu
Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 8.19:

Questions ?

Please refer to the Backport tool documentation

…ed (elastic#221732)

## Summary

Resolves: elastic#216810

This PR uses the licensing plugin to check is security is enabled. If
not, we skip adding API keys to tasks that pass in a `request` object,
but still scheduling them.

### Checklist
- [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 bf0003f)

# Conflicts:
#	x-pack/platform/plugins/shared/task_manager/server/plugin.test.ts
#	x-pack/platform/plugins/shared/task_manager/server/plugin.ts
@JiaweiWu JiaweiWu requested a review from kibanamachine as a code owner June 26, 2025 05:05
@JiaweiWu JiaweiWu added the backport This PR is a backport of another PR label Jun 26, 2025
@JiaweiWu JiaweiWu enabled auto-merge (squash) June 26, 2025 05:05
@JiaweiWu JiaweiWu disabled auto-merge June 26, 2025 05:05
@JiaweiWu
Copy link
Copy Markdown
Contributor Author

/ci

1 similar comment
@JiaweiWu
Copy link
Copy Markdown
Contributor Author

/ci

@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

Copy link
Copy Markdown
Contributor

@ersin-erdal ersin-erdal left a comment

Choose a reason for hiding this comment

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

LGTM

@JiaweiWu JiaweiWu enabled auto-merge (squash) July 3, 2025 16:33
@JiaweiWu JiaweiWu merged commit 57f4430 into elastic:8.19 Jul 3, 2025
8 checks passed
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