summaryrefslogtreecommitdiff
path: root/other/data/policy_data.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_data.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_data.yaml')
-rw-r--r--other/data/policy_data.yaml101
1 files changed, 101 insertions, 0 deletions
diff --git a/other/data/policy_data.yaml b/other/data/policy_data.yaml
new file mode 100644
index 0000000..f7641cf
--- /dev/null
+++ b/other/data/policy_data.yaml
@@ -0,0 +1,101 @@
+#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_mail_allow_data":
+ -
+ "opAction": "add"
+ "returnData": 1
+ "policyName": "autotest"
+ "policyType": "tsg_security"
+ "action": "allow"
+ "userTags": ""
+ "doBlacklist": 0
+ "doLog": 1
+ "policyDesc": "autotest"
+ "effectiveRange":
+ "userRegion":
+ "appIdObjects":
+ "appSelectorObjects":
+ "isValid": 1
+ "scheduleId":
+ "condation":
+ -
+ "protocolField": "TSG_SECURITY_SOURCE_ADDR"
+ "addItemList":
+ -
+ "ip": "255.255.255.2554"
+ "port": "0-65535"
+ -
+ "ip": "255.255.255.2554"
+ "port": "1-65535"
+ -
+ "protocolField": "TSG_SECURITY_SOURCE_LOCATION"
+ "objectSubType": "geo_location"
+ "addItemList":
+ -
+ "keywordArray":
+ -
+ "Algeria.*"
+ -
+ "keywordArray":
+ -
+ "China.Duyun.*"
+ -
+ "protocolField": "TSG_SECURITY_SOURCE_IPLearnning"
+ "objectType": "ip"
+ "objectSubType": "ip_learning"
+ "addItemList":
+ -
+ "fromFqdns":
+ - "$www.baidu.com"
+ - "*jd.com"
+ "fromProtocol": "HTTP,SSL"
+ "learningDepth": "2"
+ "agingTime": "12"
+ "voteClientNum": "10"
+ "learnedIpLimit": "1000"
+ -
+ "protocolField": "TSG_SECURITY_DESTINATION_ADDR"
+ "addItemList":
+ -
+ "ip": "255.255.255.254"
+ "port": "65535"
+ -
+ "ip": "255.255.255.254"
+ "port": "1"
+ -
+ "protocolField": "TSG_SECURITY_DESTINATION_ADDR"
+ "objectSubType": "geo_location"
+ "addItemList":
+ -
+ "keywordArray":
+ -
+ "Algeria.*"
+ -
+ "keywordArray":
+ -
+ "China.Duyun.*"
+ -
+ "protocolField": "TSG_SECURITY_DESTINATION_IPLearnning"
+ "objectSubType": "ip_learning"
+ "addItemList":
+ -
+ "fromFqdns":
+ - "$www.baidu.com"
+ - "*jd.com"
+ "fromProtocol": "HTTP,SSL"
+ "learningDepth": "2"
+ "agingTime": "12"
+ "voteClientNum": "10"
+ "learnedIpLimit": "1000"
+ -
+ "protocolField": "TSG_FIELD_MAIL_ATT_CONTENT"
+ "objectType": "account"
+ "objectSubType": ""
+ "addItemList":
+ - "keywordArray":
+ - "dongxiaoyan@*"
+ - "keywordArray":
+ - "*@163.com"
+ - "keywordArray":
+ - "@163."
+ - "keywordArray":
+ - "¥[email protected]" \ No newline at end of file