Repository navigation
Programs and connections in the audit trail, and an execution trace setting - #59
Merged
Merged
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
mayur-tolexo
force-pushed
the
docs/audit-event-classes
branch
from
October 21, 2026 05:23
0686a79 to
7bf6444
Compare
mayur-tolexo
marked this pull request as ready for review
November 2, 2026 13:11
mayur-tolexo
force-pushed
the
docs/audit-event-classes
branch
from
November 2, 2026 13:11
27d2cb5 to
0428b42
Compare
…on_trace The audit trail returns three OCSF event classes: API Activity for a call, Process Activity for a program that ran in the sandbox, and Network Activity for a connection it opened. AuditProcess, AuditFile, AuditDstEndpoint and AuditDevice are exported; api and resources are None outside API Activity. sandboxes.update and sandbox.update accept execution_trace to turn program recording off or back on, and sandbox.execution_trace reports it. The API reference gains an Audit trail section covering the classes, their fields, which filters apply to which class, and how to tie a program to the call that started it. The audit_trail example prints all three classes and does that walk. The step-by-step examples README shows the output both audit examples now print. Signed-off-by: Mayur Das <mayur.das@neevcloud.com>
mayur-tolexo
force-pushed
the
docs/audit-event-classes
branch
from
November 2, 2026 13:12
0428b42 to
a29f8f0
Compare
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.
Why
The audit trail now records every program that ran in a sandbox and every connection those programs opened, not only the calls made to it. A sandbox can also turn that recording off. The SDK had no models for the new events and no way to set it.
What
AuditProcess,AuditFile,AuditDstEndpointandAuditDevice;apiandresourcesare now optional, since program and connection events carry neither.actor.user.typeuses the OCSF captions (User,API Key,System,Unknown), and the API key moves toactor.user.programmatic_credentials.sandboxes.updateandsandbox.updateacceptexecution_trace;sandbox.execution_tracereports it.examples/audit_trail.pyupdated.Example
Hold the release until the API serves the new actor captions everywhere: responses are validated strictly, so an API still sending the old lowercase values fails to parse.