From 68e3d70967525291ddcd0e9ce7f5509772b02d7e Mon Sep 17 00:00:00 2001 From: William FH <13333726+hinthornw@users.noreply.github.com> Date: Mon, 28 Apr 2025 08:42:32 -0700 Subject: [PATCH] Add section in how-to on exclusions (#4441) --- docs/docs/cloud/how-tos/configurable_headers.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/docs/cloud/how-tos/configurable_headers.md b/docs/docs/cloud/how-tos/configurable_headers.md index 90a4fe934..5338d858b 100644 --- a/docs/docs/cloud/how-tos/configurable_headers.md +++ b/docs/docs/cloud/how-tos/configurable_headers.md @@ -18,3 +18,19 @@ Here's how to customize the included and excluded headers: ``` The `include` and `exclude` lists accept exact header names or patterns using `*` to match any number of characters. For your security, no other regex patterns are supported. + +If you'd like to opt-out of configurable headers, you can simply set a wildcard pattern in the `exclude` list: + +```json +{ + "http": { + "configurable_headers": { + "exclude": ["*"] + } + } +} +``` + +This will exclude all headers from being added to your run's configuration. + +Note that exclusions take precedence over inclusions. \ No newline at end of file