< Home

rule type

Function

The rule type command adds a rule for a host check policy and specifies the type of the rule.

The undo rule command deletes the rule for a host check policy.

Format

rule rule-name type type-name

undo rule rule-name

Parameters

Parameter Description Value
rule-name Specifies the name of a rule. The value is a string of 1 to 63 case-sensitive characters.
type-name Specifies the type of the rule for a host check policy.
  • anti-nested-rdc: indicates that the type of the rule is check of the denial of double-hop remote desktop.
  • anti-printscreen: indicates that the type of the rule is anti-snapshot check.
  • anti-printscreen-whitelist: indicates that the type of the rule is anti-printscreen whitelist. It is used to check the anti-printscreen whitelist on the user terminal.
  • antivirus: indicates that the type of the rule is antivirus software check. It is used to check antivirus software installed and running on the user terminal.
  • file: indicates that the type of the rule is file check. It is used to check files on the user terminal.
  • firewall: indicates that the type of the rule is firewall software check. It is used to check firewall software installed and running on the user terminal.
  • os: indicates that the type of the rule is operating system check. It is used to check the operating system installed on the user terminal.
  • port: indicates that the type of the rule is port check. It is used to check opened ports on the user terminal.
  • process: indicates that the type of the rule is process check. It is used to check processes on the user terminal.
  • registry: indicates that the type of the rule is registry check. It is used to check the registry on the user terminal.

Views

Eps-policy view

Default Level

2: Configuration level

Usage Guidelines

A host check policy can support a maximum of 32 rules, and only one rule type can be specified for a rule.

Example

# Add rule rule1 for the host check policy and set the type of the rule to file check.

<sysname> system-view
[sysname] v-gateway abc
[sysname-abc] hostchecker
[sysname-abc-hostchecker] eps-policy policy1
[sysname-abc-hostchecker-policy1] rule rule1 type file
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic