Conversation
Closed
Signed-off-by: Hilmar Falkenberg <hilmar.falkenberg@sap.com>
hilmarf
added a commit
that referenced
this pull request
Apr 28, 2026
replaces #1 Signed-off-by: Hilmar Falkenberg <hilmar.falkenberg@sap.com>
This was referenced Apr 28, 2026
hilmarf
added a commit
that referenced
this pull request
Apr 28, 2026
replaces #1 Signed-off-by: Hilmar Falkenberg <hilmar.falkenberg@sap.com>
hilmarf
added a commit
that referenced
this pull request
Apr 29, 2026
replaces #1 Signed-off-by: Hilmar Falkenberg <hilmar.falkenberg@sap.com>
Signed-off-by: Hilmar Falkenberg <hilmar.falkenberg@sap.com>
Durability at the sink is out of scope Signed-off-by: Hilmar Falkenberg <hilmar.falkenberg@sap.com>
Signed-off-by: Hilmar Falkenberg <hilmar.falkenberg@sap.com>
Signed-off-by: Hilmar Falkenberg <hilmar.falkenberg@sap.com>
Signed-off-by: Hilmar Falkenberg <hilmar.falkenberg@sap.com>
Signed-off-by: Hilmar Falkenberg <hilmar.falkenberg@sap.com>
#2 Signed-off-by: Hilmar Falkenberg <hilmar.falkenberg@sap.com>
replaces #1 Signed-off-by: Hilmar Falkenberg <hilmar.falkenberg@sap.com>
Signed-off-by: Hilmar Falkenberg <hilmar.falkenberg@sap.com>
... that uses the standard dedicated `LogRecord` fields for universal concepts and carries all audit-specific data as `Attributes` following the `audit.*` semantic convention namespace Signed-off-by: Hilmar Falkenberg <hilmar.falkenberg@sap.com>
Signed-off-by: Hilmar Falkenberg <hilmar.falkenberg@sap.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This pull request introduces a new Audit Logging signal to OpenTelemetry—a purpose-built observability pipeline for security-relevant events that satisfies compliance requirements such as ISO 27001, SOC 2, PCI-DSS, and HIPAA.
Motivation
The existing OpenTelemetry Logs signal is designed for general-purpose observability and intentionally permits sampling, back-pressure shedding, and record transformation. These behaviors are incompatible with audit logging, where:
A dedicated Audit Logging signal provides:
/v1/audit) for network-level isolation from observability backendsChanges
This PR adds comprehensive specification documentation and establishes the complete audit logging framework:
New Documents
Key Features
✅ Guaranteed Delivery – At-least-once delivery with durable (disk-backed) queuing
✅ Integrity Protection – Optional asymmetric signatures or symmetric HMACs for tamper-evidence
✅ No Partial Success – OTLP receivers reject entire batches if any record fails
✅ Clock Skew Detection – Dual timestamps (event vs. observed) enable clock synchronization verification
✅ Idempotency – RecordId as idempotency key prevents duplicate audit entries on retries
✅ Hash-Chain Support – Optional SequenceNo and PrevHash fields for ordered stream integrity
✅ Compliance Ready – ISO 27001 Annex A requirements built into the core design
Data Model Highlights
AuditRecord – Mandatory fields:
RecordId,Timestamp,ObservedTimestamp,EventNameActor,ActorType,Action,OutcomeTargetResource,SourceIP,Signature,Algorithm,Certificate,Hmac,SequenceNo,PrevHashAuditReceipt – Proof-of-delivery returned by sink:
RecordId(echoed),IntegrityHash(SHA-256),SinkTimestampSpecification Status
LogRecordprotobuf withaudit=trueflag; dedicated/v1/auditendpointReferences
LogRecordas transport container for efficiency