| setpolicydataset_dynamic |
Use this method to set this is used to populate internal dataset information so that the dataset can also be used dynamically in an expression. Here dynamically means the dataset name can also be derived using an expression. For example for a given dataset name "allow_test" it can be used dynamically as client.ip.src.equals_any("allow_" + http.req.url.path.get(1)). This cannot be used with default datasets. |
Syntax |
Parameters |
name |
Name of the dataset. Must not exceed 127 characters. This is mandatory parameter. |
dynamic |
This is used to populate internal dataset information so that the dataset can also be used dynamically in an expression. Here dynamically means the dataset name can also be derived using an expression. For example for a given dataset name "allow_test" it can be used dynamically as client.ip.src.equals_any("allow_" + http.req.url.path.get(1)). This cannot be used with default datasets. Default value = NS_NO2. Possible Values : YES, NO. |
Return Value |
Returns simpleResult |
See Also |