f6b8c84285
Every EDR (category: endpoint) integration is now audited for an OCSF mapper. Six had a fetch command but no mapper — add a bundled OCSF mapper for each, wire the fetch command as an ingestion source (ingest: results_path/dedup_key [/incremental_field]) and add the top-level ingestion block. Field mappings were derived from each vendor's fetch output and cross-referenced against the demisto/content reference for that vendor. - carbon-black-cloud: search_alerts (results_path results, dedup id) — 35 fields - cisco-secure-endpoint: list_events (data, id) — 21 fields - cybereason: query_malops (malops, guid, incr start_time) — 6 fields - sophos-central: list_alerts (items, id) — 14 fields - trend-vision-one: list_alerts (items, id, incr start_datetime) — 19 fields - withsecure: list_incidents (items, incidentId) — 7 fields Validated: every manifest passes ParseManifest+ValidateManifest and every mapper passes ParseMapperFile with all JSONata source_path/field expressions compiling. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
20 lines
1.9 KiB
YAML
20 lines
1.9 KiB
YAML
name: "WithSecure Elements Incidents → OCSF"
|
|
description: "Maps a WithSecure Elements incident (Broad Context Detection / BCD) from GET /incidents/v1/incidents (results_path = items) to OCSF finding fields. Field paths validated against the WithSecure Connect Elements API OpenAPI spec (connect.withsecure.com/specs/elements). The incidents list object carries only incident-level metadata — device / user / process / file / MITRE fields live on the separate /incidents/v1/detections endpoint and are not present here."
|
|
field_mappings:
|
|
title: "name"
|
|
severity: "severity = 'critical' ? 5 : (severity = 'high' ? 4 : (severity = 'medium' ? 3 : (severity = 'low' ? 2 : 1)))"
|
|
description: "$join(categories, ', ')"
|
|
# results_path = items; source_path is JSONata over ONE incident (BCD) object.
|
|
# Paths absent from a given incident are skipped at ingestion, so extra entries are safe.
|
|
ocsf:
|
|
# ── Finding identity ──────────────────────────────────────────────
|
|
- { source_path: "incidentId", ocsf_field: "finding_info.uid" }
|
|
- { source_path: "name", ocsf_field: "finding_info.title" }
|
|
# ── Timestamps ────────────────────────────────────────────────────
|
|
- { source_path: "createdTimestamp", ocsf_field: "finding_info.created_time" }
|
|
- { source_path: "updatedTimestamp", ocsf_field: "finding_info.modified_time" }
|
|
# ── State ─────────────────────────────────────────────────────────
|
|
- { source_path: "severity", ocsf_field: "severity" }
|
|
- { source_path: "status", ocsf_field: "status" }
|
|
- { source_path: "resolution", ocsf_field: "finding_info.desc" }
|