feat(vectra): new Vectra AI NDR integration
Vectra Detect API v2.3, 8 commands: list/get detections, mark detection fixed, add note, list/get hosts, list accounts. Token auth, stdlib-only. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,100 @@
|
||||
id: vectra
|
||||
name: Vectra AI
|
||||
version: 1.0.0
|
||||
description: "Vectra AI (Detect API v2.3) — network threat detection: list and read detections, mark a detection fixed, add a note, and list/read hosts and accounts. Token authentication; stdlib-only, no extra Python dependencies."
|
||||
changelog: "1.0.0 — Initial release: list/get detections, mark detection fixed, add note, list/get hosts, list accounts."
|
||||
category: ndr
|
||||
|
||||
# Per-instance configuration. Auth header 'Authorization: Token <api_token>'.
|
||||
config_schema:
|
||||
properties:
|
||||
base_url:
|
||||
type: string
|
||||
description: "Vectra brain URL (e.g. https://vectra.example.com)"
|
||||
api_token:
|
||||
type: string
|
||||
description: "Vectra API token"
|
||||
x-soar-sensitive: true
|
||||
insecure:
|
||||
type: boolean
|
||||
description: "Trust any TLS certificate (not secure)"
|
||||
default: false
|
||||
required:
|
||||
- base_url
|
||||
- api_token
|
||||
|
||||
commands:
|
||||
- id: list_detections
|
||||
name: vectra-list-detections
|
||||
description: "List detections (optionally filtered)."
|
||||
risk: read
|
||||
inputs_schema:
|
||||
properties:
|
||||
state: { type: string, description: "Filter by state (active, inactive, fixed)" }
|
||||
min_threat: { type: number, description: "Minimum threat score (optional)" }
|
||||
page_size: { type: number, description: "Max detections (default 50)" }
|
||||
required: []
|
||||
outputs_schema: { properties: {} }
|
||||
- id: get_detection
|
||||
name: vectra-get-detection
|
||||
description: "Get a single detection by ID."
|
||||
risk: read
|
||||
inputs_schema:
|
||||
properties:
|
||||
detection_id: { type: string, description: "Detection ID" }
|
||||
required: [detection_id]
|
||||
outputs_schema: { properties: {} }
|
||||
- id: mark_detection_fixed
|
||||
name: vectra-mark-detection-fixed
|
||||
description: "Mark one or more detections as fixed."
|
||||
inputs_schema:
|
||||
properties:
|
||||
detection_ids: { type: string, description: "Comma-separated detection IDs" }
|
||||
required: [detection_ids]
|
||||
outputs_schema: { properties: {} }
|
||||
- id: add_detection_note
|
||||
name: vectra-add-detection-note
|
||||
description: "Add a note to a detection."
|
||||
inputs_schema:
|
||||
properties:
|
||||
detection_id: { type: string, description: "Detection ID" }
|
||||
note: { type: string, description: "Note text" }
|
||||
required: [detection_id, note]
|
||||
outputs_schema: { properties: {} }
|
||||
- id: list_hosts
|
||||
name: vectra-list-hosts
|
||||
description: "List hosts (optionally filtered)."
|
||||
risk: read
|
||||
inputs_schema:
|
||||
properties:
|
||||
min_threat: { type: number, description: "Minimum threat score (optional)" }
|
||||
page_size: { type: number, description: "Max hosts (default 50)" }
|
||||
required: []
|
||||
outputs_schema: { properties: {} }
|
||||
- id: get_host
|
||||
name: vectra-get-host
|
||||
description: "Get a single host by ID."
|
||||
risk: read
|
||||
inputs_schema:
|
||||
properties:
|
||||
host_id: { type: string, description: "Host ID" }
|
||||
required: [host_id]
|
||||
outputs_schema: { properties: {} }
|
||||
- id: list_accounts
|
||||
name: vectra-list-accounts
|
||||
description: "List accounts (optionally filtered)."
|
||||
risk: read
|
||||
inputs_schema:
|
||||
properties:
|
||||
page_size: { type: number, description: "Max accounts (default 50)" }
|
||||
required: []
|
||||
outputs_schema: { properties: {} }
|
||||
|
||||
- id: test_connection
|
||||
name: vectra-test-connection
|
||||
description: "Verify connectivity and the API token (used by the Test button)."
|
||||
risk: read
|
||||
inputs_schema:
|
||||
properties: {}
|
||||
required: []
|
||||
outputs_schema: { properties: {} }
|
||||
Reference in New Issue
Block a user