/prodsec-skills-ge-core:loggingfrom prodsec-skills-ge-core
Enforces logging of access to sensitive external data sources. Covers audit event requirements, log transport protocols (syslog, OTLP, Fluentd), structured logging, and security constraints like no secrets or PII.
Ships in prodsec-skills-ge-core. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
If the data contained and served by external data sources is sensitive, accesses to them MUST be logged. The product SHOULD have the functionality to send these events to an external logging facility using industry standards.
| Event | Details to Capture |
|---|---|
| Data access | Who accessed what data, when, from where |
| Data modification | Who modified what data, what changed |
| Access denial | Failed access attempts (authentication or authorization failures) |
| Bulk operations | Large data exports or queries |
| Connection events | Connection establishment and teardown |
| Schema changes | Structural changes to data sources |
| Requirement | Details |
|---|---|
| External logging facility | Logs must be sendable to an external SIEM or logging platform |
| Industry standard protocols | Use syslog, OTLP, Fluentd, or equivalent |
| Structured format | JSON with consistent field names |
| Principal identity | Every log entry includes the authenticated principal |
| Configurable | Customers must be able to configure the external log destination |
| Non-repudiation | Logs should not be modifiable by the application |
| Rule | Rationale |
|---|---|
| No secrets in logs | Credentials, API keys, and session tokens must never appear in log output |
| No PII in logs | Personally identifiable information creates compliance and privacy risks |
| No session identifiers | Session IDs in logs can enable session hijacking |
| Log injection prevention | Untrusted input in logs can exploit log viewers (XSS, RCE in parsers); sanitize all values before logging |
| Trusted system logging | Logging controls must run on a trusted system (server-side), not client-side |
Log both success and failure of security events:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
12 skills in this plugin
/ai-code-reviewSecurity-focused review of AI-generated or AI-assisted code. Use when reviewing code produced by AI coding assistants, auditing AI-generated patches, verifying AI-assisted contributions before merge, or when a review needs to account for failure modes specific to AI code generation.
/ai-systems-securitySecure AI-powered products and infrastructure. Use when integrating LLM APIs, deploying model-serving infrastructure, building agent workflows, connecting MCP servers, or reviewing AI system architecture for security gaps.
/authenticationEnforce standard authentication for external data source connections. Use when integrating, configuring, or reviewing connections from AI systems to external databases, APIs, or data services./container-hardeningHarden container images and runtime configuration. Use when building, reviewing, or auditing Containerfiles, Dockerfiles, container compose files, or Kubernetes pod security settings.
/dependency-vulnerability-auditSupply chain security audit using CLI vulnerability scanners, license compliance checks, and supply chain risk assessment. Use when auditing project dependencies for known CVEs, license concerns, and supply chain health.
/input-validation-injectionApply when reviewing or writing code that processes untrusted input, constructs queries or commands, or handles user-supplied data. Covers SQL, LDAP, OS command injection, prototype pollution, and general validation strategy.
npx claudepluginhub redhatproductsecurity/prodsec-skills --plugin prodsec-skills-ge-coreOther plugins' skills for the same job