Curiefense is fully controllable programmatically. All configuration data (security rulesets, policies, etc.) can be maintained singularly, or as different branches for different environments, as you choose. All changes are versioned, and reverts can be done at any time.
This documentation is for version 1.5.0.
(To view docs for a different version, choose it at the top of the left sidebar.)
Curiefense provides traffic filtering that can be configured differently for multiple environments (e.g. dev/qa/prod), all of which can be administered from one central cluster if desired. Here is an overview of its components.
Curiefense Components -- Flow and Relations
In the diagram above, the Server represents a resource protected by Curiefense (a site, app, service, or API). The User is a traffic source attempting to access that resource.
Incoming traffic passes through Curiefense. Hostile requests are blocked.
The other components in the diagram represent the Curiefense platform, as follows:
- Curiefense proxy (represented by the column with the Curiefense logo): Integrated with Envoy or NGINX; performs traffic filtering.
- Elasticsearch stores access logs.
- Access Logs: Traffic data viewable via Kibana.
- Metrics. A Prometheus store of traffic metrics.
- Dashboard. Grafana dashboard(s) with visual displays of traffic metrics.
- Web Console. Curiefense's web UI for configuring the platform.
- Config Server: A service which:
- Receives configuration edits from the Web Console.
- Receives configuration edits from API calls (not shown in the diagram).
- Creates a new configuration version in response to edits.
- Stores the new version in one or more Cloud Storage buckets.
- Cloud Storage: Stores versioned configurations. Each Curiefense proxy periodically checks Cloud Storage: when a new version is found there, the proxy downloads it and updates its security posture.
Curiefense can run in a variety of environments, depending on your specific needs. It can be adapted to many different use cases.
If you create an installation workflow for a situation that is not currently described in this manual, please feel free to submit it for inclusion.
Conceptually, there are three primary roles performed by Curiefense:
- Configuration (allowing admins to define security policies, assign them to URLs, etc.)
- Filtering (applying the defined Configurations to incoming traffic and blocking hostile requests)
- Monitoring (displaying traffic data in real-time and in historical logs).
Each is discussed below.
Curiefense maintains its security parameters as Entries, which are contained in Documents, which are contained in Configurations.
A Configuration is a complete definition of Curiefense's behavior for a specific environment. An organization can maintain multiple Configurations (e.g., development, staging, and production).
Each Configuration contains six Documents (one of each type: ACL Profiles, Rate Limits, etc.) Each Document contains at least one Entry, i.e., an individual security rule or definition. Documents are edited and managed in the Policies & Rules UI or via API.
A Configuration also includes data blobs, which currently are used to store the Maxmind geolocation database. This is where Curiefense obtains its geolocation data and ASN for each request it processes.
A Configuration is the atomic unit for all of Curiefense's parameters. Any edits to a Configuration result in a new Configuration being committed. Configurations are versioned, and can be reverted at any time.
When a Configuration is created or modified (whether by the UI console or an API call), the admin pushes it to a Cloud Storage bucket. An important feature of Curiefense is simultaneous publishing to multiple environments.
Traffic filtering is performed by the Curiefense proxy, as shown in the first diagram above. In other words, this is where the security policies defined in the Configurations are enforced.
Some activities (such as rate limiting) require local data storage. Internally, Curiefense uses Redis for this. Other storage methods can be used if desired.
Each time a request goes through Curiefense, a detailed log message is pushed to elasticsearch.
Traffic data is available in several ways: