Skip to main content

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 XSIAM#

  1. Navigate to Settings > Configurations > Data Collection > Automation & Feed Integrations.

  2. Search for NetBox Event Collector.

  3. Click Add instance to create and configure a new integration instance.

    ParameterRequired
    Server URL (e.g., https://www.example.com)True
    API KeyTrue
    First fetch timeFalse
    The maximum number of alerts per fetchFalse
    Trust any certificate (not secure)False
    Use system proxy settingsFalse
  4. Click Test to validate the URLs, token, and connection.

Commands#

You 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-events#


Gets events from NetBox.

Base Command#

netbox-get-events

Input#

Argument NameDescriptionRequired
should_push_eventsIf true, the command will create events, otherwise it will only display them. Possible values are: true, false. Default is false.Required
limitMaximum number of results to return.Optional

Context Output#

There is no context output for this command.

Command Example#

!netbox-get-events should_push_events=true limit=1

Human Readable Output#

journal-entries Events#

assigned_objectassigned_object_idassigned_object_typecommentscreatedcreated_bycustom_fieldsdisplayidkindlast_updatedtagsurl
id: 4
url: https://www.example.com/api/dcim/devices/4/
display: test3
name: test3
4dcim.device2022-12-04T14:33:52.067484Z12022-12-04 14:33 (Info)6value: info
label: Info
2022-12-07T08:19:57.807055Zhttps://www.example.com/api/extras/journal-entries/6/

object-changes Events#

actionchanged_objectchanged_object_idchanged_object_typedisplayidpostchange_dataprechange_datarequest_idtimeurluseruser_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
6extras.journalentryextras | journal entry 2022-12-04 14:33 (Info) updated by netbox10kind: 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-1234567890ab2022-12-07T08:19:57.810348Zhttps://www.example.com/api/extras/object-changes/10/id: 1
url: https://www.example.com/api/users/users/1/
display: netbox
username: netbox
netbox