From ead9392d38af44221c5d5f194072f70eed4bd137 Mon Sep 17 00:00:00 2001 From: Nadav Kanon <109467661+nkanon@users.noreply.github.com> Date: Wed, 7 Oct 2026 17:59:35 +0300 Subject: [PATCH 1/2] Add NVIDIA OpenShell pack (#46162) * 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 "_id" and "" 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 * 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 * 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 * 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 * Rename dashboard to match the required path convention validate-content-paths requires XSIAM dashboards to be named _.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 * 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 * 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 * 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 --------- Signed-off-by: Nadav Kanon --- Packs/NVIDIA_OpenShell/.pack-ignore | 0 Packs/NVIDIA_OpenShell/.secrets-ignore | 0 Packs/NVIDIA_OpenShell/CONTRIBUTORS.json | 3 + .../NVIDIAOpenShell/NVIDIAOpenShell.xif | 92 ++++ .../NVIDIAOpenShell/NVIDIAOpenShell.yml | 8 + .../NVIDIAOpenShell_schema.json | 204 +++++++++ .../NVIDIAOpenShell/NVIDIAOpenShell.xif | 3 + .../NVIDIAOpenShell/NVIDIAOpenShell.yml | 8 + Packs/NVIDIA_OpenShell/README.md | 80 ++++ .../NVIDIA_OpenShell_Dashboard.json | 414 ++++++++++++++++++ Packs/NVIDIA_OpenShell/pack_metadata.json | 29 ++ 11 files changed, 841 insertions(+) create mode 100644 Packs/NVIDIA_OpenShell/.pack-ignore create mode 100644 Packs/NVIDIA_OpenShell/.secrets-ignore create mode 100644 Packs/NVIDIA_OpenShell/CONTRIBUTORS.json create mode 100644 Packs/NVIDIA_OpenShell/ModelingRules/NVIDIAOpenShell/NVIDIAOpenShell.xif create mode 100644 Packs/NVIDIA_OpenShell/ModelingRules/NVIDIAOpenShell/NVIDIAOpenShell.yml create mode 100644 Packs/NVIDIA_OpenShell/ModelingRules/NVIDIAOpenShell/NVIDIAOpenShell_schema.json create mode 100644 Packs/NVIDIA_OpenShell/ParsingRules/NVIDIAOpenShell/NVIDIAOpenShell.xif create mode 100644 Packs/NVIDIA_OpenShell/ParsingRules/NVIDIAOpenShell/NVIDIAOpenShell.yml create mode 100644 Packs/NVIDIA_OpenShell/README.md create mode 100644 Packs/NVIDIA_OpenShell/XSIAMDashboards/NVIDIA_OpenShell_Dashboard.json create mode 100644 Packs/NVIDIA_OpenShell/pack_metadata.json diff --git a/Packs/NVIDIA_OpenShell/.pack-ignore b/Packs/NVIDIA_OpenShell/.pack-ignore new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/Packs/NVIDIA_OpenShell/.secrets-ignore b/Packs/NVIDIA_OpenShell/.secrets-ignore new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/Packs/NVIDIA_OpenShell/CONTRIBUTORS.json b/Packs/NVIDIA_OpenShell/CONTRIBUTORS.json new file mode 100644 index 000000000000..55a7da6344e6 --- /dev/null +++ b/Packs/NVIDIA_OpenShell/CONTRIBUTORS.json @@ -0,0 +1,3 @@ +[ + "Nadav Kanon" +] diff --git a/Packs/NVIDIA_OpenShell/ModelingRules/NVIDIAOpenShell/NVIDIAOpenShell.xif b/Packs/NVIDIA_OpenShell/ModelingRules/NVIDIAOpenShell/NVIDIAOpenShell.xif new file mode 100644 index 000000000000..0aada2f4fef1 --- /dev/null +++ b/Packs/NVIDIA_OpenShell/ModelingRules/NVIDIAOpenShell/NVIDIAOpenShell.xif @@ -0,0 +1,92 @@ +[MODEL: dataset = "nvidia_openshell_raw"] +// Downgrading OCSF below 1.8 strips the container object, losing sandbox id. +alter + tmp_product_name = json_extract_scalar(metadata, "$.product.name"), + tmp_product_version = json_extract_scalar(metadata, "$.product.version"), + tmp_event_uid = json_extract_scalar(metadata, "$.uid"), + tmp_device_hostname = json_extract_scalar(device, "$.hostname"), + tmp_device_uid = json_extract_scalar(device, "$.uid"), + tmp_os_name = json_extract_scalar(device, "$.os.name"), + tmp_gateway_name = json_extract_scalar(device, "$.name"), + tmp_sandbox_id = json_extract_scalar(container, "$.uid"), + tmp_sandbox_name = json_extract_scalar(container, "$.name") +| alter + tmp_actor_process_name = json_extract_scalar(actor, "$.process.name"), + tmp_actor_process_pid = json_extract_scalar(actor, "$.process.pid"), + tmp_actor_process_cmd = json_extract_scalar(actor, "$.process.cmd_line"), + tmp_target_process_name = json_extract_scalar(process, "$.name"), + tmp_target_process_pid = json_extract_scalar(process, "$.pid"), + tmp_target_process_cmd = json_extract_scalar(process, "$.cmd_line") +| alter + tmp_src_ip = json_extract_scalar(src_endpoint, "$.ip"), + tmp_src_port = json_extract_scalar(src_endpoint, "$.port"), + tmp_dst_ip = json_extract_scalar(dst_endpoint, "$.ip"), + tmp_dst_port = json_extract_scalar(dst_endpoint, "$.port"), + tmp_dst_domain = json_extract_scalar(dst_endpoint, "$.domain"), + tmp_protocol = json_extract_scalar(connection_info, "$.protocol_name"), + tmp_rule_name = json_extract_scalar(firewall_rule, "$.name"), + tmp_rule_engine = json_extract_scalar(firewall_rule, "$.type") +| alter + tmp_http_method = json_extract_scalar(http_request, "$.http_method"), + tmp_url_hostname = json_extract_scalar(http_request, "$.url.hostname"), + tmp_url_path = json_extract_scalar(http_request, "$.url.path"), + tmp_url_scheme = json_extract_scalar(http_request, "$.url.scheme"), + tmp_http_code = json_extract_scalar(http_response, "$.code"), + tmp_finding_title = json_extract_scalar(finding_info, "$.title"), + tmp_finding_desc = json_extract_scalar(finding_info, "$.desc") +| alter + tmp_url_full = if( + tmp_url_hostname != null and tmp_url_scheme != null, + concat(tmp_url_scheme, "://", tmp_url_hostname, coalesce(tmp_url_path, "")), + null) +// A blocked egress attempt emits twice: activity_id 5 (DNS) then 1 (TCP). +| alter + xdm.observer.version = tmp_product_version, + xdm.observer.type = tmp_product_name, + xdm.event.id = tmp_event_uid, + xdm.event.type = class_name, + xdm.event.operation_sub_type = activity_name, + xdm.event.description = coalesce(message, tmp_finding_title), + xdm.alert.description = tmp_finding_desc, + xdm.alert.name = tmp_finding_title, + xdm.source.agent.identifier = tmp_sandbox_id, + xdm.source.host.hostname = coalesce(tmp_sandbox_name, tmp_device_hostname), + xdm.source.host.device_id = tmp_sandbox_id, + xdm.source.host.os_family = if( + tmp_os_name = "Linux", XDM_CONST.OS_FAMILY_LINUX, + tmp_os_name = "Windows", XDM_CONST.OS_FAMILY_WINDOWS, + tmp_os_name = "macOS", XDM_CONST.OS_FAMILY_MACOS, + null), + xdm.source.ipv4 = tmp_src_ip, + xdm.source.port = to_integer(tmp_src_port), + xdm.target.ipv4 = tmp_dst_ip, + xdm.target.port = to_integer(tmp_dst_port), + xdm.target.host.hostname = coalesce(tmp_dst_domain, tmp_url_hostname), + xdm.network.ip_protocol = if( + tmp_protocol = "tcp", XDM_CONST.IP_PROTOCOL_TCP, + tmp_protocol = "udp", XDM_CONST.IP_PROTOCOL_UDP, + null), + xdm.network.http.method = tmp_http_method, + xdm.network.http.url = tmp_url_full, + xdm.network.http.response_code = to_string(tmp_http_code), + xdm.source.process.name = coalesce(tmp_actor_process_name, tmp_target_process_name), + xdm.source.process.pid = to_integer(coalesce(tmp_actor_process_pid, tmp_target_process_pid)), + xdm.source.process.command_line = coalesce(tmp_actor_process_cmd, tmp_target_process_cmd), + xdm.network.rule = tmp_rule_name, + xdm.observer.name = tmp_gateway_name, + xdm.observer.unique_identifier = coalesce(tmp_device_uid, tmp_gateway_name), + xdm.event.outcome = if( + action_id = 2 or disposition_id = 2, XDM_CONST.OUTCOME_FAILED, + action_id = 1 or disposition_id = 1, XDM_CONST.OUTCOME_SUCCESS, + status_id = 1, XDM_CONST.OUTCOME_SUCCESS, + status_id = 2, XDM_CONST.OUTCOME_FAILED, + null), + xdm.event.outcome_reason = coalesce(status_detail, tmp_rule_engine), + xdm.alert.severity = if( + severity_id = 1, "Informational", + severity_id = 2, "Low", + severity_id = 3, "Medium", + severity_id = 4, "High", + severity_id = 5, "Critical", + severity_id = 6, "Critical", + null); diff --git a/Packs/NVIDIA_OpenShell/ModelingRules/NVIDIAOpenShell/NVIDIAOpenShell.yml b/Packs/NVIDIA_OpenShell/ModelingRules/NVIDIAOpenShell/NVIDIAOpenShell.yml new file mode 100644 index 000000000000..88ee7f6c81d3 --- /dev/null +++ b/Packs/NVIDIA_OpenShell/ModelingRules/NVIDIAOpenShell/NVIDIAOpenShell.yml @@ -0,0 +1,8 @@ +fromversion: 8.4.0 # Will be updated with XSIAM version updates +name: NVIDIA OpenShell Modeling Rule +id: NVIDIAOpenShell_ModelingRule +rules: '' +schema: '' +tags: '' +supportedModules: +- xsiam diff --git a/Packs/NVIDIA_OpenShell/ModelingRules/NVIDIAOpenShell/NVIDIAOpenShell_schema.json b/Packs/NVIDIA_OpenShell/ModelingRules/NVIDIAOpenShell/NVIDIAOpenShell_schema.json new file mode 100644 index 000000000000..a536c452464b --- /dev/null +++ b/Packs/NVIDIA_OpenShell/ModelingRules/NVIDIAOpenShell/NVIDIAOpenShell_schema.json @@ -0,0 +1,204 @@ +{ + "nvidia_openshell_raw": { + "action": { + "type": "string", + "is_array": false + }, + "action_id": { + "type": "int", + "is_array": false + }, + "activity_id": { + "type": "int", + "is_array": false + }, + "activity_name": { + "type": "string", + "is_array": false + }, + "actor": { + "type": "string", + "is_array": false + }, + "auth_type": { + "type": "string", + "is_array": false + }, + "auth_type_id": { + "type": "int", + "is_array": false + }, + "category_name": { + "type": "string", + "is_array": false + }, + "category_uid": { + "type": "int", + "is_array": false + }, + "class_name": { + "type": "string", + "is_array": false + }, + "class_uid": { + "type": "int", + "is_array": false + }, + "confidence": { + "type": "string", + "is_array": false + }, + "confidence_id": { + "type": "int", + "is_array": false + }, + "connection_info": { + "type": "string", + "is_array": false + }, + "container": { + "type": "string", + "is_array": false + }, + "device": { + "type": "string", + "is_array": false + }, + "disposition": { + "type": "string", + "is_array": false + }, + "disposition_id": { + "type": "int", + "is_array": false + }, + "dst_endpoint": { + "type": "string", + "is_array": false + }, + "exit_code": { + "type": "int", + "is_array": false + }, + "finding_info": { + "type": "string", + "is_array": false + }, + "firewall_rule": { + "type": "string", + "is_array": false + }, + "http_request": { + "type": "string", + "is_array": false + }, + "http_response": { + "type": "string", + "is_array": false + }, + "is_alert": { + "type": "boolean", + "is_array": false + }, + "launch_type": { + "type": "string", + "is_array": false + }, + "launch_type_id": { + "type": "int", + "is_array": false + }, + "message": { + "type": "string", + "is_array": false + }, + "metadata": { + "type": "string", + "is_array": false + }, + "prev_security_level": { + "type": "string", + "is_array": false + }, + "prev_security_level_id": { + "type": "int", + "is_array": false + }, + "process": { + "type": "string", + "is_array": false + }, + "protocol_ver": { + "type": "string", + "is_array": false + }, + "proxy_endpoint": { + "type": "string", + "is_array": false + }, + "risk_level": { + "type": "string", + "is_array": false + }, + "risk_level_id": { + "type": "int", + "is_array": false + }, + "security_level": { + "type": "string", + "is_array": false + }, + "security_level_id": { + "type": "int", + "is_array": false + }, + "severity": { + "type": "string", + "is_array": false + }, + "severity_id": { + "type": "int", + "is_array": false + }, + "src_endpoint": { + "type": "string", + "is_array": false + }, + "state": { + "type": "string", + "is_array": false + }, + "state_id": { + "type": "int", + "is_array": false + }, + "status": { + "type": "string", + "is_array": false + }, + "status_detail": { + "type": "string", + "is_array": false + }, + "status_id": { + "type": "int", + "is_array": false + }, + "time": { + "type": "int", + "is_array": false + }, + "type_name": { + "type": "string", + "is_array": false + }, + "type_uid": { + "type": "int", + "is_array": false + }, + "unmapped": { + "type": "string", + "is_array": false + } + } +} diff --git a/Packs/NVIDIA_OpenShell/ParsingRules/NVIDIAOpenShell/NVIDIAOpenShell.xif b/Packs/NVIDIA_OpenShell/ParsingRules/NVIDIAOpenShell/NVIDIAOpenShell.xif new file mode 100644 index 000000000000..5909b54b6d3b --- /dev/null +++ b/Packs/NVIDIA_OpenShell/ParsingRules/NVIDIAOpenShell/NVIDIAOpenShell.xif @@ -0,0 +1,3 @@ +[INGEST:vendor="nvidia", product="openshell", target_dataset="nvidia_openshell_raw", no_hit=keep] +filter time != null +| alter _time = to_timestamp(to_integer(time), "MILLIS"); diff --git a/Packs/NVIDIA_OpenShell/ParsingRules/NVIDIAOpenShell/NVIDIAOpenShell.yml b/Packs/NVIDIA_OpenShell/ParsingRules/NVIDIAOpenShell/NVIDIAOpenShell.yml new file mode 100644 index 000000000000..4214a88e08b4 --- /dev/null +++ b/Packs/NVIDIA_OpenShell/ParsingRules/NVIDIAOpenShell/NVIDIAOpenShell.yml @@ -0,0 +1,8 @@ +id: NVIDIAOpenShell_ParsingRule +name: NVIDIA OpenShell Parsing Rule +fromversion: 8.4.0 # Will be updated with XSIAM version updates +tags: [] +rules: '' +samples: '' +supportedModules: +- xsiam diff --git a/Packs/NVIDIA_OpenShell/README.md b/Packs/NVIDIA_OpenShell/README.md new file mode 100644 index 000000000000..0003b52e9ca4 --- /dev/null +++ b/Packs/NVIDIA_OpenShell/README.md @@ -0,0 +1,80 @@ +<~XSIAM> + +## Overview + +NVIDIA OpenShell runs AI coding agents in isolated sandboxes with policy-enforced network egress. Each sandbox is managed by a supervisor that records network, HTTP, SSH, process, policy and security activity as OCSF v1.8.0 events. + +## This pack includes + +Data normalization capabilities: + +* Rules for parsing and modeling NVIDIA OpenShell OCSF logs that are ingested via the HTTP Log Collector into Cortex XSIAM. + * The ingested logs can be queried in XQL Search using the *`nvidia_openshell_raw`* dataset. +* A dashboard summarizing sandbox egress, policy decisions and event volume. + +## Supported log categories + +| OCSF Class | Class UID | +|:---------------------------|:----------| +| Network Activity | 4001 | +| HTTP Activity | 4002 | +| SSH Activity | 4007 | +| Process Activity | 1007 | +| Detection Finding | 2004 | +| Device Config State Change | 5019 | +| Application Lifecycle | 6002 | +| Base Event | 0 | + +### Supported timestamp formats + +Epoch milliseconds (*`1791280847468`*), from the OCSF `time` field. + +*** + +## Data Collection + +### Cortex XSIAM side - Custom - HTTP based Collector + +1. Navigate to **Settings** -> **Data Sources** -> **Add Data Source**. +2. If you have already configured a **Custom - HTTP based Collector**, select the **3 dots**, and then select **+ Add New Instance**. If not, select **+ Add Data Source**, search for "http" and then select **Connect**. +3. Set the following values: + + | Parameter | Value | + |:--------------|:-----------------| + | `Name` | NVIDIA OpenShell | + | `Compression` | uncompressed | + | `Log Format` | json | + | `Vendor` | nvidia | + | `Product` | openshell | + +4. Creating a new HTTP Log Collector will allow you to generate a unique token, please save it since it will be used later. +5. Click the 3 dots sign next to the newly created instance and copy the API URL, it will also be used later. + +For more information, see this [doc](https://docs-cortex.paloaltonetworks.com/r/Cortex-XSIAM/Cortex-XSIAM-Documentation/Set-up-an-HTTP-Log-Collector-to-Receive-Logs). + +### NVIDIA OpenShell side + +Enable OCSF JSON export on the sandbox supervisors: + +```shell +openshell settings set --global --key ocsf_json_enabled --value true +``` + +Each supervisor then writes OCSF JSONL to `/var/log/openshell-ocsf.YYYY-MM-DD.log` in its own filesystem. The location depends on the compute driver: + +| Compute driver | Supervisor log location | +|:----------------|:----------------------------------------------------------| +| Kubernetes | `/var/log` in the supervisor pod's `supervisor` container | +| Docker / Podman | `/var/log` in the supervisor container | +| VM | `/var/log` on the host running the supervisor | + +Forward these files to the HTTP Log Collector with a log shipper such as Fluent Bit, using the API URL and token from the Cortex XSIAM side. Configure the shipper to follow daily file rotation. + +For details, refer to the [OpenShell Accessing Logs](https://docs.nvidia.com/openshell/dev/observability/accessing-logs) and [OCSF JSON Export](https://docs.nvidia.com/openshell/dev/observability/ocsf-json-export) documentation. + +#### Remarks + +* Supervisor logs on Kubernetes and Docker are stored on ephemeral volumes and are removed with the sandbox. Run the shipper alongside the supervisor so events are forwarded before teardown. +* Sandbox attribution relies on the OCSF `container` object. Keep the export at OCSF v1.8.0; downgrading to an earlier version removes it. + + diff --git a/Packs/NVIDIA_OpenShell/XSIAMDashboards/NVIDIA_OpenShell_Dashboard.json b/Packs/NVIDIA_OpenShell/XSIAMDashboards/NVIDIA_OpenShell_Dashboard.json new file mode 100644 index 000000000000..95854fc3b94a --- /dev/null +++ b/Packs/NVIDIA_OpenShell/XSIAMDashboards/NVIDIA_OpenShell_Dashboard.json @@ -0,0 +1,414 @@ +{ + "dashboards_data": [ + { + "name": "NVIDIA OpenShell Agent Activity", + "description": "Policy decisions, findings and egress activity across NVIDIA OpenShell AI agent sandboxes.", + "status": "CUSTOM", + "layout": [ + { + "id": "row-1", + "data": [ + { + "key": "xql_openshell_policy_denials", + "data": { + "type": "Custom XQL", + "width": 50, + "height": 420, + "phrase": "datamodel dataset = nvidia_openshell_raw\n| filter xdm.event.outcome = \"FAILED\"\n| comp count() as denials by xdm.network.rule, _time\n| view graph type = line xaxis = _time yaxis = denials seriesbreakdown = xdm.network.rule", + "time_frame": { + "relativeTime": 604800000 + }, + "viewOptions": { + "type": "line", + "commands": [ + { + "command": { + "op": "=", + "name": "xaxis", + "value": "_time" + } + }, + { + "command": { + "op": "=", + "name": "yaxis", + "value": "denials" + } + }, + { + "command": { + "op": "=", + "name": "seriesbreakdown", + "value": "xdm.network.rule" + } + } + ] + } + } + }, + { + "key": "xql_openshell_events_by_class", + "data": { + "type": "Custom XQL", + "width": 50, + "height": 420, + "phrase": "datamodel dataset = nvidia_openshell_raw\n| comp count() as events by xdm.event.type\n| sort desc events\n| view graph type = pie xaxis = xdm.event.type yaxis = events", + "time_frame": { + "relativeTime": 604800000 + }, + "viewOptions": { + "type": "pie", + "commands": [ + { + "command": { + "op": "=", + "name": "xaxis", + "value": "xdm.event.type" + } + }, + { + "command": { + "op": "=", + "name": "yaxis", + "value": "events" + } + } + ] + } + } + } + ] + }, + { + "id": "row-2", + "data": [ + { + "key": "xql_openshell_top_denied_destinations", + "data": { + "type": "Custom XQL", + "width": 50, + "height": 420, + "phrase": "datamodel dataset = nvidia_openshell_raw\n| filter xdm.event.outcome = \"FAILED\" and xdm.target.host.hostname != null\n| comp count() as denials by xdm.target.host.hostname\n| sort desc denials\n| limit 10\n| view graph type = column xaxis = xdm.target.host.hostname yaxis = denials", + "time_frame": { + "relativeTime": 604800000 + }, + "viewOptions": { + "type": "column", + "commands": [ + { + "command": { + "op": "=", + "name": "xaxis", + "value": "xdm.target.host.hostname" + } + }, + { + "command": { + "op": "=", + "name": "yaxis", + "value": "denials" + } + } + ] + } + } + }, + { + "key": "xql_openshell_busiest_sandboxes", + "data": { + "type": "Custom XQL", + "width": 50, + "height": 420, + "phrase": "datamodel dataset = nvidia_openshell_raw\n| filter xdm.source.agent.identifier != null\n| comp count() as events by xdm.source.agent.identifier\n| sort desc events\n| limit 10\n| view graph type = column xaxis = xdm.source.agent.identifier yaxis = events", + "time_frame": { + "relativeTime": 604800000 + }, + "viewOptions": { + "type": "column", + "commands": [ + { + "command": { + "op": "=", + "name": "xaxis", + "value": "xdm.source.agent.identifier" + } + }, + { + "command": { + "op": "=", + "name": "yaxis", + "value": "events" + } + } + ] + } + } + } + ] + }, + { + "id": "row-3", + "data": [ + { + "key": "xql_openshell_denial_reasons", + "data": { + "type": "Custom XQL", + "width": 100, + "height": 420, + "phrase": "datamodel dataset = nvidia_openshell_raw\n| filter xdm.event.outcome = \"FAILED\" and xdm.event.outcome_reason != null\n| comp count() as denials by xdm.event.outcome_reason\n| sort desc denials\n| view graph type = pie xaxis = xdm.event.outcome_reason yaxis = denials", + "time_frame": { + "relativeTime": 604800000 + }, + "viewOptions": { + "type": "pie", + "commands": [ + { + "command": { + "op": "=", + "name": "xaxis", + "value": "xdm.event.outcome_reason" + } + }, + { + "command": { + "op": "=", + "name": "yaxis", + "value": "denials" + } + } + ] + } + } + } + ] + } + ], + "global_id": "NVIDIA_OpenShell_Dashboard" + } + ], + "widgets_data": [ + { + "widget_key": "xql_openshell_policy_denials", + "title": "Policy Denials Over Time", + "creation_time": 1759680000000, + "description": "Denied sandbox actions over time, split by the deciding policy engine.", + "data": { + "phrase": "datamodel dataset = nvidia_openshell_raw\n| filter xdm.event.outcome = \"FAILED\"\n| comp count() as denials by xdm.network.rule, _time\n| view graph type = line xaxis = _time yaxis = denials seriesbreakdown = xdm.network.rule", + "time_frame": { + "relativeTime": 604800000 + }, + "viewOptions": { + "type": "line", + "commands": [ + { + "command": { + "op": "=", + "name": "xaxis", + "value": "_time" + } + }, + { + "command": { + "op": "=", + "name": "yaxis", + "value": "denials" + } + }, + { + "command": { + "op": "=", + "name": "seriesbreakdown", + "value": "xdm.network.rule" + } + } + ] + }, + "timeSpan": { + "toTime": "now", + "fromTime": "7d", + "isRelative": true + } + }, + "support_time_range": true, + "additional_info": { + "query_tables": [ + "nvidia_openshell_raw" + ], + "query_uses_library": false + } + }, + { + "widget_key": "xql_openshell_events_by_class", + "title": "Events by OCSF Class", + "creation_time": 1759680000000, + "description": "Distribution of OpenShell telemetry across OCSF event classes.", + "data": { + "phrase": "datamodel dataset = nvidia_openshell_raw\n| comp count() as events by xdm.event.type\n| sort desc events\n| view graph type = pie xaxis = xdm.event.type yaxis = events", + "time_frame": { + "relativeTime": 604800000 + }, + "viewOptions": { + "type": "pie", + "commands": [ + { + "command": { + "op": "=", + "name": "xaxis", + "value": "xdm.event.type" + } + }, + { + "command": { + "op": "=", + "name": "yaxis", + "value": "events" + } + } + ] + }, + "timeSpan": { + "toTime": "now", + "fromTime": "7d", + "isRelative": true + } + }, + "support_time_range": true, + "additional_info": { + "query_tables": [ + "nvidia_openshell_raw" + ], + "query_uses_library": false + } + }, + { + "widget_key": "xql_openshell_top_denied_destinations", + "title": "Top Denied Destinations", + "creation_time": 1759680000000, + "description": "Destinations most often blocked by sandbox egress policy.", + "data": { + "phrase": "datamodel dataset = nvidia_openshell_raw\n| filter xdm.event.outcome = \"FAILED\" and xdm.target.host.hostname != null\n| comp count() as denials by xdm.target.host.hostname\n| sort desc denials\n| limit 10\n| view graph type = column xaxis = xdm.target.host.hostname yaxis = denials", + "time_frame": { + "relativeTime": 604800000 + }, + "viewOptions": { + "type": "column", + "commands": [ + { + "command": { + "op": "=", + "name": "xaxis", + "value": "xdm.target.host.hostname" + } + }, + { + "command": { + "op": "=", + "name": "yaxis", + "value": "denials" + } + } + ] + }, + "timeSpan": { + "toTime": "now", + "fromTime": "7d", + "isRelative": true + } + }, + "support_time_range": true, + "additional_info": { + "query_tables": [ + "nvidia_openshell_raw" + ], + "query_uses_library": false + } + }, + { + "widget_key": "xql_openshell_busiest_sandboxes", + "title": "Busiest Sandboxes", + "creation_time": 1759680000000, + "description": "Event volume per sandbox, to spot an agent behaving unlike its peers.", + "data": { + "phrase": "datamodel dataset = nvidia_openshell_raw\n| filter xdm.source.agent.identifier != null\n| comp count() as events by xdm.source.agent.identifier\n| sort desc events\n| limit 10\n| view graph type = column xaxis = xdm.source.agent.identifier yaxis = events", + "time_frame": { + "relativeTime": 604800000 + }, + "viewOptions": { + "type": "column", + "commands": [ + { + "command": { + "op": "=", + "name": "xaxis", + "value": "xdm.source.agent.identifier" + } + }, + { + "command": { + "op": "=", + "name": "yaxis", + "value": "events" + } + } + ] + }, + "timeSpan": { + "toTime": "now", + "fromTime": "7d", + "isRelative": true + } + }, + "support_time_range": true, + "additional_info": { + "query_tables": [ + "nvidia_openshell_raw" + ], + "query_uses_library": false + } + }, + { + "widget_key": "xql_openshell_denial_reasons", + "title": "Denial Reasons", + "creation_time": 1759680000000, + "description": "Why egress was refused, using the supervisor's own reason tokens.", + "data": { + "phrase": "datamodel dataset = nvidia_openshell_raw\n| filter xdm.event.outcome = \"FAILED\" and xdm.event.outcome_reason != null\n| comp count() as denials by xdm.event.outcome_reason\n| sort desc denials\n| view graph type = pie xaxis = xdm.event.outcome_reason yaxis = denials", + "time_frame": { + "relativeTime": 604800000 + }, + "viewOptions": { + "type": "pie", + "commands": [ + { + "command": { + "op": "=", + "name": "xaxis", + "value": "xdm.event.outcome_reason" + } + }, + { + "command": { + "op": "=", + "name": "yaxis", + "value": "denials" + } + } + ] + }, + "timeSpan": { + "toTime": "now", + "fromTime": "7d", + "isRelative": true + } + }, + "support_time_range": true, + "additional_info": { + "query_tables": [ + "nvidia_openshell_raw" + ], + "query_uses_library": false + } + } + ], + "fromVersion": "8.4.0" +} diff --git a/Packs/NVIDIA_OpenShell/pack_metadata.json b/Packs/NVIDIA_OpenShell/pack_metadata.json new file mode 100644 index 000000000000..4dffaf70ccd1 --- /dev/null +++ b/Packs/NVIDIA_OpenShell/pack_metadata.json @@ -0,0 +1,29 @@ +{ + "name": "NVIDIA OpenShell", + "description": "Normalize NVIDIA OpenShell OCSF telemetry from AI agent sandboxes into the Cortex Data Model.", + "support": "community", + "currentVersion": "1.0.0", + "author": "Nadav Kanon", + "url": "", + "email": "", + "categories": [ + "Analytics & SIEM" + ], + "tags": [], + "useCases": [], + "keywords": [ + "nvidia", + "openshell", + "ocsf", + "ai agent", + "sandbox" + ], + "marketplaces": [ + "marketplacev2", + "platform" + ], + "supportedModules": [ + "xsiam" + ], + "dependencies": {} +} From d31c0aa2fd39ec8aef3f0526b02f227b4a005018 Mon Sep 17 00:00:00 2001 From: content-bot Date: Wed, 7 Oct 2026 15:01:01 +0000 Subject: [PATCH 2/2] Remove XSIAM files from main PR --- .../NVIDIAOpenShell/NVIDIAOpenShell.xif | 92 ---- .../NVIDIAOpenShell/NVIDIAOpenShell.yml | 8 - .../NVIDIAOpenShell_schema.json | 204 --------- .../NVIDIAOpenShell/NVIDIAOpenShell.xif | 3 - .../NVIDIAOpenShell/NVIDIAOpenShell.yml | 8 - .../NVIDIA_OpenShell_Dashboard.json | 414 ------------------ 6 files changed, 729 deletions(-) delete mode 100644 Packs/NVIDIA_OpenShell/ModelingRules/NVIDIAOpenShell/NVIDIAOpenShell.xif delete mode 100644 Packs/NVIDIA_OpenShell/ModelingRules/NVIDIAOpenShell/NVIDIAOpenShell.yml delete mode 100644 Packs/NVIDIA_OpenShell/ModelingRules/NVIDIAOpenShell/NVIDIAOpenShell_schema.json delete mode 100644 Packs/NVIDIA_OpenShell/ParsingRules/NVIDIAOpenShell/NVIDIAOpenShell.xif delete mode 100644 Packs/NVIDIA_OpenShell/ParsingRules/NVIDIAOpenShell/NVIDIAOpenShell.yml delete mode 100644 Packs/NVIDIA_OpenShell/XSIAMDashboards/NVIDIA_OpenShell_Dashboard.json diff --git a/Packs/NVIDIA_OpenShell/ModelingRules/NVIDIAOpenShell/NVIDIAOpenShell.xif b/Packs/NVIDIA_OpenShell/ModelingRules/NVIDIAOpenShell/NVIDIAOpenShell.xif deleted file mode 100644 index 0aada2f4fef1..000000000000 --- a/Packs/NVIDIA_OpenShell/ModelingRules/NVIDIAOpenShell/NVIDIAOpenShell.xif +++ /dev/null @@ -1,92 +0,0 @@ -[MODEL: dataset = "nvidia_openshell_raw"] -// Downgrading OCSF below 1.8 strips the container object, losing sandbox id. -alter - tmp_product_name = json_extract_scalar(metadata, "$.product.name"), - tmp_product_version = json_extract_scalar(metadata, "$.product.version"), - tmp_event_uid = json_extract_scalar(metadata, "$.uid"), - tmp_device_hostname = json_extract_scalar(device, "$.hostname"), - tmp_device_uid = json_extract_scalar(device, "$.uid"), - tmp_os_name = json_extract_scalar(device, "$.os.name"), - tmp_gateway_name = json_extract_scalar(device, "$.name"), - tmp_sandbox_id = json_extract_scalar(container, "$.uid"), - tmp_sandbox_name = json_extract_scalar(container, "$.name") -| alter - tmp_actor_process_name = json_extract_scalar(actor, "$.process.name"), - tmp_actor_process_pid = json_extract_scalar(actor, "$.process.pid"), - tmp_actor_process_cmd = json_extract_scalar(actor, "$.process.cmd_line"), - tmp_target_process_name = json_extract_scalar(process, "$.name"), - tmp_target_process_pid = json_extract_scalar(process, "$.pid"), - tmp_target_process_cmd = json_extract_scalar(process, "$.cmd_line") -| alter - tmp_src_ip = json_extract_scalar(src_endpoint, "$.ip"), - tmp_src_port = json_extract_scalar(src_endpoint, "$.port"), - tmp_dst_ip = json_extract_scalar(dst_endpoint, "$.ip"), - tmp_dst_port = json_extract_scalar(dst_endpoint, "$.port"), - tmp_dst_domain = json_extract_scalar(dst_endpoint, "$.domain"), - tmp_protocol = json_extract_scalar(connection_info, "$.protocol_name"), - tmp_rule_name = json_extract_scalar(firewall_rule, "$.name"), - tmp_rule_engine = json_extract_scalar(firewall_rule, "$.type") -| alter - tmp_http_method = json_extract_scalar(http_request, "$.http_method"), - tmp_url_hostname = json_extract_scalar(http_request, "$.url.hostname"), - tmp_url_path = json_extract_scalar(http_request, "$.url.path"), - tmp_url_scheme = json_extract_scalar(http_request, "$.url.scheme"), - tmp_http_code = json_extract_scalar(http_response, "$.code"), - tmp_finding_title = json_extract_scalar(finding_info, "$.title"), - tmp_finding_desc = json_extract_scalar(finding_info, "$.desc") -| alter - tmp_url_full = if( - tmp_url_hostname != null and tmp_url_scheme != null, - concat(tmp_url_scheme, "://", tmp_url_hostname, coalesce(tmp_url_path, "")), - null) -// A blocked egress attempt emits twice: activity_id 5 (DNS) then 1 (TCP). -| alter - xdm.observer.version = tmp_product_version, - xdm.observer.type = tmp_product_name, - xdm.event.id = tmp_event_uid, - xdm.event.type = class_name, - xdm.event.operation_sub_type = activity_name, - xdm.event.description = coalesce(message, tmp_finding_title), - xdm.alert.description = tmp_finding_desc, - xdm.alert.name = tmp_finding_title, - xdm.source.agent.identifier = tmp_sandbox_id, - xdm.source.host.hostname = coalesce(tmp_sandbox_name, tmp_device_hostname), - xdm.source.host.device_id = tmp_sandbox_id, - xdm.source.host.os_family = if( - tmp_os_name = "Linux", XDM_CONST.OS_FAMILY_LINUX, - tmp_os_name = "Windows", XDM_CONST.OS_FAMILY_WINDOWS, - tmp_os_name = "macOS", XDM_CONST.OS_FAMILY_MACOS, - null), - xdm.source.ipv4 = tmp_src_ip, - xdm.source.port = to_integer(tmp_src_port), - xdm.target.ipv4 = tmp_dst_ip, - xdm.target.port = to_integer(tmp_dst_port), - xdm.target.host.hostname = coalesce(tmp_dst_domain, tmp_url_hostname), - xdm.network.ip_protocol = if( - tmp_protocol = "tcp", XDM_CONST.IP_PROTOCOL_TCP, - tmp_protocol = "udp", XDM_CONST.IP_PROTOCOL_UDP, - null), - xdm.network.http.method = tmp_http_method, - xdm.network.http.url = tmp_url_full, - xdm.network.http.response_code = to_string(tmp_http_code), - xdm.source.process.name = coalesce(tmp_actor_process_name, tmp_target_process_name), - xdm.source.process.pid = to_integer(coalesce(tmp_actor_process_pid, tmp_target_process_pid)), - xdm.source.process.command_line = coalesce(tmp_actor_process_cmd, tmp_target_process_cmd), - xdm.network.rule = tmp_rule_name, - xdm.observer.name = tmp_gateway_name, - xdm.observer.unique_identifier = coalesce(tmp_device_uid, tmp_gateway_name), - xdm.event.outcome = if( - action_id = 2 or disposition_id = 2, XDM_CONST.OUTCOME_FAILED, - action_id = 1 or disposition_id = 1, XDM_CONST.OUTCOME_SUCCESS, - status_id = 1, XDM_CONST.OUTCOME_SUCCESS, - status_id = 2, XDM_CONST.OUTCOME_FAILED, - null), - xdm.event.outcome_reason = coalesce(status_detail, tmp_rule_engine), - xdm.alert.severity = if( - severity_id = 1, "Informational", - severity_id = 2, "Low", - severity_id = 3, "Medium", - severity_id = 4, "High", - severity_id = 5, "Critical", - severity_id = 6, "Critical", - null); diff --git a/Packs/NVIDIA_OpenShell/ModelingRules/NVIDIAOpenShell/NVIDIAOpenShell.yml b/Packs/NVIDIA_OpenShell/ModelingRules/NVIDIAOpenShell/NVIDIAOpenShell.yml deleted file mode 100644 index 88ee7f6c81d3..000000000000 --- a/Packs/NVIDIA_OpenShell/ModelingRules/NVIDIAOpenShell/NVIDIAOpenShell.yml +++ /dev/null @@ -1,8 +0,0 @@ -fromversion: 8.4.0 # Will be updated with XSIAM version updates -name: NVIDIA OpenShell Modeling Rule -id: NVIDIAOpenShell_ModelingRule -rules: '' -schema: '' -tags: '' -supportedModules: -- xsiam diff --git a/Packs/NVIDIA_OpenShell/ModelingRules/NVIDIAOpenShell/NVIDIAOpenShell_schema.json b/Packs/NVIDIA_OpenShell/ModelingRules/NVIDIAOpenShell/NVIDIAOpenShell_schema.json deleted file mode 100644 index a536c452464b..000000000000 --- a/Packs/NVIDIA_OpenShell/ModelingRules/NVIDIAOpenShell/NVIDIAOpenShell_schema.json +++ /dev/null @@ -1,204 +0,0 @@ -{ - "nvidia_openshell_raw": { - "action": { - "type": "string", - "is_array": false - }, - "action_id": { - "type": "int", - "is_array": false - }, - "activity_id": { - "type": "int", - "is_array": false - }, - "activity_name": { - "type": "string", - "is_array": false - }, - "actor": { - "type": "string", - "is_array": false - }, - "auth_type": { - "type": "string", - "is_array": false - }, - "auth_type_id": { - "type": "int", - "is_array": false - }, - "category_name": { - "type": "string", - "is_array": false - }, - "category_uid": { - "type": "int", - "is_array": false - }, - "class_name": { - "type": "string", - "is_array": false - }, - "class_uid": { - "type": "int", - "is_array": false - }, - "confidence": { - "type": "string", - "is_array": false - }, - "confidence_id": { - "type": "int", - "is_array": false - }, - "connection_info": { - "type": "string", - "is_array": false - }, - "container": { - "type": "string", - "is_array": false - }, - "device": { - "type": "string", - "is_array": false - }, - "disposition": { - "type": "string", - "is_array": false - }, - "disposition_id": { - "type": "int", - "is_array": false - }, - "dst_endpoint": { - "type": "string", - "is_array": false - }, - "exit_code": { - "type": "int", - "is_array": false - }, - "finding_info": { - "type": "string", - "is_array": false - }, - "firewall_rule": { - "type": "string", - "is_array": false - }, - "http_request": { - "type": "string", - "is_array": false - }, - "http_response": { - "type": "string", - "is_array": false - }, - "is_alert": { - "type": "boolean", - "is_array": false - }, - "launch_type": { - "type": "string", - "is_array": false - }, - "launch_type_id": { - "type": "int", - "is_array": false - }, - "message": { - "type": "string", - "is_array": false - }, - "metadata": { - "type": "string", - "is_array": false - }, - "prev_security_level": { - "type": "string", - "is_array": false - }, - "prev_security_level_id": { - "type": "int", - "is_array": false - }, - "process": { - "type": "string", - "is_array": false - }, - "protocol_ver": { - "type": "string", - "is_array": false - }, - "proxy_endpoint": { - "type": "string", - "is_array": false - }, - "risk_level": { - "type": "string", - "is_array": false - }, - "risk_level_id": { - "type": "int", - "is_array": false - }, - "security_level": { - "type": "string", - "is_array": false - }, - "security_level_id": { - "type": "int", - "is_array": false - }, - "severity": { - "type": "string", - "is_array": false - }, - "severity_id": { - "type": "int", - "is_array": false - }, - "src_endpoint": { - "type": "string", - "is_array": false - }, - "state": { - "type": "string", - "is_array": false - }, - "state_id": { - "type": "int", - "is_array": false - }, - "status": { - "type": "string", - "is_array": false - }, - "status_detail": { - "type": "string", - "is_array": false - }, - "status_id": { - "type": "int", - "is_array": false - }, - "time": { - "type": "int", - "is_array": false - }, - "type_name": { - "type": "string", - "is_array": false - }, - "type_uid": { - "type": "int", - "is_array": false - }, - "unmapped": { - "type": "string", - "is_array": false - } - } -} diff --git a/Packs/NVIDIA_OpenShell/ParsingRules/NVIDIAOpenShell/NVIDIAOpenShell.xif b/Packs/NVIDIA_OpenShell/ParsingRules/NVIDIAOpenShell/NVIDIAOpenShell.xif deleted file mode 100644 index 5909b54b6d3b..000000000000 --- a/Packs/NVIDIA_OpenShell/ParsingRules/NVIDIAOpenShell/NVIDIAOpenShell.xif +++ /dev/null @@ -1,3 +0,0 @@ -[INGEST:vendor="nvidia", product="openshell", target_dataset="nvidia_openshell_raw", no_hit=keep] -filter time != null -| alter _time = to_timestamp(to_integer(time), "MILLIS"); diff --git a/Packs/NVIDIA_OpenShell/ParsingRules/NVIDIAOpenShell/NVIDIAOpenShell.yml b/Packs/NVIDIA_OpenShell/ParsingRules/NVIDIAOpenShell/NVIDIAOpenShell.yml deleted file mode 100644 index 4214a88e08b4..000000000000 --- a/Packs/NVIDIA_OpenShell/ParsingRules/NVIDIAOpenShell/NVIDIAOpenShell.yml +++ /dev/null @@ -1,8 +0,0 @@ -id: NVIDIAOpenShell_ParsingRule -name: NVIDIA OpenShell Parsing Rule -fromversion: 8.4.0 # Will be updated with XSIAM version updates -tags: [] -rules: '' -samples: '' -supportedModules: -- xsiam diff --git a/Packs/NVIDIA_OpenShell/XSIAMDashboards/NVIDIA_OpenShell_Dashboard.json b/Packs/NVIDIA_OpenShell/XSIAMDashboards/NVIDIA_OpenShell_Dashboard.json deleted file mode 100644 index 95854fc3b94a..000000000000 --- a/Packs/NVIDIA_OpenShell/XSIAMDashboards/NVIDIA_OpenShell_Dashboard.json +++ /dev/null @@ -1,414 +0,0 @@ -{ - "dashboards_data": [ - { - "name": "NVIDIA OpenShell Agent Activity", - "description": "Policy decisions, findings and egress activity across NVIDIA OpenShell AI agent sandboxes.", - "status": "CUSTOM", - "layout": [ - { - "id": "row-1", - "data": [ - { - "key": "xql_openshell_policy_denials", - "data": { - "type": "Custom XQL", - "width": 50, - "height": 420, - "phrase": "datamodel dataset = nvidia_openshell_raw\n| filter xdm.event.outcome = \"FAILED\"\n| comp count() as denials by xdm.network.rule, _time\n| view graph type = line xaxis = _time yaxis = denials seriesbreakdown = xdm.network.rule", - "time_frame": { - "relativeTime": 604800000 - }, - "viewOptions": { - "type": "line", - "commands": [ - { - "command": { - "op": "=", - "name": "xaxis", - "value": "_time" - } - }, - { - "command": { - "op": "=", - "name": "yaxis", - "value": "denials" - } - }, - { - "command": { - "op": "=", - "name": "seriesbreakdown", - "value": "xdm.network.rule" - } - } - ] - } - } - }, - { - "key": "xql_openshell_events_by_class", - "data": { - "type": "Custom XQL", - "width": 50, - "height": 420, - "phrase": "datamodel dataset = nvidia_openshell_raw\n| comp count() as events by xdm.event.type\n| sort desc events\n| view graph type = pie xaxis = xdm.event.type yaxis = events", - "time_frame": { - "relativeTime": 604800000 - }, - "viewOptions": { - "type": "pie", - "commands": [ - { - "command": { - "op": "=", - "name": "xaxis", - "value": "xdm.event.type" - } - }, - { - "command": { - "op": "=", - "name": "yaxis", - "value": "events" - } - } - ] - } - } - } - ] - }, - { - "id": "row-2", - "data": [ - { - "key": "xql_openshell_top_denied_destinations", - "data": { - "type": "Custom XQL", - "width": 50, - "height": 420, - "phrase": "datamodel dataset = nvidia_openshell_raw\n| filter xdm.event.outcome = \"FAILED\" and xdm.target.host.hostname != null\n| comp count() as denials by xdm.target.host.hostname\n| sort desc denials\n| limit 10\n| view graph type = column xaxis = xdm.target.host.hostname yaxis = denials", - "time_frame": { - "relativeTime": 604800000 - }, - "viewOptions": { - "type": "column", - "commands": [ - { - "command": { - "op": "=", - "name": "xaxis", - "value": "xdm.target.host.hostname" - } - }, - { - "command": { - "op": "=", - "name": "yaxis", - "value": "denials" - } - } - ] - } - } - }, - { - "key": "xql_openshell_busiest_sandboxes", - "data": { - "type": "Custom XQL", - "width": 50, - "height": 420, - "phrase": "datamodel dataset = nvidia_openshell_raw\n| filter xdm.source.agent.identifier != null\n| comp count() as events by xdm.source.agent.identifier\n| sort desc events\n| limit 10\n| view graph type = column xaxis = xdm.source.agent.identifier yaxis = events", - "time_frame": { - "relativeTime": 604800000 - }, - "viewOptions": { - "type": "column", - "commands": [ - { - "command": { - "op": "=", - "name": "xaxis", - "value": "xdm.source.agent.identifier" - } - }, - { - "command": { - "op": "=", - "name": "yaxis", - "value": "events" - } - } - ] - } - } - } - ] - }, - { - "id": "row-3", - "data": [ - { - "key": "xql_openshell_denial_reasons", - "data": { - "type": "Custom XQL", - "width": 100, - "height": 420, - "phrase": "datamodel dataset = nvidia_openshell_raw\n| filter xdm.event.outcome = \"FAILED\" and xdm.event.outcome_reason != null\n| comp count() as denials by xdm.event.outcome_reason\n| sort desc denials\n| view graph type = pie xaxis = xdm.event.outcome_reason yaxis = denials", - "time_frame": { - "relativeTime": 604800000 - }, - "viewOptions": { - "type": "pie", - "commands": [ - { - "command": { - "op": "=", - "name": "xaxis", - "value": "xdm.event.outcome_reason" - } - }, - { - "command": { - "op": "=", - "name": "yaxis", - "value": "denials" - } - } - ] - } - } - } - ] - } - ], - "global_id": "NVIDIA_OpenShell_Dashboard" - } - ], - "widgets_data": [ - { - "widget_key": "xql_openshell_policy_denials", - "title": "Policy Denials Over Time", - "creation_time": 1759680000000, - "description": "Denied sandbox actions over time, split by the deciding policy engine.", - "data": { - "phrase": "datamodel dataset = nvidia_openshell_raw\n| filter xdm.event.outcome = \"FAILED\"\n| comp count() as denials by xdm.network.rule, _time\n| view graph type = line xaxis = _time yaxis = denials seriesbreakdown = xdm.network.rule", - "time_frame": { - "relativeTime": 604800000 - }, - "viewOptions": { - "type": "line", - "commands": [ - { - "command": { - "op": "=", - "name": "xaxis", - "value": "_time" - } - }, - { - "command": { - "op": "=", - "name": "yaxis", - "value": "denials" - } - }, - { - "command": { - "op": "=", - "name": "seriesbreakdown", - "value": "xdm.network.rule" - } - } - ] - }, - "timeSpan": { - "toTime": "now", - "fromTime": "7d", - "isRelative": true - } - }, - "support_time_range": true, - "additional_info": { - "query_tables": [ - "nvidia_openshell_raw" - ], - "query_uses_library": false - } - }, - { - "widget_key": "xql_openshell_events_by_class", - "title": "Events by OCSF Class", - "creation_time": 1759680000000, - "description": "Distribution of OpenShell telemetry across OCSF event classes.", - "data": { - "phrase": "datamodel dataset = nvidia_openshell_raw\n| comp count() as events by xdm.event.type\n| sort desc events\n| view graph type = pie xaxis = xdm.event.type yaxis = events", - "time_frame": { - "relativeTime": 604800000 - }, - "viewOptions": { - "type": "pie", - "commands": [ - { - "command": { - "op": "=", - "name": "xaxis", - "value": "xdm.event.type" - } - }, - { - "command": { - "op": "=", - "name": "yaxis", - "value": "events" - } - } - ] - }, - "timeSpan": { - "toTime": "now", - "fromTime": "7d", - "isRelative": true - } - }, - "support_time_range": true, - "additional_info": { - "query_tables": [ - "nvidia_openshell_raw" - ], - "query_uses_library": false - } - }, - { - "widget_key": "xql_openshell_top_denied_destinations", - "title": "Top Denied Destinations", - "creation_time": 1759680000000, - "description": "Destinations most often blocked by sandbox egress policy.", - "data": { - "phrase": "datamodel dataset = nvidia_openshell_raw\n| filter xdm.event.outcome = \"FAILED\" and xdm.target.host.hostname != null\n| comp count() as denials by xdm.target.host.hostname\n| sort desc denials\n| limit 10\n| view graph type = column xaxis = xdm.target.host.hostname yaxis = denials", - "time_frame": { - "relativeTime": 604800000 - }, - "viewOptions": { - "type": "column", - "commands": [ - { - "command": { - "op": "=", - "name": "xaxis", - "value": "xdm.target.host.hostname" - } - }, - { - "command": { - "op": "=", - "name": "yaxis", - "value": "denials" - } - } - ] - }, - "timeSpan": { - "toTime": "now", - "fromTime": "7d", - "isRelative": true - } - }, - "support_time_range": true, - "additional_info": { - "query_tables": [ - "nvidia_openshell_raw" - ], - "query_uses_library": false - } - }, - { - "widget_key": "xql_openshell_busiest_sandboxes", - "title": "Busiest Sandboxes", - "creation_time": 1759680000000, - "description": "Event volume per sandbox, to spot an agent behaving unlike its peers.", - "data": { - "phrase": "datamodel dataset = nvidia_openshell_raw\n| filter xdm.source.agent.identifier != null\n| comp count() as events by xdm.source.agent.identifier\n| sort desc events\n| limit 10\n| view graph type = column xaxis = xdm.source.agent.identifier yaxis = events", - "time_frame": { - "relativeTime": 604800000 - }, - "viewOptions": { - "type": "column", - "commands": [ - { - "command": { - "op": "=", - "name": "xaxis", - "value": "xdm.source.agent.identifier" - } - }, - { - "command": { - "op": "=", - "name": "yaxis", - "value": "events" - } - } - ] - }, - "timeSpan": { - "toTime": "now", - "fromTime": "7d", - "isRelative": true - } - }, - "support_time_range": true, - "additional_info": { - "query_tables": [ - "nvidia_openshell_raw" - ], - "query_uses_library": false - } - }, - { - "widget_key": "xql_openshell_denial_reasons", - "title": "Denial Reasons", - "creation_time": 1759680000000, - "description": "Why egress was refused, using the supervisor's own reason tokens.", - "data": { - "phrase": "datamodel dataset = nvidia_openshell_raw\n| filter xdm.event.outcome = \"FAILED\" and xdm.event.outcome_reason != null\n| comp count() as denials by xdm.event.outcome_reason\n| sort desc denials\n| view graph type = pie xaxis = xdm.event.outcome_reason yaxis = denials", - "time_frame": { - "relativeTime": 604800000 - }, - "viewOptions": { - "type": "pie", - "commands": [ - { - "command": { - "op": "=", - "name": "xaxis", - "value": "xdm.event.outcome_reason" - } - }, - { - "command": { - "op": "=", - "name": "yaxis", - "value": "denials" - } - } - ] - }, - "timeSpan": { - "toTime": "now", - "fromTime": "7d", - "isRelative": true - } - }, - "support_time_range": true, - "additional_info": { - "query_tables": [ - "nvidia_openshell_raw" - ], - "query_uses_library": false - } - } - ], - "fromVersion": "8.4.0" -}