Oracle® Traffic Director Command-Line Reference 11g Release 1 (11.1.1.7) Part Number E21037-03 |
|
|
PDF · Mobi · ePub |
tadm install-webapp-firewall-ruleset common_options [--file-on-server] --config=config_name --vs=vs_name ruleset_file
Use this command to install a web application firewall ruleset. The webapp-firewall-ruleset
element configures the path to a WAF configuration file.
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.
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.
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
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.
help, delete-webapp-firewall-ruleset, list-webapp-firewall-rulesets