Expand description
Provides Bulwark’s configuration and configuration management functionality.
Modules§
- toml
- The
tomlmodule provides TOML deserialization and parsing for Bulwark’s configuration files.
Structs§
- Config
- The root of a Bulwark configuration.
- Metrics
- Configuration for metrics collection.
- Permissions
- The permissions granted to an associated plugin.
- Plugin
- The configuration for an individual plugin.
- Preset
- A mapping between a reference identifier and a list of plugins that form a preset plugin group.
- Resource
- A mapping between a route pattern and the plugins that should be run for matching requests.
- Runtime
- Configuration for the runtime environment.
- Secret
- Configuration for a secret that Bulwark will need to reference.
- Service
- Configuration for the services being launched.
- State
- Configuration for state managed by Bulwark plugins.
- Thresholds
- Configuration for the decision thresholds.
Enums§
- Config
File Error - This error will be returned if an attempt to load Bulwark’s configuration file fails.
- Config
Serialization Error - This error will be returned if an attempt to serialize a config structure fails.
- Plugin
Access - The access control applied to the plugin.
- Plugin
Conversion Error - This error will be returned if an attempt to convert a plugin fails.
- Plugin
Location - The location where the plugin WASM can be loaded from.
- Plugin
Verification - Verification that plugin contents are what was expected.
- Reference
- Wraps reference strings and differentiates what the reference points to.
- Resolution
Error - This error will be returned if attempting to resolve references fails.
- Secret
Conversion Error - This error will be returned if an attempt to convert a secret fails.
- Secret
Location - The location where a secret is stored.
Constants§
- DEFAULT_
ADMIN_ PORT - The default
Service::admin_portvalue. - DEFAULT_
MAX_ CONCURRENT_ REQUESTS - The default
Runtime::max_concurrent_requestsvalue. - DEFAULT_
MAX_ PLUGIN_ TASKS - The default
Runtime::max_plugin_tasksvalue. - DEFAULT_
OBSERVE_ ONLY - The default
Thresholds::observe_onlyvalue. - DEFAULT_
PLUGIN_ WEIGHT - The default
Plugin::weightvalue. - DEFAULT_
PORT - The default
Service::portvalue. - DEFAULT_
RESTRICT_ THRESHOLD - The default
Thresholds::restrictvalue. - DEFAULT_
STATSD_ BUFFER_ SIZE - The default
Metrics::statsd_buffer_sizevalue. - DEFAULT_
STATSD_ PORT - The default
Metrics::statsd_portvalue. - DEFAULT_
STATSD_ QUEUE_ SIZE - The default
Metrics::statsd_queue_sizevalue. - DEFAULT_
SUSPICIOUS_ THRESHOLD - The default
Thresholds::suspiciousvalue. - DEFAULT_
TRUST_ THRESHOLD - The default
Thresholds::trustvalue.