Skip to content
Skillpedia
Testing35k · #5873

implementing-endpoint-detection-with-wazuh

Helps your agent set up Wazuh to monitor devices. It detects threats on endpoints and allows response actions. It's useful for device security and alert analysis.

What it does

This tool helps set up Wazuh, a security system, to monitor your computers. It allows you to manage connected devices, create custom security rules, and check if these rules work.

When to use it

  • ✓When setting up a new security monitoring system.
  • ✓When creating custom rules to detect specific threats.
  • ✓When verifying if security rules are working correctly.

Example of what to ask your AI

“Set up Wazuh to detect suspicious activity on all my computers and alert me if something is wrong.”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-endpoint-detection-with-wazuh/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-endpoint-detection-with-wazuh/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

The tool connects to Wazuh using credentials. It can list the monitored devices, search for security alerts, and test new detection rules to ensure they work as expected.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill implementing-endpoint-detection-with-wazuh

Or download just the file:

curl -L https://raw.githubusercontent.com/mukul975/Anthropic-Cybersecurity-Skills/main/skills/implementing-endpoint-detection-with-wazuh/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Implementing Endpoint Detection with Wazuh

Overview

Wazuh is an open-source SIEM and XDR platform for endpoint monitoring, threat detection, and compliance. This skill covers managing agents via the Wazuh REST API, creating custom decoders and rules in XML for organization-specific detections, querying alerts, and testing rule logic using the logtest endpoint.

When to Use

  • When deploying or configuring implementing endpoint detection with wazuh capabilities in your environment
  • When establishing security controls aligned to compliance requirements
  • When building or improving security architecture for this domain
  • When conducting security assessments that require this implementation

Prerequisites

  • Wazuh Manager 4.x deployed with API enabled
  • Python 3.9+ with requests library
  • API credentials (username/password for JWT authentication)
  • Understanding of Wazuh decoder and rule XML syntax

Steps

Step 1: Authenticate to Wazuh API

Obtain JWT token via POST to /security/user/authenticate.

Step 2: List and Monitor Agents

Query agent status, versions, and last keep-alive via /agents endpoint.

Step 3: Query Security Alerts

Search alerts by rule ID, severity, agent, or time range.

Step 4: Test Custom Rules with Logtest

Use the /logtest endpoint to validate decoder and rule logic against sample log lines.

Expected Output

JSON report with agent inventory, alert statistics, rule coverage, and logtest validation results.

FAQ

What is Wazuh?

Wazuh is a free program that helps monitor the security of computers and networks, detecting threats and ensuring security rules are functioning.

What are 'agents'?

Agents are small programs installed on the computers you want to monitor. They send security information to the main Wazuh system.

What are 'rules'?

Rules are instructions that Wazuh uses to identify suspicious or dangerous activity on the monitored computers.

Details

Original description by the author

Deploys and configures Wazuh SIEM/XDR for endpoint detection, covering agent authentication and management, custom decoder and rule XML creation, alert querying via the Wazuh REST API, rule testing with wazuh-logtest, and automated active-response actions. Use when setting up endpoint detection and response, writing or testing custom Wazuh rules, or querying and triaging Wazuh alerts.

repo: mukul975/Anthropic-Cybersecurity-Skills

Popularity

GitHub stars
35k
Ranking position
#5873
License
Apache-2.0
Updated
8/31/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills