install-webapp-firewall-ruleset

Syntax

tadm install-webapp-firewall-ruleset common_options [--file-on-server] --config=config_name --vs=vs_name ruleset_file

Description

Use this command to install a web application firewall ruleset. The webapp-firewall-ruleset element configures the path to a WAF configuration file.

Options

For information about common_options, run the help command.

--file-on-server|-f

If you specify this option, the ruleset file is available on the administration server host. If you do not specify this option, the file is assumed to be available on the client machine and will be uploaded to the server.

--config|-c

Specify the name of the configuration where you want to install the web application firewall ruleset.

--vs|-s

Specify the name of the virtual server.

Operands

ruleset-file

Specify the full path of the ruleset file. This file must be placed in a ruleset subdirectory within the config directory of an instance. In addition, the server.xml must be updated to include this directory.

Example

tadm install-webapp-firewall-ruleset --user=admin --host=admin.example.com 
--password-file=./admin.passwd --port=8989 
--config=www.example.org /tmp/waf-rule.conf

Exit Codes

The following exit values are returned:

0: command executed successfully

>0: error in executing the command

For more information about exit codes and syntax notations, run the help command.