secure-logging

Scrub sensitive fields from structured logs before shipping to external platforms.

Updated Mar 29, 2026
One-click install
npx skills add https://github.com/marquesfelip/agents-and-skills --skill secure-logging
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: secure-logging
Source: https://github.com/marquesfelip/agents-and-skills/tree/main/skills/secure-logging
Command: npx skills add https://github.com/marquesfelip/agents-and-skills --skill secure-logging

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Prevents sensitive data exposure in application logs by enforcing scrubbing, redaction, and secure logging practices across codebases and shipping pipelines.

Core Features & Use Cases

  • Structured logging safeguards: scrub password, tokens, API keys, and PII from logs; supports operator visibility without exposing secrets.
  • Pre-shipment protection: redacts sensitive fields before log shipping to external systems; integrates with common JSON log formats.
  • Compliance readiness: prevents leakage of PII to meet privacy regulations and enables auditable trails.

Quick Start

Sanitize and scrub sensitive fields from all log entries across services.

Frequently Asked Questions about secure-logging

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scrub sensitive data and PII from application logs?

Scrub sensitive data from application logs by enforcing field redaction for passwords, tokens, API keys, and PII across structured logging formats. This ensures operator visibility without exposing secrets during troubleshooting.

What's the best way to redact sensitive fields before shipping logs to third-party platforms?

Redact sensitive fields before log shipping by applying pre-shipment scrubbing to common JSON log formats. This prevents sensitive data exposure when logs are transmitted to external third-party logging and error tracking systems.

How does structured logging redaction work for microservices?

Structured logging redaction works by applying consistent field scrubbing rules across microservices and log shipping pipelines. It enforces safe log levels and removes sensitive fields before logs reach centralized tracking platforms.

Do I need log scrubbing to meet compliance and privacy regulations?

Log scrubbing is needed to meet compliance and privacy regulations because it prevents PII leakage in application logs. Enforcing redaction enables auditable trails and ensures sensitive data is not exposed to unauthorized systems.

Can I integrate secure logging with existing JSON log formats?

You can integrate secure logging with existing JSON log formats by applying pre-shipment redaction rules to structured log entries. This compatibility allows you to sanitize sensitive fields without modifying your standard logging pipelines.

Why does pre-shipment redaction matter for error tracking pipelines?

Pre-shipment redaction matters for error tracking pipelines because it prevents sensitive data exposure before logs are sent to external third-party platforms. Scrubbing fields locally ensures secrets and PII never leave your infrastructure.