Cisco Cisco Expressway Maintenance Manual

Page of 473
# - a hex digit.
Allow List Rules File Reference
You can define rules using a CSV file. This topic provides a reference to acceptable data for each rule argument, and 
demonstrates the format of the CSV rules.
Argument 
index
Parameter 
name
Required/Optional Sample value
0
Url
Required
protocol://host[:port][/path]
Where:
 
protocol is 
http
 or 
https
 
host may be a DNS name or IP address
 
:port is optional, and may only be : followed by one number 
in the range 0-65535, eg. 
:8443
If the port is not specified, then the Expressway uses the 
default port for the supplied protocol (80 or 443)
 
/path is optional and must conform to HTTP specification
1
Deployment
Optional
Name of the deployment that uses this rule. Required when you 
have more than one deployment, otherwise supply an empty 
argument.
2
HttpMethods Optional
Comma-delimited list of HTTP methods, optionally in double-
quotes, eg. 
"GET,PUT"
3
MatchType
Optional
exact
 or 
prefix
. Default is 
prefix
4
Description
Optional
Text description of the rule. Enclose with double quotes if there are 
spaces.
Table 26    Allow List Rule Arguments
Example CSV file
Url,Deployment,HttpMethods,MatchType,Description
 
https://myServer1:8443/myPath1,myDomain1,GET,,"First Rule"
 
http://myServer2:8000/myPath2,myDomain200,"GET,PUT",exact,
 
https://myServer3:8080/myPath3,myDomain1,,prefix,"Third Rule"
 
https://myServer4/myPath4,myDomain1,,prefix,"Fourth Rule"
 
http://myServer5/myPath5,myDomain1,,prefix,"Fifth Rule"
 
 
 
 
List the parameter names (as shown) in the first line of the file
 
One rule per line, one line per rule
 
Separate arguments with commas
 
Correctly order the rule values as shown in the table above
 
Enclose values that have spaces in them with double quotes
Allow List Tests File Reference
You can define tests using a CSV file. This topic provides a reference to acceptable data for each test argument, and 
demonstrates the format of the CSV tests.
353
Cisco Expressway Administrator Guide
Reference Material