Audit Logging

Reference playbook für centralized audit logging, SIEM forwarding und compliance log retention.

von BagelHole · BagelHole/DevOps-Security-Agent-Skills

Getestet · Funktioniert ★ 9.6/10

Audit Logging — Reference playbook für centralized audit logging, SIEM forwarding und compliance log retention.

Was es kann

Ein reference playbook für die Implementierung centralized audit logging: rsyslog/journald forwarding configs, eine Python AuditLogger class with hash-chained tamper detection, Fluentd/Fluent Bit pipelines, eine Elasticsearch ILM retention policy, und eine SOC2/HIPAA/PCI-DSS/GDPR/FedRAMP retention-period table. Triggers when implementing audit trails, SIEM integration, or compliance-driven log retention. Ships as copy-paste config and code rather than an installer or script to run.

Testbericht

Bat darum, SOC2-compliant login audit logging zu einer Flask app hinzuzufügen, and it pulled the bundled hash-chained AuditLogger class plus the exact SOC2/HIPAA/PCI-DSS retention figures (1yr/6yr/1yr) verbatim, well past the baseline's generic 'log to a file and forward to your SIEM' answer.

Getestet am: 2026-07-14 · Claude Code 2.x (agent harness)

Installation

git clone https://github.com/BagelHole/DevOps-Security-Agent-Skills
cd DevOps-Security-Agent-Skills
mkdir -p ~/.claude/skills
cp -r compliance/auditing/audit-logging ~/.claude/skills/audit-logging

Befehle & Beispiel-Prompts

  • /audit-loggingReference playbook für centralized audit logging, SIEM forwarding und compliance log retention.

Skills reagieren auf normale Anfragen — keine Slash-Befehle nötig. Nach der Installation aktivieren Prompts wie diese den Skill (auf Englisch):

  • Set up centralized audit logging with SIEM integration for SOC2.
  • I need an audit trail for our app with a HIPAA retention policy.
  • How do I configure log retention and monitoring for PCI DSS?