feat(edr): OCSF mappers + ingestion for 6 EDR integrations
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>
This commit is contained in:
@@ -31,7 +31,7 @@ config_schema:
|
||||
commands:
|
||||
- id: query_malops
|
||||
name: cybereason-query-malops
|
||||
description: "Query Malops (malicious operations) in a time window."
|
||||
description: "Query Malops (malicious operations) in a time window. Used for ingestion: results path = malops."
|
||||
risk: read
|
||||
inputs_schema:
|
||||
properties:
|
||||
@@ -39,6 +39,10 @@ commands:
|
||||
end_time: { type: number, description: "End time as Unix epoch milliseconds" }
|
||||
required: []
|
||||
outputs_schema: { properties: {} }
|
||||
ingest:
|
||||
results_path: malops
|
||||
dedup_key: guid
|
||||
incremental_field: start_time
|
||||
- id: list_sensors
|
||||
name: cybereason-list-sensors
|
||||
description: "List sensors (endpoints)."
|
||||
@@ -93,3 +97,8 @@ commands:
|
||||
properties: {}
|
||||
required: []
|
||||
outputs_schema: { properties: {} }
|
||||
|
||||
ingestion:
|
||||
command: query_malops
|
||||
mapper: query_malops
|
||||
default_incident_type: "Cybereason Malop"
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
name: "Cybereason Malops → OCSF"
|
||||
description: "Maps the raw items of the 'malops' array returned by POST /rest/detection/inbox (results_path = malops) to OCSF finding fields. Each element is the flat, non-nested Malop-inbox shape (guid, edr, displayName, status, severity, creationTime, machines[], users[]) — not the enriched elementValues/simpleValues shape returned by /rest/crimes/unified."
|
||||
field_mappings:
|
||||
title: "displayName"
|
||||
severity: "severity = 'Critical' ? 5 : (severity = 'High' ? 4 : (severity = 'Medium' ? 3 : (severity = 'Low' ? 2 : 3)))"
|
||||
description: "\"Cybereason Malop — severity: \" & severity & \", status: \" & status"
|
||||
ocsf:
|
||||
- { source_path: "guid", ocsf_field: "finding_info.uid" }
|
||||
- { source_path: "displayName", ocsf_field: "finding_info.title" }
|
||||
- { source_path: "creationTime", ocsf_field: "finding_info.created_time" }
|
||||
- { source_path: "status", ocsf_field: "status" }
|
||||
- { source_path: "machines[0].displayName", ocsf_field: "src_endpoint.hostname" }
|
||||
- { source_path: "$count(machines)", ocsf_field: "count" }
|
||||
Reference in New Issue
Block a user