Skip to content

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.

get_threat_management(controller="default")
ParameterTypeRequiredDefaultDescription
controllerstringno”default”Name of the UniFi controller to target. Defaults to "default".