تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

expanso-log-sanitize

بواسطة aronchick

AI & LLMs
612التنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

"Sanitize log entries by removing passwords, tokens, and sensitive patterns".

الوصف

ما الذي تفعله هذه المهارة

Sanitizes log entries by detecting and removing passwords, tokens, and other sensitive patterns from log streams. Runs as a CLI pipeline for one-off use or as an MCP server for continuous processing.

Running inline in a pipeline means logs are sanitized at the source rather than relying on manual grep/sed scripts that require ongoing pattern maintenance.

متى تستخدمها

  • Scrubbing API keys from app logs before sharing with a support team
  • Removing passwords from CI/CD pipeline output before archiving
  • Stripping auth tokens from debug logs before committing to a repo
  • Cleaning log files before ingesting into a centralized logging service
  • Redacting credentials from logs shared with third-party monitoring tools

مثال على سير العمل

الإدخال

User asks: sanitize logs from my running service

الوكيل
  1. 1

    Pipes service log output to expanso-edge run pipeline-cli.yaml

  2. 2

    Pipeline scans each log entry for sensitive patterns like passwords and tokens

  3. 3

    Matched values are removed or replaced in the log stream

  4. 4

    Sanitized entries are written to stdout

الإخراج

A clean log stream with all sensitive values removed, ready for storage or sharing

المتطلبات

  • Expanso Edge binary installed in PATH (install via: clawhub install expanso-edge)

التثبيت

clawhub install aronchick/expanso-log-sanitize

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط