Add section in how-to on exclusions (#4441)

This commit is contained in:
William FH
2025-04-28 08:42:32 -07:00
committed by GitHub
parent dc9f2b1109
commit 68e3d70967
@@ -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.