Skip to content

Connectors

Connectors and notifications

A dedicated /connectors page (superusers; everyone else only sees their own Notifications, see below) centralises configuration and health-check testing for every external integration Watcher can talk to: SMTP, Slack, Citadel, TheHive, MISP, LDAP, SSO/OIDC, CertStream, SearxNG, Suspicious, the CyberWatch feeds (CVE, Ransomware.live, RansomLook), WIPO UDRP, the LLM providers (OpenAI, Anthropic, Gemini, Ollama, Generic LLM Provider), and the primary MySQL database.

How it works

  • At startup, a connector's fields are seeded from the corresponding .env / settings.py variables described in Static configuration the first time they're read - nothing changes for existing deployments, and a connector that's already configured via environment variables needs no action here.
  • Editing a value from the dashboard (click Edit on a connector's card, which opens its Configuration) stores an override in the database, which takes effect immediately across the whole app - not just this page's own Test button. SMTP, Slack, Citadel, TheHive, MISP, CertStream, SearxNG, and the CyberWatch feeds all read their live configuration through this same override system, so changing a value here changes real app behaviour immediately, with no restart required.
  • Once a field has been saved here - even cleared to empty - it stops following .env/settings.py, for good. Clearing a field is a deliberate "leave this blank" action, not a way to fall back to the environment default. Each field shows a "From .env" or "Manually set" badge so you always know which state it's in, and a reset button appears on manually-set fields to drop the override and resume following .env/settings.py live.
  • The base URL of the OpenAI, Anthropic and Gemini connectors shows the official API URL known by LiteLLM, with a "LiteLLM default" badge, when neither the dashboard nor .env sets one. Resetting the field brings back the .env value, or this default URL.
  • Sensitive fields (passwords, tokens, API keys) are encrypted at rest with Fernet and shown masked by default. Click the eye icon to decrypt and reveal the stored value, or the crossed-out eye to hide it again.
  • Test runs a real connectivity check (an SMTP handshake, an authenticated API call...) using the values currently saved for that connector, and reports success or failure directly on its card.
  • Two independent statuses are shown per connector: Configured / Incomplete / Disabled reflects whether the required fields are filled in, while Healthy / Unhealthy / Not tested yet reflects the outcome of the last connectivity test. A connector can be fully configured and still unhealthy if the external service itself is unreachable.
  • A scheduled job tests every connector automatically every Monday at 06:00. A Pending Action alert is only queued for connectors marked Configured that fail - a connector nobody has set up yet is still tested (to keep its health badge current) but doesn't raise noise. Repeated failures for the same connector don't create duplicate alerts - the existing pending one has to be resolved first. Manually clicking Test never creates an alert; only the scheduled run does.
  • Each connector shows its plugin version (e.g. v1.0.0) next to its category in the Edit window - a static, manually-maintained value for the connector definition itself, unrelated to the version of the external service it talks to.
  • MySQL, LDAP, and OIDC/SSO are read-only/informational: their configuration always comes from settings.py and can't be changed from this page. For LDAP and OIDC this isn't a UI limitation - Django builds its authentication backends from settings.py once, at process startup, so an override wouldn't take effect without a restart anyway.

Dashboard

  • KPI cards summarise how many connectors are Configured, Incomplete, or Disabled, based on which of their required fields are currently filled.
  • Search and filter connectors by name, category, configuration status, or health status.
  • Connectors are grouped by category by default (Notifications, Threat Intelligence, Authentication, Database...). Toggle Group by category off to display a flat list instead.

AI Connectors & Default AI

  • Each LLM connector (OpenAI, Anthropic, Gemini, Ollama, Generic LLM Provider) has a Use as the default AI switch. The selected connector shows a Default badge and is used by every AI feature of Watcher.
  • Only one connector can be the Default AI at a time: selecting a new one replaces the previous choice.
  • A Default AI must be selected for the summaries to use your provider. Without one, Watcher uses the local AI (the llm container).
  • If the Default AI fails (service unreachable, invalid key...), the fallback of FALLBACK_LLM_PROVIDER is tried, then the Local AI connector (the llm container, downloaded at the first start).
  • The Overview of an AI connector shows its usage over 7, 30 or 90 days (calls, tokens in and out, and an estimated cost from the LiteLLM price list), and the settings of the AI summaries: the typewriter effect and the waiting time between two regenerations.

Notifications Tab

The Notifications tab lists every notification Watcher can send, by module, with one pill per channel (Slack, Citadel, TheHive, Email).

  • A green pill (On) sends that notification on that channel for the whole instance; an outlined Off pill does not. Click a pill to switch it.
  • An orange pill is on but cannot deliver: the connector of that channel is not configured or failed its last test (hover it for the reason). The dot in each column header gives the state of the channel: green connected, orange not configured, red last test failed.
  • A switch at the top of each column (All on / All off) sets a channel for every notification, and the counter of a module on a channel (3/5) sets that channel for the whole module.
  • Each module heading says how many of its notifications are sent somewhere (3/5 active) and folds away with a click (Collapse all / Expand all for the whole list).
  • Search a notification and Active only narrow the list; both are kept in the address.
  • Click the name of a notification to choose what its message says and to see a preview.
  • Slack and Citadel messages show the time (server time) after the module name, for example DNS Threats · alert #17 · 27 Nov 16:42.
  • Send a test to Slack / Citadel (in the same panel) posts the saved message with fictional data, marked [TEST], and notes it in the Deliveries tab of the connector.
  • Many alerts at once: when a job run produces 4 or more alerts of the same notification (suspicious domains, website changes, CVE or victim rule hits, new CVEs or victims), Slack and Citadel get one message that lists them (10 lines, then ... and N more) instead of one each. Set NOTIFICATION_DIGEST_THRESHOLD in the .env file to change the number (0 never groups). TheHive and the e-mail are not grouped.

Notifications for everyone

A user without the administration opens Notifications from the menu: for each module, an E-mail switch (and the kinds of alert it sends) says what Watcher mails them. Only a module whose e-mail an administrator switched on sends anything.

Suspicious

The Suspicious connector (Threat Intelligence category) reads Suspicious, the phishing analysis platform of the CERT. It is read only: nothing is sent to Suspicious, and only a verdict or a count comes back, never a reporter, a mail or a case.

  • Set it up: give its address and the API token of an account of Suspicious that may read verdicts and statistics through the API (the CERT, CISO or Admin group), then click Test. Leave the address empty to switch it off. In the .env file: SUSPICIOUS_URL, SUSPICIOUS_API_KEY, SUSPICIOUS_VERIFY_SSL.
  • DNS Threats: every ten minutes, the domains detected in the last 30 days are asked (50 at a time) and a domain already judged Dangerous or Suspicious in a reported phishing says so in the details of its threat. A domain without a verdict is asked again after a day. Nothing is created from what Suspicious knows: Website Monitoring keeps only the domains of your organisation.
  • Overview: the block Phishing reported shows the mails reported in the last 7 days, the share judged dangerous and the campaigns going on. It is asked every ten minutes at most, and is not shown while the connector is off or paused.

Connector Panel and Deliveries

Click a connector to open its panel on the right. Its address (connector= and ctab=) is kept in the URL.

  • Overview: what the connector is, what it reads or sends, its status and its health.
  • Configuration: its fields. A field that still holds the default of the library says so, and shows an example while it is empty.
  • Deliveries (superusers): the last 100 things the connector did, newest first: a Test, the Weekly check, a Notification (sent or refused, with the reason) or an AI call (model, duration, error). Filter by kind. Older lines are dropped as new ones come in. The same list is available at GET /api/connectors/<id>/deliveries/?kind=.

Scheduled Jobs

The Scheduled jobs tab (superusers) lists every job of Watcher: when it last ran, how long it took (and the trend of its last passes), what it counted, whether it failed or overran its cycle, whether it runs now and when it runs next. The last 50 passes of each job are kept.