Skip to content

Add NVIDIA OpenShell pack - #46183

Closed
content-bot wants to merge 2 commits into
masterfrom
contrib/nkanon_nvidia-openshell-pack-main
Closed

content-bot wants to merge 2 commits into
masterfrom
contrib/nkanon_nvidia-openshell-pack-main

Conversation

@content-bot

@content-bot content-bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

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

  • In Progress
  • Ready
  • In Hold - (Reason for hold)

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_raw

Contents

Type Item
Parsing Rule NVIDIAOpenShell — targets nvidia_openshell_raw, sets _time from the OCSF epoch-millisecond time field
Modeling Rule NVIDIAOpenShell — XDM normalisation across 8 OCSF classes
XSIAM Dashboard 5 widgets over sandbox egress, policy decisions and event volume

Modeling notes

  • Enum pairs. The openshell-ocsf crate emits both <name>_id (integer)
    and <name> (string label) for every OCSF enum, so the schema declares both
    keys for all seven enums.
  • One blocked egress attempt emits two events. The policy DNS stage emits
    activity_id 5 (Refuse), then the TCP stage emits activity_id 1
    (Open). Queries counting denials should filter one stage out.
  • Sandbox attribution. container.uid identifies the sandbox.
    metadata.uid is unique per event and is not used for attribution. OCSF
    downgrades below v1.8.0 strip the container object, so the README advises
    keeping 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 passed
  • Parsing and modeling rules deployed to a live XSIAM tenant; xdm.* fields
    populate and _time matches the source time
  • All dashboard widgets executed against ingested data
  • Field names verified against the openshell-ocsf crate's serialization tests
  • No hardcoded hostnames, tenant identifiers or credentials

Must have

  • Tests
  • Documentation

Tests: this pack contains no Python integrations or automations, so there is
no unit-test or test-playbook surface. Content items are XSIAM parsing and
modeling rules plus a dashboard, all covered by demisto-sdk validate.

fixes: https://jira-dc.paloaltonetworks.com/browse/CIAC-18589

nkanon and others added 2 commits October 7, 2026 17:59
* 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>
@content-bot content-bot added Contribution Thank you! Contributions are always welcome! docs-approved Contribution Form Filled Whether contribution form filled or not. Community Community Support Level Indicates that the contribution is for Community supported pack Internal PR supported-modules-approved ready-for-pipeline-running Whether the pr is ready for running the whole pipeline, including testing on SAAS machines labels Oct 7, 2026
@content-bot
content-bot requested a review from kamalq97 October 7, 2026 15:01
@content-bot

Copy link
Copy Markdown
Contributor Author

🤖 AI-Powered Code Review Available

Hi @kamalq97, you can leverage AI-powered code review to assist with this PR!

Available Commands:

  • @marketplace-ai-reviewer start review - Initiate a full AI code review
  • @marketplace-ai-reviewer re-review - Incremental review for new commits

@content-bot content-bot added Contribution Thank you! Contributions are always welcome! docs-approved Contribution Form Filled Whether contribution form filled or not. Community Community Support Level Indicates that the contribution is for Community supported pack Internal PR ready-for-pipeline-running Whether the pr is ready for running the whole pipeline, including testing on SAAS machines supported-modules-approved labels Oct 7, 2026
@content-bot content-bot mentioned this pull request Oct 7, 2026
2 of 5 tasks
@content-bot

Copy link
Copy Markdown
Contributor Author

🤖 AI-Powered Code Review Available

You can leverage AI-powered code review to assist with this PR!

Available Commands:

  • @marketplace-ai-reviewer start review - Initiate a full AI code review
  • @marketplace-ai-reviewer re-review - Incremental review for new commits

@content-bot

Copy link
Copy Markdown
Contributor Author

Validate summary
The following errors were reported as warnings: BC117 (Approved).
✅ BC117 validation has been approved by PM review (supported-modules-approved label present).
The following errors were thrown as a part of this pr: PA134.
The following errors can be ignored: PA134.
If the AG100 validation in the pre-commit GitHub Action fails, the pull request cannot be force-merged.

Verdict: PR can be force merged from validate perspective? ❌

@content-bot

Copy link
Copy Markdown
Contributor Author

🔍 AI Triage Report Available

An automated triage report has been generated for this pipeline.

Status: failed
Report ID: a1a34106fff8c88a

📋 Triage Report
💡 Resolutions are available in the full report.

⚠️ AI-generated triage. Validate before acting.

@kamalq97

Copy link
Copy Markdown
Contributor

Pack metadata and docs transferred to mapping PR #46184

@kamalq97 kamalq97 closed this Oct 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Community Support Level Indicates that the contribution is for Community supported pack Community Contribution Form Filled Whether contribution form filled or not. Contribution Thank you! Contributions are always welcome! docs-approved Internal PR ready-for-pipeline-running Whether the pr is ready for running the whole pipeline, including testing on SAAS machines supported-modules-approved

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants