Repository navigation
v0.1.1
OpenTelemetry Security Event Exporter v0.1.1
π Patch Release
This patch release includes important improvements to the JSON output format and conflict detection.
β¨ Changes
JSON Output Format
- Flattened Properties: All properties are now at the root level of the JSON object
- Removed
attributes.prefix from log attributes - Removed
resource.prefix from resource attributes - All properties are now directly accessible at the root level
- Removed
Conflict Detection
- Attribute Conflict Detection: Added detection and warning for conflicts between resource and log attributes
- Warning logs when a log attribute key conflicts with a resource attribute key
- Log attribute values will overwrite resource attribute values (with warning)
- New metric:
attribute_conflictscounter tracks the number of conflicts detected
Metrics Enhancement
- Added
attribute_conflictscounter to track attribute key conflicts - Included in telemetry metrics reporting
π§ Example Output
Before (v0.1.0)
{
"attributes.compliance.control": "check-sysctls",
"resource.k8s.cluster.name": "obs-security-event",
"message": "validation rule passed",
"timestamp": "2025-12-12T14:01:24Z"
}After (v0.1.1)
{
"compliance.control": "check-sysctls",
"k8s.cluster.name": "obs-security-event",
"message": "validation rule passed",
"timestamp": "2025-12-12T14:01:24Z"
}π Breaking Changes
attributes. or resource. are now at the root level without prefixes.
If you have downstream systems that depend on the prefixed format, you will need to update them.
π Bug Fixes
- Fixed JSON structure to have all properties at root level as expected by security event consumers
π¦ Installation
As a Go Module Dependency
go get github.com/henrikrexed/SecurityEventExporter@v0.1.1Or add directly to your go.mod:
require github.com/henrikrexed/SecurityEventExporter v0.1.1Using in OCB Manifest
exporters:
- gomod: github.com/henrikrexed/SecurityEventExporter v0.1.1Docker Image
docker pull ghcr.io/henrikrexed/securityeventexporter:v0.1.1π Changelog
v0.1.1
- β Flattened JSON output - all properties at root level
- β Added attribute conflict detection and warnings
- β
Added
attribute_conflictscounter metric - β Improved logging for conflict scenarios
π Links
- GitHub Repository: https://github.com/henrikrexed/SecurityEventExporter
- Docker Hub:
ghcr.io/henrikrexed/securityeventexporter - Issues: https://github.com/henrikrexed/SecurityEventExporter/issues