684 lines
30 KiB
JSON
684 lines
30 KiB
JSON
{
|
|
"Verify_Policy_Result": [
|
|
{
|
|
"code": 200,
|
|
"msg": "Success",
|
|
"data": {
|
|
"hit_policy_list": [
|
|
{
|
|
"uuid": "00001021-0000-0000-0000-000000000000",
|
|
"policyName": "",
|
|
"is_execute_policy": true,
|
|
"top_object_list": [
|
|
{
|
|
"object_uuid": "00005000-0000-0000-0000-000000000000",
|
|
"table_name": "ATTR_SOURCE_IP",
|
|
"negate_option": 0,
|
|
"condition_index": 0
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"verify_session": {
|
|
"attributes": [
|
|
{
|
|
"attribute_type": "ip",
|
|
"table_name": "ATTR_SOURCE_IP",
|
|
"attribute_name": "source",
|
|
"attribute_value": {
|
|
"ip": "192.168.0.1",
|
|
"port": "8080",
|
|
"addr_type": 4
|
|
},
|
|
"hit_paths": [
|
|
{
|
|
"item_uuid": "00000000-0000-0000-0000-000000001000",
|
|
"superior_object_uuid": "00005000-0000-0000-0000-000000000000"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"success": true
|
|
},
|
|
{
|
|
"code": 200,
|
|
"msg": "Success",
|
|
"data": {
|
|
"hit_policy_list": [
|
|
{
|
|
"uuid": "00001022-0000-0000-0000-000000000000",
|
|
"policyName": "",
|
|
"is_execute_policy": true,
|
|
"top_object_list": [
|
|
{
|
|
"tag_uuid": "00000011-0000-0000-0000-000000000000",
|
|
"table_name": "ATTR_SOURCE_IP",
|
|
"negate_option": 0,
|
|
"condition_index": 0
|
|
},
|
|
{
|
|
"tag_uuid": "00000012-0000-0000-0000-000000000000",
|
|
"table_name": "ATTR_INTERNAL_IP",
|
|
"negate_option": 0,
|
|
"condition_index": 1
|
|
},
|
|
{
|
|
"tag_uuid": "00000001-0000-0000-0000-000000000000",
|
|
"table_name": "ATTR_SERVER_FQDN",
|
|
"negate_option": 0,
|
|
"condition_index": 2
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"verify_session": {
|
|
"attributes": [
|
|
{
|
|
"attribute_type": "ip",
|
|
"table_name": "ATTR_SOURCE_IP",
|
|
"attribute_name": "source",
|
|
"attribute_value": {
|
|
"ip": "192.168.1.1",
|
|
"port": "8080",
|
|
"addr_type": 4
|
|
},
|
|
"hit_paths": [
|
|
{
|
|
"entry_uuid": "00000001-0000-0000-0000-000000000000",
|
|
"tag_uuid": "00000011-0000-0000-0000-000000000000"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"attribute_type": "ip",
|
|
"table_name": "ATTR_INTERNAL_IP",
|
|
"attribute_name": "internal",
|
|
"attribute_value": {
|
|
"ip": "192.168.1.2",
|
|
"port": "80",
|
|
"addr_type": 4
|
|
},
|
|
"hit_paths": [
|
|
{
|
|
"entry_uuid": "00000002-0000-0000-0000-000000000000",
|
|
"tag_uuid": "00000012-0000-0000-0000-000000000000"
|
|
},
|
|
{
|
|
"entry_uuid": "00000002-0000-0000-0000-000000000000",
|
|
"tag_uuid": "00000013-0000-0000-0000-000000000000"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"attribute_type": "string",
|
|
"table_name": "ATTR_SERVER_FQDN",
|
|
"attribute_name": "server_fqdn",
|
|
"attribute_value": {
|
|
"string": "www.126.com"
|
|
},
|
|
"hit_paths": [
|
|
{
|
|
"entry_uuid": "00000001-0000-0000-0000-000000000000",
|
|
"tag_uuid": "00000001-0000-0000-0000-000000000000"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"success": true
|
|
},
|
|
{
|
|
"code": 200,
|
|
"msg": "Success",
|
|
"data": {
|
|
"verify_session": {
|
|
"attributes": [{
|
|
"attribute_type": "ip",
|
|
"table_name": "ATTR_TUNNEL",
|
|
"attribute_name": "tunnel_endpoint_object",
|
|
"hit_paths": [{
|
|
"item_uuid": "00000000-0000-0000-0000-000000000000",
|
|
"superior_object_uuid": "00003021-0000-0000-0000-000000000000"
|
|
}]
|
|
}]
|
|
}
|
|
},
|
|
"success": true
|
|
},
|
|
{
|
|
"code": 200,
|
|
"msg": "Success",
|
|
"data": {
|
|
"verify_session": {
|
|
"attributes": [
|
|
{
|
|
"attribute_type": "ip",
|
|
"table_name": "ATTR_TUNNEL",
|
|
"attribute_name": "tunnel_endpoint_object",
|
|
"hit_paths": [
|
|
{
|
|
"item_uuid": "00000000-0000-0000-0000-000000000000",
|
|
"superior_object_uuid": "00003022-0000-0000-0000-000000000000"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"success": true
|
|
},
|
|
{
|
|
"code": 200,
|
|
"msg": "Success",
|
|
"data": {
|
|
"verify_session": {
|
|
"attributes": [
|
|
{
|
|
"attribute_type": "ip",
|
|
"table_name": "ATTR_TUNNEL",
|
|
"attribute_name": "tunnel_endpoint_object",
|
|
"hit_paths": [
|
|
{
|
|
"item_uuid": "00000000-0000-0000-0000-000000000000",
|
|
"superior_object_uuid": "00003022-0000-0000-0000-000000000000"
|
|
},
|
|
{
|
|
"item_uuid": "00000000-0000-0000-0000-000000000000",
|
|
"superior_object_uuid": "00003023-0000-0000-0000-000000000000"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"success": true
|
|
},
|
|
{
|
|
"code": 200,
|
|
"msg": "Success",
|
|
"data": {
|
|
"hit_policy_list": [
|
|
{
|
|
"uuid": "00001024-0000-0000-0000-000000000000",
|
|
"policyName": "",
|
|
"is_execute_policy": true,
|
|
"top_object_list": [
|
|
{
|
|
"object_uuid": "00005001-0000-0000-0000-000000000000",
|
|
"table_name": "ATTR_SOURCE_IP",
|
|
"negate_option": 0,
|
|
"condition_index": 0
|
|
},
|
|
{
|
|
"object_uuid": "00005002-0000-0000-0000-000000000000",
|
|
"table_name": "ATTR_DESTINATION_IP",
|
|
"negate_option": 0,
|
|
"condition_index": 1
|
|
},
|
|
{
|
|
"object_uuid": "00005003-0000-0000-0000-000000000000",
|
|
"table_name": "ATTR_SERVER_FQDN",
|
|
"negate_option": 0,
|
|
"condition_index": 2
|
|
},
|
|
{
|
|
"object_uuid": "00005004-0000-0000-0000-000000000000",
|
|
"table_name": "ATTR_SSL_SAN",
|
|
"negate_option": 0,
|
|
"condition_index": 3
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"uuid": "00001023-0000-0000-0000-000000000000",
|
|
"policyName": "",
|
|
"is_execute_policy": false,
|
|
"top_object_list": [
|
|
{
|
|
"object_uuid": "00005001-0000-0000-0000-000000000000",
|
|
"table_name": "ATTR_SOURCE_IP",
|
|
"negate_option": 0,
|
|
"condition_index": 0
|
|
},
|
|
{
|
|
"object_uuid": "00005002-0000-0000-0000-000000000000",
|
|
"table_name": "ATTR_DESTINATION_IP",
|
|
"negate_option": 0,
|
|
"condition_index": 1
|
|
},
|
|
{
|
|
"object_uuid": "00005003-0000-0000-0000-000000000000",
|
|
"table_name": "ATTR_SERVER_FQDN",
|
|
"negate_option": 0,
|
|
"condition_index": 2
|
|
},
|
|
{
|
|
"object_uuid": "00005004-0000-0000-0000-000000000000",
|
|
"table_name": "ATTR_SSL_SAN",
|
|
"negate_option": 0,
|
|
"condition_index": 3
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"verify_session": {
|
|
"attributes": [
|
|
{
|
|
"attribute_type": "ip",
|
|
"table_name": "ATTR_SOURCE_IP",
|
|
"attribute_name": "source",
|
|
"attribute_value": {
|
|
"ip": "192.168.0.2",
|
|
"port": "80",
|
|
"addr_type": 4
|
|
},
|
|
"hit_paths": [
|
|
{
|
|
"item_uuid": "00000000-0000-0000-0000-000000001001",
|
|
"superior_object_uuid": "00005001-0000-0000-0000-000000000000"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"attribute_type": "ip",
|
|
"table_name": "ATTR_DESTINATION_IP",
|
|
"attribute_name": "destination",
|
|
"attribute_value": {
|
|
"ip": "192.168.0.3",
|
|
"port": "80",
|
|
"addr_type": 4
|
|
},
|
|
"hit_paths": [
|
|
{
|
|
"item_uuid": "00000000-0000-0000-0000-000000001002",
|
|
"superior_object_uuid": "00005002-0000-0000-0000-000000000000"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"attribute_type": "string",
|
|
"table_name": "ATTR_SERVER_FQDN",
|
|
"attribute_name": "server_fqdn",
|
|
"attribute_value": {
|
|
"string": "www.baidu.com"
|
|
},
|
|
"hit_paths": [
|
|
{
|
|
"entry_uuid": "00000002-0000-0000-0000-000000000000",
|
|
"tag_uuid": "00000002-0000-0000-0000-000000000000"
|
|
},
|
|
{
|
|
"entry_uuid": "00000002-0000-0000-0000-000000000000",
|
|
"tag_uuid": "00000003-0000-0000-0000-000000000000"
|
|
},
|
|
{
|
|
"item_uuid": "00000000-0000-0000-0000-000000001004",
|
|
"superior_object_uuid": "00005004-0000-0000-0000-000000000000"
|
|
},
|
|
{
|
|
"item_uuid": "00000000-0000-0000-0000-000000001003",
|
|
"superior_object_uuid": "00005003-0000-0000-0000-000000000000"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"attribute_type": "string",
|
|
"table_name": "ATTR_SSL_SAN",
|
|
"attribute_name": "ssl_san",
|
|
"attribute_value": {
|
|
"string": "www.baidu.com"
|
|
},
|
|
"hit_paths": [
|
|
{
|
|
"entry_uuid": "00000002-0000-0000-0000-000000000000",
|
|
"tag_uuid": "00000002-0000-0000-0000-000000000000"
|
|
},
|
|
{
|
|
"entry_uuid": "00000002-0000-0000-0000-000000000000",
|
|
"tag_uuid": "00000003-0000-0000-0000-000000000000"
|
|
},
|
|
{
|
|
"item_uuid": "00000000-0000-0000-0000-000000001004",
|
|
"superior_object_uuid": "00005004-0000-0000-0000-000000000000"
|
|
},
|
|
{
|
|
"item_uuid": "00000000-0000-0000-0000-000000001003",
|
|
"superior_object_uuid": "00005003-0000-0000-0000-000000000000"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"success": true
|
|
},
|
|
{
|
|
"code": 200,
|
|
"msg": "Success",
|
|
"data": {
|
|
"hit_policy_list": [
|
|
{
|
|
"uuid": "00001026-0000-0000-0000-000000000000",
|
|
"policyName": "",
|
|
"is_execute_policy": true,
|
|
"top_object_list": [
|
|
{
|
|
"object_uuid": "00003022-0000-0000-0000-000000000000",
|
|
"table_name": "ATTR_TUNNEL",
|
|
"negate_option": 0,
|
|
"condition_index": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"uuid": "00001025-0000-0000-0000-000000000000",
|
|
"policyName": "",
|
|
"is_execute_policy": true,
|
|
"top_object_list": [
|
|
{
|
|
"object_uuid": "00003023-0000-0000-0000-000000000000",
|
|
"table_name": "ATTR_TUNNEL",
|
|
"negate_option": 0,
|
|
"condition_index": 0
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"verify_session": {
|
|
"attributes": [
|
|
{
|
|
"attribute_type": "ip",
|
|
"table_name": "ATTR_IP_PROTOCOL",
|
|
"attribute_name": "ip_protocol",
|
|
"attribute_value": {
|
|
"addr_type": 4,
|
|
"protocol": 6
|
|
},
|
|
"hit_paths": [
|
|
{
|
|
"item_uuid": "00000000-0000-0000-0000-000000000000",
|
|
"superior_object_uuid": "00000000-0000-0000-0000-000000000006"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"attribute_type": "ip",
|
|
"table_name": "ATTR_TUNNEL",
|
|
"attribute_name": "tunnel_endpoint_object",
|
|
"hit_paths": [
|
|
{
|
|
"item_uuid": "00000000-0000-0000-0000-000000000000",
|
|
"superior_object_uuid": "00003022-0000-0000-0000-000000000000"
|
|
},
|
|
{
|
|
"item_uuid": "00000000-0000-0000-0000-000000000000",
|
|
"superior_object_uuid": "00003023-0000-0000-0000-000000000000"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"attribute_type": "ip",
|
|
"table_name": "ATTR_SOURCE_IP",
|
|
"attribute_name": "source",
|
|
"attribute_value": {
|
|
"ip": "192.168.1.1",
|
|
"port": "8080",
|
|
"addr_type": 4
|
|
},
|
|
"hit_paths": [
|
|
{
|
|
"entry_uuid": "00000001-0000-0000-0000-000000000000",
|
|
"tag_uuid": "00000011-0000-0000-0000-000000000000"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"success": true
|
|
},
|
|
{
|
|
"code": 200,
|
|
"msg": "Success",
|
|
"data": {
|
|
"hit_policy_list": [
|
|
{
|
|
"uuid": "00001027-0000-0000-0000-000000000000",
|
|
"policyName": "",
|
|
"is_execute_policy": true,
|
|
"top_object_list": [
|
|
{
|
|
"object_uuid": "00003022-0000-0000-0000-000000000000",
|
|
"table_name": "ATTR_TUNNEL",
|
|
"negate_option": 1,
|
|
"condition_index": 0
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"verify_session": {
|
|
"attributes": [
|
|
{
|
|
"attribute_type": "ip",
|
|
"table_name": "ATTR_IP_PROTOCOL",
|
|
"attribute_name": "ip_protocol",
|
|
"attribute_value": {
|
|
"addr_type": 4,
|
|
"protocol": 6
|
|
},
|
|
"hit_paths": [
|
|
{
|
|
"item_uuid": "00000000-0000-0000-0000-000000000000",
|
|
"superior_object_uuid": "00000000-0000-0000-0000-000000000006"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"attribute_type": "ip",
|
|
"table_name": "ATTR_TUNNEL",
|
|
"attribute_name": "tunnel_endpoint_object",
|
|
"hit_paths": [
|
|
{
|
|
"item_uuid": "00000000-0000-0000-0000-000000000000",
|
|
"superior_object_uuid": "00003021-0000-0000-0000-000000000000"
|
|
},
|
|
{
|
|
"item_uuid": "00000000-0000-0000-0000-000000000000",
|
|
"superior_object_uuid": "00003022-0000-0000-0000-000000000000"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"success": true
|
|
},
|
|
{
|
|
"code": 200,
|
|
"msg": "Success",
|
|
"data": {
|
|
"hit_policy_list": [
|
|
{
|
|
"uuid": "00600010-0000-0000-0000-000000000000",
|
|
"policyName": "",
|
|
"is_execute_policy": true,
|
|
"top_object_list": [
|
|
{
|
|
"object_uuid": "00500100-0000-0000-0000-000000000000",
|
|
"table_name": "ATTR_SOURCE_IP",
|
|
"negate_option": 0,
|
|
"condition_index": 0
|
|
},
|
|
{
|
|
"object_uuid": "00000000-0000-0000-0000-000000000006",
|
|
"table_name": "ATTR_IP_PROTOCOL",
|
|
"negate_option": 0,
|
|
"condition_index": 3
|
|
},
|
|
{
|
|
"object_uuid": "00500200-0000-0000-0000-000000000000",
|
|
"table_name": "ATTR_SOURCE_PORT",
|
|
"negate_option": 0,
|
|
"condition_index": 4
|
|
},
|
|
{
|
|
"object_uuid": "00000201-0000-0000-0000-000000000000",
|
|
"table_name": "ATTR_APP_ID",
|
|
"negate_option": 0,
|
|
"condition_index": 1
|
|
},
|
|
{
|
|
"object_uuid": "00000000-0000-0000-0000-000000001000",
|
|
"table_name": "ATTR_HTTP_REQ_HDR",
|
|
"negate_option": 0,
|
|
"condition_index": 2
|
|
},
|
|
{
|
|
"object_uuid": "00000000-0000-0000-0000-000000000050",
|
|
"table_name": "ATTR_TUNNEL_LEVEL",
|
|
"negate_option": 0,
|
|
"condition_index": 5
|
|
},
|
|
{
|
|
"object_uuid": "00500300-0000-0000-0000-000000000000",
|
|
"table_name": "ATTR_FLAG",
|
|
"negate_option": 0,
|
|
"condition_index": 6
|
|
},
|
|
{
|
|
"object_uuid": "00000000-0000-0000-0000-000000000002",
|
|
"table_name": "ATTR_SSL_ECH",
|
|
"negate_option": 0,
|
|
"condition_index": 7
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"verify_session": {
|
|
"attributes": [
|
|
{
|
|
"attribute_type": "ip",
|
|
"table_name": "ATTR_SOURCE_IP",
|
|
"attribute_name": "source",
|
|
"attribute_value": {
|
|
"ip": "192.168.55.4",
|
|
"port": "80",
|
|
"addr_type": 4
|
|
},
|
|
"hit_paths": [
|
|
{
|
|
"item_uuid": "00000000-0000-0000-0000-000000001009",
|
|
"superior_object_uuid": "00500100-0000-0000-0000-000000000000"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"attribute_type": "ip",
|
|
"table_name": "ATTR_IP_PROTOCOL",
|
|
"attribute_name": "ip_protocol",
|
|
"attribute_value": {
|
|
"addr_type": 4,
|
|
"protocol": 6
|
|
},
|
|
"hit_paths": [
|
|
{
|
|
"item_uuid": "00000000-0000-0000-0000-000000000000",
|
|
"superior_object_uuid": "00000000-0000-0000-0000-000000000006"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"attribute_type": "port",
|
|
"table_name": "ATTR_SOURCE_PORT",
|
|
"attribute_name": "source",
|
|
"attribute_value": {
|
|
"port": "80"
|
|
},
|
|
"hit_paths": [
|
|
{
|
|
"item_uuid": "00000000-0000-0000-0000-000000001011",
|
|
"superior_object_uuid": "00500200-0000-0000-0000-000000000000"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"attribute_type": "numeric",
|
|
"table_name": "ATTR_APP_ID",
|
|
"attribute_name": "app_id",
|
|
"attribute_value": {
|
|
"numeric": 67
|
|
},
|
|
"hit_paths": [
|
|
{
|
|
"item_uuid": "00000000-0000-0000-0000-000000000000",
|
|
"superior_object_uuid": "00000201-0000-0000-0000-000000000000"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"attribute_type": "string",
|
|
"table_name": "ATTR_HTTP_REQ_HDR",
|
|
"attribute_name": "req_hdr",
|
|
"attribute_value": {
|
|
"district": "User-Agent",
|
|
"string": "test"
|
|
},
|
|
"hit_paths": [
|
|
{
|
|
"item_uuid": "00000000-0000-0000-0000-000000001010",
|
|
"superior_object_uuid": "00000000-0000-0000-0000-000000001000"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"attribute_type": "string",
|
|
"table_name": "ATTR_TUNNEL_LEVEL",
|
|
"attribute_name": "tunnel_level",
|
|
"attribute_value": {
|
|
"numeric": 60
|
|
},
|
|
"hit_paths": [
|
|
{
|
|
"item_uuid": "00000000-0000-0000-0000-000000000000",
|
|
"superior_object_uuid": "00000000-0000-0000-0000-000000000050"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"attribute_type": "flag",
|
|
"table_name": "ATTR_FLAG",
|
|
"attribute_name": "flag",
|
|
"attribute_value": {
|
|
"numeric": 15
|
|
},
|
|
"hit_paths": [
|
|
{
|
|
"item_uuid": "00000000-0000-0000-0000-000000001012",
|
|
"superior_object_uuid": "00500300-0000-0000-0000-000000000000"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"attribute_type": "boolean",
|
|
"table_name": "ATTR_SSL_ECH",
|
|
"attribute_name": "esni",
|
|
"attribute_value": {
|
|
"numeric": 1
|
|
},
|
|
"hit_paths": [
|
|
{
|
|
"item_uuid": "00000000-0000-0000-0000-000000000000",
|
|
"superior_object_uuid": "00000000-0000-0000-0000-000000000002"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"success": true
|
|
}
|
|
]
|
|
} |