summaryrefslogtreecommitdiff
path: root/other/data/policy_template.yaml
diff options
context:
space:
mode:
author董晓燕 <[email protected]>2021-06-03 09:55:45 +0000
committer董晓燕 <[email protected]>2021-06-03 09:55:45 +0000
commitac68e65f508799a0e555a240ae374d313a0a8d75 (patch)
tree2a339bbd8acd65e2fb235159cc9c5303ae5725b7 /other/data/policy_template.yaml
parent2f39b56d617e5fba2b8d73d81cd5e6d894f85352 (diff)
parent4667c668725ff7cb673c637a297c67283876d4d4 (diff)
Merge branch 'develop' into 'master'HEADmaster
Develop See merge request dongxiaoyan/gap_tsg_api!4
Diffstat (limited to 'other/data/policy_template.yaml')
-rw-r--r--other/data/policy_template.yaml24
1 files changed, 24 insertions, 0 deletions
diff --git a/other/data/policy_template.yaml b/other/data/policy_template.yaml
new file mode 100644
index 0000000..93bbe39
--- /dev/null
+++ b/other/data/policy_template.yaml
@@ -0,0 +1,24 @@
+#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