Creating Outbound Policies for Exporting CMDB Devices to External Helpdesk Systems
You can populate an external CMDB from FortiSIEM CMDB. Currently, ServiceNow CMDB population is natively supported. For other CMDB, you need to write a Java class and add some mapping files.
Prerequisites
Make sure you have the URL and the credentials for connecting to external help desk systems. The credentials must have sufficient permission to make changes to the CMDB.
Procedure
Creating an integration policy
- Log into your Supervisor node with administrator credentials.
- Go to Admin > General Settings > Integration.
- Click Add.
- For Type, select Device.
- For Direction, select Outbound.
- For Vendor, select the vendor of the system you want to connect to. ServiceNow is supported out of the box.
When you select the Vendor:
- An Instance is created – this is the unique name for this policy. For example if you had 2 ServiceNow installations, each would have different Instance names.
- A default Plugin Name is populated – this is the Java code that implements the integration including connecting to the external help desk systems and synching the CMDB elements. The plugin is automatically populated for ServiceNow and ConnectWise. For other vendors, you have to create your own plugin and type in the plugin name here
- For Host/URL, enter the host name or URL of the external system.
- For User Name and Password, enter a user name and password that the system can use to authenticate with the external system.
- Enter the Maximum number of devices to send to the external system.
- For Org Mapping, click Edit to create mappings between the organizations in your FortiSIEM deployment and the names of the organization in the external system.
- For ConnectWise, it is possible to define a Content Mapping
- Enter Column Mapping
- To add a new mapping, Click on the + button
- Choose an FortiSIEM CMDB attribute as the Source Column
- Enter Column Mapping
- Enter external (ConnectWise) attribute as the Destination Column
- Specify Default Mapped Value as the value assigned to the Destination Column if the Source Column is not found in Data Mapping definitions.
- Select Put to a Question is the Destination Column is a custom column in ConnectWise b. Enter Data Mapping
- Choose the (Destination) Column Name
- Enter From as the value in FortiSIEM iii. Enter To as the value in ConnectWise
- For Groups, click Edit if you want the policy to only apply to a specific group of CMDB devices.
- Select Run after Discovery if you want this export to take place after you have run discovery in your system. This is the only way to push automatic changes from FortiSIEM to the external system.
- Click Save.
Updating external CMDB automatically after FortiSIEM discovery
- Create an integration policy
- Make sure Run after Discovery is checked.
- Click Save
Updating external CMDB automatically on a schedule
- Log into your FortiSIEM Supervisor with administrator credentials.
- Go to Admin > General Settings > Integration.
- Click Schedule and then click +
- Select the integration policies
- Select a schedule
Updating external CMDB on-demand (one-time)
- Log into your FortiSIEM Supervisor with administrator credentials.
- Go to Admin > General Settings > Integration.
- Select a specific integration policy and Click Run
Populating custom CMDB or extending current integration
Create a new plugin by following instructions in the FortiSIEM ServiceAPI. The document is available at FortiSIEM support portal under FortiSIEM ServiceAPI section.
Setting Schedules for Receiving Information from External Systems
Prerequisites
Procedure
You can set schedules for when your inbound external integration policies will run and update your incidents or CMDB.
Prerequisites
You should already have created an inbound policy for importing a device from an external system or an an inbound policy for receiving Incidents.
Procedure
- Log in to your Supervisor node.
- Go to Admin > General Settings > Integration.
- Click Schedule.
- Click +.
- Select the notification policy you want to create a schedule for, and use the arrow buttons to add it to the Selected
- Set the parameters for one-time, Hourly, Daily, Weekly, or Monthly scheduled updates.
- Click OK.
Using the AccelOps API to Integrate with External Systems
Exporting Events to External Systems via Kafka
This section describes procedures for exporting FortiSIEM events to an external system via the Kafka message bus.
Prerequisites
Make sure you have set up a Kafka Cloud (here) with a specific Topic for FortiSIEM events.
Make sure you have identified a set of Kafka brokers that FortiSIEM is going to send events to.
Make sure you have configured Kafka receivers which can parse FortiSIEM events and store in a database. An example would be Logstash receiver (see here) that can store in a Elastic Search database. Supported Kafka version: 0.8
Procedure