elastic avatar

Security Generate Security Sample Data

Generates ECS-compliant security events, attack scenarios, and synthetic alerts straight into your Elastic Security deployment. You get five data packages (system, endpoint, Windows, AWS, Okta), four pre-built attack simulations including a full ransomware kill chain, and alerts that populate the actual Alerts tab with MITRE ATT&CK mappings. The demo-walkthrough script is genuinely thoughtful: it generates everything and opens Kibana for you. Continuous mode streams events on an interval so your dashboards stay live during presentations. This is purpose-built for POCs and demos where you need realistic security data without the usual painful setup. The cleanup flag actually works, which matters more than it should.

GitHub stars
503
last updated
Jun 1, 2026

Install

$ npx -y skills add elastic/agent-skills --skill security-generate-security-sample-data --agent claude-code

Installs into .claude/skills of the current project.

Files

Generate Security Sample Data

Generate ECS-compliant security events, multi-step attack scenarios, and synthetic alert documents that populate Elastic Security dashboards, the Alerts tab, and Attack Discovery.

Quick start

For a zero-friction experience that generates everything and opens Kibana:

node skills/security/generate-security-sample-data/scripts/demo-walkthrough.js

Workflow

- [ ] Step 1: Set environment variables
- [ ] Step 2: Generate sample data
- [ ] Step 3: Explore in Kibana
- [ ] Step 4: Clean up when done

Step 1: Set environment variables

export ELASTICSEARCH_URL="https://your-project.es.region.aws.elastic.cloud"
export ELASTICSEARCH_USERNAME="admin"
export ELASTICSEARCH_PASSWORD="your-password"
export KIBANA_URL="https://your-project.kb.region.aws.elastic.cloud"

Step 2: Generate sample data

Generate everything at once
node skills/security/generate-security-sample-data/scripts/sample-data.js \
  system endpoint okta aws windows --scenarios --alerts
Generate only events

Sponsors

Details

Repository
github.com/elastic/agent-skills
Categories
Security, AI & Agent Building
License
Apache-2.0
First seen
Jun 11, 2026

More from elastic/agent-skills

All 57

Recommended

More Security
1elastic avatarcloud-network-securityelastic/agent-skills>0skills.sh installs
2hypnguyen1209 avatarcloud-securityhypnguyen1209/offensive-claudeCloud penetration testing — AWS/Azure/GCP privilege escalation, container escape, Kubernetes attacks, serverless exploitation, IaC misconfigurations0skills.sh installs
3spencermarx avatarV3 Security Overhaulspencermarx/open-code-reviewComplete security architecture overhaul for claude-flow v3. Addresses critical CVEs (CVE-1, CVE-2, CVE-3) and implements secure-by-default patterns. Use for sec0skills.sh installs
4telagod avatararchitecting-securitytelagod/code-abyss安全架构与治理:威胁建模 (STRIDE/PASTA/LINDDUN)、零信任身份架构、IAM/SSO/MFA/PAM、合规框架 (SOC2/PCI/HIPAA/GDPR)、DLP、隐私工程、安全控制设计。Use when designing security architecture, threat modeling0skills.sh installs
5yoanbernabeu avatarsupabase-audit-functionsyoanbernabeu/supabase-pentest-skillsDiscover and test Supabase Edge Functions for security vulnerabilities and misconfigurations.1.1Kskills.sh installs
6yoanbernabeu avatarsupabase-audit-rpcyoanbernabeu/supabase-pentest-skillsList and test exposed PostgreSQL RPC functions for security issues and potential RLS bypass.551skills.sh installs