Structs§
- Decision
Components - The primary output of a
PluginInstance’s execution. Combines aDecisionand a list of tags together. - ForwardedIP
- Wraps an
IpAddrrepresenting the forwarded IP for the incoming request. - Plugin
- A singular detection plugin and provides the interface between WASM host and guest.
- Plugin
Instance - An instance of a
Plugin, associated with aRequestContext. - Plugin
Stdio - Wraps buffers to capture plugin stdio.
- Redis
Info - Wraps a Redis connection pool and a registry of predefined Lua scripts.
- RemoteIP
- Wraps an
IpAddrrepresenting the remote IP for the incoming request. - Request
Context - The RequestContext provides a store of information that needs to cross the plugin sandbox boundary.
- Script
Registry - A registry of predefined Lua scripts for execution within Redis.
Enums§
- Context
Instantiation Error - Returned when attempting to create a
RequestContextfails. - Plugin
Execution Error - Returned when an attempt to execute a function within a plugin environment fails.
- Plugin
Instantiation Error - Returned when an attempt to instantiate a plugin fails.
- Plugin
Load Error - Returned when an attempt to load a plugin fails.