Agent skill · security · jeremylongshore
klingai-audit-logging
Implement audit logging for Kling AI operations for compliance and security.
Why this skill is useful
Adds executable scripts for compliance-grade audit logging with integrity checks that are not commonly available in public documentation.
What it needs
Requires bash installed locally. About 3k tokens when loaded. Last updated 2026-08-07. 2,604 stars on the source repository.
What this skill does
Kling AI Audit Logging Overview Compliance-grade audit logging for Kling AI API operations. Every task submission, status change, and credential usage is captured in tamper-evident structured logs. Audit Event Schema Audit Events for Kling AI Audit Log Verification Audit Report Generator Compliance Checklist [ ] All API calls logged with timestamp, actor, action [ ] Prompts stored as hashes (not plaintext) for privacy [ ] Audit chain integrity verifiable [ ] Logs retained for required period (typically 1-7 years) [ ] Log access restricted to authorized personnel [ ] Regular verification of chain integrity Prerequisites An approved audit schema, authorized workspace, redaction standard, retention schedule, least-privilege reader roles, synthetic test event, and an incident/rollback owner. Instructions 1. Emit append-only, aggregate or hashed audit events; never store prompts, asset URLs, identities beyond approved pseudonymous references, or credentials. 2. Validate chain integrity, access controls, retention, deletion, policy/rights review, and draft-only workflow events using a sandbox fixture. 3. Halt exports or access changes on integrity, scope, policy, or retention drift; revoke temporary roles and restore the prior audit configuration. 4. Promote only after owner approval and retain a redacted verification receipt for the approved window. Output Produce an audit receipt with environment, event classes, integrity/access checks, redaction and retention/deletion outcomes, policy/rights and draft-only assertions, owner approval, and rollback reference. Exclude event payloads, prompts, assets, and secrets. Error Handling Condition Response --- --- Integrity or access control fails Stop audit delivery, revoke temporary access, and restore the last verified configuration. Sensitive data reaches the log Quarantine and delete the affected record, correct redaction, and document only the redacted incident. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills jeremylongshore/klingai-audit-logging