Skip to content
Back to skills

Audit Logging

ASecurity

Structured audit logging who what when and tamper evidence

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 10, 2026
ai-agentspython

Security analysis

A100/100

Scanned September 10, 2026

npx -y skills add LoopyLuci/Skills --skill audit-logging --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Audit Logging?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Audit Logging
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/loopyluci-audit-logging/badge)](https://www.skillsdirectory.com/skills/loopyluci-audit-logging)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: audit-logging
description: "Structured audit logging who what when and tamper evidence"
---

# Audit Logging

## Structure
```python
import structlog
logger = structlog.get_logger()

logger.info("user.action", 
    user_id=123,
    action="delete_record",
    resource="invoice-456",
    ip_address="192.168.1.1",
    timestamp="2026-07-29T12:00:00Z"
)
```

## What to Log
- User ID who performed action
- What action was taken
- Resource affected
- Timestamp (ISO 8601)
- Source IP
- Success/failure
- Before/after state for mutations

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.