Skip to content

[ResponseOps][Reporting] Re generate api key when updating scheduled reports run schedule#253767

Merged
adcoelho merged 1 commit intoelastic:mainfrom
adcoelho:reporting-update-schedule
Feb 19, 2026
Merged

[ResponseOps][Reporting] Re generate api key when updating scheduled reports run schedule#253767
adcoelho merged 1 commit intoelastic:mainfrom
adcoelho:reporting-update-schedule

Conversation

@adcoelho
Copy link
Copy Markdown
Contributor

Closes #245086

Summary

As a follow-up to the changes in #249109 I am updating the call to bulkUpdateSchedules to regenerate the API key.

I used #244918 as a reference where the description says:

If a task with an API key is updated with a request, we should invalidate the old API key and create a new API key using the new request.

Testing

  1. Create a scheduled report which should run soon
  2. Verify that created scheduled report ran successfully in the Reporting > Exports tab
  3. Update the report to run soon again via Reporting > Schedules or via API
  4. Confirm that the edited scheduled report ran successfully

@adcoelho adcoelho requested a review from doakalexi February 18, 2026 17:00
@adcoelho adcoelho self-assigned this Feb 18, 2026
@adcoelho adcoelho requested a review from a team as a code owner February 18, 2026 17:00
@adcoelho adcoelho added release_note:skip Skip the PR/issue when compiling release notes backport:skip This PR does not require backporting Team:ResponseOps Platform ResponseOps team (formerly the Cases and Alerting teams) t// v9.4.0 labels Feb 18, 2026
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/response-ops (Team:ResponseOps)

@elasticmachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Metrics [docs]

✅ unchanged

cc @adcoelho

Copy link
Copy Markdown
Contributor

@doakalexi doakalexi left a comment

Choose a reason for hiding this comment

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

LGTM!

@adcoelho adcoelho merged commit f5a8e61 into elastic:main Feb 19, 2026
26 checks passed
ersin-erdal pushed a commit to ersin-erdal/kibana that referenced this pull request Feb 19, 2026
…reports run schedule (elastic#253767)

Closes elastic#245086

## Summary

As a follow-up to the changes in elastic#249109 I am updating the call to
bulkUpdateSchedules to regenerate the API key.

I used elastic#244918 as a reference
where the description says:

> If a task with an API key is updated with a request, we **should**
invalidate the old API key and create a new API key using the new
request.

## Testing

1. Create a scheduled report which should run soon
2. Verify that created scheduled report ran successfully in the
Reporting > Exports tab
3. Update the report to run soon again via Reporting > Schedules or via
API
4. Confirm that the edited scheduled report ran successfully
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:ResponseOps Platform ResponseOps team (formerly the Cases and Alerting teams) t// v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ResponseOps][Reporting] Send request from update report to task bulk update schedule

3 participants