1、公共文件添加日志查询次数变量${logfornumber}2、修改安全策略allow协议http和ssl全流程用例3、新建log验证关键字(循环验证)

This commit is contained in:
lyf
2021-04-28 18:49:45 +08:00
parent 253793312b
commit c6fff1f700
6 changed files with 534 additions and 281 deletions

View File

@@ -0,0 +1,8 @@
#/user/bin/python
#-*-coding:utf-8-*-
def log_contrast(logs,client_ip,policy_id,parmkey,parmvalue):
if (str(client_ip) in str(logs))and (str(policy_id) in str(logs)) and (str(parmkey) in str(logs)) and (str(parmvalue) in str(logs)):
print(logs)
return "true"
else:
return "false"