Skip to main content
User guide

Integrations

Certificate management, alert channels and rules, system alerts, Kafka log export, CrowdSec CTI and AlienVault OTX, the LLM connection, the open API and tokens, and the outbound connections list.

The pages in the integrations group of Settings manage certificates and RST WAF's connections to other systems. In offline mode these connections can only reach allowed internal addresses; see Requirements and network.

Certificates

Certificates (证书) needs View protection policy; changes need Modify protection policy.

  • Upload an existing certificate: select Add certificate (添加证书), choose Upload an existing certificate (上传已有证书) as the certificate source, and upload a PEM certificate (with intermediates) and private key, with an optional name.
  • Automatic issuance: request a Let's Encrypt certificate for a domain in the site settings; needs outbound access. Wildcard certificates use DNS validation, with DNS provider credentials configured under Sites and nodes > Global configuration.

Certificate states are valid, expiring (within 14 days) and expired. Expiring certificates raise a system alert once a day. The page shows a validity timeline and lets you copy the SHA-256 fingerprint. Prefer ECDSA P-256 certificates, whose TLS handshakes use less CPU than RSA-2048.

In multi-node deployments, upload certificates rather than using automatic issuance.

Alert notifications

Alert notifications (告警通知) needs View system settings; changes need Modify system settings. The page has five tabs: rules, channels, delivery log, dead letters and outbound policy.

Channels:

TypeNotes
DingTalk botSupports a signing secret
WeCom bot
Feishu botSupports a signature verification secret
Generic webhookHMAC-SHA256 signature
Email (SMTP)STARTTLS 587 (default), SSL/TLS 465 or unencrypted 25
Syslog (SIEM)UDP, TCP or TLS on port 514 or 6514, CEF (default) or JSON format. Needs a Standard or higher licence

Each channel can have a per-minute limit. Delivery states are sent, failed, rate limited, muted, sending, waiting to retry and dead letter. DingTalk, WeCom and Feishu bots use public endpoints and work only in online mode.

Rules trigger on security events or system events, with a counting window, threshold, minimum severity (low, medium, high, critical), cooldown (10 minutes by default for event rules, 60 minutes for system rules) and quiet hours (only critical alerts are sent during quiet hours).

System alerts:

AlertNotes
Data plane unhealthy (数据面异常)Node overload, shared store unreachable and similar
Log ingestion unhealthy (日志采集异常)Problems shipping logs
Certificate expiring (证书即将到期)
New CrowdSec ban (CrowdSec 新增封禁)
CC attack surge (CC 攻击激增)Adaptive CC detected a surge
Site-wide credential stuffing (全站撞库攻击)Account protection detected credential stuffing
Web page tampered (网页被篡改)Tamper protection found a change
New script or connection on a page, unauthorised script violating page policy, payment page header or content changedClient-side security
Licence expiring, licence invalid and console restricted
Rule update rolled back automatically (规则更新已自动回滚)The false-positive safety valve was triggered
Control plane backup unhealthy, hot standby unhealthy, control plane taken over automaticallyCold and hot standby
CTI monthly quota running out

Outbound policy (出站策略) allows only public addresses by default, so that alert channels cannot be used to probe the internal network. If an alert target is internal, allow internal addresses here or add it to the allow list.

Log export

Log export (日志外发) needs View system settings. It sends logs to your own Kafka as one JSON record per message. Syslog export is configured as a channel under alert notifications.

Log typeTopicOptions
Attack eventsrstwaf-events
Access logrstwaf-accessSampling ratio, minimum status code, blocked requests only, domain filter
Audit logrstwaf-audit

Connection settings include broker addresses (up to 10), TLS 1.2 or later with a CA certificate, SASL mechanism (none, PLAIN, SCRAM-SHA-256 or SCRAM-SHA-512; PLAIN needs TLS), acknowledgement level, compression and partition key (source IP, domain or site). Test connection checks the settings before you save.

Threat intelligence

Threat intelligence (威胁情报) needs View system settings, and queries need Query threat intelligence. Both services need RSTWAF_ONLINE_FEATURES=on.

  • CrowdSec threat intelligence: turn on querying of overseas threat intelligence (queried data leaves the country), enter a CTI key, and set the monthly query quota and cache duration (1, 7 or 30 days, default 7). Queries are made on demand from the IP profile in attack sources and send only the queried public IP.
  • AlienVault OTX (your own account): enter an OTX API key and turn on sync to fetch IP indicators from your subscribed pulses periodically, logged only by default. Each category (malicious IPs, botnet / C2, scanning / brute force) can be set to do nothing, log only, add to the bot score, challenge or block. OTX data is used only in your deployment.

The built-in threat intelligence library needs no outbound access; see Access control.

LLM connection

LLM connection (大模型连接) connects to your RST AI Fabric deployment for AI false-positive triage. It is off by default and needs View system settings.

  1. Turn on Enable.
  2. Enter the Address: the OpenAI-compatible RST AI Fabric URL, for example http://<gateway>:8080/v1. http:// is allowed only for internal addresses, and in offline mode only internal addresses are allowed at all.
  3. Enter the API key. It is stored encrypted and never returned by the API. Changing the address requires entering the key again.
  4. Select Test connection, then choose a model.

Advanced sets a CA certificate, the timeout (5 to 300 seconds, default 30) and the daily triage budget (100 requests and 200,000 tokens by default). The LLM connection takes no part in real-time blocking.

Open API

Any account can issue API tokens for itself, and a token carries that account's role.

  1. Select New token (新建 Token) at the top of the page and, in the New API token dialog, enter a name and choose a validity: 30 days, 90 days (recommended), 1 year or no expiry.
  2. The token is shown once. Save it, then select I have saved it (我已保存).

Tokens can be revoked, and the page offers the OpenAPI specification for download. Some actions, such as upgrading software and approving configuration publishing, cannot be done with an API token. The MCP server also uses tokens issued here; see Configuration reference.

Outbound connections

Outbound connections (外联与出境) is a read-only page listing every feature that may connect out. Each row shows blocked, enabled or not in use, with the destination and the data sent, which you can use for a data-transfer assessment. The top shows the master switch: outbound allowed by the deployment, or fully offline (every listed feature blocked). The switch is RSTWAF_ONLINE_FEATURES in .env and needs a service restart after changing.

Administrators can test reachability with Check (检测) on each row. A check connects only to that feature's listed destinations and performs DNS resolution, a TCP connection and a TLS handshake, without sending HTTP requests, credentials or customer data. In offline mode, public destinations show as blocked without any connection attempt.

On this page