Airlock Microgateway offers predefined header lists and header filtering/rewriting configuration options. With these built-in options, request and response headers can be added to or removed from upstream and downstream traffic (see Reference tables of built-in header lists). The predefined header lists are constantly evolving and updated to respond to latest threats and new requirements.
Custom header rewrite rules can be defined to address various integration requirements.
These mechanisms can prevent information leakage by response headers and attacks by request headers.
In the Custom Resource HeaderRewrites
, all header-related actions can be configured. The content of the CR is split into two main sections request
and response
.
General tips for working with CRs
- CLI:
- Use
kubectl explain <replace with CRD name> --recursive
to list all available options and the YAML structure. - Check the CRD description texts with
kubectl explain <replace with CRD name and path>
of the available options for more details.
- API Reference documentation:
- Click on the link to open the CR-related documentation in a new browser tab or window: CRD Reference documentation. See also the API Reference documentation links at the end article.