Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

generate-security-data

Skill by elastic

Generates high-fidelity Elastic Security test data for local development. It runs the Security Solution data generator against a local Kibana and Elasticsearch stack for engineers and agents.

  • Score 80
  • 21k stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install generate-security-data

Built from the published package, never by AI.

git clone --depth 1 https://github.com/elastic/kibana /tmp/kibana && mkdir -p ~/.claude/skills && cp -r /tmp/kibana/x-pack/solutions/security/plugins/security_solution/.agents/skills/generate-security-data ~/.claude/skills/generate-security-data

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install generate-security-data in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Generate Security Data creates realistic Elastic Security data for local development and testing. It runs a checked-in CLI wrapper from the Kibana repo root, which loads the Security Solution data generator. The generator can write endpoint events, endpoint alerts, Security detection alerts, Attack Discoveries, and cases to a local Kibana and Elasticsearch stack.

The skill offers flags for host and user counts, date ranges, deterministic seeds, skipping alerts, cleaning generated data, and targeting a Kibana space. It is meant for engineers and agents who need to build, debug, or reproduce Security Solution workflows. The source says it must not be used against cloud, serverless, shared, staging, or production deployments, and it is not meant for customer-facing demos.

Written from the project's SKILL.md and checked against it.

What it can do

  • Endpoint events and alertsGenerates raw endpoint events and endpoint alerts, or only these with the skip-alerts flag.
  • Security detection alertsGenerates Security detection alerts by default, including rule preview work for prebuilt rules.
  • Attack DiscoveriesCreates synthetic Attack Discoveries from generated alerts using the attacks flag.
  • Kibana casesCreates cases from generated Attack Discoveries using the cases flag, which implies attacks.
  • Clean generated dataRemoves generated data for the selected range before writing fresh data with the clean flag.
  • Deterministic seedsUses a seed value to keep scaling and host-user assignment repeatable across runs.
  • Space targetingSends generated data to a chosen Kibana space with the spaceId flag, defaulting to default.

What you need

  • Local Kibana running
  • Local Elasticsearch running
  • Repo dependencies installed with pnpm kbn bootstrap
  • Node.js to run the generator CLI
  • Privileges described in the Security Solution scripts data README for alerts, Attack Discoveries, and cases

Try asking

  • Generate 100 endpoint events and alerts for 5 hosts and 5 users locally
  • Create Attack Discoveries and cases in my local Kibana default space
  • Clean generated data for the last day, then regenerate with seed abc123

Good to know

  • Only localhost and 127.0.0.1 targets are allowed.
  • Not for cloud, serverless, shared, staging, or production deployments.
  • Not meant for polished customer-facing demo content.
  • The clean flag deletes generated Security alerts, Attack Discoveries, cases, and episode indices in scope.

Security check

B
  • Allowed to use Bash without limitsIn SKILL.md

Checked automatically: x-pack/solutions/security/plugins/security_solution/.agents/skills/generate-security-data/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: Bash

Alternatives to generate-security-data

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

generate-security-data: common questions

Can I use this skill against a cloud Elastic deployment?

No. The source says it must not be used against cloud, serverless, or shared remote deployments, and only local hosts are allowed.

What happens if the Security alerts index does not exist yet?

The generator still indexes raw events and endpoint alerts but skips copying Security alerts. The source says detections need to be initialized in that case.

Does the skill need API keys or cloud credentials?

The source says it uses only local development auth, such as the generator defaults or local elastic:changeme, and it does not accept cloud credentials or API keys.

How do I install generate-security-data?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is generate-security-data free?

The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.

Is generate-security-data safe to use?

It scores 80 of 100. Grades: maintenance A, licence F, quality A. Security check: grade B (allowed to use bash without limits). Review the code before you install. How grades work.

What are alternatives to generate-security-data?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

generate-security-data Install

Add to stack

Loading.