Skip to content

Conversation

@ymao1
Copy link
Contributor

@ymao1 ymao1 commented Dec 3, 2025

Summary

Updates single file connector auth spec to allow specifying custom headers that will be added to the configured axios instance for the connector type.

For our existing connectors, we typically save any header values in the connector saved object as part of the config. For the single file connectors, I thought it would be more dynamic to add it to the ActionType and read it at execution time. This means that if a connector spec is updated with a new header value, existing connectors of that type (stored as saved objects) would use the updated headers the next time they're executed.

@ymao1 ymao1 changed the title Allowing global auth headers [ConnectorsV2] Allow specifying custom global headers for a single file connector type. Dec 3, 2025
@ymao1 ymao1 self-assigned this Dec 3, 2025
@lorenabalan lorenabalan mentioned this pull request Dec 3, 2025
10 tasks
@ymao1 ymao1 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// Feature:Actions/Framework Issues related to the Actions Framework v9.3.0 and removed v9.3.0 labels Dec 3, 2025
@ymao1 ymao1 marked this pull request as ready for review December 3, 2025 19:29
@ymao1 ymao1 requested a review from a team as a code owner December 3, 2025 19:29
@elasticmachine
Copy link
Contributor

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

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Public APIs missing comments

Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.

id before after diff
actions 373 375 +2

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
stackConnectors 826.5KB 826.5KB +35.0B
Unknown metric groups

API count

id before after diff
actions 379 381 +2

cc @ymao1

@ymao1 ymao1 requested review from adcoelho and jcger December 3, 2025 19:31
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 Feature:Actions/Framework Issues related to the Actions Framework release_note:skip Skip the PR/issue when compiling release notes Team:ResponseOps Platform ResponseOps team (formerly the Cases and Alerting teams) t// v9.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants