Installation
Supported frameworks
Parameters
The following parameters apply for all integrations.| Parameter | Description | Type | Default |
|---|---|---|---|
enabled | Whether to enable the Apitally integration. | boolean | true |
logRequestHeaders | Whether to include request headers in the logs. Default masking for common sensitive headers (e.g. Authorization) applies. | boolean | false |
logRequestBody | Whether to include the request body in the logs. Only JSON and text are supported, up to 10 KB. | boolean | false |
logResponseHeaders | Whether to include response headers in the logs. | boolean | true |
logResponseBody | Whether to include the response body in the logs. Only JSON and text are supported, up to 10 KB. | boolean | false |
maskHeaders | Array of regular expressions for matching headers to mask. These are in addition to the default masking patterns. | RegExp[] | [] |
maskBodyFields | Array of regular expressions for matching request/response body fields to mask. These are in addition to the default masking patterns. | RegExp[] | [] |
excludePaths | Array of regular expressions for matching paths to exclude from logging. | RegExp[] | [] |