The Custom Resource ContentSecurity
specifies the options to secure an upstream web application with a Microgateway Engine container. It does so by referencing various other CRs which cover different aspects of web application security.
If references are not explicitly configured, default settings designed to work with most upstream services will be applied.
- List of referenceable CRs:
- CR DenyRules – Configures request filtering using deny rules.
- CR HeaderRewrites – Configures request and response header manipulations.
- CR Parser – Configures content parsers.
- CR Limits – Configures various size checks on requests.
- API protection
- CR OpenAPI – Selects the relevant OpenAPI configuration resource.
- CR GraphQL – Selects the relevant GraphQL configuration resource.
The Microgateway Operator watches and reads the Custom Resources of type ContentSecurity
and configures the Microgateway Engine accordingly.
This CR needs to be referenced in the CR SidecarGateway.