How OpenSearch helps you meet PCI DSS requirement 10 logging
OpenSearch can host the log store and the access controls behind PCI DSS requirements 10.2.1 through 10.5.1, but it does not make your environment compliant. The assessor decides whether your logging meets the standard, and your organization still owns the review procedures, the cardholder data environment scope and the list of log sources. Start by confirming which system components feed the cluster, because an audit log that is not collected cannot be shown to be enabled and active across the environment. PCI DSS v4.0.1 is the only active version of the standard, and the PCI Security Standards Council does not validate compliance itself. A Qualified Security Assessor (QSA) completes a Report on Compliance, or your organization completes a Self-Assessment Questionnaire with an Attestation of Compliance, depending on which applies to you.
Most of the work sits in the OpenSearch Security plugin. Role-based access control, document-level and field-level security, and audit logging for the cluster itself let you limit read access to audit indices to people with a job-related need, which is what requirement 10.3 asks for. Decide which roles can search, which can change index settings or delete indices, and whether any user can impersonate another. Confirm that TLS covers node and client traffic so entries are protected in transit between collectors and the cluster. Requirement 10.3 also expects backups to a secure central location and change detection on log files, so plan snapshot repositories and integrity checks as part of the build, not as an afterthought.
Requirement 10.4.1.1 requires automated log review, and that became mandatory on 31 March 2025. Build alerting rules and dashboards in OpenSearch that surface events such as failed logins, privilege changes and access to stored audit data, and record who reviews the alerts and how exceptions are closed. For retention under requirement 10.5.1, the standard requires at least 12 months of history with at least the most recent three months immediately available. Ask your team to size hot and cold storage against that split and to confirm how long your chosen OpenSearch version is maintained before you commit, since the OpenSearch releases page describes the maintenance policy. Ask your QSA to review the design before the first assessment window.
Mapping requirements 10.2.1 to 10.5.1 to OpenSearch capabilities and configuration
This table maps each PCI DSS requirement 10 control in scope to the OpenSearch feature that supports it, the configuration it needs, and the point where the organization's own process must take over. Read each row as a split: the platform provides the mechanism, while the evidence of consistent operation, review ownership and retention decisions stays with the organization. Use it to scope your design work before deciding how each control will be assessed.
| Requirement | OpenSearch capability and configuration | Where the platform stops |
|---|---|---|
| 10.2.1 and 10.2.2: Audit logs enabled and entry content | Enable the OpenSearch Security plugin audit logging for the cluster, and enable logging on every in-scope source system. Configure ingest pipelines to keep event type, timestamp, success or failure, origin and affected resource fields intact. | Deciding which system components are in scope and confirming each source actually emits the required fields. Auditors will sample sources, not the cluster alone. |
| 10.3.1 and 10.3.2: Read restriction and protection from modification | Use Security plugin roles with index permissions limited to job-related groups, and separate write-only ingest identities from read roles. Restrict admin access with TLS for node and client traffic and deny delete or update rights on audit indices. | Approving who has a job-related need, running access reviews, and managing privileged accounts in the identity provider and admin change process. |
| 10.3.3: Prompt backup to a secure central server | Configure snapshot repositories on separate, access-controlled storage and schedule snapshots of audit indices. Forward a copy of the data to a central log store or second cluster where feasible. | Setting the backup frequency the organization can defend, testing restores, and proving the backup location meets its own security baseline. |
| 10.3.4: File integrity monitoring or change detection on logs | Use a file integrity or change detection tool on the OpenSearch configuration and data directories, and alert on unexpected changes to index settings, roles and snapshot repositories through audit logging. | Choosing the tool, tuning alerts, and investigating changes. The OpenSearch plugins do not replace an independent integrity control. |
| 10.4.1.1: Automated audit log reviews | Build scheduled detectors or alerting monitors over the audit indices to flag failed logins, privilege changes and access to logs. Route alerts to the responding team with defined thresholds. | Defining which events require human review, who reviews the output, how exceptions are handled, and keeping review records. Automation supports the review but does not close it. |
| 10.5.1: 12-month retention with three months immediately available | Use index state management to keep the most recent three months in hot or warm storage and move older indices to a lower-cost tier or snapshot. Set retention deletion only after the 12-month period is met. | Confirming the retention period against the organization's own policy, verifying restores within the required window, and documenting the policy for assessors. |
Which log events and fields 10.2.2 expects in each entry
Requirement 10.2.1 asks for audit logs to be enabled and active on every system component in the cardholder data environment and on the systems that handle cardholder data. Start by building an inventory of those components, including firewalls, routers, databases, application servers, authentication services, and the OpenSearch cluster itself, and assign each one an owner who confirms that native logging is turned on. Requirement 10.2.2 then defines what each entry must contain: the event type, the date and time, whether the event succeeded or failed, where it originated, and the identity of the affected resource. Read the standard directly through the PCI DSS v4.0 SAQ D and confirm with your assessor how they expect each field to be evidenced.
The five 10.2.2 elements rarely arrive under the same names. Firewalls, database engines, application frameworks and the cluster each use their own schema, so the practical work is an ingest pipeline that maps every source into one agreed set of fields before indexing. In OpenSearch, ingest pipelines and processors can rename and derive fields, and a mapping template can fix field types so that timestamps and outcomes are searchable in the same way across sources. Where a source cannot produce a field, such as an origin address on a local service account event, record that gap in the design document and decide whether a compensating source covers it. Keep the mapping in version control so changes are reviewed.
Time stamps only help if the clocks agree. Confirm with the infrastructure team that every source and the OpenSearch nodes synchronize to an approved time source, and record how drift is monitored and what happens when a host falls out of sync. Ask each source owner to confirm the time zone and precision their logs use, then normalize timestamps to one format at ingest. Test the mapping with sample events from each source type and check that all five fields are populated and correctly typed before you enable production collection. Treat that test result as evidence for the assessor.
Restricting read access and protecting logs in OpenSearch
Requirement 10.3 limits read access to audit logs to people with a job-related need. In OpenSearch, that limit is built from the Security plugin's role-based access control, which assigns index and cluster permissions to roles and maps identities from your identity provider onto those roles. For cardholder-adjacent data that appears in log events, document-level security and field-level security can narrow what a role sees inside an index, and field masking can show a partial value where a support analyst needs to recognize a record without seeing the full field. Treat these as design decisions to test, not defaults to assume.
- Role scope: Create roles for audit reviewers, platform administrators and application owners, and give each only the index patterns it needs.
- Document-level security: Filter which documents a role can return, for example by tenant, business unit or event source.
- Field-level security and masking: Hide or mask fields that carry account numbers, token references or other sensitive values from roles that do not need them.
- Identity mapping: Connect the Security plugin to SAML, OpenID Connect or LDAP so that access follows your joiner, mover and leaver process.
- Impersonation and admin rights: Restrict user impersonation and cluster administration to a small named group.
Before sign-off, confirm with a test user that masked and filtered fields behave as the role design states, and check how Dashboards tenants and saved objects are shared.
Requirement 10.3 also requires that audit logs are protected from modification. In practice, this means separating the people who write and manage indexes from the people who read them, encrypting traffic that carries log events, and removing delete and update rights from roles that only need to search. OpenSearch Security provides TLS for node-to-node and client traffic, which protects logs in transit between shippers, ingest nodes and the cluster. Protection at rest and host-level controls depend on your infrastructure and need their own design.
- Index permissions: Grant ingest roles write-only access to log indexes, and deny delete and update permissions to all human roles.
- Separate administration: Keep cluster administrators apart from audit reviewers so that no single role can both change settings and search the trail.
- TLS everywhere: Enable TLS for node and client traffic so that log events are not exposed on the network.
- Audit logging of the cluster: Turn on the Security plugin's audit logs so that changes to roles, users and index settings are recorded.
- Index lifecycle controls: Restrict who can change index lifecycle policies that govern retention.
Confirm these settings by attempting a delete and an update with each role and recording the denial in your test evidence.
Requirement 10.3 calls for prompt backup of audit logs to a secure central server. OpenSearch handles this through snapshots, which copy index data to a snapshot repository. The repository should sit in a location that the cluster's operators cannot silently overwrite, and the snapshot schedule should be tested with a restore, not only with a successful backup job. The snapshot repository design is a separate topic from day-to-day access, so it needs its own owner and its own access rules.
- Snapshot repositories: Register a repository in a secure central location separate from the cluster's data nodes.
- Scheduled snapshots: Define a snapshot policy that runs often enough to meet your internal definition of prompt backup.
- Repository access: Restrict write and delete rights on the repository to the backup role, and log every change to it.
- Restore tests: Restore a sample of indexes to a separate cluster and confirm that event fields, timestamps and counts match.
- Retention alignment: Make sure snapshot retention and index retention together satisfy the 12-month rule in requirement 10.5.1.
Ask your team to confirm the repository's storage location, its access controls and the restore evidence you will show an assessor.
Requirement 10.3 also requires file integrity monitoring or change detection on audit logs. This control checks whether stored logs were altered after they were written. OpenSearch can record changes to its own configuration and security objects through audit logging, but detecting changes to the stored log content and to the files that hold index data is usually handled by file integrity monitoring tools on the host or storage layer. Whether your environment can use such a tool on the cluster's data paths, and which tool meets your assessor's expectations, must be confirmed in your environment.
- Outside OpenSearch: Plan file integrity monitoring or change detection on the host, storage or repository layer as a separate tool with its own alert routing.
- Baseline: Record a hash or equivalent baseline of protected files and snapshot manifests at a known good point.
- Alerting: Send integrity alerts to the same team that reviews audit logs, with a documented response procedure.
- Audit trail of changes: Use OpenSearch audit logs to show who changed roles, index settings or repository registrations.
- Evidence: Keep alert samples and baseline records as evidence of the control.
Confirm with your assessor and your security tooling owner which change detection method satisfies requirement 10.3 for your cardholder data environment.
Configuring OpenSearch for requirement 10 in order
This sequence moves from scope confirmation to a tested cluster that collects, protects, reviews and retains audit logs for PCI DSS requirement 10. Each step closes with a check so the assessor can see the evidence behind the configuration.
Confirm PCI DSS scope and log sources
Before any cluster is built, the organization's team and its assessor agree which systems fall inside the cardholder data environment and which of them must send audit logs. The output is a written log source inventory that lists each system, the event types it produces and the owner responsible for it. Ask the assessor which PCI DSS v4.0.1 requirement and approach (defined or customized) they expect you to evidence, because that choice changes what the logs must prove. The step is done when the inventory is signed off and every in-scope system has a named owner.
Deploy a dedicated cluster with separated node roles
DeployOpen's team, working with the client's platform engineers, deploys a dedicated OpenSearch cluster in infrastructure the client controls, kept apart from application search and general analytics workloads. Dedicated cluster manager nodes are provisioned, and replicas are placed on separate nodes with shard allocation awareness configured so that a single node or zone failure does not remove log copies. The deployment method (Helm, the Kubernetes Operator, packages or Ansible) is chosen from the client's standards. The step is done when cluster health is green and a test shard failover keeps all audit indices available.
Enable TLS and connect an identity backend
The OpenSearch Security plugin is configured with TLS for node-to-node and client traffic, and the cluster is connected to the organization's identity provider through SAML, OpenID Connect, LDAP or another supported backend. Administrative accounts are kept separate from reader and ingest accounts, and no shared or default credentials remain. The output is a documented authentication configuration and a test in which an unauthenticated request is rejected. Confirm with the assessor how credential and key management evidence will be collected.
Define roles that limit log reads to job need
Roles are written so that only staff with a job-related need can read audit indices, using index permissions, document-level security or field-level security where logs contain sensitive values. Ingest service accounts get write-only access, and no role grants the ability to delete or alter audit indices. Each role is mapped to a named job function in the access matrix. The step is done when a test user from each role confirms the expected read and write results, and the matrix is saved under change control.
Enable audit logging and log integrity controls
Audit logging of the OpenSearch cluster itself is switched on so that authentication events, permission changes and administrative actions are recorded and forwarded to the central log store. Integrity protection is planned at this stage, including restricted write paths and a change detection method for the audit indices, as required by PCI DSS requirement 10.3. Confirm with the assessor which file integrity or change detection tool they accept for the logs. The step is done when a test administrative change appears in the audit trail and the detection method raises an alert on a controlled modification.
Set snapshot schedules and retention with a three-month hot window
Index lifecycle policies are configured so that the most recent three months of audit logs stay in searchable storage, and older data is moved to a retention tier or snapshot repository that keeps the total history at least 12 months, as PCI DSS requirement 10.5.1 requires. Snapshot schedules are set to a secured repository that is separate from the cluster, with access limited to the backup administrators. The step is done when the lifecycle policy shows the transitions in a dry run and the snapshot repository contains a recent successful snapshot.
Build automated review alerts
Automated mechanisms are configured to review audit logs for the events the organization's risk analysis selects, such as failed logins, privilege changes and access to cardholder data systems, as PCI DSS requirement 10.4.1.1 requires. Alerts are routed to a named responder, and each alert has documented triage steps and a record of review. Teams should confirm with their assessor which events they must review and how often reviews must be evidenced. The step is done when a test event triggers an alert, reaches the responder and leaves a review record.
Test log integrity and restore before assessment
Before the assessment, the team runs an integrity test that compares audit record counts and hashes against the source systems, and performs a restore of a snapshot into an isolated cluster to show that historical logs are recoverable and readable. The results, including any gaps or failed restores, are recorded and fixed before the assessor review. The step is done when the restore completes, a sample of retained records matches the source, and the test report is filed with the compliance evidence.
Building automated log review that satisfies 10.4.1.1
Requirement 10.4.1.1 requires automated mechanisms to perform audit log reviews, and it has been mandatory since 31 March 2025. In OpenSearch, the review engine is usually a combination of scheduled queries, alerting monitors and dashboards that run against the indices holding your audit logs. Alerting monitors can be configured to evaluate a query on a schedule and send notifications when conditions match, while dashboards give analysts a standing view of the same events. Start by writing down the events you will review, such as failed and successful authentication to in-scope systems, privilege changes, access to cardholder data stores, changes to audit configuration, and log pipeline failures. Each of these becomes a query with a defined threshold and a defined recipient. Confirm the exact monitor types and notification channels available in your OpenSearch version against the alerting documentation before you design around them.
The standard leaves the choice of which events to review and how often to the entity, so that decision belongs in a written review procedure. Set the frequency per event class, and make sure the procedure names the role responsible for each class and the escalation path when a monitor fires or stops firing. Treat a silent monitor as a finding: test that each alert still triggers by injecting a known event in a non-production index, and record the test. Also decide who may edit monitors and dashboards, since changing a threshold is itself a change to your review control and should be restricted and logged through the Security plugin's audit settings.
Triage records are the evidence an assessor will ask for. For each alert, keep the time it fired, the query or monitor version, the event reviewed, who triaged it, the disposition and any ticket reference. Some teams store these records in a separate OpenSearch index with restricted write access, or in their case management tool, but either way the record must be retrievable and tied to the alert. Review the procedure itself on a schedule, and confirm with your assessor or your qualified security assessor whether they expect a particular record format. The review procedure and its records are your organization's responsibility. DeployOpen can build the monitors, dashboards and record store and document the procedure, but it does not decide your review scope or sign off that the control meets the requirement.
Evidence an assessor will ask for from the OpenSearch layer
An assessor testing requirement 10 will not take the cluster's word for it. Each item below is a configuration or record that shows how audit logs are collected, protected, reviewed and kept, and each should be versioned and retained as the assessor's sample source.
Role and user configuration exports
Export the Security plugin role mappings, roles, users and backend configuration on a schedule and store them in version control. Assessors sample these to confirm that read access to audit logs goes only to people with a job-related need under requirement 10.3. Keep dated exports so you can show who had access at a past point in time, not only today. Check that the log index roles exclude administrators who do not need to read logs.
OpenSearch security docsAudit log settings and samples
Keep the audit logging configuration and sample records showing the fields each entry carries. Requirement 10.2.2 expects event type, date and time, success or failure, origin and the identity of the affected resource, so pull real samples from the cluster and map each field to that list. Store the configuration in Git and retain samples from each period so the assessor can test coverage across the review window.
TLS and identity configuration
Retain the TLS settings for node and client traffic and the identity backend configuration, such as SAML, OpenID Connect or LDAP. Assessors use these to check that log data moves over protected channels and that users authenticate through the central identity source. Record certificate issuance and rotation dates alongside the files, so each sampled setting can be tied to the period it was in force.
Snapshot schedules and restore test records
Keep the snapshot repository definitions, schedules and retention settings, along with dated records of test restores. Requirement 10.3.3 expects audit logs to be backed up promptly to a secure central server, so the schedule shows the cadence and the restore record shows the backup can be used. Note who ran each test, which indices were restored and whether the result matched the source counts.
Retention and index lifecycle settings
Export the index lifecycle policies and index templates that hold audit data for at least 12 months, with the most recent three months kept immediately available for analysis under requirement 10.5.1. The assessor will check that the policy moves older indices to a colder tier rather than deleting them early. Version the policies and keep the change history, since a silent edit to a retention period is a common finding.
Automated review alert definitions with triage records
Keep the monitor and alert definitions that perform automated log review under requirement 10.4.1.1, which has been mandatory since 31 March 2025. Pair them with triage records showing each alert, who reviewed it, the disposition and any follow-up. Assessors usually sample a few alerts and ask for the matching triage entries, so confirm that each alert type links to a documented response procedure.
Questions buyers ask about OpenSearch and PCI DSS requirement 10
Is OpenSearch enough on its own to meet PCI DSS requirement 10?
No. OpenSearch can collect, store, protect and search audit logs, but requirement 10 is met by the whole logging process: the log sources that are enabled, the content of each entry, who can read the logs, how reviews are performed and recorded, and how retention is enforced. OpenSearch Security provides role-based access control, field and document controls, TLS and audit logs for the cluster itself, which cover much of the protection work under requirement 10.3. Your team still has to decide which systems send logs, prove that each entry carries the required fields, define the automated review mechanism required by 10.4.1.1, and document the evidence. Your assessor, such as a Qualified Security Assessor or the entity's own assessment process, decides whether the result meets the requirement.
What drives the cost and effort of a PCI DSS logging build on OpenSearch?
The main drivers are the number and type of log sources, the daily log volume, the retention volume, the identity integration, and how much review automation you need. Each additional source adds parsing, field mapping and testing. Retention is the largest recurring factor because 12 months of history with the most recent three months immediately searchable, as set by requirement 10.5.1, determines storage size and the hot tier that must stay available. Identity integration with your provider, the number of roles and the review workflows also add design and testing time. One-time costs cover design, build, hardening and documentation. Recurring costs cover infrastructure, patching, upgrades and any support retainer. Ask for a written scope that lists each of these drivers separately, so you can compare quotes on the same basis.
How long does an OpenSearch build for PCI DSS requirement 10 take?
Duration depends on the size of the scope and how ready your inputs are, so no fixed figure applies. The build usually follows a sequence: confirm the scope and log source inventory, design the cluster and retention tiers, integrate identity and access roles, onboard sources and normalize their fields, build review automation and alerting, test retrieval and the audit trail, and then document the controls. Delays most often come from unclear scope, sources that cannot emit the required fields, identity approvals, and hardware or cloud capacity lead times. Ask the implementation partner for a timeline in the written scope that names the dependencies on your side and the acceptance tests that close each phase.
What must our team provide before an OpenSearch logging project starts?
Before work starts, your team should provide:
- A defined PCI DSS scope: the cardholder data environment, connected systems and any service providers whose logs matter
- A log source inventory listing each system, its log format, its current logging settings and its owner
- Your identity provider details and the access model, including the groups that need read access to logs
- Storage and hosting decisions: where the cluster runs, the capacity for 12 months of retained data and the backup location
- Named owners for review, incident response and sign-off
Without the scope and inventory, a partner cannot estimate the build reliably. Ask for these inputs to be listed as dependencies in the written scope.
Can our internal team build an OpenSearch PCI DSS logging platform without a partner?
Often yes, if your team already runs production OpenSearch or Elasticsearch, has engineers who can manage the Security plugin and identity integration, and has someone who understands PCI DSS well enough to map each requirement 10 sub-requirement to evidence. The harder parts are usually the log source onboarding across many systems, the automated review design, and the evidence package that an assessor will sample. Consider whether your team can cover operations, patching and upgrades on a recurring basis, since the platform must stay supported. A partner can take the build, the hardening and the documentation as a fixed-scope engagement, or provide a retainer for ongoing support. Compare the options against your staffing, not only the one-time build effort.
Can DeployOpen certify that our OpenSearch setup is PCI DSS compliant?
No. DeployOpen plans, implements, hardens and documents self-hosted open-source platforms in your infrastructure, and it prepares systems, controls and evidence for compliance assessments. It does not issue audit reports, attestations or certifications. Under PCI DSS, validation is documented on PCI SSC templates, either a Report on Compliance completed by a Qualified Security Assessor or a Self-Assessment Questionnaire with an Attestation of Compliance, and the payment brands determine which entities must validate. Ask your assessor early which evidence they will sample from the logging platform, and agree on that evidence list before the build starts.
What changes for our OpenSearch logging setup when PCI DSS is updated?
PCI DSS v4.0.1 is the only active version as of this writing, after it was published on 11 June 2024 as a limited revision of v4.0 with no added or deleted requirements. The PCI SSC ran a request for comments on v4.0.1 from 3 June to 20 July 2026 to begin the next iteration, and as of October 2026 it had announced no release date for a new version. Because requirement 10 controls are implemented in your configuration, a new version could change sub-requirement wording, evidence expectations or testing procedures. Keep your mapping of requirement 10 sub-requirements to configurations, roles and review records under version control, so changes can be reviewed quickly. Confirm the active version with your assessor and the PCI SSC website before each assessment.
How DeployOpen scopes and delivers requirement 10 logging
DeployOpen plans, builds, documents and hands over a self-hosted OpenSearch logging platform inside your own infrastructure, with requirement 10 controls designed in from the start. Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work begins, so your QSA and compliance team can review the design against the standard.
How we scope
- We list every system component and cardholder data environment source that must send audit logs under requirement 10.2.1.
- We map each log source to the event fields required by requirement 10.2.2 and agree which parsing gaps must be closed first.
- We agree in writing who can read audit indexes, how long each tier is kept, and which automated review rules are in scope.
How we build
- We deploy OpenSearch with the Security plugin, TLS, SSO and role-based access so audit indexes are restricted to people with a job-related need.
- We configure index lifecycle, snapshot repositories and retention so the most recent three months stay searchable and the 12-month history is retained.
- We build alerting and automated review rules for audit events, then test them against sample log streams and tamper scenarios before sign-off.
How we hand over
- We document the architecture, log source inventory, role matrix, retention settings and backup procedures in a form your assessor can sample.
- We deliver runbooks for review cadence, alert handling, access requests and failed ingestion, with named owners on your side.
- We train your operators on the cluster, dashboards and evidence exports, and confirm the handover checklist with your team.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers, including OpenSearch patch and minor version updates.
- We can retest access controls, log integrity and review rules after changes to the cardholder data environment or the logging stack.
- Compliance evidence is prepared by DeployOpen, but the QSA or the payment brand determines whether your environment meets PCI DSS.

