The display rule command displays the list of the added rules of the host check policy and detailed information about the specified rules.
| Parameter | Description | Value |
|---|---|---|
| rule-name | Specifies the name of the rule. | The value is a string of 1 to 63 case-sensitive characters. |
# Display the list of the added rules for the host check policy policy1.
<sysname> system-view [sysname] v-gateway abc [sysname-abc] hostchecker [sysname-abc-hostchecker] eps-policy policy1 [sysname-abc-hostchecker-policy1] display rule
EPS Rule List
---------------
RuleName RuleType
------------------------------------------------------------------------------
rule4 antivirus
rule2 file
rule7 firewall
rule1 OS version
rule6 port
rule3 process
rule5 registry
------------------------------------------------------------------------------
EPS End Point Security
----End
Item |
Description |
|---|---|
RuleName |
Name of the rule |
RuleType |
Type of the added rule:
|
# Display detailed information about OS Version rule1, File rule2, Process rule3, Antivirus rule4, Registry rule5, Port rule6, and Firewall rule7 added to host check policy policy1.
<sysname> system-view [sysname] v-gateway abc [sysname-abc] hostchecker [sysname-abc-hostchecker] eps-policy policy1 [sysname-abc-hostchecker-policy1] display rule rule1
VG EPS Rule Information
-------------------------------
Rule Name: rule1
Belong to VG: abc
Belong to Policy: policy1
Rule Type: OS
OS Version: win2000
SP: SP3
OS Version: win2003
SP: ignore
OS Version: win2008
SP: ignore
OS Version: winxp
SP: ignore
OS Version: vista
SP: ignore
----End
[sysname-abc-hostchecker-policy1] display rule rule2
VG EPS Rule Information ------------------------------- Rule Name: rule2 Belong to VG: abc Belong to Policy: policy1 Rule Type: file File Name: abc.txt Action: deny delete MD5 value: ABCDE134ABCDE134ABCDE134ABCDE134 SHA256 value: 268676e0861154b0f08f621fc914e97c9ace8f001d6232fa3c91a09e3e5cb960 ----End
[sysname-abc-hostchecker-policy1] display rule rule3
VG EPS Rule Information
-------------------------------
Rule Name: rule3
Belong to VG: abc
Belong to Policy: policy1
Rule Type: process
Process Name: xyz.exe
Action: deny terminate
MD5 value: abcde123abcde123abcde123abcde123
SHA256 value: 268676e0861154b0f08f621fc914e97c9ace8f001d6232fa3c91a09e3e5cb960
----End
[sysname-abc-hostchecker-policy1] display rule rule4
VG EPS Rule Information
-------------------------------
Rule Name: rule4
Belong to VG: abc
Belong to Policy: policy1
Rule Type: antivirus
Software: Norton Antivirus 2013
Software: Ringstar Antivirus 2011
----End
[sysname-abc-hostchecker-policy1] display rule rule5
VG EPS Rule Information
-------------------------------
Rule Name: rule5
Belong to VG: abc
Belong to Policy: policy1
Rule Type: registry
Key: HKEY_CLASSES_ROOT\dfads
Item: ProxyEnable
Type: reg-sz
Value: fasdf
Action: unrepair
----End
[sysname-abc-hostchecker-policy1] display rule rule6
VG EPS Rule Information
-------------------------------
Rule Name: rule6
Belong to VG: abc
Belong to Policy: policy1
Rule Type: port
Port List: 70-75,80
Action: deny
----End
[sysname-abc-hostchecker-policy1] display rule rule7
VG EPS Rule Information ------------------------------- Rule Name: rule7 Belong to VG: abc Belong to Policy: policy1 Rule Type: firewall Software: Any software ----End
Item |
Description |
|---|---|
Rule Name |
Name of the rule |
Belong to VG |
Virtual gateway which the rule belongs to |
Belong to Policy |
Host check policy which the rule belongs to |
Rule Type |
Type of the rule:
|
OS Version |
Version of the configured operating system:
|
SP |
The earliest patch version for the configured operating system:
|
Item |
Description |
|---|---|
Rule Name |
Name of the rule |
Belong to VG |
Virtual gateway that the rule belongs to |
Belong to Policy |
Host check policy which the rule belongs to |
Rule Type |
Type of the rule:
|
File Name |
Name of the file to be checked |
Action |
Action of the rule:
|
MD5 value |
MD5 value of the file |
SHA256 value |
SHA256 value of the file |
Item |
Description |
|---|---|
Rule Name |
Name of the rule |
Belong to VG |
Virtual gateway which the rule belongs to |
Belong to Policy |
Host check policy which the rule belongs to |
Rule Type |
Type of the rule:
|
Process Name |
Name of the process to be checked |
Action |
Action of the rule:
|
MD5 value |
MD5 value of the process |
SHA256 value |
SHA256 value of the process |
Item |
Description |
|---|---|
Rule Name |
Name of the rule |
Belong to VG |
Virtual gateway which the rule belongs to |
Belong to Policy |
Host check policy which the rule belongs to |
Rule Type |
Type of the rule:
|
Software |
Name of the antivirus software |
Item |
Description |
|---|---|
Rule Name |
Name of the rule |
Belong to VG |
Virtual gateway which the rule belongs to |
Belong to Policy |
Host check policy which the rule belongs to |
Rule Type |
Type of the rule:
|
Key |
Key value of the registry |
Item |
Name of the registry item |
Type |
Type of the registry item:
|
Value |
Value of the registry item |
Action |
Action of the rule
|
Item |
Description |
|---|---|
Rule Name |
Name of the rule |
Belong to VG |
Virtual gateway which the rule belongs to |
Belong to Policy |
Host check policy which the rule belongs to |
Rule Type |
Type of the rule:
|
Port List |
List of the ports to be checked |
Action |
Action of the rule:
|
Item |
Description |
|---|---|
Rule Name |
Name of the rule |
Belong to VG |
Virtual gateway which the rule belongs to |
Belong to Policy |
Host check policy which the rule belongs to |
Rule Type |
Type of the rule:
|
Software |
Name of the firewall software |