修改管控策略deny动作、hijack动作、monitor动作请求curl执行命令

This commit is contained in:
jwc
2020-08-06 18:39:36 +08:00
parent 7ef4a7e0d9
commit 94661e4f31
31 changed files with 170 additions and 163 deletions

View File

@@ -68,7 +68,7 @@ Proxy-Policy-deny-00004
${policyId2} set Variable {"policyType":"pxy_manipulation","policyIds":[${deny_policyId3}]}
${policyIds} Create List ${policyId1} ${policyId2}
${s} Convert to String ${deny_policyId3}
GetLogList proxy_event_log ${deny_starttime6} ${deny_endtime6} ${testClentIP} ${s} http_host www.nielsen.com
GetLogList proxy_event_log ${deny_starttime6} ${deny_endtime6} ${testClentIP} ${s} http_host www.usdebtclock.org
Proxy-Policy-deny-00005
[Tags] 请求头
@@ -107,7 +107,7 @@ Proxy-Policy-deny-00007
${policyId2} set Variable {"policyType":"pxy_manipulation","policyIds":[${deny_policyId6}]}
${policyIds} Create List ${policyId1} ${policyId2}
${s} Convert to String ${deny_policyId6}
GetLogList proxy_event_log ${deny_starttime9} ${deny_endtime9} ${testClentIP} ${s} http_host www.europages.com.ru
GetLogList proxy_event_log ${deny_starttime9} ${deny_endtime9} ${testClentIP} ${s} http_host peoplestalkradio.com
Proxy-Policy-deny-00008
[Tags] 应答头
@@ -187,13 +187,14 @@ Proxy-Policy-deny-00013
#删除对象
${objectids} set Variable ${deny_objectId31}
${objectids} Catenate SEPARATOR=, ${objectids} ${deny_objectId32}
${objectids} Catenate SEPARATOR=, ${objectids} ${deny_objectId46}
#删除策略
${policyId1} set Variable {"policyType":"tsg_security","policyIds":[${intercept_deny_policyId12}]}
${policyId2} set Variable {"policyType":"pxy_manipulation","policyIds":[${deny_policyId12}]}
${policyIds} Create List ${policyId1} ${policyId2}
${s} Convert to String ${deny_policyId12}
GetLogList proxy_event_log ${deny_starttime15} ${deny_endtime15} ${testClentIP} ${s} http_host www.nypl.org
GetLogList proxy_event_log ${deny_starttime16} ${deny_endtime16} ${testClentIP} ${s} http_host www.webpronews.com
GetLogList proxy_event_log ${deny_starttime16} ${deny_endtime16} ${testClentIP} ${s} http_host www.thailand.com.co
GetLogList proxy_event_log ${deny_starttime17} ${deny_endtime17} ${testClentIP} ${s} http_host bj.zu.ke.com
GetLogList proxy_event_log ${deny_starttime18} ${deny_endtime18} ${testClentIP} ${s} http_host nationalbank.kz