@@ -1,5 +1,5 @@
|
||||
*** Settings ***
|
||||
Test Teardown DeletePolicyAndObject1 ${policyIds} ${objectids} ${url} ${profiledId} ${categoryIds}
|
||||
Test Teardown DeletePolicyAndObject1 ${policyIds} ${objectids} ${url} ${profiledId}
|
||||
Force Tags tsg_adc_wp adc_log security_policy
|
||||
Library OperatingSystem
|
||||
Resource ../../../02-Keyword/tsg_adc/SystemCommand.robot
|
||||
@@ -14,7 +14,6 @@ ${policyIds} ${EMPTY}
|
||||
${objectids} ${EMPTY}
|
||||
${url} /v1/policy/profile/responsepages
|
||||
${profiledId} ${EMPTY}
|
||||
${categoryIds} ${EMPTY}
|
||||
|
||||
*** Test Cases ***
|
||||
SecurityPolicy-Deny-Http-00001
|
||||
@@ -22,8 +21,6 @@ SecurityPolicy-Deny-Http-00001
|
||||
${objectids} set Variable ${deny_http_objectId}
|
||||
${objectids} Catenate SEPARATOR=, ${objectids} ${deny_http_objectId35}
|
||||
${objectids} Catenate SEPARATOR=, ${objectids} ${deny_http_objectId36}
|
||||
#删除category
|
||||
${categoryIds} set Variable ${deny_http_categoryId}
|
||||
#删除策略
|
||||
${policyIds} Create List {"policyType":"tsg_security","policyIds":[${deny_http_policyId}]}
|
||||
${s} Convert to String ${deny_http_policyId}
|
||||
@@ -138,10 +135,11 @@ SecurityPolicy-Deny-Http-00012
|
||||
SecurityPolicy-Deny-Http-00013
|
||||
#删除对象
|
||||
${objectids} set Variable ${deny_http_objectId20}
|
||||
${objectids} Catenate SEPARATOR=, ${objectids} ${deny_http_objectId46}
|
||||
#删除策略
|
||||
${policyIds} Create List {"policyType":"tsg_security","policyIds":[${deny_http_policyId12}]}
|
||||
${s} Convert to String ${deny_http_policyId12}
|
||||
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host ziroom.com
|
||||
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host blog.cnstock.com
|
||||
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host sinovision.net
|
||||
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host nlr.ru
|
||||
|
||||
|
||||
Reference in New Issue
Block a user