修改标签大小写
This commit is contained in:
@@ -14,8 +14,8 @@ ${objectids} ${EMPTY}
|
|||||||
|
|
||||||
*** Test Cases ***
|
*** Test Cases ***
|
||||||
SecurityPolicy-Deny-DNS-00001
|
SecurityPolicy-Deny-DNS-00001
|
||||||
[Tags] Selfserver deny DNS ip+fqdn右匹配
|
[Tags] Selfserver Deny Dns Ip+Fqdn右匹配
|
||||||
Comment FQDN
|
Comment 创建fqdn
|
||||||
${objectDict} Create Dictionary objectType=fqdn isValid=${1} addItemList=*yhd.com
|
${objectDict} Create Dictionary objectType=fqdn isValid=${1} addItemList=*yhd.com
|
||||||
${rescode} ${object_fqdn_Id} AddObject2 ${1} ${objectDict}
|
${rescode} ${object_fqdn_Id} AddObject2 ${1} ${objectDict}
|
||||||
${objectids} set Variable ${object_fqdn_Id}
|
${objectids} set Variable ${object_fqdn_Id}
|
||||||
@@ -28,7 +28,7 @@ SecurityPolicy-Deny-DNS-00001
|
|||||||
${commandstr} run keyword if '${systemType}'=='Windows' set variable nslookup -d www.yhd.com
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable nslookup -d www.yhd.com
|
||||||
... ELSE set variable nslookup -d www.yhd.com
|
... ELSE set variable nslookup -d www.yhd.com
|
||||||
${stringlist} run keyword if '${systemType}'=='Windows' Create List 超时
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List 超时
|
||||||
... ELSE Create List 超时
|
... ELSE Create List canonical name = www.yhd.com
|
||||||
${starttime} Get Time
|
${starttime} Get Time
|
||||||
Sleep ${policyVerificationSleepSeconds}s
|
Sleep ${policyVerificationSleepSeconds}s
|
||||||
${rescode} SystemCommands ${commandstr} ${stringlist}
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||||||
@@ -39,8 +39,8 @@ SecurityPolicy-Deny-DNS-00001
|
|||||||
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} dns_qname yhd.com
|
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} dns_qname yhd.com
|
||||||
|
|
||||||
SecurityPolicy-Deny-DNS-00002
|
SecurityPolicy-Deny-DNS-00002
|
||||||
[Tags] Selfserver deny DNS ip+cat完整匹配
|
[Tags] Selfserver Deny Dns Ip+Cat完整匹配
|
||||||
Comment FQDN
|
Comment 创建fqdn
|
||||||
${objectDict} Create Dictionary objectType=fqdn_category isValid=${1} addItemList=$www.toutiao.com
|
${objectDict} Create Dictionary objectType=fqdn_category isValid=${1} addItemList=$www.toutiao.com
|
||||||
${rescode} ${object_fqdn_Id} AddObject2 ${1} ${objectDict}
|
${rescode} ${object_fqdn_Id} AddObject2 ${1} ${objectDict}
|
||||||
${objectids} set Variable ${object_fqdn_Id}
|
${objectids} set Variable ${object_fqdn_Id}
|
||||||
@@ -51,7 +51,7 @@ SecurityPolicy-Deny-DNS-00002
|
|||||||
${policyIds} Create List {"policyType":"tsg_security","policyIds":[${policyId}]}
|
${policyIds} Create List {"policyType":"tsg_security","policyIds":[${policyId}]}
|
||||||
Comment 功能端验证HTTP验证
|
Comment 功能端验证HTTP验证
|
||||||
${commandstr} run keyword if '${systemType}'=='Windows' set variable nslookup -d www.toutiao.com
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable nslookup -d www.toutiao.com
|
||||||
... ELSE set variable nslookup -d www.toutiao.com
|
... ELSE set variable nslookup \ www.toutiao.com
|
||||||
${stringlist} run keyword if '${systemType}'=='Windows' Create List canonical name = www.vip.com
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List canonical name = www.vip.com
|
||||||
... ELSE Create List canonical name = www.vip.com
|
... ELSE Create List canonical name = www.vip.com
|
||||||
${starttime} Get Time
|
${starttime} Get Time
|
||||||
|
|||||||
Reference in New Issue
Block a user