diff options
Diffstat (limited to 'other/data/template')
| -rw-r--r-- | other/data/template/template.yaml | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/other/data/template/template.yaml b/other/data/template/template.yaml new file mode 100644 index 0000000..46d17df --- /dev/null +++ b/other/data/template/template.yaml @@ -0,0 +1,52 @@ +#ip正向用例
+"ip_batch_mode":
+ #"ip_v4_single":
+ "datafomat": "complate" #完整数据:complate;部分数据:part
+ "opAction": "add"
+ "returnData": 1
+ "objectList":
+ -
+ "objectId":
+ "objectType": "ip"
+ "objectSubType": "endpoint"
+ "isValid": 1
+ "isInitialize": 0
+ "isExclusion": 0
+ "objectName": "auttest单ip指定端口"
+ "objectDesc": "test"
+ "subObjectIds":
+ -
+ "addItemList":
+ -
+ "updateItemList":
+ -
+ "deleteItemIds":
+ -
+ "iconColor": "#31739C"
+##################################################
+#policy:{"opAction":"add","refuseCode":true,"policyList":{"policyId":"","policyName":"dxytest","policyType":"tsg_security","action":"allow","userTags":"","doBlacklist":0,"doLog":1,"policyDesc":"","effectiveRange":{},"userRegion":null,"source":[{"objectId":103367,"protocolField":"TSG_FILED_GTP_PHONE_NUMBER","objectName":"HBNautotestobj","objectType":"mobile_identity","objectSubType":"phone_number","objectDesc":"autotestobj"}],"destination":[{"objectId":98613,"protocolField":"TSG_SECURITY_DESTINATION_ADDR","objectName":"yyq-0524-IP Learning","objectType":"ip","objectSubType":"ip_learning","objectDesc":"","iconColor":"#31739C"}],"filterList":[],"appIdObjects":[74735,77580],"appSelectorObjects":[],"isValid":0,"scheduleId":[]}}
+"policy_template":
+ "opAction": "add"
+ "returnData": 1
+ #"refuseCode": true
+ "policyList":
+ "policyName": "autotest"
+ "policyType": "tsg_security"
+ "action": "allow"
+ "userTags": ""
+ "doBlacklist": 0
+ "doLog": 1
+ "policyDesc": "autotest"
+ "effectiveRange":
+ "userRegion":
+ "source":
+ "destination":
+ "filterList":
+ "appIdObjects":
+ -
+ "appSelectorObjects":
+ -
+ "isValid": 1
+ "scheduleId":
+ -
+
\ No newline at end of file |
