feat(API):策略/对象新增默认值补充
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
*** Variables ***
|
||||
#策略
|
||||
policyName autotest_policy
|
||||
policyType tsg_security
|
||||
policyDesc autotest
|
||||
action deny
|
||||
effectiveRange Nursurtan|Transtelecom&Astel,|Astel&Transtelecom
|
||||
userRegion method:rst
|
||||
referenceObject 1|TSG_SECURITY_DESTINATION_ADDR
|
||||
isValid ${1}
|
||||
appObjectIdArray 2,3,4,5,6
|
||||
userTags 3
|
||||
doLog 2
|
||||
scheduleId 7
|
||||
#对象
|
||||
objectSubType ${objectSubType}
|
||||
isValid ${isValid}
|
||||
isInitialize ${isInitialize}
|
||||
isExclusion ${isExclusion}
|
||||
objectName ${objectName}
|
||||
objectDesc ${objectDesc}
|
||||
subObjectIds ${subObjectIds}
|
||||
31
03-Variable/PolicyObjectDefault.txt
Normal file
31
03-Variable/PolicyObjectDefault.txt
Normal file
@@ -0,0 +1,31 @@
|
||||
*** Variables ***
|
||||
# 通用
|
||||
${Default_IsValid} ${1}
|
||||
|
||||
# 策略
|
||||
${Default_PolicyName} autotest_policy
|
||||
${Default_PolicyType} tsg_security
|
||||
${Default_PolicyDesc} autotest
|
||||
${Default_Action} deny
|
||||
${Default_EffectiveRange} Nursurtan|Transtelecom&Astel,|Astel&Transtelecom
|
||||
${Default_UserRegion} method:rst
|
||||
${Default_ReferenceObject} 1|TSG_SECURITY_DESTINATION_ADDR
|
||||
${Default_AppObjectIdArray} 2,3,4,5,6
|
||||
${Default_UserTags} 3
|
||||
${Default_DoLog} ${2}
|
||||
${Default_ScheduleId} 7
|
||||
|
||||
# 对象
|
||||
${Default_ObjectType} ip
|
||||
${Default_ObjectSubType} endpoint
|
||||
${Default_IsInitialize} ${0}
|
||||
${Default_IsExclusion} ${0}
|
||||
${Default_ObjectName} autotestobj
|
||||
${Default_ObjectDesc} autotestobj
|
||||
${Default_AddItem_AddrType} ${4}
|
||||
${Default_AddItem_Protocol} ${0}
|
||||
${Default_AddItem_Direction} ${0}
|
||||
${Default_AddItem_IsSession} endpoint
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user