Tracecat
Book a demo

Wazuh integration

Search alerts, inspect agents, run FIM and rootcheck scans, and block IP addresses.

SIEM / datalake
41 actions
tools.wazuh

How it works

Each Wazuh action is a YAML template or Python function in Tracecat's open-source registry, under tools.wazuh. Add an action as a step in a workflow, or give it to an agent as a tool.

Credentials

Add these in Tracecat before running the actions. How credentials work

  • Secret wazuh_indexer with WAZUH_INDEXER_USERNAME, WAZUH_INDEXER_PASSWORD
  • Secret wazuh_wui with WAZUH_WUI_USERNAME, WAZUH_WUI_PASSWORD

Actions

Missing an integration? Write your own actions in YAML or Python in a custom registry and sync them from your Git repository.

  • Assign agents to group

    Assign agents to a group, e.g. move compromised hosts into a containment group with a restrictive configuration.

  • Block IP address

    Block an IP address on agents with an Active Response script (`firewall-drop` by default). The agents must have the script installed.

  • Disable user account

    Disable a local user account on Linux or Unix agents with the `disable-account` Active Response script.

  • Get agent active configuration

    Get the configuration an agent is currently running for a component (e.g. `syscheck`/`syscheck`, `logcollector`/`localfile`, `com`/`active-response`, `agent`/`client`).

  • Get agent hardware

    Get the hardware details (CPU, RAM, serial) inventoried on an agent.

  • Get agent hotfixes

    List the Microsoft hotfixes (KBs) installed on a Windows agent.

  • Get agent network addresses

    List the network addresses (IP, netmask, broadcast) inventoried on an agent.

  • Get agent network interfaces

    List the network interfaces (MAC, state, traffic counters) inventoried on an agent.

  • Get agent OS

    Get the operating system details inventoried on an agent.

  • Get agent packages

    List the software packages inventoried on an agent.

  • Get agent ports

    List the open ports and network connections inventoried on an agent.

  • Get agent processes

    List the running processes inventoried on an agent.

  • Get CDB list file

    Get the content of a CDB list file.

  • Get FIM last scan

    Get when the last file integrity monitoring (syscheck) scan started and ended on an agent.

  • Get rootcheck last scan

    Get when the last rootcheck scan started and ended on an agent.

  • Get rules file

    Get the content of a rules file (e.g. `local_rules.xml`).

  • Ingest events

    Send security events to the Wazuh analysis engine. Limited to 100 events per request and 30 requests per minute.

  • List agents

    List Wazuh agents and filter them by ID, status, name, IP, group, OS, or version.

  • List agents in group

    List the agents that belong to a group.

  • List CDB lists

    List CDB lists (e.g. IP or hash blocklists referenced by rules) and their contents.

  • List decoders

    List log decoders filtered by name, file, or status.

  • List FIM findings

    List file integrity monitoring (syscheck) findings for an agent, filtered by path, type, or hash.

  • List groups

    List agent groups with their agent counts and configuration checksums.

  • List MITRE techniques

    List MITRE ATT&CK techniques from the Wazuh MITRE database.

  • List rootcheck findings

    List rootcheck findings (rootkits, anomalies, policy checks) for an agent.

  • List rules

    List detection rules filtered by ID, level, group, MITRE technique, compliance requirement, or file.

  • List SCA policies

    List Security Configuration Assessment (SCA) policy results for an agent, including pass, fail, and score.

  • List SCA policy checks

    List the Security Configuration Assessment (SCA) checks of a policy on an agent, e.g. failed checks with remediation steps.

  • List tasks

    List Wazuh tasks (e.g. agent upgrades) and their status.

  • Remove agents from group

    Remove agents from a group, e.g. release hosts from a containment group.

  • Restart agents

    Restart one or more Wazuh agents, e.g. to apply new group configuration after a response action.

  • Run command

    Run an Active Response command on Wazuh agents.

  • Run FIM scan

    Run a file integrity monitoring (syscheck) scan on agents.

  • Run logtest

    Test a log event against the ruleset and decoders to see which decoder and rule it matches and whether it raises an alert.

  • Run rootcheck scan

    Run a rootcheck (rootkit and policy) scan on agents.

  • Search alerts

    Search Wazuh alerts in the Wazuh indexer by agent, rule, level, rule group, MITRE technique, IP address, time range, or free text. Results are sorted newest first.

  • Search vulnerabilities

    Search vulnerabilities detected on agents in the Wazuh indexer by agent, CVE, severity, package, or minimum CVSS score.

  • Summarize agents status

    Summarize agent connection status (active, disconnected, never connected, pending) and group sync status.

  • Update agents

    Identifies outdated Wazuh agents and updates them.

  • Update CDB list file

    Upload or replace a CDB list file (e.g. add IOCs to a blocklist used by rules). Content uses one `key:value` entry per line. The manager must be restarted for changes to take effect.

  • Update rules file

    Upload or replace a custom rules file (in `etc/rules`). The manager must be restarted for changes to take effect.

Automate Wazuh with Tracecat

Open-source workflows and agents for security teams.