Custom Configuration Change Monitoring
This features provides a way for collecting configuration files for any device and monitoring changes.
Define a new vendor, model (Optional)
If the device vendor and model is not yet defined in FortiSIEM, then the new definition needs to be added.
To check whether you device is already defined
- Go to Admin > Device Support > Device/App Types
- In the Search area, type in the vendor name and see if it exists.
To add a new device type
- Go to Admin > Device Support > Device/App Types
- Click New
- Fill in the following information
- Vendor: Type in the name of the Vendor (e.g. Fortinet or Cisco)
- Model: Type in the model – be very generic – preferable software model e.g. FortiOS, IOS – do not enter hardware model for appliances
- Version: Most of the time ANY
- Device/App Group: Select the CMDB Group to which the new device will belong
- Business Service Group: Define the Business Service Group to which the new device will belong f. Description: Add description
- Click Save
Create a valid access method
- Go to Admin > Setup > Credentials (Step 1)
- Click Add.
- Create an SSH credential
- Device Type – Select your device
- Access Protocol – Set to SSH
- Define User Name and Password
- Click Save
- Go to Admin > Setup > Step 2: IP Range to Credentials
- Click Add
- Enter the following information for IP Range to Credential Mapping
- IP/Range – the access IP of the device
- Credentials – pick the credential in Step 3
- Click OK
- Select the entry and Click Test Connectivity or Test Connectivity without Ping
- Make sure Test Connectivity
Create a Performance Object
- Go to Admin > Device Support > Performance Monitoring
- Under Enter Performance Object are, Click New
- Enter the following information to create a new Performance Object
- Name – enter a name for reference
- Type – set to System
- Method – set to LOGIN
- Used For – set to Configuration Monitoring
- Expect Script – Click Upload to store a configuring pulling expect script in FortiSIEM
- Polling Frequency – determines how often configuration will be pulled – recommended 30 minutes
- Click Save
Create Device Type to Performance Object association
- Go to Admin > Device Support > Performance Monitoring
- Under Enter Device Type to Performance Object Association, Click New
- Enter the following information to create an association
- Name – enter a name for reference
- Device Types – select the relevant device type for custom configuration polling
- Perf Objects – Select the performance object created in previous step 4. Click Save
Discover the device
- Go to Admin > Setup > Discovery
- Click Add
- In Include Range, enter the IP address of the device
- Click OK
- Select the entry and then click Discover
Validation Check
The expect script will be executed and configuration will be discovered.
- Go to Admin > Setup > Monitor Change/Performance. Search for the device and check the configuration monitoring task under Syste m Monitor
- Go to Search for the device and check for the configuration under Configuration tab for the selected device.