Airlock Microgateway performs various size checks on requests with a default configuration to repel denial of service (DoS) attacks out of the box. The CR Limits can be used to configure these limit checks on the route level.
- Limit checks are available for:
- Number and size of parameters.
- General request properties like body size or path length.
- Various aspects of JSON Payload.
- A global header size check (can be configured in the Limiting request headers length).
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.