解决部分因策略相互影响导致的策略不生效问题

This commit is contained in:
hebingning
2021-02-08 18:33:51 +08:00
parent d69df14c09
commit 78495d8cff
27 changed files with 78 additions and 54 deletions

View File

@@ -193,7 +193,7 @@ SecurityPolicy-Deny-Http-00013
SecurityPolicy-Deny-Http-00014
Comment 功能端验证HTTP验证
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Deny_HTTP_00014.bat
... ELSE set variable curl -H "Content-Type:application/json;charset=UTF-8" -X POST -d "{"requestbody":"1234567","setcook":"12345678","contenttype": "content-type","responsebody": "Response Body"}" http://open.node.com/go
... ELSE set variable curl -H "Content-Type:application/json;charset=UTF-8" -X POST -d "{"requestbody":"testDenyHttp0014","setcook":"12345678","contenttype": "content-type","responsebody": "testDenyHttp0014"}" http://open.node.com/go
${stringlist} run keyword if '${systemType}'=='Windows' Create List Not Found
... ELSE Create List Connection reset by peer
${rescode} SystemCommands ${commandstr} ${stringlist}
@@ -203,7 +203,7 @@ SecurityPolicy-Deny-Http-00014
${rescode} UpdatePolicies 1 ${policyDict} v2 update
Comment 功能端验证HTTP验证
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Deny_HTTP_00014.bat
... ELSE set variable curl -H "Content-Type:application/json;charset=UTF-8" -X POST -d "{"requestbody":"1234567","setcook":"12345678","contenttype": "content-type","responsebody": "Response Body"}" http://open.node.com/go
... ELSE set variable curl -H "Content-Type:application/json;charset=UTF-8" -X POST -d "{"requestbody":"biubiubiud","setcook":"12345678","contenttype": "content-type","responsebody": "biubiubiud"}" http://open.node.com/go
${stringlist} run keyword if '${systemType}'=='Windows' Create List Not Found
... ELSE Create List Connection reset by peer
${rescode} SystemCommands ${commandstr} ${stringlist}