RRSCH (RunReveal Scheduler) Configuration Guide
RRSCH runs scheduled tasks and background workers in RunReveal, including detection queries, notifications, threat feeds, enrichments, and AI agents.
Table of Contents
Basic Configuration
RRSCH uses a JSON configuration file:
Common Configuration Options
| Option | Type | Description | Required |
|---|---|---|---|
common | object | Shared configuration across RunReveal services | Yes |
schedule | object | RRSCH scheduler configuration (see Scheduler Types) | Yes |
common Object
| Option | Type | Description | Required |
|---|---|---|---|
chdsn | string | ClickHouse connection string | Yes |
pgdsn | string | PostgreSQL connection string | Yes |
baseurl | string | External API base URL | Yes |
internalBaseURL | string | Internal API URL for service-to-service calls (falls back to baseurl when unset) | No |
appBaseURL | string | Frontend application URL used in notification links and OAuth metadata | No |
secretsConfig | object | Encryption provider configuration for database secrets | Yes |
Running RRSCH
RRSCH can be run using the following command:
Command Line Arguments
| Flag | Description | Default |
|---|---|---|
--config | Path to configuration file | config.json |
Environment Variables
Configuration values can reference environment variables by prefixing the value with $. For example: