package
0.8.2
Repository: https://github.com/wallarm/api-firewall.git
Documentation: pkg.go.dev

# Functions

Denylist forbidden requests with tokens in the blacklist.
Errors handles errors coming out of the call chain.
The IPAllowlist function checks if an IP is allowed else gives error.
Logger writes some information about the request to the logs in the format: TraceID : (200) GET /foo -> IP ADDR (latency).
MIMETypeIdentifier identifies the MIME type of the content in case of CT header is missing.
Panics recovers from panics and converts the panic to an error so it is reported in Metrics and handled in Errors.
Proxy changes request scheme before request.
ShadowAPIMonitor check each request for the params, methods or paths that are not specified in the OpenAPI specification and log each violation.
No description provided by the author

# Variables

No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author