SaveMyCert
Log in
5 of 5 free questions left today·for 30 a day
Cloud Data Security

CCSP: Auditability of Data Events, Chain of Custody and Non-Repudiation

18 min readCCSP · Cloud Data SecurityUpdated

Auditability, traceability and accountability of data events mean that every action on data is recorded with the attributes needed to show who did it, when, from where and to what, in logs that can be trusted as evidence. CCSP sub-domain 2.8 covers choosing the event sources and attributes, logging, storing and analysing data events, and the chain of custody and non-repudiation that turn records into evidence. This lesson explains management-plane versus data-plane events and who owns each source per service model, what identity, IP address, geolocation and timestamps can and cannot establish, how to scope logging and keep sensitive data out of logs, how to store logs so the people they record cannot alter them, how retention meets privacy law, how normalisation and correlation IDs enable analysis, what really provides non-repudiation, and how a chain of custody works when the provider holds the evidence.

What you’ll learn
  • Distinguish auditability, traceability, accountability, non-repudiation and chain of custody, and the control that delivers each
  • Identify which event source records a given data event, and who must enable it under IaaS, PaaS and SaaS
  • Define the attributes a data event needs and explain what identity, IP address, geolocation and synchronised UTC timestamps can and cannot establish
  • Scope data-event logging from requirements and classification, and keep sensitive values and unnecessary identities out of logs
  • Design log storage that the recorded administrators cannot alter, tell preventive controls from verifiable integrity, and set retention that satisfies both legal duties and privacy law
  • Make events from many sources analysable through normalisation and correlation IDs
  • Explain what provides non-repudiation and maintain a chain of custody for cloud evidence, including evidence collected by the provider

What are auditability, traceability and accountability of data events?

A data event is any action on data that a system can record: a read, a change, a deletion, an export, a permission change on a data store, or a failed attempt at any of these. Auditability means those events are recorded completely and reliably enough that an independent party can review them; traceability means an action can be followed back through every system it touched to the request that caused it; accountability means each action can be tied to the one identified party answerable for it. Two further properties turn records into evidence: non-repudiation (the originator cannot credibly deny the action) and chain of custody (the evidence can be shown to be what was collected).

PropertyQuestion it answersWhat delivers it
AuditabilityCan someone independent review what happened?The right event sources enabled, complete records, protected storage, adequate retention
TraceabilityCan this action be followed from end to end?Correlation IDs, synchronised UTC timestamps, normalised event schemas
AccountabilityWho is answerable for this action?A unique identity on every event; no shared accounts
Non-repudiationCan the originator deny it to a third party?A digital signature made with a key under the signer's sole control
Chain of custodyIs this evidence the same as what was collected?A documented record of every holder and action, plus hashes taken at acquisition

CCSP sub-domain 2.8 covers three skills: defining event sources and the attributes each event must carry, logging, storing and analysing data events, and chain of custody and non-repudiation. The forensic collection process itself belongs to sub-domain 5.4, security operations and SIEM to 5.6, and retention policy design to 2.7; this lesson covers how they apply to data-event records.

Which event sources record data events in the cloud?

Data events come from several distinct sources, and the most common mistake is assuming the provider's default audit log covers them. It usually does not. Provider audit logs separate two kinds of activity:

  • Management-plane (control-plane) events: operations on resources, such as creating a storage bucket, changing an access policy, resizing a database or deleting a virtual machine. These are typically recorded by default.
  • Data-plane events: operations on the data inside the resources, such as reading an object, querying rows or downloading a file. Because they are high-volume, providers usually record them only when object-level or data-access logging is explicitly enabled, often at extra cost.

An investigation that relies only on default logging can therefore show exactly who changed a bucket policy and nothing about which objects were later read. Other sources fill different gaps:

SourceRecordsCannot tell you
Provider management-plane logWho did what to which resource, whenWhich records or objects were read
Object-level / data-access loggingReads, writes, deletes of individual objects with identityActivity inside an application's own logic
Database audit loggingQueries and changes by user, against tables or rowsNetwork path, infrastructure changes
Application logsBusiness actions (viewed a customer record, exported a report) by the application userAnything the developers did not instrument
Identity provider logsSign-ins, MFA, federation, session issuanceWhat the user did with the data afterwards
Network flow logsConnections between addresses and ports, volumesUser identity or which data object was touched

Who owns each source depends on the service model

The shared-responsibility split decides who can produce each event record:

  • IaaS: the customer installs and runs the operating system and applications, so application and database events are the customer's to configure. The provider supplies the management-plane log; its own infrastructure telemetry stays internal.
  • PaaS: the customer has no access to the underlying host, so its own instrumentation stops at the service boundary. Managed databases and storage normally offer a built-in audit capability that is usually off by default; the customer must turn it on and route its events to retained storage. Records of changes to the resource itself never describe what was done to the data inside it.
  • SaaS: the customer cannot instrument the platform at all, so the provider's audit log is the only complete record of in-application data events. What the customer gets (which events, which attributes, how long the console keeps them, and whether they can be exported by API into the customer's own tooling) is decided by the product and the contract. Secure these terms before the platform goes live, not during an investigation. Assurance about how the provider runs its own controls is a different thing from receiving your own tenant's event records, and any tool placed between users and the service sees only what it is routed or granted.

How do you decide which data events to log?

Start from requirements, not from the available logs. Regulations, contracts, the data's classification and the questions investigators will need to answer determine which events (access, change, export, permission changes, failures) and which attributes must be captured. Only then do you select and configure sources, choose analysis tooling and design protected storage. Turning everything on at maximum verbosity is expensive, buries the important events in noise, and still does not guarantee that the needed attributes are recorded.

Scope full data-event logging by classification

Object-level logging everywhere can multiply logging costs. The defensible way to control cost is to use the classification already done in sub-domain 2.5: enable complete data-event logging on stores that hold regulated or high-sensitivity data, and rely on cheaper management-plane logging for lower classifications. Thinning what is captured inside a regulated store is the wrong lever. Completeness is the property an investigation depends on, data theft shows up as reads rather than changes, and record types that describe connections or resource configuration do not carry the actor and object attributes a data event needs.

Logs record events, not the sensitive data itself

A log is a data store in its own right, usually with wider access and longer retention than the system it describes. Writing full request bodies, passwords or card numbers into logs copies regulated data into it; PCI DSS, for example, requires stored card numbers to be rendered unreadable and forbids keeping sensitive authentication data after authorisation. The root-cause fix is in the log design: record what happened, by whom and to which object, while redacting or tokenising protected values at the point the entry is written. Controls applied to the log store afterwards protect a copy that should never have been made; they do not remove it.

When identities in the logs are themselves the privacy concern, pseudonymisation balances the two needs: names are replaced with consistent tokens so analysts can still follow one person's activity, while the re-identification mapping is held separately under restricted access for authorised investigations. Irreversible anonymisation, or recording only a role, destroys the attribution accountability depends on.

Which attributes must every data event carry?

Every data event must answer who, what, when, where, on which object, and with what outcome. A minimal useful record carries the actor's identity, the action, a synchronised timestamp, the source address (and derived geolocation, if used), the target data object, and success or failure. Each attribute establishes something different, and none substitutes for another.

Identity: the attribute that creates accountability

Only the identity attribute names the party answerable for an action; address, location and time describe the request, not the actor. Accountability therefore requires a unique identity per person or service:

  • Shared accounts defeat it. If several administrators use one login, every event names that login and nobody can be held to an action. The fix is individual named accounts and retiring the shared one. Hardening the shared login or enriching its records improves other properties, but none of that makes the actor unique.
  • Shared roles need the originating identity carried through. When many federated users assume one cloud role, the log shows only the role. Have federation stamp each assumed-role session with the individual who requested it (for example in the session name or a session tag), so every event recorded under the role still names a person. Federation itself stays; it is the session metadata that changes.
  • Service identities identify the service, not the request. In microservices, the account each service uses to call the next shows which service acted, not which user's request caused it; that needs a correlation ID (see analysis, below).

IP address: where the request came from, as seen by the system

The source IP address is the address of whatever opened the connection, which may not be the client. Behind a load balancer or reverse proxy, servers see the intermediary's address; the original client address travels in a forwarded header (the standard Forwarded header defined in RFC 7239, or the widely used de facto X-Forwarded-For), and the application should log it, trusting the header only when it arrives from the known balancer, because a client can forge it. NAT, proxies and VPN gateways likewise replace the user's own address. Network flow logs between the balancer and servers still show the intermediary.

Geolocation: an estimate of the address, not the person

IP-derived geolocation maps address ranges to approximate places. What it yields is an estimate of where a network address sits, not where the person is, where the data is stored or which provider region served the request. A request through a corporate VPN or anonymising proxy appears at the exit point. Geolocation is valuable for anomaly detection, such as impossible travel, but an anomaly is a lead to be resolved, not a verdict: correlate it with VPN gateway and identity-provider sign-in logs (session, device, gateway) before acting either way. Better lookup data sharpens the estimate of the address; it never turns it into a fact about the person.

Timestamp: synchronised and in UTC

Investigations merge events from identity providers, applications, databases and storage into one timeline. If each source keeps its own drifting clock, the merged timeline shows effects before causes (a download before the sign-in), with a gap that differs per source. Two controls are needed together:

  • Synchronise every source to a common time reference (for example NTP), which fixes drift.
  • Record in UTC (or with an explicit offset), which fixes representation: local time repeats an hour when daylight saving ends, so two different instants share one label even on perfectly synchronised clocks.

The ordering key must be the moment each event occurred, measured on a synchronised clock. Any other key either adds transport delays or is meaningful only inside a single system.

How should data-event logs be stored and protected?

Stored logs must be protected from the people they record. A privileged administrator who can modify or delete the log of their own actions makes the log worthless as evidence, so the controls focus on separation of duties, then immutability, then verifiable integrity.

  • Separate log account or tenant. Deliver logs to a log-archive account administered by a different team (typically security). Any protection configured inside the production account remains under the control of the administrators it is meant to constrain.
  • Write-only delivery. Least privilege for each workload's delivery identity is permission to write new log objects only, with no read, overwrite or delete. Retention deletion is done by the store's owner through lifecycle rules, and read access goes to investigators in the security account.
  • Immutability. Write-once (WORM) retention locks prevent alteration and deletion for the retention period.
  • Signed, hash-chained digests. A periodic digest records the hash of each delivered log file and the hash of the previous digest, and is digitally signed.

Preventing tampering and demonstrating that nothing was tampered with are different requirements:

ControlPrevents changeLets a third party verify integrity
Access policies restricting deletionPartly (anyone who can change the policy can bypass it)No
Encryption at restNo (protects confidentiality)No
Write-once retention locksYesNot on its own: it shows that a lock is configured, not that each file is unchanged
Signed hash-chained digestsNoYes: a modified file fails its hash, a removed file leaves a gap in the chain, and the signature stops the digests being regenerated

Strong designs combine them: a separate account, write-only delivery, immutable storage and signed digests.

How long to keep data-event logs

Logs that contain user IDs and IP addresses hold personal data, so privacy law limits how long they are kept. Under the GDPR's storage limitation principle, personal data is kept no longer than its purpose requires; set each log category's retention from its own documented requirement (an access-record regulation, an investigative need defined by counsel, an operational need for debug traces) and delete securely at the end. Indefinite or blanket retention has no documented purpose to justify it, and controls that change how logs are stored do not answer how long they may be kept. Equally, cutting retention below a documented need breaks that need.

Storage limitation does not override a legal record-keeping duty. GDPR allows processing that is necessary to comply with a legal obligation, and the period that obligation sets is the necessary period: keep the records that long, document why, restrict who can read them, and delete when it ends. Stripping identities out before the period ends defeats the purpose the obligation gave the records. Retention policy design in general is taught in sub-domain 2.7.

How are data events analysed and correlated?

Analysis turns events from many sources into answers, and it depends on the events being joinable. Collecting logs in one place is necessary but not sufficient; three things make them joinable:

  • Normalisation to a common schema. Different services record the same person as an email address, a directory principal name or a numeric account ID. Normalising events to one schema, with each source identifier mapped to a canonical user (for example through the identity provider's directory), is the first step that lets one person's activity be followed across services. Per-source dashboards entrench the split.
  • Correlation (trace) IDs. In a distributed application, each service logs its own events with its own request ID, so an incorrect change in one service cannot be tied to the request that caused it. Generating one correlation ID at the entry point (for example the API gateway) and passing it in every downstream call gives each log entry a common key back to the originating request and its user. Central storage and clock synchronisation are complementary but do not create that link.
  • Consistent time. Synchronised UTC timestamps (above) let events be ordered across sources.

Once events are normalised and correlated, they feed alerting and investigation (for example a SIEM) and support the anomaly detection described earlier. Running the security operations centre and its tooling is covered in sub-domain 5.6.

What is non-repudiation, and what actually provides it?

Non-repudiation is the assurance that the party who performed an action cannot later credibly deny it, backed by evidence that holds up before a third party such as an arbitrator or court. It goes beyond its neighbours: integrity shows data was not changed, authentication verifies an identity at the moment of access, and accountability traces actions to an identity. Non-repudiation adds proof of origin that survives with the record.

The standard mechanism is a digital signature made with a private key under the signer's sole control. The comparison below is the distinction most often tested:

MechanismIntegrityOriginNon-repudiationWhy
Hash (for example SHA-256)YesNoNoAnyone can compute a hash of any content
HMACYesYes, between the key holdersNoThe key is shared, so either party could have produced the value
Mutually authenticated TLSIn transitAt connection timeNoProves who was on the connection, but nothing persists with the record
Digital signature (sole-control private key)YesYesYesOnly the signer could have produced it; anyone can verify with the public key

Sole control is the condition. If signing keys sit on a shared server that many administrators can operate, a valid signature proves only that someone with access to that server signed. The record's integrity is still provable, but the named signer can plausibly deny the action. Surrounding the signature with extra evidence helps an investigation, but nothing added afterwards restores sole control. Keys for non-repudiation are therefore held by the individual (for example on a personal token or HSM-backed credential the individual alone can unlock), not by a shared service.

What is chain of custody, and how does it work for cloud evidence?

A chain of custody is the documented, unbroken record of who held a piece of evidence, when, for what purpose and what they did with it, from collection to presentation. Its job is to show that the evidence presented is the same as the evidence collected. Records about how evidence is protected, preserved or where it originated are related, but they are not the custody record: custody is about handling.

Hashes make the chain testable

At the moment of collection, compute and record a cryptographic hash of each evidence file (for example exported audit logs). Whenever the evidence is used, recompute the hash; a match shows the content is unchanged. Each later hand-off is logged with its holder, time and reason. Without those hand-off records, even unchanged files cannot be shown to be unchanged: any undocumented copying or analysis gives the other side room to argue alteration, and controls that protect or preserve the data afterwards cannot close that gap, because they say nothing about who handled it.

Analysts should work on verified working copies while the originals are preserved. When integrity is challenged, answer with something the challenger can check for themselves: recompute the hashes of the preserved originals, compare them with the values recorded at acquisition, and point to the custody entries for each working copy. Statements about the people or tools involved are assertions, and confidentiality controls say nothing about whether a key holder changed the content.

When the provider must collect the evidence

In SaaS, and often in PaaS, the customer cannot reach the systems that hold the evidence, such as the provider's internal access logs for the tenant. The chain then has to start with the provider's steps: the provider documents who collected the data, how and when, and supplies hash values computed at collection, so the customer can verify integrity on receipt and continue an unbroken chain. Anything less leaves the collection step itself undocumented, which is the first gap an opposing expert will probe. Because cooperation cannot be negotiated mid-incident, the right to provider-assisted, documented evidence collection belongs in the contract in advance. Forensic collection methodology is covered in sub-domain 5.4.

Tip. Expect short recall items that separate neighbouring terms (non-repudiation versus integrity, authentication and accountability; what a chain of custody records; which attribute names the actor) and scenario items that ask what to do FIRST or which approach is BEST under a stated constraint. Scenarios turn on which event source actually records a data event and who must enable it under each service model, what an IP address or geolocation can establish behind load balancers and VPNs, clock drift versus time-zone ambiguity, shared accounts and shared roles, scoping logging by requirements and classification without sampling away completeness, keeping sensitive values out of logs while preserving attribution, preventing versus demonstrating log integrity against privileged administrators, retention that satisfies both legal duties and storage limitation, correlation across services, sole control of signing keys, and keeping an unbroken custody record when the provider holds the evidence.

Key takeaways
  • Default provider audit logs record management-plane actions; object- and row-level data events usually need logging explicitly enabled.
  • In IaaS the customer logs its own applications and databases; in PaaS it enables the service's built-in audit feature; in SaaS it depends on provider APIs and contract terms, secured before go-live.
  • Only a unique identity creates accountability: retire shared accounts, and carry federated identities into shared role sessions.
  • IP addresses show the connecting system (often a load balancer, NAT or VPN), and geolocation estimates the address's location, not the person's; correlate anomalies before acting.
  • Synchronise clocks to a common source and record in UTC: one fixes drift, the other fixes daylight-saving ambiguity.
  • Decide events and attributes from requirements first; log regulated stores completely rather than sampling; mask sensitive values and pseudonymise identities where privacy demands it.
  • Store logs in a separate account with write-only delivery and immutability; only signed, hash-chained digests let a third party verify nothing was altered or removed.
  • Set log retention per category from documented requirements; storage limitation bounds it, but a legal record-keeping duty sets a valid necessary period.
  • Non-repudiation needs a digital signature with a key under the signer's sole control; hashes, HMACs and TLS do not provide it.
  • A chain of custody records every holder, time, purpose and action, with hashes taken at collection; when the provider collects evidence, its steps and hashes start the chain.

Frequently asked questions

What is the difference between auditability and accountability in CCSP?

Auditability means data events are recorded completely and reliably enough for an independent party to review them. Accountability means each recorded action can be tied to a unique identified person or service answerable for it. A log can be complete and well protected yet still fail accountability if every event names a shared account.

Why don't cloud audit logs show who read my data?

Most providers record management-plane actions, such as creating a bucket or changing a policy, by default, but treat reads of individual objects or rows as data events that are only recorded when object-level or data-access logging is explicitly enabled, often at extra cost. Without that setting, an investigation finds no record of reads.

Does IP geolocation prove where a user was?

No. IP geolocation uses address-range databases to estimate where a network address sits. VPN gateways, proxies, NAT and carrier networks change that address independently of the person's location, so geolocation supports anomaly detection such as impossible travel but must be confirmed by correlating VPN and identity-provider logs.

Why should cloud logs use UTC timestamps?

Investigations merge events from many systems into one timeline. A common time source fixes clock drift, and recording in UTC fixes representation: local time repeats an hour when daylight saving ends, so two different instants would share the same label. Both are needed for a reliable order of events.

Does a hash or HMAC provide non-repudiation?

No. A hash proves integrity but not origin, because anyone can compute it. An HMAC proves origin only between the parties sharing its key, so either could have produced it. Non-repudiation requires a digital signature made with a private key under the signer's sole control, which a third party can verify with the public key.

What does a chain of custody record?

A chain of custody records every person who held a piece of evidence, when, why and what they did with it, from collection to presentation, together with cryptographic hashes taken at collection. Recomputing those hashes later shows the evidence is unchanged, and the hand-off records show nobody handled it without documentation.

How do you keep chain of custody for SaaS logs you cannot collect yourself?

The provider records its own collection steps (who gathered the data, how and when) and hands over hashes calculated when the data was gathered. The customer verifies the hashes on receipt and continues the custody record from there. The right to this documented, provider-assisted collection should be written into the contract in advance.

How long should data-access logs be kept under GDPR?

No longer than their documented purpose requires, set per log category. Logs with user IDs and IP addresses are personal data, so storage limitation applies, but where a law or regulator requires access records for a set period, that legal obligation defines the necessary period: keep them that long with restricted access, then delete securely.

Source

This lesson covers the "Cloud Data Security" domain of the official CCSP exam guide. Vendors revise their guides — check the source for the current version.

Test yourself on this topic
Practice now

Sign up free to mark lessons complete, bookmark topics and track your exam readiness.

Spotted a mistake in this lesson?