Repository navigation
Conversation
Move supervisor attribution to device.container and gateway attribution to resources or unmapped. Remove the top-level container validation exemption and cover exported schemas, gateway profiles, and runtime JSONL attribution. Refs NVIDIA#4915 Signed-off-by: Louis Deng <louisaeilotd@gmail.com>
Port resolved Docker and Podman image identity to the exported-schema implementation. Preserve upstream network trust helpers, validate complete image-bearing events, and assert the actual workload image identity in supervisor JSONL conformance. Refs NVIDIA#4915 Signed-off-by: Louis Deng <louisaeilotd@gmail.com>
Merge upstream dependency security fixes and Go SDK routing updates before review. Validate OCSF regressions, gateway SPIFFE JWT verification, and Docker/Podman end-to-end behavior against the synchronized tree. Refs NVIDIA#4915 Signed-off-by: Louis Deng <louisaeilotd@gmail.com>
|
All contributors have signed the DCO ✍️ ✅ |
|
I have read the DCO document and I hereby sign the DCO. |
|
recheck |
|
@aeilot Let's get those merge conflicts resolved and I can kick off CI for it. |
Sure, I'll do that. |
Signed-off-by: Louis Deng <louisaeilotd@gmail.com>
|
@krishicks The merge conflicts have now been resolved. You can start the CI. |
|
/ok to test 0e08ac2 |
Compatibility review (advisory)New or updated breaking changes; see the full report for all findings. 1. api-behavior — No explicit risk acceptance foundTop-level container.uid and container.name move to device.container for supervisor records and resources or unmapped for gateway records.
2. api-behavior — No explicit risk acceptance foundKubernetes supervisor records previously emitted container.image.name for known image references but now omit the entire image object without a resolved image UID.
Review details
Advisory review; publication gates are unchanged. |
|
Written by Claude Code, reviewed by @krishicks Thanks for this, the supervisor side looks right: 1. Gateway attribution must not route on request-supplied sandbox IDs. Routing should only use identity that came from 2. Keep the image reference when no UID is available. 3. Smaller items.
We'll handle the XSIAM content pack notification before this ships. |
|
Thanks for the review. I’ll make the following changes before requesting another review:
The compatibility advisory will still need an explicit release decision: preserving the image reference prevents information loss, but existing parsers still need to migrate from the legacy field paths. Could you record whether that migration is accepted for v0.1.7 or should move to a later release? Thanks for handling the XSIAM content pack notification before shipping. |
Signed-off-by: Louis Deng <louisaeilotd@gmail.com>
|
Thanks for the detailed review. I’ve pushed the changes in fea7613. Thanks for coordinating the XSIAM content pack notification |
|
/ok to test fea7613 |
Move supervisor attribution to device.container and gateway attribution to resources or unmapped. Remove the top-level container validation exemption and cover exported schemas, gateway profiles, and runtime JSONL attribution.
Refs #4915
Signed-off-by: Louis Deng louisaeilotd@gmail.com
Summary
Fix sandbox-associated OCSF records being rejected by strict OCSF 1.8.0 consumers because of the undefined top-level
containerattribute. Preserve sandbox identity in schema-defined fields and validate the complete records without a container exemption.Related Issue
Closes #4915
Changes
device.containerand declare thecontainerprofile.device. Use sandboxresourcesentries for API Activity and Detection Finding, andunmappedfor other applicable gateway classes. Authentication records do not attach a sandbox container.image.uidfrom the resolved workload image ID, retaining the requested reference inimage.name. Omitimagewhen no resolved UID is available.containerallowance fromopenshell-ocsf-validate, following the validator replacement in feat(ocsf): validate OCSF events against exported JSON Schemas #5019.Kubernetes image enrichment remains a follow-up, as agreed in the issue. Kubernetes records omit
imagewhile retaining sandbox identity.Release Notes
Sandbox attribution paths have changed:
device.container.uidanddevice.container.name.resourcesentries withtype: "sandbox".unmapped.sandbox_idandunmapped.sandbox_name.SIEM parsers using top-level
container.uidorcontainer.namemust update their mappings.The new shape is finalized for review. As discussed in the issue, maintainers will coordinate with the XSIAM content pack maintainer before shipping; that notification remains outstanding.
Testing
After synchronizing with upstream main:
ocsf_consolepassed using rebuilt runtime images.ocsf_jsonl_conformancepassed, validating real supervisor JSONL, sandbox attribution, and the resolved workload image UID.Thirty synthetic records also passed the official OCSF 1.8 validator with zero errors. This online validation is separate from the real JSONL validation performed by the Podman E2E test.
Documentation validation reported zero errors and three warnings: MDX parsing on the unchanged gateway configuration page, redirect checking skipped without authentication, and theme contrast.
Checklist