Repository navigation
OpenTelemetry Security Event Exporter v0.1.3
π Patch Release
This patch release removes specific fields from the JSON payload to streamline the security event format.
β¨ Changes
JSON Payload Simplification
- Removed Fields: The following fields are no longer included in the security event JSON payload:
severity- Log severity textseverity_number- Log severity numbermessage- Log body/message contentsource- Source field from default attributes
What's Still Included
The security event payload now includes:
timestamp- Event timestamp in RFC3339 format- Resource attributes - All resource-level attributes
- Log record attributes - All log-level attributes
trace_id- Trace ID (if available)span_id- Span ID (if available)- Other default attributes (except
source)
π§ Example Output
Before (v0.1.2)
{
"timestamp": "2025-12-19T10:30:00Z",
"severity": "INFO",
"severity_number": 9,
"message": "Security event occurred",
"source": "opentelemetry-collector",
"compliance.control": "check-sysctls",
"k8s.cluster.name": "obs-security-event"
}After (v0.1.3)
{
"timestamp": "2025-12-19T10:30:00Z",
"compliance.control": "check-sysctls",
"k8s.cluster.name": "obs-security-event"
}π Breaking Changes
severityseverity_numbermessagesource
If you have downstream systems that depend on these fields, you will need to update them or handle the missing fields appropriately.
β Testing
All existing tests pass:
- β Configuration validation tests
- β Exporter functionality tests
- β Log processing tests
- β HTTP client tests
π¦ Installation
As a Go Module Dependency
go get github.com/henrikrexed/SecurityEventExporter@v0.1.3Or add directly to your go.mod:
require github.com/henrikrexed/SecurityEventExporter v0.1.3Using in OCB Manifest
exporters:
- gomod: github.com/henrikrexed/SecurityEventExporter v0.1.3Docker Image
docker pull ghcr.io/henrikrexed/securityeventexporter:v0.1.3π Changelog
v0.1.3
- β
Removed
severityfield from JSON payload - β
Removed
severity_numberfield from JSON payload - β
Removed
messagefield (log body) from JSON payload - β
Filtered out
sourcefield from default attributes - β All tests passing
- β Streamlined security event format