1、修改重定向不同操作系统使用文件;

2、添加测试时默认添加测试机IP或subid;
This commit is contained in:
dongxiaoyan
2020-04-21 13:30:41 +08:00
parent bbef5a5ebd
commit a0d66edfd0
5 changed files with 23 additions and 7 deletions

View File

@@ -50,13 +50,14 @@ SelfServerSecurityPolicy-Deny-AllProtol-00001
... policyDesc=${Default_PolicyDesc}
... action=deny
... effectiveRange=${Default_EffectiveRange}
... userRegion=${Default_UserRegion}
... userRegion=method:rst
... referenceObject=${objectId}|TSG_SECURITY_DESTINATION_ADDR
... isValid=${Default_IsValid}
... appObjectIdArray=${Default_AppObjectIdArray}
... userTags=${Default_UserTags}
... doLog=${Default_DoLog}
... scheduleId=${Default_ScheduleId}
#默认客户端条件类型clientip or clientsubid ${Default_Client_Type}
${rescode} ${policyId} AddPolicy2 ${1} ${policyDict}
${s} Convert to String ${policyId}
${policyIds} Create List {"policyType":"tsg_security","policyIds":[${policyId}]}