安全策略Monitor,Deny动作修改用例补充与curl命令补充
This commit is contained in:
@@ -8,6 +8,7 @@ Resource ../../../02-Keyword/tsg_bfapi/LogVariable.robot
|
||||
Resource ../../../05-Other/AllFlowCaseVariable.txt
|
||||
Resource ../../../02-Keyword/tsg_adc/FileOperation.robot
|
||||
Resource ../../../05-Other/AllFlowCaseVariable1.txt
|
||||
Resource ../../../03-Variable/BifangApiVariable.txt
|
||||
|
||||
*** Variables ***
|
||||
${policyIds} ${EMPTY}
|
||||
@@ -17,27 +18,32 @@ ${objectids} ${EMPTY}
|
||||
SecurityPolicy-Deny-Mail-00001
|
||||
#删除对象
|
||||
${objectids} set Variable ${deny_mail_objectId}
|
||||
${objectids} Catenate SEPARATOR=, ${objectids} ${deny_mail_objectId32}
|
||||
${objectids} Catenate SEPARATOR=, ${objectids} ${deny_mail_objectId33}
|
||||
#删除策略
|
||||
${policyIds} Create List {"policyType":"tsg_security","policyIds":[${deny_mail_policyId}]}
|
||||
${s} Convert to String ${deny_mail_policyId}
|
||||
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} mail_account 13103304145@163.com
|
||||
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} mail_account ${mailAccount}
|
||||
|
||||
SecurityPolicy-Deny-Mail-00002
|
||||
#删除对象
|
||||
${objectids} set Variable ${deny_mail_objectId1}
|
||||
${objectids} Catenate SEPARATOR=, ${objectids} ${deny_mail_objectId34}
|
||||
#删除策略
|
||||
${policyIds} Create List {"policyType":"tsg_security","policyIds":[${deny_mail_policyId1}]}
|
||||
${s} Convert to String ${deny_mail_policyId1}
|
||||
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} mail_account 13103304145@163.com
|
||||
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} mail_account ${mailAccount}
|
||||
|
||||
SecurityPolicy-Deny-Mail-00003
|
||||
#删除对象
|
||||
${objectids} set Variable ${deny_mail_objectId2}
|
||||
${objectids} Catenate SEPARATOR=, ${objectids} ${deny_mail_objectId3}
|
||||
${objectids} Catenate SEPARATOR=, ${objectids} ${deny_mail_objectId35}
|
||||
${objectids} Catenate SEPARATOR=, ${objectids} ${deny_mail_objectId36}
|
||||
#删除策略
|
||||
${policyIds} Create List {"policyType":"tsg_security","policyIds":[${deny_mail_policyId2}]}
|
||||
${s} Convert to String ${deny_mail_policyId2}
|
||||
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} mail_account 13103304145@163.com
|
||||
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} mail_account ${mailAccount}
|
||||
|
||||
SecurityPolicy-Deny-Mail-00004
|
||||
#删除对象
|
||||
@@ -46,7 +52,7 @@ SecurityPolicy-Deny-Mail-00004
|
||||
#删除策略
|
||||
${policyIds} Create List {"policyType":"tsg_security","policyIds":[${deny_mail_policyId3}]}
|
||||
${s} Convert to String ${deny_mail_policyId3}
|
||||
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} mail_account 13103304145@163.com
|
||||
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} mail_account ${mailAccount}
|
||||
|
||||
SecurityPolicy-Deny-Mail-00005
|
||||
#删除对象
|
||||
@@ -55,7 +61,7 @@ SecurityPolicy-Deny-Mail-00005
|
||||
#删除策略
|
||||
${policyIds} Create List {"policyType":"tsg_security","policyIds":[${deny_mail_policyId4}]}
|
||||
${s} Convert to String ${deny_mail_policyId4}
|
||||
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} mail_account 13103304145@163.com
|
||||
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} mail_account ${mailAccount}
|
||||
|
||||
SecurityPolicy-Deny-Mail-00006
|
||||
#删除对象
|
||||
@@ -64,7 +70,7 @@ SecurityPolicy-Deny-Mail-00006
|
||||
#删除策略
|
||||
${policyIds} Create List {"policyType":"tsg_security","policyIds":[${deny_mail_policyId5}]}
|
||||
${s} Convert to String ${deny_mail_policyId5}
|
||||
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} mail_account 13103304145@163.com
|
||||
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} mail_account ${mailAccount}
|
||||
|
||||
SecurityPolicy-Deny-Mail-00007
|
||||
#删除对象
|
||||
@@ -73,7 +79,7 @@ SecurityPolicy-Deny-Mail-00007
|
||||
#删除策略
|
||||
${policyIds} Create List {"policyType":"tsg_security","policyIds":[${deny_mail_policyId6}]}
|
||||
${s} Convert to String ${deny_mail_policyId6}
|
||||
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} mail_account 13103304145@163.com
|
||||
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} mail_account ${mailAccount}
|
||||
|
||||
SecurityPolicy-Deny-Mail-00008
|
||||
#删除对象
|
||||
@@ -82,7 +88,7 @@ SecurityPolicy-Deny-Mail-00008
|
||||
#删除策略
|
||||
${policyIds} Create List {"policyType":"tsg_security","policyIds":[${deny_mail_policyId7}]}
|
||||
${s} Convert to String ${deny_mail_policyId7}
|
||||
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} mail_account 13103304145@163.com
|
||||
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} mail_account ${mailAccount}
|
||||
|
||||
SecurityPolicy-Deny-Mail-00009
|
||||
#删除对象
|
||||
@@ -91,7 +97,7 @@ SecurityPolicy-Deny-Mail-00009
|
||||
#删除策略
|
||||
${policyIds} Create List {"policyType":"tsg_security","policyIds":[${deny_mail_policyId8}]}
|
||||
${s} Convert to String ${deny_mail_policyId8}
|
||||
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} mail_account 13103304145@163.com
|
||||
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} mail_account ${mailAccount}
|
||||
|
||||
SecurityPolicy-Deny-Mail-00010
|
||||
#删除对象
|
||||
@@ -100,7 +106,7 @@ SecurityPolicy-Deny-Mail-00010
|
||||
#删除策略
|
||||
${policyIds} Create List {"policyType":"tsg_security","policyIds":[${deny_mail_policyId9}]}
|
||||
${s} Convert to String ${deny_mail_policyId9}
|
||||
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} mail_account 13103304145@163.com
|
||||
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} mail_account ${mailAccount}
|
||||
|
||||
SecurityPolicy-Deny-Mail-00011
|
||||
#删除对象
|
||||
@@ -109,7 +115,7 @@ SecurityPolicy-Deny-Mail-00011
|
||||
#删除策略
|
||||
${policyIds} Create List {"policyType":"tsg_security","policyIds":[${deny_mail_policyId10}]}
|
||||
${s} Convert to String ${deny_mail_policyId10}
|
||||
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} mail_account 13103304145@163.com
|
||||
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} mail_account ${mailAccount}
|
||||
|
||||
SecurityPolicy-Deny-Mail-00012
|
||||
#删除对象
|
||||
@@ -118,7 +124,7 @@ SecurityPolicy-Deny-Mail-00012
|
||||
#删除策略
|
||||
${policyIds} Create List {"policyType":"tsg_security","policyIds":[${deny_mail_policyId11}]}
|
||||
${s} Convert to String ${deny_mail_policyId11}
|
||||
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} mail_account 13103304145@163.com
|
||||
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} mail_account ${mailAccount}
|
||||
|
||||
SecurityPolicy-Deny-Mail-00013
|
||||
#删除对象
|
||||
@@ -127,7 +133,7 @@ SecurityPolicy-Deny-Mail-00013
|
||||
#删除策略
|
||||
${policyIds} Create List {"policyType":"tsg_security","policyIds":[${deny_mail_policyId12}]}
|
||||
${s} Convert to String ${deny_mail_policyId12}
|
||||
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} mail_account 13103304145@163.com
|
||||
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} mail_account ${mailAccount}
|
||||
|
||||
SecurityPolicy-Deny-Mail-00014
|
||||
#删除对象
|
||||
@@ -136,7 +142,7 @@ SecurityPolicy-Deny-Mail-00014
|
||||
#删除策略
|
||||
${policyIds} Create List {"policyType":"tsg_security","policyIds":[${deny_mail_policyId13}]}
|
||||
${s} Convert to String ${deny_mail_policyId13}
|
||||
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} mail_account 13103304145@163.com
|
||||
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} mail_account ${mailAccount}
|
||||
|
||||
SecurityPolicy-Deny-Mail-00015
|
||||
#删除对象
|
||||
@@ -149,4 +155,4 @@ SecurityPolicy-Deny-Mail-00015
|
||||
#删除策略
|
||||
${policyIds} Create List {"policyType":"tsg_security","policyIds":[${deny_mail_policyId14}]}
|
||||
${s} Convert to String ${deny_mail_policyId14}
|
||||
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} mail_account 13103304145@163.com
|
||||
GetLogList security_event_log ${starttime} ${endtime} ${testClentIP} ${s} mail_account ${mailAccount}
|
||||
|
||||
Reference in New Issue
Block a user