get_threat_management
get_threat_management
Section titled “get_threat_management”Return current Threat Management (IDS/IPS) configuration.
Side effects: None (read-only).
Reads the controller’s ips setting record and projects it to the
operator view: enabled (true when mode is ids or ips),
mode (one of off / ids / ips),
enabled_signature_categories (the IDS/IPS Emerging Threats rule
groups that are turned on), enabled_networks (network IDs the
engine inspects), plus the adjacent booleans for endpoint scanning,
ad blocking, DNS filtering, and honeypot.
Example
Section titled “Example”get_threat_management(controller="default")Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
controller | string | no | ”default” | Name of the UniFi controller to target. Defaults to "default". |