File name
Any name
Description
The CSV file used for registering, updating, and listing policies.
Specify this file for the option of swcfmg_report_policy (Policy Information Management command) to register, update, and list the policy definitions. When registering or updating a policy using this CSV file, refer to "Creating Policies" in the Operator's Guide to create the CSV file.
File location
Any folder
File format
CSV format
[#]<policy-id>,<policy-name>,<enable>,<view-id>,<target-type>,<target-data>,<comparison-method-id>,<threshold-value> ...
Parameters
The following line is regarded as a single definition:
[#]<policy-id>,<policy-name>,<enable>,<view-id>,<target-type>,<target-data>,<comparison-method-id>,<threshold-value>
Column | Item | Meaning | Value | Remarks |
# | Comment line | - | - | |
1 | policy-id | Policy ID | Example: Policy1 | Can be omitted when registering, but cannot be omitted when updating. Cannot be modified. When registered, it is a character string containing up to 32 characters and composed of alphanumeric characters, hyphens ("-"), and underscores ("_"). The string begins with an alphanumeric character. When omitted during registration, the ID is automatically numbered. A policy ID which is already being used cannot be used. When updating the policy, specify the ID output in the list. |
2 | policy-name | Policy name | Example: Policy1 | Cannot be omitted. Can be modified. Specify up to 85 characters. |
3 | enable | Enable/disable | Example: true | Cannot be omitted. Can be modified. Specify one of the following values:
|
4 | view-id | View ID | Example: View1 | Cannot be omitted. Cannot be modified. |
5 | target-type | Target type | Example: cicount | Cannot be omitted. Cannot be modified. Specify one of the following values:
|
6 | target-data | Target data | Example: 1 | Cannot be omitted. Can be modified. When the target type is cicount, specify the layer number. When the target type is attrvalue, specify the column number. |
7 | comparison-method-id | Comparison method ID | Example: eq | Cannot be omitted. Can be modified. Specify one of the following values:
|
8 | threshold-value | Threshold value | Example: 100 | Can be omitted. Can be modified. Specify up to 255 characters. Omit when specifying an empty string. |
Notes
None.
Examples
For registration
,IP_address_is_192.168.1.*,enable,52IGWFQC9,attrvalue,4,regexp,192\.168\.1\..* ,The_number_of_Windows_Web_servers,enable,52IGWFQC9,cicount,3,lt,10
For update
265GWMOG0,IP_address_is_192.168.1.*,false,52IGWFQC9,attrvalue,4,regexp,192\.168\.1\..* B25FQP04D,The_number_of_Windows_Web,enable,52IGWFQC9,cicount,3,lt,15