CONFIG URLFILTERING RULE UPDATE

Level

contentfilter,modify

History

Appears in Netasq 9.0.0

Description

Modify a rule in configuration file at given line.

Usage

index=<profile_idx> ruleid=<digit> [state=on|off] [action=pass|block|blockpage0|blockpage1|blockpage2|blockpage3] [urlgroup=<urlgroup object|urlcategorygroup object>] [comment=<string>]
state : enable or disable the rule
index : profile number
ruleid : rule line number
action : action to apply
urlgroup : group name to use for filter
comment : comment for the rule

Example

CONFIG URLFILTERING RULE UPDATE index=0 ruleid=3 action=block urlgroup=ecommerce comment="block ecommerce"