This is a filter which handles Cross-Origin Resource Sharing requests based on route or virtual host settings. For the meaning of the headers please refer to the pages below.
- v2 API reference
- This filter should be configured with the name envoy.cors.
The CORS filter outputs statistics in the <stat_prefix>.cors.* namespace.
Requests that do not have an Origin header will be omitted from statistics.
|origin_valid||Counter||Number of requests that have a valid Origin header.|
|origin_invalid||Counter||Number of requests that have an invalid Origin header.|