# syslog-and-cloudtrail-stream-parsers

syslog-and-cloudtrail-stream-parsers is a Claude Code skill for building streaming parsers for cloud audit logs and syslog. It applies to CloudTrail, Azure Activity/SignIn, GCP Audit Logs, RFC 5424, and CEF feeds.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 73 repo stars
- Author: W4L33Dx
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/W4L33Dx/Cyber-Monster/tree/HEAD/blue-team/security-automation-and-tool-development/syslog-and-cloudtrail-stream-parsers/SKILL.md
- Updated: 2026-11-15
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/syslog-and-cloudtrail-stream-parsers

## What it does

The skill guides work on streaming parsers for CloudTrail, Azure and GCP audit feeds, plus RFC 5424 and CEF syslog. It covers compressed log batches, selected fields from nested objects, and control-plane events such as `StopLogging`, `AssumeRole`, and policy changes.

For CloudTrail, the parser handles `Records[]` and event timestamps. RFC 5424 headers are read positionally, while CEF parsing accounts for escaped separators. Nested values are mapped to a bounded set of typed fields so unusual input cannot drive unbounded memory use. Python 3.11 is required; syntax validation uses `python -m py_compile cloud_audit_parse.py`. Processing stops on a record with an unreadable timestamp.

## Requirements
- Works with: AWS, Azure

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add W4L33Dx/Cyber-Monster --skill syslog-and-cloudtrail-stream-parsers -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/syslog-and-cloudtrail-stream-parsers/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/syslog-and-cloudtrail-stream-parsers/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add W4L33Dx/Cyber-Monster --skill syslog-and-cloudtrail-stream-parsers -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/syslog-and-cloudtrail-stream-parsers/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add W4L33Dx/Cyber-Monster --skill syslog-and-cloudtrail-stream-parsers -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/syslog-and-cloudtrail-stream-parsers/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install W4L33Dx/Cyber-Monster blue-team/security-automation-and-tool-development/syslog-and-cloudtrail-stream-parsers
```

2. **Manually: put the files in place**
- File: `.github/skills/syslog-and-cloudtrail-stream-parsers/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add W4L33Dx/Cyber-Monster --skill syslog-and-cloudtrail-stream-parsers -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/W4L33Dx/Cyber-Monster --path blue-team/security-automation-and-tool-development/syslog-and-cloudtrail-stream-parsers
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/syslog-and-cloudtrail-stream-parsers/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/W4L33Dx/Cyber-Monster/tree/HEAD/blue-team/security-automation-and-tool-development/syslog-and-cloudtrail-stream-parsers/SKILL.md

## When to use it
- parse CloudTrail JSON or GZIP file batches
- extract nested fields from Azure and GCP audit events
- read RFC 5424 headers without splitting message bodies on spaces
- parse CEF extensions containing escaped delimiters
- flag disabled logging and policy changes

## Example prompts
- Write a streaming parser for a batch of CloudTrail `.json.gz` files.
- Parse CEF messages and preserve escaped extension values.
- Add detection for `StopLogging` to the cloud audit log processor.

## Similar
- [setting-up-cloudtrail-multi-region](https://affpapa.org/en/nevibecode/skills/setting-up-cloudtrail-multi-region.md) — skill · 6900 installs
- [aws-cloudtrail](https://affpapa.org/en/nevibecode/skills/aws-cloudtrail.md) — skill · 376 installs
- [AWS CloudTrail](https://affpapa.org/en/nevibecode/mcp/aws-cloudtrail.md) — MCP server · ★ 9939 repo stars
- [private-connectivity](https://affpapa.org/en/nevibecode/skills/private-connectivity.md) — skill · 4500 installs
- [cloud-audit](https://affpapa.org/en/nevibecode/skills/cloud-audit.md) — skill · 452 installs
- [iam-audit](https://affpapa.org/en/nevibecode/skills/iam-audit.md) — skill · 450 installs

From the same set: [w4l33dx/cyber-monster](https://affpapa.org/en/nevibecode/by/w4l33dx/cyber-monster.md) — 61 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
