deleteIntrusionRuleGroup

The deleteIntrusionRuleGroup operation handles configuration related to IntrusionRuleGroup model. 

Description

This API call is not allowed on the standby unit in an HA pair.

This API is only supported for Snort 3. This will allow the user to delete a custom intrusion rule group

Path Parameters

Parameter Required Type Description
objId True string

Query Parameters

Parameter Required Type Description
disableInAllPolicies False boolean A Boolean value, TRUE or FALSE. This parameter is optional and the default value is False. A TRUE value indicates that the rule group will be disabled for all intrusion policies automatically before the deletion.
cascadeDelete False boolean A Boolean value, TRUE or FALSE. This parameter is optional and the default value is False. A TRUE value indicates that a cascade deletion will be performed when deleting the rule group. This means rules that no longer are contained within a rule group, due to the removal of this rule group, will also be deleted.

Example

- name: Execute 'deleteIntrusionRuleGroup' operation
  ftd_configuration:
    operation: "deleteIntrusionRuleGroup"
    path_params:
        objId: "{{ obj_id }}"
    query_params:
        disableInAllPolicies: "{{ disable_in_all_policies }}"
        cascadeDelete: "{{ cascade_delete }}"