Skip to content

08 Logging & Monitoring

Logging and monitoring provide visibility into what is happening inside the Cardholder Data Environment (CDE).

Preventive controls such as:

Firewalls
MFA
Least Privilege
Secure Configuration
Vulnerability Management

reduce the likelihood of compromise.

But organizations also need to detect:

Unauthorized Access
Privilege Changes
Suspicious Authentication
Configuration Changes
Security-Control Failures
Potential Cardholder Data Access

A strong PCI logging and monitoring model looks like:

CDE Activity
Audit Logs
Central Collection
Time Synchronization
Security Analytics
Alerting
Review
Investigation
Incident Response
Evidence Retention

The central question is:

If something suspicious or unauthorized occurs in the CDE, can the organization detect it, determine what happened, identify who performed the activity, investigate it, and retain sufficient evidence?

By the end of this lesson, you will be able to:

  • Explain why logging is important in PCI DSS.

  • Identify important CDE log sources.

  • Understand audit-trail requirements.

  • Identify critical security events.

  • Understand centralized log collection.

  • Understand SIEM integration.

  • Understand daily and periodic log reviews.

  • Understand automated monitoring.

  • Understand alert triage and investigation.

  • Understand privileged-activity monitoring.

  • Understand authentication monitoring.

  • Understand time synchronization.

  • Understand PCI log-retention principles.

  • Protect logs from unauthorized modification.

  • Identify logging coverage gaps.

  • Build a CDE logging inventory.

  • Build a critical-event catalog.

  • Build a monitoring matrix.

  • Test logging and monitoring controls.

  • Collect PCI logging evidence.

  • Maintain continuous monitoring assurance.

Consider:

Payment Database
Unauthorized Query
PAN Export

Without logging:

Who accessed it?
When?
From where?
Which account?
What data?
Unknown

With effective logging:

Identity
Timestamp
Source
Action
Target
Result

can support investigation.

These concepts are related but different.

Logging records events.

Event
Audit Record

Monitoring analyzes events and identifies activity requiring attention.

Logs
Analysis
Alert
Investigation

Weak:

Millions of Logs
Nobody Reviews Them

Logging exists, but security value is limited.

Likewise:

SIEM
Missing CDE Logs

means the monitoring platform cannot see important activity.

Strong PCI monitoring therefore requires both:

Complete Logging
+
Effective Monitoring

Use your:

PCI In-Scope Asset Register

to determine what must generate security-relevant logs.

Potential sources include:

Payment Applications
Databases
Servers
Firewalls
Cloud Platforms
Identity Systems
Kubernetes
Security Tools
Administrative Systems

Create:

01 CDE Logging Coverage Register

Use:

Asset Log Source Logging Enabled Centralized Owner

For applicable in-scope systems:

Target:
100%

A system without required logging can create:

Security Visibility Gap

Create:

02 PCI Log Source Inventory

Use:

Log Source System Events Destination Retention

OS logs may include:

Successful Login
Failed Login
Privilege Escalation
Account Creation
Service Changes
System Errors

Payment applications may log:

Authentication
Administrative Changes
Transactions
Application Errors
Security Events
API Activity

Application logs must be designed carefully to avoid unintentionally recording sensitive payment data.

Database logging can provide visibility into:

Authentication
Administrative Queries
Privilege Changes
Schema Changes
Data Access

Firewalls may record:

Allowed Connections
Blocked Connections
Administrative Changes
VPN Sessions

Identity platforms may record:

Authentication
MFA
Failed Authentication
Privilege Assignment
User Creation
User Disablement

Cloud environments typically provide management-plane audit logs.

Examples may record:

IAM Changes
Network Changes
Storage Changes
Logging Changes
Resource Creation
Resource Deletion

For payment workloads in Kubernetes, consider:

API Server Requests
RBAC Changes
Secret Access
Deployment Changes
Administrative Actions

If deployment pipelines can modify CDE applications, relevant events may include:

Pipeline Execution
Production Deployment
Approval
Credential Usage
Pipeline Configuration Change

Examples:

EDR Alerts
Vulnerability Scanner Events
IDS / IPS Events
WAF Events
DLP Alerts

A useful audit trail should help answer:

Who?
What?
When?
Where?
Result?

Logs should associate activity with:

Individual Identity

where applicable.

Weak:

admin

shared by multiple people.

Stronger:

alice-admin

with traceable individual accountability.

Logs should include:

Date
Time
Timezone / Standard

so events can be reconstructed accurately.

Examples:

Login
Logout
Privilege Change
Configuration Change
Data Access
Security Alert

Capture:

Success
Failure

where applicable.

Failed events can be extremely important.

Useful fields may include:

Source IP
Hostname
Device
Application
Session

Example:

User:
alice-admin
Action:
DELETE
Target:
payment-record

depending on application logging requirements.

Create:

03 PCI Critical Event Catalog

Use:

Event Source Severity Alert Required Owner

Examples:

Repeated Failed Login
Privileged Login
Break-Glass Login
Disabled Account Login Attempt
MFA Failure

Monitor:

New Administrator
Privilege Escalation
Role Assignment
Root Usage
Database Admin Activity

Examples:

Account Created
Account Deleted
Account Enabled
Account Disabled
Password Reset

Monitor attempts to:

Disable Logging
Disable EDR
Change Firewall Rules
Disable MFA
Modify SIEM Configuration

Example:

CDE Server
Stops Sending Logs

This itself should be treated as a monitoring event.

Where applicable, monitor significant access to:

Cardholder Data
Payment Databases
Sensitive Files
Cryptographic Systems

Examples:

SQL Injection Attempt
Authentication Bypass Attempt
WAF Block
Unauthorized API Request

Examples:

CDE Port Scan
Blocked Corporate-to-CDE Connection
Unauthorized Outbound Connection
Unexpected Remote Access

Examples:

Malware Detection
EDR Isolation
Suspicious Process
Credential Dumping

A strong architecture typically sends security-relevant logs to a controlled central platform.

Example:

Payment Application ───┐
Database ───────────────┤
Firewall ───────────────┤
Cloud Platform ─────────┼──→ SIEM / Log Platform
IAM ────────────────────┤
Kubernetes ─────────────┤
EDR ────────────────────┘

Central collection helps with:

Correlation
Retention
Search
Alerting
Investigation
Protection

Weak:

Attacker Compromises Server
Deletes Local Logs

If logs are centrally forwarded:

Server
Central Log Platform

historical evidence may remain available.

A Security Information and Event Management platform can support:

Centralized Logging
Correlation
Detection Rules
Alerting
Investigation
Dashboards

Create:

04 SIEM Monitoring Matrix

Use:

Use Case Source Detection Priority Response

Example:

10 Failed Administrative Logins
Within 5 Minutes

Action:

Security Alert

41. Detection Use Case — New CDE Administrator

Section titled “41. Detection Use Case — New CDE Administrator”
New Privileged Role
Alert
Validate Approval

42. Detection Use Case — Logging Disabled

Section titled “42. Detection Use Case — Logging Disabled”
Audit Logging Disabled
High-Priority Alert

43. Detection Use Case — Firewall Change

Section titled “43. Detection Use Case — Firewall Change”
CDE Firewall Rule
Changed
Validate Change Record

44. Detection Use Case — Public Exposure

Section titled “44. Detection Use Case — Public Exposure”

Cloud rule changes to:

0.0.0.0/0
Administrative Port

should receive immediate attention.

45. Detection Use Case — Database Export

Section titled “45. Detection Use Case — Database Export”

Example:

Unusual Bulk Query
Large Data Export

may trigger investigation.

PCI DSS requires organizations to review relevant security logs and events according to applicable requirements.

The goal is:

Important Security Events
Actually Reviewed

not simply retained.

High-risk systems and security events may require daily review under applicable PCI DSS requirements.

A practical daily review may include:

Critical Security Alerts
Authentication Events
Privileged Activity
Security-Control Failures
Suspicious CDE Activity

Modern environments can automate large portions of review.

Example:

Logs
SIEM Detection Rules
Alert Queue
Analyst Review

Automation does not eliminate the need for:

Investigation
Ownership
Escalation

Create:

05 Daily Log Review Register

Use:

Date Environment Reviewer Alerts Exceptions Status

Evidence should show:

Date
Reviewer
Systems / Alerts Reviewed
Findings
Actions

Weak:

"Logs reviewed."

Strong:

Review Date:
15 Aug
Reviewer:
Security Analyst
Critical Alerts:
8
Investigated:
8
Escalated:
1

Not every log source necessarily receives identical manual review.

Use applicable PCI requirements plus:

Risk
System Criticality
Monitoring Architecture

to establish the review process.

Automated mechanisms can improve:

Coverage
Speed
Consistency
Alert Prioritization

A typical workflow:

Alert
Validate
Determine Severity
Investigate
Escalate / Close

Use standardized categories such as:

Critical
High
Medium
Low
Payment Database Administrator
Logs In
from Unknown Country
MFA Challenge
Bulk Data Query

Potential severity:

Critical

Some alerts are legitimate.

Example:

New Admin Account

was created through an approved access request.

Status:

Expected Activity

Document the validation.

Create:

06 PCI Security Alert Investigation Register

Use:

Alert Source Severity Analyst Result Incident

When monitoring identifies potential compromise:

Alert
Investigation
Security Incident
Incident Response Process

Without historical logs, teams may struggle to answer:

Initial Access?
Affected Accounts?
Systems Touched?
Data Accessed?
Duration?

Logs from different systems must use consistent time.

Example:

Firewall:
10:03
Database:
10:41
Application:
09:55

If clocks are inaccurate, event reconstruction becomes difficult.

A better model:

Approved Time Source
CDE Servers
Network Devices
Databases
Security Systems

Create:

07 Time Synchronization Register

Use:

System Time Source Synchronized Drift Owner

Protect time configuration from unauthorized modification.

Because an attacker could:

Alter Time
Confuse Audit Trail

Monitor significant differences.

Example:

Allowed:
Small Operational Drift

versus:

Detected:
42-Minute Difference

which requires investigation.

Logs are security evidence.

They should be protected against:

Unauthorized Modification
Deletion
Tampering
Uncontrolled Access

Use:

Least Privilege

for log platforms.

Typical users may include:

SOC Analysts
Security Administrators
Auditors

with different roles.

Avoid allowing ordinary CDE administrators to freely:

Modify
Delete

central audit evidence where segregation can be implemented.

Organizations may use:

Write-Once Controls
Immutable Storage
Restricted Deletion
Retention Lock

where appropriate.

Integrity mechanisms can help detect:

Alteration
Deletion
Collection Failure

If the log platform fails:

CDE
No Central Logs

the organization needs to detect that failure.

Monitor:

Last Event Received
Event Volume
Agent Health
Pipeline Errors

Example:

PAY-DB-01
No Logs for 30 Minutes

Alert:

Logging Coverage Failure

Create:

08 Log Collection Health Register

Use:

Source Expected Last Received Status Owner

PCI DSS v4.x includes specific retention expectations for audit logs.

A commonly required model is:

At Least 12 Months
Total Retention

with:

At Least 3 Months
Immediately Available

for analysis, subject to the applicable requirement and assessment scope.

Create:

09 Log Retention Register

Use:

Log Source Retention Immediate Availability Storage Owner
Firewall Logs
3 Months Hot Search
9 Additional Months Archive

Total:

12 Months

Required:

12 Months

Actual:

30 Days

Result:

PCI Logging Gap

A log may technically exist in an archive but take:

3 Weeks

to restore.

That may not meet immediate-availability expectations for the portion of logs required to be readily accessible.

Ensure retention design accounts for:

Daily Event Volume
Growth
New Systems
Security Events

Logs should provide necessary audit detail without unnecessarily recording:

Full PAN
Authentication Secrets
Sensitive Authentication Data

Example:

Transaction:
PAN=4111111111111111

This can expand storage risk and PCI scope.

Prefer appropriate:

Masking
Tokenization
Redaction

depending on the logging use case.

Avoid logging:

Passwords
CVV
Private Keys
API Secrets

Developers should know:

What to Log
What Not to Log
How to Protect Logs

Create:

10 PCI Logging & Monitoring Standard

Include:

Scope
Required Events
Log Fields
Collection
Monitoring
Review Frequency
Retention
Protection
Escalation

Cloud CDEs may require visibility into:

Management Events
Authentication
Network Flow
Storage Access
Configuration Changes
Administrator
Changes Security Group
Cloud Audit Event
SIEM
Alert

Example:

Production Payment Account

has:

Management Audit Logging Disabled

This is a significant visibility gap.

A scalable model:

Payment Account ─────┐
Security Account ────┤
Network Account ─────┼──→ Central Security Logging Account
Management Account ──┘

A dedicated logging/security account may reduce the ability of a compromised workload administrator to destroy audit evidence.

Consider:

API Audit Logs
Container Logs
Ingress Logs
Authentication
RBAC Changes
User
Creates ClusterRoleBinding
cluster-admin

This should generate audit evidence and potentially an alert.

Application container logs may be ephemeral.

Without centralized forwarding:

Pod Deleted
Logs Lost

Monitor production pipeline activity.

Examples:

Deployment Started
Approval Bypassed
Pipeline Modified
Production Secret Accessed

High-risk databases may warrant monitoring for:

Large PAN Queries
Privilege Changes
Schema Changes
Unusual Access Times

Monitoring may also include detection of unauthorized modifications to:

Critical System Files
Configuration
Application Files

where applicable to the PCI control design.

High-risk activity:

Disable Logging
Change Retention
Delete Log Index
Change SIEM Rule

should itself be logged and monitored.

Example:

SIEM Detection Disabled
Alert

using independent control paths where practical.

If a managed security provider performs monitoring:

Organization
+
Provider
=
Monitoring Responsibility

Document exactly:

Who Reviews?
Who Investigates?
Who Escalates?
Who Retains Evidence?

100. Build Monitoring Responsibility Matrix

Section titled “100. Build Monitoring Responsibility Matrix”

Create:

11 PCI Monitoring Responsibility Matrix

Use:

Activity Internal SOC Provider System Owner

Define response expectations.

Example:

Severity Initial Review
Critical Immediate
High 30 Minutes
Medium 4 Hours
Low Next Business Day

Actual targets should align with organizational incident procedures and risk.

Track:

Unassigned Alerts
Open High Alerts
Overdue Investigations

Track:

Metric Target
CDE Logging Coverage 100%
Critical Alerts Reviewed 100%
Daily Reviews Completed 100%
Log Sources Healthy 100%
Time Synchronization 100%
Required Retention Met 100%

Example:

Percentage of in-scope CDE systems
sending required logs
to centralized monitoring

Target:

100%

Example:

Percentage of required PCI security alerts
reviewed within defined SLA

Example:

CDE systems
not reporting to the central SIEM

Target:

0

Example:

Critical CDE security alerts
past investigation SLA

Example:

PCI log sources
below required retention

Example:

CDE systems
with time drift beyond approved tolerance

Sometimes a system cannot provide required logging capability.

Create:

12 Logging Exception Register

Use:

System Logging Gap Risk Compensating Control Owner Expiry

Legacy payment appliance:

Cannot Forward Logs to SIEM

Possible temporary mitigation:

Local Protected Logging
Frequent Collection
Restricted Administration
Enhanced Network Monitoring

while replacement is planned.

Do not allow:

Legacy Logging Exception
Permanent

Use:

Owner
Migration Plan
Expiry
Periodic Review

A practical control test:

CDE Asset Population
Select Sample
Generate Event
Confirm Local Log
Confirm Central Collection
Confirm Timestamp
Confirm Alert if Required

114. Build PCI Logging & Monitoring Testing Checklist

Section titled “114. Build PCI Logging & Monitoring Testing Checklist”

Create:

13 PCI Logging & Monitoring Testing Checklist

For each sampled system:

  • Audit logging enabled.

  • User identity captured.

  • event type captured.

  • timestamp captured.

  • source captured.

  • success/failure captured where applicable.

  • logs centrally collected.

  • log integrity protected.

  • correct retention configured.

  • time synchronized.

  • critical events monitored.

Generate:

Failed Administrative Login

Verify:

System Log
SIEM
Detection

Create controlled test:

Add Test User
to Admin Group

Verify:

Privilege Change Logged
Alert Generated

if the monitoring use case requires alerting.

In an approved test environment, simulate:

Logging Agent Stops

Expected:

Collection Health Alert

Approved test:

Firewall Rule Modified

Verify:

Audit Event
Change Record
Monitoring

Select log from:

11 Months Ago

Verify it can be retrieved if within required retention.

Select log from:

Previous Month

Verify it is readily available for analysis.

Three payment servers do not send operating-system security logs to the central SIEM.

Risk:

CDE Activity
May Go Undetected

Database audit logs are retained for only 60 days.

Potential result:

Retention Gap

CDE security logs are collected, but no documented daily review or automated equivalent monitoring process exists for required events.

Five network devices differ from the approved time source by more than 30 minutes.

Payment database audit logs show all administrator activity under one shared DBA account.

Risk:

Individual Accountability Lost

Application-debug logs contain full PAN values.

Potential impact:

Unnecessary CHD Storage
Expanded PCI Scope
Data Exposure Risk

CDE administrators can delete security logs from the central monitoring platform without independent approval.

Create:

14 PCI Logging & Monitoring Gap Register

Use:

Gap System Risk Severity Owner

Problem:

3 Payment Servers
Not Reporting

Why?

Log Agent Not Installed

Why?

Servers Built Manually

Root cause:

Central logging configuration is not enforced through the approved CDE server baseline.

Install Logging Agent
Update Golden Image
Automatically Validate Log Coverage
Alert on Missing Sources

132. Root Cause Example — Short Retention

Section titled “132. Root Cause Example — Short Retention”

Problem:

Logs Retained 60 Days

Why?

Storage Cost Reduction

Why?

PCI Retention Requirement
Not Included in SIEM Design

Root cause:

PCI log-retention requirements were not incorporated into centralized logging architecture.

Extend Retention
Add Archive Tier
Monitor Retention Policy

Problem:

PAN Appears in Debug Logs

Why?

Application Logs Entire Request Body

Root cause:

Secure software logging standards do not prohibit payment-data logging or enforce redaction.

Stop Full Request Logging
Mask / Redact PAN
Delete Unnecessary Historical CHD
Update Coding Standard
Add Automated Testing

136. Practical Activity — Build CDE Logging Inventory

Section titled “136. Practical Activity — Build CDE Logging Inventory”

Use fictional organization:

CloudShop

Include:

Payment Web
Payment API
Payment Database
Firewall
WAF
Identity Provider
Jump Host
Cloud Platform
Kubernetes
SIEM

For each identify:

Events
Destination
Retention
Owner

137. Practical Activity — Build Critical Event Catalog

Section titled “137. Practical Activity — Build Critical Event Catalog”

Include at least:

Failed Admin Login
New Administrator
MFA Disabled
Logging Disabled
Firewall Change
Database Export
Malware Alert
CDE Connectivity Violation

Assign severity.

138. Practical Activity — Logging Coverage Review

Section titled “138. Practical Activity — Logging Coverage Review”

CDE inventory:

50 Assets

Central logging:

46 Assets

Gap:

4

Determine:

Which Systems?
Why Missing?
Risk?
Correction?
Corrective Action?

139. Practical Activity — Daily Log Review

Section titled “139. Practical Activity — Daily Log Review”

Assume one day generates:

12 High Alerts
55 Medium Alerts
240 Low Alerts

Prioritize review and document:

Reviewed
Escalated
Closed
Incident Created

140. Practical Activity — Time Synchronization

Section titled “140. Practical Activity — Time Synchronization”

Review:

30 CDE Systems

Results:

27 Synchronized
3 Have 20–45 Minute Drift

Determine:

Risk
Root Cause
Correction

141. Practical Activity — Retention Review

Section titled “141. Practical Activity — Retention Review”

Systems:

Firewall:
365 Days
Application:
365 Days
Database:
60 Days
IAM:
400 Days

Identify the retention gap.

Application log contains:

customer=Alice
pan=4111111111111111
status=approved

Document:

Immediate Containment
Scope Impact
Data Removal
Root Cause
Corrective Action

143. Practical Activity — Build SIEM Monitoring Matrix

Section titled “143. Practical Activity — Build SIEM Monitoring Matrix”

Create detection rules for:

New Privileged Account
Repeated Authentication Failure
Logging Disabled
Public CDE Security Group
Unexpected Database Access
Bulk Payment Data Query

Perform a fictional test:

User:
test-admin
Action:
Failed Login

Expected:

System Log
SIEM
Alert
Analyst Review

Document every step.

  • All relevant CDE systems identified.

  • log sources inventoried.

  • centralized logging coverage reconciled.

  • missing sources investigated.

  • authentication logged.

  • failed authentication logged.

  • privileged activity logged.

  • account changes logged.

  • security-control changes logged.

  • significant data-access events logged where applicable.

  • user identity captured.

  • event type captured.

  • timestamp captured.

  • source captured.

  • result captured.

  • target information captured where applicable.

  • logs forwarded centrally.

  • ingestion monitored.

  • missing-source alerts implemented.

  • platform access restricted.

  • critical events defined.

  • detection rules established.

  • alert owners assigned.

  • alert severity defined.

  • investigation workflow established.

  • required daily reviews performed.

  • automated mechanisms validated.

  • review evidence retained.

  • exceptions documented.

  • approved time sources defined.

  • CDE systems synchronized.

  • time changes restricted.

  • drift monitored.

  • applicable log-retention requirements met.

  • recent logs immediately available.

  • archived logs recoverable.

  • retention configuration reviewed.

  • logs protected from unauthorized modification.

  • deletion restricted.

  • privileged log-platform access controlled.

  • integrity monitored.

  • full PAN not unnecessarily logged.

  • SAD not logged.

  • passwords not logged.

  • secrets not logged.

  • logging gaps documented.

  • risk assessed.

  • compensating controls documented.

  • owners assigned.

  • expiry defined.

  • logging tested.

  • central forwarding tested.

  • alerting tested.

  • time synchronization tested.

  • retention tested.

146. Common PCI Logging & Monitoring Mistakes

Section titled “146. Common PCI Logging & Monitoring Mistakes”

Mistake 1 — Logs Exist, So Requirement Is Met

Section titled “Mistake 1 — Logs Exist, So Requirement Is Met”

Nobody reviews or analyzes them.

Some CDE systems are not sending logs.

Mistake 3 — Security-Control Failures Are Not Monitored

Section titled “Mistake 3 — Security-Control Failures Are Not Monitored”

Logging stops silently.

Mistake 4 — Authentication Is Logged but Privilege Changes Are Not

Section titled “Mistake 4 — Authentication Is Logged but Privilege Changes Are Not”

Administrative risk remains hidden.

Historical investigations become impossible.

Incident timelines cannot be reconstructed reliably.

Mistake 7 — CDE Administrators Can Delete Audit Evidence

Section titled “Mistake 7 — CDE Administrators Can Delete Audit Evidence”

Log integrity is weak.

Logging itself creates additional CHD exposure.

Mistake 9 — Cloud Control-Plane Logs Are Ignored

Section titled “Mistake 9 — Cloud Control-Plane Logs Are Ignored”

Critical configuration changes are invisible.

No meaningful evidence of analysis exists.

Systems
Local Logs
Stored Until Disk Fills
CDE Systems
Security-Relevant Events
Centralized Collection
Protected Storage
Time Synchronization
SIEM Analytics
Alerting
Analyst Review
Investigation
Incident Response
Retention

A GRC professional supporting PCI logging and monitoring may:

  • Maintain the logging standard.

  • Maintain the CDE log-source inventory.

  • Reconcile logging coverage.

  • Maintain the critical-event catalog.

  • Review SIEM monitoring coverage.

  • coordinate daily review evidence.

  • review log-retention configuration.

  • review time-synchronization evidence.

  • track logging exceptions.

  • monitor missing log sources.

  • coordinate logging-control testing.

  • track remediation.

  • maintain evidence.

  • support assessor requests.

GRC connects:

Security Operations
SIEM Engineering
Infrastructure
Cloud
Network
Database Teams
Application Engineering
IAM
DevOps
Incident Response
Assessors
Systems
Local Audit Files
Central Log Platform
Basic Review
SIEM
Detection Rules
Alert Investigation
Automated Coverage Monitoring
Correlation
SOAR
Policy Alerts
Real-Time Detection
Behavior Analytics
Automated Investigation
Continuous Control Validation

For every CDE system ask:

What events does it log?
Are successful logins visible?
Are failed logins visible?
Are privileged changes visible?
Can we identify the individual user?
Are timestamps accurate?
Where are the logs sent?
Can administrators modify them?
How long are logs retained?
Are recent logs immediately available?
Who reviews them?
Which events trigger alerts?
What happens if logging stops?
Can we detect security-control changes?
Could the logs accidentally contain PAN or secrets?
Can we reconstruct an incident from these records?

For every detection rule ask:

What attack or control failure
is this designed to detect?

For every alert ask:

Who owns the investigation?

When these questions can be answered consistently, logging becomes an operational security control rather than simply an audit-evidence repository.

  • Logging records activity; monitoring identifies events that require attention.

  • PCI logging should provide accountability across important CDE activity.

  • Complete CDE log-source coverage is essential.

  • Operating systems, applications, databases, IAM, cloud platforms, network devices, Kubernetes, and security tools may all provide relevant logs.

  • Centralized logging improves correlation, retention, protection, and investigation.

  • Critical events should be explicitly defined and monitored.

  • Required log reviews should be demonstrable rather than informal.

  • Automated monitoring can improve scale but still requires ownership and investigation.

  • Time synchronization is essential for accurate incident reconstruction.

  • Logs should be protected against unauthorized modification and deletion.

  • PCI DSS v4.x commonly requires at least 12 months of audit-log history, with at least three months immediately available for analysis, where the applicable requirement applies.

  • Logging platforms should not unnecessarily store full PAN, SAD, passwords, or secrets.

  • Logging failures themselves should be detected.

  • Cloud, containers, Kubernetes, and CI/CD environments require modern logging strategies.

  • Logging exceptions should be risk assessed, compensated, owned, and time-bound.

  • GRC coordinates logging coverage, evidence, retention, testing, exceptions, and assessor support.

Before continuing, make sure you can answer:

  1. What is the difference between logging and monitoring?

  2. Why should CDE log coverage be reconciled against the asset inventory?

  3. What information should an effective audit trail contain?

  4. Why are failed authentication events important?

  5. Why should privileged changes be monitored?

  6. Why is centralized logging useful?

  7. What does a SIEM do?

  8. What is a critical-event catalog?

  9. Why should logging failures generate alerts?

  10. What is the purpose of daily log review?

  11. How can automated monitoring support PCI?

  12. Why is time synchronization important?

  13. How should logs be protected?

  14. What are typical PCI DSS log-retention expectations?

  15. Why should recent logs remain immediately available?

  16. Why is full PAN in application logs a problem?

  17. Why are cloud management logs important?

  18. Why are Kubernetes audit logs important?

  19. How should logging exceptions be managed?

  20. What role does GRC play in PCI logging and monitoring?

➡️ Next: 09 — Security Testing

In the next lesson, you will move from monitoring the CDE into actively validating whether security controls and boundaries can withstand attack.

You will work through:

CDE Scope
Internal Vulnerability Scanning
External ASV Scanning
Application Security Testing
Penetration Testing
Segmentation Testing
Wireless Security Testing
Findings
Remediation
Retesting
Evidence

You will also build practical artifacts including a PCI Security Testing Strategy, PCI Testing Calendar, Penetration Test Scope, Segmentation Test Plan, ASV Scan Tracker, Application Security Testing Register, Wireless Security Review Register, Security Testing Findings Register, Retest Tracker, and PCI Security Testing Evidence Package.