首页/ AI 技能 / @skilllib/skill-2117939930272411602
Skill站外收录 @skilllib/skill-2117939930272411602

klingai-audit-logging

实现 Kling AI 全链路操作审计追踪,覆盖 API 调用、用户行为、安全事件及合规性日志生成,支持时间戳标记、防篡改校验与上下文元数据捕获,满足 SOC 2、GDPR 等监管审计要求。

0.0 (0) 12 次安装 原作者 编程导航
收录于 2026-01-22

Skills.MD

# Klingai Audit Logging ## Overview This skill demonstrates implementing comprehensive audit logging for Kling AI operations including API calls, user actions, security events, and compliance-ready logs. ## Prerequisites - Kling AI API key configured - Log storage (file, database, or cloud logging) - Python 3.8+ ## Instructions Follow these steps for audit logging: 1. **Define Events**: Identify what to log 2. **Create Logger**: Implement logging infrastructure 3. **Capture Context**: Include all relevant metadata 4. **Store Securely**: Use tamper-evident storage 5. **Enable Search**: Make logs queryable ## Output Successful execution produces: - Timestamped audit events - Tamper-evident checksums - User activity summaries - Compliance-ready logs ## Error Handling See `{baseDir}/references/errors.md` for comprehensive error handling. ## Examples See `{baseDir}/references/examples.md` for detailed examples. ## Resources - [Audit Logging Best Practices](https://cheatsheetseries.owasp.org/cheatsheets/Logging_Cheat_Sheet.html) - [SOC 2 Logging Requirements](https://www.aicpa.org/soc) - [GDPR Audit Requirements](https://gdpr.eu/article-30-records-of-processing-activities/)

评论 0

还没有评论,来抢沙发。