diff --git a/CHANGELOG.next.asciidoc b/CHANGELOG.next.asciidoc index 40c57d8a327f..12fbefa8fab0 100644 --- a/CHANGELOG.next.asciidoc +++ b/CHANGELOG.next.asciidoc @@ -521,6 +521,7 @@ otherwise no tag is added. {issue}42208[42208] {pull}42403[42403] - Add status reporting support for AWS S3 input. {pull}45748[45748] - Add `remaining_executions` global to the CEL input evaluation context. {pull}46210[46210] - Improve HTTP JSON health status logic for empty template results. {pull}46332[46332] +- Improve CEL input documentation of authentication options. {pull}46253[46253] *Auditbeat* diff --git a/docs/reference/filebeat/filebeat-input-cel.md b/docs/reference/filebeat/filebeat-input-cel.md index 24aa52600789..e94b81ce961f 100644 --- a/docs/reference/filebeat/filebeat-input-cel.md +++ b/docs/reference/filebeat/filebeat-input-cel.md @@ -273,6 +273,8 @@ Additionally, it supports authentication via: * OAuth2 * token authentication {applies_to}`stack: ga 8.19.0, unavailable 9.0.0, ga 9.1.0` +As described in Mito's [HTTP]({{mito_docs}}@{{mito_version}}/lib#HTTP) documentation, configuration for Basic Authentication or token authentication will only affect direct HEAD, GET and POST method calls, not explicity constructed requests run with `.do_request()`. Configuration for Digest Authentication or OAuth2 will be used for all requests made from CEL. + Example configurations with authentication: ```yaml @@ -488,6 +490,9 @@ When set to `false`, disables the basic auth configuration. Default: `true`. Basic auth settings are disabled if either `enabled` is set to `false` or the `auth.basic` section is missing. :::: +::::{note} +Basic auth settings do not affect requests run with `.do_request()`, as explained in [HTTP]({{mito_docs}}@{{mito_version}}/lib#HTTP). +:::: ### `auth.basic.user` [_auth_basic_user] @@ -707,6 +712,9 @@ When set to `false`, disables the token authentication configuration. Default: ` Token authentication settings are disabled if either `enabled` is set to `false` or the `auth.token` section is missing. :::: +::::{note} +Token authentication settings do not affect requests run with `.do_request()`, as explained in [HTTP]({{mito_docs}}@{{mito_version}}/lib#HTTP). +:::: ### `auth.token.type` [_auth_token_type]