NetBox Event Collector
#
This Integration is part of the NetBox Pack.Supported versions
Supported Cortex XSOAR versions: 6.8.0 and later.
This is the NetBox event collector integration for Cortex XSIAM. This integration was integrated and tested with version 3.0 and above of NetBox API.
#
Configure NetBox Event Collector on Cortex XSIAMNavigate to Settings > Configurations > Data Collection > Automation & Feed Integrations.
Search for NetBox Event Collector.
Click Add instance to create and configure a new integration instance.
Parameter Required Server URL (e.g., https://www.example.com) True API Key True First fetch time False The maximum number of alerts per fetch False Trust any certificate (not secure) False Use system proxy settings False Click Test to validate the URLs, token, and connection.
#
CommandsYou can execute these commands from the Cortex XSIAM CLI, as part of an automation, or in a playbook. After you successfully execute a command, a DBot message appears in the War Room with the command details.
#
netbox-get-eventsGets events from NetBox.
#
Base Commandnetbox-get-events
#
InputArgument Name | Description | Required |
---|---|---|
should_push_events | If true, the command will create events, otherwise it will only display them. Possible values are: true, false. Default is false. | Required |
limit | Maximum number of results to return. | Optional |
#
Context OutputThere is no context output for this command.
#
Command Example!netbox-get-events should_push_events=true limit=1
#
Human Readable Output#
journal-entries Eventsassigned_object | assigned_object_id | assigned_object_type | comments | created | created_by | custom_fields | display | id | kind | last_updated | tags | url |
---|---|---|---|---|---|---|---|---|---|---|---|---|
id: 4 url: https://www.example.com/api/dcim/devices/4/ display: test3 name: test3 | 4 | dcim.device | 2022-12-04T14:33:52.067484Z | 1 | 2022-12-04 14:33 (Info) | 6 | value: info label: Info | 2022-12-07T08:19:57.807055Z | https://www.example.com/api/extras/journal-entries/6/ |
#
object-changes Eventsaction | changed_object | changed_object_id | changed_object_type | display | id | postchange_data | prechange_data | request_id | time | url | user | user_name |
---|---|---|---|---|---|---|---|---|---|---|---|---|
value: update label: Updated | id: 6 url: https://www.example.com/api/extras/journal-entries/6/ display: 2022-12-04 14:33 (Info) created: 2022-12-04T14:33:52.067484Z | 6 | extras.journalentry | extras | journal entry 2022-12-04 14:33 (Info) updated by netbox | 10 | kind: info tags: created: 2022-12-04T14:33:52.067Z comments: created_by: 1 last_updated: 2022-12-07T08:19:57.807Z custom_fields: {} assigned_object_id: 4 assigned_object_type: 25 | kind: tags: created: 2022-12-04T14:33:52.067Z comments: created_by: 1 last_updated: 2022-12-04T14:33:52.067Z custom_fields: {} assigned_object_id: 4 assigned_object_type: 25 | 12345678-abcd-1234-abcd-1234567890ab | 2022-12-07T08:19:57.810348Z | https://www.example.com/api/extras/object-changes/10/ | id: 1 url: https://www.example.com/api/users/users/1/ display: netbox username: netbox | netbox |