Description | This article describes how to delete an external FortiGuard category threat feed. |
Scope | FortiOS. |
Solution |
In order to delete an External FortiGuard category threat feed:
By default, if the External FortiGuard Category Threat Feed is referenced in any webfilter profile, it can only be removed from the profile by using the CLI.
Note: Every threat feed has its own unique category.
To identify the category of the external FortiGuard category threat feed, run the following command in the firewall CLI:
get webfilter categories
Example output:
get webfilter categories g01 Potentially Liable: ++ Output Omitted ++ g22 Local Categories
show webfilter profile | grep "category XYZ" -f
Note: Replace XYZ with the category ID value found from step 1.a.
The above command lists all profiles where the threat feed is referenced. For example:
show webfilter profile | grep "category 192" -f
In the example output above, 'test' is the webfilter profile in which the category 192 threat feed is referenced.
config webfilter profile delete XYZ end end end end
Note: Replace 'XYZ' with the category ID value found in step 1.a. Replace 'ABC' with the webfilter profile name from which the threat feed needs to be deleted. If the threat feed is referenced in multiple profiles, follow the procedure for each of the profiles.
Once the threat feed is deleted from all of the webfilter profiles, proceed with step 2:
Using the GUI:
Select Security Fabric -> External Connectors. Right-click on the FortiGuard category threat feed, select Delete, then select OK.
Using the CLI:
config system external-resource delete ABC end
Note: Replace 'ABC' with the name of the threat feed.
The following error will be seen in the CLI:
fgtfirewall # config system external-resource fgtfirewall (external-resource) # delete test fgtfirewall (external-resource) #
|