Repository navigation
Add NVIDIA OpenShell pack - #46183
content-bot wants to merge 2 commits into
Conversation
* Add NVIDIA OpenShell pack Normalizes OCSF telemetry from NVIDIA OpenShell AI agent sandboxes into the Cortex Data Model. OpenShell runs AI coding agents in isolated sandboxes and emits OCSF v1.8.0 events for network, HTTP, SSH, process, config and finding activity. This pack ingests that JSONL and maps it to XDM. Contents: - ParsingRules: sets _time from the OCSF epoch-millisecond "time" field - ModelingRules: maps 8 OCSF classes to xdm.*, with a 50-field schema - XSIAMDashboards: 5 widgets, all querying the data model Notes: - Field names were verified against the openshell-ocsf crate's own serialization tests, including the insert_enum_pair! macro that emits both "<name>_id" and "<name>" for every OCSF enum. - A blocked egress attempt emits two events: activity_id 5 at the policy DNS stage, then activity_id 1 at the TCP stage. Anything counting denials must filter one stage out or every threshold doubles. - No correlation rules ship. OpenShell's default policy denies all egress, so any detection keyed on denial volume fires continuously on normal agent activity. Two draft rules and the reasoning are in future/CorrelationRules/ for operators who have a baseline from their own environment. Signed-off-by: Nadav Kanon <nkanon@paloaltonetworks.com> * Drop hardcoded observer vendor and product Only ~5% of modeling rules in the repository set xdm.observer.vendor or xdm.observer.product. Both were hardcoded string literals here, which adds nothing the pack name does not already convey. xdm.observer.version and xdm.observer.type still carry the real values from metadata.product. Signed-off-by: Nadav Kanon <nkanon@paloaltonetworks.com> * Map device.name to xdm.observer.name xdm.observer.name is set by 37% of modeling rules in the repository and was missing here. The OCSF device object carries the gateway's own name, which is what that field is for. xdm.observer.unique_identifier now prefers device.uid, the stable identifier, falling back to the name. Signed-off-by: Nadav Kanon <nkanon@paloaltonetworks.com> * Remove the future/ directory No pack in the repository ships a future/ subdirectory, and the README it contained was picked up by the mdx-validation pre-commit hook, which only expects READMEs at the pack root or under Integrations, Scripts and Playbooks. The reasoning for not shipping correlation rules stays in the pack README and the PR description. Signed-off-by: Nadav Kanon <nkanon@paloaltonetworks.com> * Rename dashboard to match the required path convention validate-content-paths requires XSIAM dashboards to be named <pack_name>_<dashboard_name>.json. The file used the content item stem (NVIDIAOpenShell) rather than the pack directory name (NVIDIA_OpenShell), which failed the hook. The dashboard global_id now matches the filename. Signed-off-by: Nadav Kanon <nkanon@paloaltonetworks.com> * Correct collection guidance to match upstream docs NVIDIA confirmed the supervisor, one per sandbox, is the aggregation point for sandbox OCSF telemetry, and updated the accessing-logs docs ahead of 0.1.3. - Supervisor logs live in the supervisor's own filesystem, not the sandbox workload. Add the per-driver location and lifetime table. - Remove the 'macOS VM driver' known issue. It was a misreading: the probe ran in the workload via sandbox exec, which cannot reach supervisor files. - Note that the default supervisor image has no shell or tar, so collection needs a mounted or sidecar collector rather than exec/cp. Signed-off-by: Nadav Kanon <nkanon@paloaltonetworks.com> * Rewrite README in the marketplace house style Restructure to the layout used by NVIDIA DOCA Argus and other HTTP Log Collector packs: Overview, This pack includes, Supported log categories, Supported timestamp formats, and Data Collection with Cortex XSIAM and vendor sides. Remove development notes that do not belong in operator documentation. Signed-off-by: Nadav Kanon <nkanon@paloaltonetworks.com> * Use XDM constants for IP protocol and standard severity labels Align with the conventions in the reviewed Docker AI Governance modeling rule and the wider repository: - Map connection_info.protocol_name to XDM_CONST.IP_PROTOCOL_TCP/UDP instead of writing the raw string, so the field matches other network sources. - Map OCSF severity 6 (Fatal) to Critical. Fatal is not a value XDM consumers expect for xdm.alert.severity. Signed-off-by: Nadav Kanon <nkanon@paloaltonetworks.com> --------- Signed-off-by: Nadav Kanon <nkanon@paloaltonetworks.com>
🤖 AI-Powered Code Review AvailableHi @kamalq97, you can leverage AI-powered code review to assist with this PR! Available Commands:
|
🤖 AI-Powered Code Review AvailableYou can leverage AI-powered code review to assist with this PR! Available Commands:
|
|
Validate summary Verdict: PR can be force merged from validate perspective? ❌ |
🔍 AI Triage Report AvailableAn automated triage report has been generated for this pipeline. Status: 📋 Triage Report
|
|
Pack metadata and docs transferred to mapping PR #46184 |
Related PRs
Original External PR: #46162
Mapping Internal PR: #46184
Contributor
@nkanon
Contributing to Cortex XSOAR Content
Make sure to register your contribution by filling the contribution registration form
The Pull Request will be reviewed only after the contribution registration form is filled.
Status
Related Issues
N/A - new community-supported content pack.
Description
Adds NVIDIA OpenShell, a new community-supported XSIAM pack that normalizes
OCSF telemetry from OpenShell AI agent
sandboxes into XDM.
OpenShell runs AI coding agents in isolated sandboxes with policy-enforced
egress. Each sandbox supervisor emits OCSF v1.8.0 events covering network,
HTTP, SSH, process, config-change and detection-finding activity.
Dataset:
nvidia_openshell_rawContents
NVIDIAOpenShell— targetsnvidia_openshell_raw, sets_timefrom the OCSF epoch-millisecondtimefieldNVIDIAOpenShell— XDM normalisation across 8 OCSF classesModeling notes
openshell-ocsfcrate emits both<name>_id(integer)and
<name>(string label) for every OCSF enum, so the schema declares bothkeys for all seven enums.
activity_id5 (Refuse), then the TCP stage emitsactivity_id1(
Open). Queries counting denials should filter one stage out.container.uididentifies the sandbox.metadata.uidis unique per event and is not used for attribution. OCSFdowngrades below v1.8.0 strip the
containerobject, so the README adviseskeeping the native version.
Why no correlation rules
OpenShell's default sandbox policy denies all egress, so denial volume is high
on normal agent activity until an operator applies a policy. Detection
thresholds need a baseline from the target environment, so none ship in this
pack. They will follow in a separate PR.
Validation
demisto-sdk validate -i Packs/NVIDIA_OpenShell— all validations passedxdm.*fieldspopulate and
_timematches the sourcetimeopenshell-ocsfcrate's serialization testsMust have
fixes: https://jira-dc.paloaltonetworks.com/browse/CIAC-18589