Created on
04-02-2025
05:28 AM
Edited on
04-02-2025
06:36 AM
By
Anthony_E
| Description | This article describes how to delete one rule from the CLI. |
| Scope | FortiSIEM. |
| Solution |
Depending on the situation, it may be required to remove a rule from the command line interface on the super FortiSIEM node. Here are the steps:
psql -U phoenix phoenixdb -c "select id,name, to_timestamp(creation_time/1000) as creation_time, cust_org_id, to_timestamp(last_modified_time/1000) as last_modified_time, to_timestamp(activated_time/1000) as activated_time, active from ph_drq_rule where name ilike '%account locked: Domain%';" 991201 | Account Locked: Domain | 2025-01-31 11:02:47+00 | 0 | 2025-03-12 11:31:43+00 | | f
Make sure this is the correct rule, and note the ID from the following commands.
psql -U phoenix phoenixdb -c "delete from ph_drq_rule2event_filter where rule_id=4791560;"
If the rule was active, to apply the new rule list, it will be required to do some other modifications in another activated rule in the GUI or restart the application server with:
kill -9 $(cat /opt/glassfish/domains/domain1/config/pid) |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.