TSG-23903 VerifyPoliy uses field instead of attribute

This commit is contained in:
fengweihao
2024-11-25 17:50:08 +08:00
parent d8ea2a7463
commit 27a35fc957
7 changed files with 483 additions and 484 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -334,10 +334,10 @@
}, },
{ {
"table_id": 49, "table_id": 49,
"table_name": "ATTRIBUTE_DICT", "table_name": "FIELD_DICT",
"table_type": "plugin", "table_type": "plugin",
"custom": { "custom": {
"key_name": "attribute_name", "key_name": "field_name",
"key_type": "pointer" "key_type": "pointer"
} }
} }

View File

@@ -12,7 +12,7 @@
"is_valid": "yes", "is_valid": "yes",
"and_conditions": [ "and_conditions": [
{ {
"attribute_name": "ATTR_HTTP_URL", "field_name": "HTTP_URL",
"objects": [ "objects": [
{ {
"items": [ "items": [
@@ -40,7 +40,7 @@
"is_valid": "yes", "is_valid": "yes",
"and_conditions": [ "and_conditions": [
{ {
"attribute_name": "ATTR_SOURCE_IP", "field_name": "SOURCE_IP",
"objects": [ "objects": [
{ {
"object_name": "IPv4TCPSoureVeiryPolicy01", "object_name": "IPv4TCPSoureVeiryPolicy01",
@@ -59,14 +59,14 @@
] ]
}, },
{ {
"attribute_name": "ATTR_APP_ID", "field_name": "APP_ID",
"negate_option": false, "negate_option": false,
"object_uuids": [ "object_uuids": [
"00000201-0000-0000-0000-000000000000" "00000201-0000-0000-0000-000000000000"
] ]
}, },
{ {
"attribute_name": "ATTR_HTTP_REQ_HDR", "field_name": "HTTP_REQ_HDR",
"objects": [ "objects": [
{ {
"items": [ "items": [
@@ -83,14 +83,14 @@
] ]
}, },
{ {
"attribute_name": "ATTR_IP_PROTOCOL", "field_name": "IP_PROTOCOL",
"negate_option": false, "negate_option": false,
"object_uuids": [ "object_uuids": [
"00000000-0000-0000-0000-000000000006" "00000000-0000-0000-0000-000000000006"
] ]
}, },
{ {
"attribute_name": "ATTR_SOURCE_PORT", "field_name": "SOURCE_PORT",
"objects": [ "objects": [
{ {
"object_name": "IPv4TCPPortVeiryPolicy01", "object_name": "IPv4TCPPortVeiryPolicy01",
@@ -108,14 +108,14 @@
] ]
}, },
{ {
"attribute_name": "ATTR_TUNNEL_LEVEL", "field_name": "TUNNEL_LEVEL",
"negate_option": false, "negate_option": false,
"object_uuids": [ "object_uuids": [
"00000000-0000-0000-0000-000000000050" "00000000-0000-0000-0000-000000000050"
] ]
}, },
{ {
"attribute_name": "ATTR_FLAG", "field_name": "FLAG",
"objects": [ "objects": [
{ {
"object_name": "FlagVeiryPolicy01", "object_name": "FlagVeiryPolicy01",
@@ -134,7 +134,7 @@
] ]
}, },
{ {
"attribute_name": "ATTR_SSL_ECH", "field_name": "SSL_ECH",
"negate_option": false, "negate_option": false,
"object_uuids": [ "object_uuids": [
"00000000-0000-0000-0000-000000000002" "00000000-0000-0000-0000-000000000002"
@@ -152,7 +152,7 @@
"is_valid": "yes", "is_valid": "yes",
"and_conditions": [ "and_conditions": [
{ {
"attribute_name": "ATTR_SOURCE_IP", "field_name": "SOURCE_IP",
"negate_option": false, "negate_option": false,
"object_uuids": [ "object_uuids": [
"00000070-0000-0000-0000-000000000000" "00000070-0000-0000-0000-000000000000"
@@ -170,7 +170,7 @@
"is_valid": "yes", "is_valid": "yes",
"and_conditions": [ "and_conditions": [
{ {
"attribute_name": "ATTR_SOURCE_IP", "field_name": "SOURCE_IP",
"objects": [ "objects": [
{ {
"object_name": "IPv4TCPSoureVeiryPolicy02", "object_name": "IPv4TCPSoureVeiryPolicy02",
@@ -189,7 +189,7 @@
] ]
}, },
{ {
"attribute_name": "ATTR_DESTINATION_IP", "field_name": "DESTINATION_IP",
"objects": [ "objects": [
{ {
"object_name": "IPv4TCPDestinationVeiryPolicy01", "object_name": "IPv4TCPDestinationVeiryPolicy01",
@@ -208,7 +208,7 @@
] ]
}, },
{ {
"attribute_name": "ATTR_SERVER_FQDN", "field_name": "SERVER_FQDN",
"objects": [ "objects": [
{ {
"items": [ "items": [
@@ -225,7 +225,7 @@
] ]
}, },
{ {
"attribute_name": "ATTR_SSL_SAN", "field_name": "SSL_SAN",
"objects": [ "objects": [
{ {
"items": [ "items": [

View File

@@ -7,11 +7,11 @@
{ {
"type": "proxy_manipulation", "type": "proxy_manipulation",
"verify_session": { "verify_session": {
"attributes": [ "fields": [
{ {
"attribute_value_type": "ip", "field_value_type": "ip",
"attribute_name": "ATTR_SOURCE_IP", "field_name": "SOURCE_IP",
"attribute_value": { "field_value": {
"ip": "192.168.0.1", "ip": "192.168.0.1",
"port":"8080", "port":"8080",
"addr_type": 4 "addr_type": 4
@@ -30,29 +30,29 @@
{ {
"type": "proxy_manipulation", "type": "proxy_manipulation",
"verify_session": { "verify_session": {
"attributes": [ "fields": [
{ {
"attribute_value_type": "ip", "field_value_type": "ip",
"attribute_name": "ATTR_SOURCE_IP", "field_name": "SOURCE_IP",
"attribute_value": { "field_value": {
"ip": "192.168.1.1", "ip": "192.168.1.1",
"port":"8080", "port":"8080",
"addr_type": 4 "addr_type": 4
} }
}, },
{ {
"attribute_value_type": "ip", "field_value_type": "ip",
"attribute_name": "ATTR_INTERNAL_IP", "field_name": "INTERNAL_IP",
"attribute_value": { "field_value": {
"ip": "192.168.1.2", "ip": "192.168.1.2",
"port": "80", "port": "80",
"addr_type": 4 "addr_type": 4
} }
}, },
{ {
"attribute_value_type": "string", "field_value_type": "string",
"attribute_name": "ATTR_SERVER_FQDN", "field_name": "SERVER_FQDN",
"attribute_value": { "field_value": {
"string": "www.126.com" "string": "www.126.com"
} }
} }
@@ -70,11 +70,11 @@
"type": "security", "type": "security",
"vsys_id": 1, "vsys_id": 1,
"verify_session": { "verify_session": {
"attributes": [ "fields": [
{ {
"attribute_value_type": "ip", "field_value_type": "ip",
"attribute_name": "ATTR_TUNNEL", "field_name": "TUNNEL",
"attribute_value": { "field_value": {
"ip": "192.168.0.4", "ip": "192.168.0.4",
"port":80, "port":80,
"tunnel_type":"gtp", "tunnel_type":"gtp",
@@ -94,11 +94,11 @@
{ {
"type": "security", "type": "security",
"verify_session": { "verify_session": {
"attributes": [ "fields": [
{ {
"attribute_value_type": "ip", "field_value_type": "ip",
"attribute_name": "ATTR_TUNNEL", "field_name": "TUNNEL",
"attribute_value": { "field_value": {
"ip": "192.168.0.5", "ip": "192.168.0.5",
"tunnel_type":"gtp", "tunnel_type":"gtp",
"addr_type": 4 "addr_type": 4
@@ -117,20 +117,20 @@
{ {
"type": "security", "type": "security",
"verify_session": { "verify_session": {
"attributes": [ "fields": [
{ {
"attribute_value_type": "ip", "field_value_type": "ip",
"attribute_name": "ATTR_TUNNEL", "field_name": "TUNNEL",
"attribute_value": { "field_value": {
"ip": "192.168.0.5", "ip": "192.168.0.5",
"tunnel_type":"gtp", "tunnel_type":"gtp",
"addr_type": 4 "addr_type": 4
} }
}, },
{ {
"attribute_value_type": "ip", "field_value_type": "ip",
"attribute_name": "ATTR_TUNNEL", "field_name": "TUNNEL",
"attribute_value": { "field_value": {
"ip": "192.168.0.6", "ip": "192.168.0.6",
"tunnel_type":"gtp", "tunnel_type":"gtp",
"addr_type": 4 "addr_type": 4
@@ -149,36 +149,36 @@
{ {
"type": "proxy_manipulation", "type": "proxy_manipulation",
"verify_session": { "verify_session": {
"attributes": [ "fields": [
{ {
"attribute_value_type": "ip", "field_value_type": "ip",
"attribute_name": "ATTR_SOURCE_IP", "field_name": "SOURCE_IP",
"attribute_value": { "field_value": {
"ip": "192.168.0.2", "ip": "192.168.0.2",
"port": "80", "port": "80",
"addr_type": 4 "addr_type": 4
} }
}, },
{ {
"attribute_value_type": "ip", "field_value_type": "ip",
"attribute_name": "ATTR_DESTINATION_IP", "field_name": "DESTINATION_IP",
"attribute_value": { "field_value": {
"ip": "192.168.0.3", "ip": "192.168.0.3",
"port": "80", "port": "80",
"addr_type": 4 "addr_type": 4
} }
}, },
{ {
"attribute_value_type": "string", "field_value_type": "string",
"attribute_name": "ATTR_SERVER_FQDN", "field_name": "SERVER_FQDN",
"attribute_value": { "field_value": {
"string": "www.baidu.com" "string": "www.baidu.com"
} }
}, },
{ {
"attribute_value_type": "string", "field_value_type": "string",
"attribute_name": "ATTR_SSL_SAN", "field_name": "SSL_SAN",
"attribute_value": { "field_value": {
"string": "www.baidu.com" "string": "www.baidu.com"
} }
} }
@@ -195,37 +195,37 @@
{ {
"type": "proxy_manipulation", "type": "proxy_manipulation",
"verify_session": { "verify_session": {
"attributes": [ "fields": [
{ {
"attribute_value_type": "ip", "field_value_type": "ip",
"attribute_name": "ATTR_IP_PROTOCOL", "field_name": "IP_PROTOCOL",
"attribute_value": { "field_value": {
"addr_type": 4, "addr_type": 4,
"protocol": 6 "protocol": 6
} }
}, },
{ {
"attribute_value_type": "ip", "field_value_type": "ip",
"attribute_name": "ATTR_TUNNEL", "field_name": "TUNNEL",
"attribute_value": { "field_value": {
"ip": "192.168.0.5", "ip": "192.168.0.5",
"tunnel_type":"gtp", "tunnel_type":"gtp",
"addr_type": 4 "addr_type": 4
} }
}, },
{ {
"attribute_value_type": "ip", "field_value_type": "ip",
"attribute_name": "ATTR_TUNNEL", "field_name": "TUNNEL",
"attribute_value": { "field_value": {
"ip": "192.168.0.6", "ip": "192.168.0.6",
"tunnel_type":"gtp", "tunnel_type":"gtp",
"addr_type": 4 "addr_type": 4
} }
}, },
{ {
"attribute_value_type": "ip", "field_value_type": "ip",
"attribute_name": "ATTR_SOURCE_IP", "field_name": "SOURCE_IP",
"attribute_value": { "field_value": {
"ip": "192.168.1.1", "ip": "192.168.1.1",
"port":"8080", "port":"8080",
"addr_type": 4 "addr_type": 4
@@ -244,28 +244,28 @@
{ {
"type": "proxy_manipulation", "type": "proxy_manipulation",
"verify_session": { "verify_session": {
"attributes": [ "fields": [
{ {
"attribute_value_type": "ip", "field_value_type": "ip",
"attribute_name": "ATTR_IP_PROTOCOL", "field_name": "IP_PROTOCOL",
"attribute_value": { "field_value": {
"addr_type": 4, "addr_type": 4,
"protocol": 6 "protocol": 6
} }
}, },
{ {
"attribute_value_type": "ip", "field_value_type": "ip",
"attribute_name": "ATTR_TUNNEL", "field_name": "TUNNEL",
"attribute_value": { "field_value": {
"ip": "192.168.0.4", "ip": "192.168.0.4",
"tunnel_type":"gtp", "tunnel_type":"gtp",
"addr_type": 4 "addr_type": 4
} }
}, },
{ {
"attribute_value_type": "ip", "field_value_type": "ip",
"attribute_name": "ATTR_TUNNEL", "field_name": "TUNNEL",
"attribute_value": { "field_value": {
"ip": "192.168.0.6", "ip": "192.168.0.6",
"tunnel_type":"gtp", "tunnel_type":"gtp",
"addr_type": 4 "addr_type": 4
@@ -284,64 +284,64 @@
{ {
"type": "proxy_manipulation", "type": "proxy_manipulation",
"verify_session": { "verify_session": {
"attributes": [ "fields": [
{ {
"attribute_value_type": "ip", "field_value_type": "ip",
"attribute_name": "ATTR_SOURCE_IP", "field_name": "SOURCE_IP",
"attribute_value": { "field_value": {
"ip": "192.168.55.4", "ip": "192.168.55.4",
"port": "80", "port": "80",
"addr_type": 4 "addr_type": 4
} }
}, },
{ {
"attribute_value_type": "ip", "field_value_type": "ip",
"attribute_name": "ATTR_IP_PROTOCOL", "field_name": "IP_PROTOCOL",
"attribute_value": { "field_value": {
"addr_type": 4, "addr_type": 4,
"protocol": 6 "protocol": 6
} }
}, },
{ {
"attribute_value_type": "port", "field_value_type": "port",
"attribute_name": "ATTR_SOURCE_PORT", "field_name": "SOURCE_PORT",
"attribute_value": { "field_value": {
"port": "80" "port": "80"
} }
}, },
{ {
"attribute_value_type": "numeric", "field_value_type": "numeric",
"attribute_name": "ATTR_APP_ID", "field_name": "APP_ID",
"attribute_value": { "field_value": {
"numeric": 67 "numeric": 67
} }
}, },
{ {
"attribute_value_type": "string", "field_value_type": "string",
"attribute_name": "ATTR_HTTP_REQ_HDR", "field_name": "HTTP_REQ_HDR",
"attribute_value": { "field_value": {
"district":"User-Agent", "district":"User-Agent",
"string":"test" "string":"test"
} }
}, },
{ {
"attribute_value_type": "string", "field_value_type": "string",
"attribute_name": "ATTR_TUNNEL_LEVEL", "field_name": "TUNNEL_LEVEL",
"attribute_value": { "field_value": {
"numeric": 60 "numeric": 60
} }
}, },
{ {
"attribute_value_type": "flag", "field_value_type": "flag",
"attribute_name": "ATTR_FLAG", "field_name": "FLAG",
"attribute_value": { "field_value": {
"numeric": 15 "numeric": 15
} }
}, },
{ {
"attribute_value_type": "boolean", "field_value_type": "boolean",
"attribute_name": "ATTR_SSL_ECH", "field_name": "SSL_ECH",
"attribute_value": { "field_value": {
"numeric": 1 "numeric": 1
} }
} }
@@ -359,11 +359,11 @@
"type": "proxy_manipulation", "type": "proxy_manipulation",
"vsys": 1, "vsys": 1,
"verify_session": { "verify_session": {
"attributes": [ "fields": [
{ {
"attribute_value_type": "ip", "field_value_type": "ip",
"attribute_name": "ATTR_SOURCE_IP", "field_name": "SOURCE_IP",
"attribute_value": { "field_value": {
"ip": "192.168.2.1", "ip": "192.168.2.1",
"port":"8080", "port":"8080",
"addr_type": 4 "addr_type": 4
@@ -383,11 +383,11 @@
"type": "proxy_manipulation", "type": "proxy_manipulation",
"vsys": 1, "vsys": 1,
"verify_session": { "verify_session": {
"attributes": [ "fields": [
{ {
"attribute_value_type": "numeric", "field_value_type": "numeric",
"attribute_name": "ATTR_IP_PROTOCOL", "field_name": "IP_PROTOCOL",
"attribute_value": { "field_value": {
"addr_type": 4, "addr_type": 4,
"numeric": 1 "numeric": 1
} }
@@ -406,11 +406,11 @@
"type": "proxy_manipulation", "type": "proxy_manipulation",
"vsys": 1, "vsys": 1,
"verify_session": { "verify_session": {
"attributes": [ "fields": [
{ {
"attribute_value_type": "ip", "field_value_type": "ip",
"attribute_name": "ATTR_SOURCE_IP", "field_name": "SOURCE_IP",
"attribute_value": { "field_value": {
"ip": "10.1.1.1", "ip": "10.1.1.1",
"port":"8080", "port":"8080",
"addr_type": 4 "addr_type": 4

View File

@@ -13,7 +13,7 @@
"top_object_list": [ "top_object_list": [
{ {
"object_uuid": "00005000-0000-0000-0000-000000000000", "object_uuid": "00005000-0000-0000-0000-000000000000",
"attribute_name": "ATTR_SOURCE_IP", "field_name": "SOURCE_IP",
"negate_option": 0, "negate_option": 0,
"condition_index": 0 "condition_index": 0
} }
@@ -21,11 +21,11 @@
} }
], ],
"verify_session": { "verify_session": {
"attributes": [ "fields": [
{ {
"attribute_value_type": "ip", "field_value_type": "ip",
"attribute_name": "ATTR_SOURCE_IP", "field_name": "SOURCE_IP",
"attribute_value": { "field_value": {
"ip": "192.168.0.1", "ip": "192.168.0.1",
"port": "8080", "port": "8080",
"addr_type": 4 "addr_type": 4
@@ -55,19 +55,19 @@
"top_object_list": [ "top_object_list": [
{ {
"tag_uuid": "00000011-0000-0000-0000-000000000000", "tag_uuid": "00000011-0000-0000-0000-000000000000",
"attribute_name": "ATTR_SOURCE_IP", "field_name": "SOURCE_IP",
"negate_option": 0, "negate_option": 0,
"condition_index": 0 "condition_index": 0
}, },
{ {
"tag_uuid": "00000012-0000-0000-0000-000000000000", "tag_uuid": "00000012-0000-0000-0000-000000000000",
"attribute_name": "ATTR_INTERNAL_IP", "field_name": "INTERNAL_IP",
"negate_option": 0, "negate_option": 0,
"condition_index": 1 "condition_index": 1
}, },
{ {
"tag_uuid": "00000001-0000-0000-0000-000000000000", "tag_uuid": "00000001-0000-0000-0000-000000000000",
"attribute_name": "ATTR_SERVER_FQDN", "field_name": "SERVER_FQDN",
"negate_option": 0, "negate_option": 0,
"condition_index": 2 "condition_index": 2
} }
@@ -75,11 +75,11 @@
} }
], ],
"verify_session": { "verify_session": {
"attributes": [ "fields": [
{ {
"attribute_value_type": "ip", "field_value_type": "ip",
"attribute_name": "ATTR_SOURCE_IP", "field_name": "SOURCE_IP",
"attribute_value": { "field_value": {
"ip": "192.168.1.1", "ip": "192.168.1.1",
"port": "8080", "port": "8080",
"addr_type": 4 "addr_type": 4
@@ -92,9 +92,9 @@
] ]
}, },
{ {
"attribute_value_type": "ip", "field_value_type": "ip",
"attribute_name": "ATTR_INTERNAL_IP", "field_name": "INTERNAL_IP",
"attribute_value": { "field_value": {
"ip": "192.168.1.2", "ip": "192.168.1.2",
"port": "80", "port": "80",
"addr_type": 4 "addr_type": 4
@@ -111,9 +111,9 @@
] ]
}, },
{ {
"attribute_value_type": "string", "field_value_type": "string",
"attribute_name": "ATTR_SERVER_FQDN", "field_name": "SERVER_FQDN",
"attribute_value": { "field_value": {
"string": "www.126.com" "string": "www.126.com"
}, },
"hit_paths": [ "hit_paths": [
@@ -134,9 +134,9 @@
"msg": "Success", "msg": "Success",
"data": { "data": {
"verify_session": { "verify_session": {
"attributes": [{ "fields": [{
"attribute_value_type": "ip", "field_value_type": "ip",
"attribute_name": "tunnel_endpoint_object", "field_name": "tunnel_endpoint_object",
"hit_paths": [{ "hit_paths": [{
"item_uuid": "00000000-0000-0000-0000-000000000000", "item_uuid": "00000000-0000-0000-0000-000000000000",
"superior_object_uuid": "00003021-0000-0000-0000-000000000000" "superior_object_uuid": "00003021-0000-0000-0000-000000000000"
@@ -152,10 +152,10 @@
"msg": "Success", "msg": "Success",
"data": { "data": {
"verify_session": { "verify_session": {
"attributes": [ "fields": [
{ {
"attribute_value_type": "ip", "field_value_type": "ip",
"attribute_name": "tunnel_endpoint_object", "field_name": "tunnel_endpoint_object",
"hit_paths": [ "hit_paths": [
{ {
"item_uuid": "00000000-0000-0000-0000-000000000000", "item_uuid": "00000000-0000-0000-0000-000000000000",
@@ -174,10 +174,10 @@
"msg": "Success", "msg": "Success",
"data": { "data": {
"verify_session": { "verify_session": {
"attributes": [ "fields": [
{ {
"attribute_value_type": "ip", "field_value_type": "ip",
"attribute_name": "tunnel_endpoint_object", "field_name": "tunnel_endpoint_object",
"hit_paths": [ "hit_paths": [
{ {
"item_uuid": "00000000-0000-0000-0000-000000000000", "item_uuid": "00000000-0000-0000-0000-000000000000",
@@ -207,25 +207,25 @@
"top_object_list": [ "top_object_list": [
{ {
"object_uuid": "00005001-0000-0000-0000-000000000000", "object_uuid": "00005001-0000-0000-0000-000000000000",
"attribute_name": "ATTR_SOURCE_IP", "field_name": "SOURCE_IP",
"negate_option": 0, "negate_option": 0,
"condition_index": 0 "condition_index": 0
}, },
{ {
"object_uuid": "00005002-0000-0000-0000-000000000000", "object_uuid": "00005002-0000-0000-0000-000000000000",
"attribute_name": "ATTR_DESTINATION_IP", "field_name": "DESTINATION_IP",
"negate_option": 0, "negate_option": 0,
"condition_index": 1 "condition_index": 1
}, },
{ {
"object_uuid": "00005003-0000-0000-0000-000000000000", "object_uuid": "00005003-0000-0000-0000-000000000000",
"attribute_name": "ATTR_SERVER_FQDN", "field_name": "SERVER_FQDN",
"negate_option": 0, "negate_option": 0,
"condition_index": 2 "condition_index": 2
}, },
{ {
"object_uuid": "00005004-0000-0000-0000-000000000000", "object_uuid": "00005004-0000-0000-0000-000000000000",
"attribute_name": "ATTR_SSL_SAN", "field_name": "SSL_SAN",
"negate_option": 0, "negate_option": 0,
"condition_index": 3 "condition_index": 3
} }
@@ -238,25 +238,25 @@
"top_object_list": [ "top_object_list": [
{ {
"object_uuid": "00005001-0000-0000-0000-000000000000", "object_uuid": "00005001-0000-0000-0000-000000000000",
"attribute_name": "ATTR_SOURCE_IP", "field_name": "SOURCE_IP",
"negate_option": 0, "negate_option": 0,
"condition_index": 0 "condition_index": 0
}, },
{ {
"object_uuid": "00005002-0000-0000-0000-000000000000", "object_uuid": "00005002-0000-0000-0000-000000000000",
"attribute_name": "ATTR_DESTINATION_IP", "field_name": "DESTINATION_IP",
"negate_option": 0, "negate_option": 0,
"condition_index": 1 "condition_index": 1
}, },
{ {
"object_uuid": "00005003-0000-0000-0000-000000000000", "object_uuid": "00005003-0000-0000-0000-000000000000",
"attribute_name": "ATTR_SERVER_FQDN", "field_name": "SERVER_FQDN",
"negate_option": 0, "negate_option": 0,
"condition_index": 2 "condition_index": 2
}, },
{ {
"object_uuid": "00005004-0000-0000-0000-000000000000", "object_uuid": "00005004-0000-0000-0000-000000000000",
"attribute_name": "ATTR_SSL_SAN", "field_name": "SSL_SAN",
"negate_option": 0, "negate_option": 0,
"condition_index": 3 "condition_index": 3
} }
@@ -264,11 +264,11 @@
} }
], ],
"verify_session": { "verify_session": {
"attributes": [ "fields": [
{ {
"attribute_value_type": "ip", "field_value_type": "ip",
"attribute_name": "ATTR_SOURCE_IP", "field_name": "SOURCE_IP",
"attribute_value": { "field_value": {
"ip": "192.168.0.2", "ip": "192.168.0.2",
"port": "80", "port": "80",
"addr_type": 4 "addr_type": 4
@@ -281,9 +281,9 @@
] ]
}, },
{ {
"attribute_value_type": "ip", "field_value_type": "ip",
"attribute_name": "ATTR_DESTINATION_IP", "field_name": "DESTINATION_IP",
"attribute_value": { "field_value": {
"ip": "192.168.0.3", "ip": "192.168.0.3",
"port": "80", "port": "80",
"addr_type": 4 "addr_type": 4
@@ -296,9 +296,9 @@
] ]
}, },
{ {
"attribute_value_type": "string", "field_value_type": "string",
"attribute_name": "ATTR_SERVER_FQDN", "field_name": "SERVER_FQDN",
"attribute_value": { "field_value": {
"string": "www.baidu.com" "string": "www.baidu.com"
}, },
"hit_paths": [ "hit_paths": [
@@ -321,9 +321,9 @@
] ]
}, },
{ {
"attribute_value_type": "string", "field_value_type": "string",
"attribute_name": "ATTR_SSL_SAN", "field_name": "SSL_SAN",
"attribute_value": { "field_value": {
"string": "www.baidu.com" "string": "www.baidu.com"
}, },
"hit_paths": [ "hit_paths": [
@@ -363,7 +363,7 @@
"top_object_list": [ "top_object_list": [
{ {
"object_uuid": "00003022-0000-0000-0000-000000000000", "object_uuid": "00003022-0000-0000-0000-000000000000",
"attribute_name": "ATTR_TUNNEL", "field_name": "TUNNEL",
"negate_option": 0, "negate_option": 0,
"condition_index": 0 "condition_index": 0
} }
@@ -376,7 +376,7 @@
"top_object_list": [ "top_object_list": [
{ {
"object_uuid": "00003023-0000-0000-0000-000000000000", "object_uuid": "00003023-0000-0000-0000-000000000000",
"attribute_name": "ATTR_TUNNEL", "field_name": "TUNNEL",
"negate_option": 0, "negate_option": 0,
"condition_index": 0 "condition_index": 0
} }
@@ -384,11 +384,11 @@
} }
], ],
"verify_session": { "verify_session": {
"attributes": [ "fields": [
{ {
"attribute_value_type": "ip", "field_value_type": "ip",
"attribute_name": "ATTR_IP_PROTOCOL", "field_name": "IP_PROTOCOL",
"attribute_value": { "field_value": {
"addr_type": 4, "addr_type": 4,
"protocol": 6 "protocol": 6
}, },
@@ -400,8 +400,8 @@
] ]
}, },
{ {
"attribute_value_type": "ip", "field_value_type": "ip",
"attribute_name": "tunnel_endpoint_object", "field_name": "tunnel_endpoint_object",
"hit_paths": [ "hit_paths": [
{ {
"item_uuid": "00000000-0000-0000-0000-000000000000", "item_uuid": "00000000-0000-0000-0000-000000000000",
@@ -414,9 +414,9 @@
] ]
}, },
{ {
"attribute_value_type": "ip", "field_value_type": "ip",
"attribute_name": "ATTR_SOURCE_IP", "field_name": "SOURCE_IP",
"attribute_value": { "field_value": {
"ip": "192.168.1.1", "ip": "192.168.1.1",
"port": "8080", "port": "8080",
"addr_type": 4 "addr_type": 4
@@ -446,7 +446,7 @@
"top_object_list": [ "top_object_list": [
{ {
"object_uuid": "00003022-0000-0000-0000-000000000000", "object_uuid": "00003022-0000-0000-0000-000000000000",
"attribute_name": "ATTR_TUNNEL", "field_name": "TUNNEL",
"negate_option": 1, "negate_option": 1,
"condition_index": 0 "condition_index": 0
} }
@@ -454,11 +454,11 @@
} }
], ],
"verify_session": { "verify_session": {
"attributes": [ "fields": [
{ {
"attribute_value_type": "ip", "field_value_type": "ip",
"attribute_name": "ATTR_IP_PROTOCOL", "field_name": "IP_PROTOCOL",
"attribute_value": { "field_value": {
"addr_type": 4, "addr_type": 4,
"protocol": 6 "protocol": 6
}, },
@@ -470,8 +470,8 @@
] ]
}, },
{ {
"attribute_value_type": "ip", "field_value_type": "ip",
"attribute_name": "tunnel_endpoint_object", "field_name": "tunnel_endpoint_object",
"hit_paths": [ "hit_paths": [
{ {
"item_uuid": "00000000-0000-0000-0000-000000000000", "item_uuid": "00000000-0000-0000-0000-000000000000",
@@ -497,49 +497,49 @@
"top_object_list": [ "top_object_list": [
{ {
"object_uuid": "00500100-0000-0000-0000-000000000000", "object_uuid": "00500100-0000-0000-0000-000000000000",
"attribute_name": "ATTR_SOURCE_IP", "field_name": "SOURCE_IP",
"negate_option": 0, "negate_option": 0,
"condition_index": 0 "condition_index": 0
}, },
{ {
"object_uuid": "00000000-0000-0000-0000-000000000006", "object_uuid": "00000000-0000-0000-0000-000000000006",
"attribute_name": "ATTR_IP_PROTOCOL", "field_name": "IP_PROTOCOL",
"negate_option": 0, "negate_option": 0,
"condition_index": 3 "condition_index": 3
}, },
{ {
"object_uuid": "00500200-0000-0000-0000-000000000000", "object_uuid": "00500200-0000-0000-0000-000000000000",
"attribute_name": "ATTR_SOURCE_PORT", "field_name": "SOURCE_PORT",
"negate_option": 0, "negate_option": 0,
"condition_index": 4 "condition_index": 4
}, },
{ {
"object_uuid": "00000201-0000-0000-0000-000000000000", "object_uuid": "00000201-0000-0000-0000-000000000000",
"attribute_name": "ATTR_APP_ID", "field_name": "APP_ID",
"negate_option": 0, "negate_option": 0,
"condition_index": 1 "condition_index": 1
}, },
{ {
"object_uuid": "00000000-0000-0000-0000-000000001000", "object_uuid": "00000000-0000-0000-0000-000000001000",
"attribute_name": "ATTR_HTTP_REQ_HDR", "field_name": "HTTP_REQ_HDR",
"negate_option": 0, "negate_option": 0,
"condition_index": 2 "condition_index": 2
}, },
{ {
"object_uuid": "00000000-0000-0000-0000-000000000050", "object_uuid": "00000000-0000-0000-0000-000000000050",
"attribute_name": "ATTR_TUNNEL_LEVEL", "field_name": "TUNNEL_LEVEL",
"negate_option": 0, "negate_option": 0,
"condition_index": 5 "condition_index": 5
}, },
{ {
"object_uuid": "00500300-0000-0000-0000-000000000000", "object_uuid": "00500300-0000-0000-0000-000000000000",
"attribute_name": "ATTR_FLAG", "field_name": "FLAG",
"negate_option": 0, "negate_option": 0,
"condition_index": 6 "condition_index": 6
}, },
{ {
"object_uuid": "00000000-0000-0000-0000-000000000002", "object_uuid": "00000000-0000-0000-0000-000000000002",
"attribute_name": "ATTR_SSL_ECH", "field_name": "SSL_ECH",
"negate_option": 0, "negate_option": 0,
"condition_index": 7 "condition_index": 7
} }
@@ -547,11 +547,11 @@
} }
], ],
"verify_session": { "verify_session": {
"attributes": [ "fields": [
{ {
"attribute_value_type": "ip", "field_value_type": "ip",
"attribute_name": "ATTR_SOURCE_IP", "field_name": "SOURCE_IP",
"attribute_value": { "field_value": {
"ip": "192.168.55.4", "ip": "192.168.55.4",
"port": "80", "port": "80",
"addr_type": 4 "addr_type": 4
@@ -564,9 +564,9 @@
] ]
}, },
{ {
"attribute_value_type": "ip", "field_value_type": "ip",
"attribute_name": "ATTR_IP_PROTOCOL", "field_name": "IP_PROTOCOL",
"attribute_value": { "field_value": {
"addr_type": 4, "addr_type": 4,
"protocol": 6 "protocol": 6
}, },
@@ -578,9 +578,9 @@
] ]
}, },
{ {
"attribute_value_type": "port", "field_value_type": "port",
"attribute_name": "ATTR_SOURCE_PORT", "field_name": "SOURCE_PORT",
"attribute_value": { "field_value": {
"port": "80" "port": "80"
}, },
"hit_paths": [ "hit_paths": [
@@ -591,9 +591,9 @@
] ]
}, },
{ {
"attribute_value_type": "numeric", "field_value_type": "numeric",
"attribute_name": "ATTR_APP_ID", "field_name": "APP_ID",
"attribute_value": { "field_value": {
"numeric": 67 "numeric": 67
}, },
"hit_paths": [ "hit_paths": [
@@ -604,9 +604,9 @@
] ]
}, },
{ {
"attribute_value_type": "string", "field_value_type": "string",
"attribute_name": "ATTR_HTTP_REQ_HDR", "field_name": "HTTP_REQ_HDR",
"attribute_value": { "field_value": {
"district": "User-Agent", "district": "User-Agent",
"string": "test" "string": "test"
}, },
@@ -618,9 +618,9 @@
] ]
}, },
{ {
"attribute_value_type": "string", "field_value_type": "string",
"attribute_name": "ATTR_TUNNEL_LEVEL", "field_name": "TUNNEL_LEVEL",
"attribute_value": { "field_value": {
"numeric": 60 "numeric": 60
}, },
"hit_paths": [ "hit_paths": [
@@ -631,9 +631,9 @@
] ]
}, },
{ {
"attribute_value_type": "flag", "field_value_type": "flag",
"attribute_name": "ATTR_FLAG", "field_name": "FLAG",
"attribute_value": { "field_value": {
"numeric": 15 "numeric": 15
}, },
"hit_paths": [ "hit_paths": [
@@ -644,9 +644,9 @@
] ]
}, },
{ {
"attribute_value_type": "boolean", "field_value_type": "boolean",
"attribute_name": "ATTR_SSL_ECH", "field_name": "SSL_ECH",
"attribute_value": { "field_value": {
"numeric": 1 "numeric": 1
}, },
"hit_paths": [ "hit_paths": [
@@ -674,7 +674,7 @@
"top_object_list": [ "top_object_list": [
{ {
"object_uuid": "00008000-0000-0000-0000-000000000000", "object_uuid": "00008000-0000-0000-0000-000000000000",
"attribute_name": "ATTR_SOURCE_IP", "field_name": "SOURCE_IP",
"negate_option": 0, "negate_option": 0,
"condition_index": 0 "condition_index": 0
} }
@@ -682,11 +682,11 @@
} }
], ],
"verify_session": { "verify_session": {
"attributes": [ "fields": [
{ {
"attribute_value_type": "ip", "field_value_type": "ip",
"attribute_name": "ATTR_SOURCE_IP", "field_name": "SOURCE_IP",
"attribute_value": { "field_value": {
"ip": "192.168.2.1", "ip": "192.168.2.1",
"port": "8080", "port": "8080",
"addr_type": 4 "addr_type": 4
@@ -716,7 +716,7 @@
"top_object_list": [ "top_object_list": [
{ {
"object_uuid": "00000000-0000-0000-0000-000000000006", "object_uuid": "00000000-0000-0000-0000-000000000006",
"attribute_name": "ATTR_IP_PROTOCOL", "field_name": "IP_PROTOCOL",
"negate_option": 1, "negate_option": 1,
"condition_index": 0 "condition_index": 0
} }
@@ -724,11 +724,11 @@
} }
], ],
"verify_session": { "verify_session": {
"attributes": [ "fields": [
{ {
"attribute_value_type": "numeric", "field_value_type": "numeric",
"attribute_name": "ATTR_IP_PROTOCOL", "field_name": "IP_PROTOCOL",
"attribute_value": { "field_value": {
"addr_type": 4, "addr_type": 4,
"numeric": 1 "numeric": 1
}, },
@@ -757,7 +757,7 @@
"top_object_list": [ "top_object_list": [
{ {
"object_uuid": "00000000-0000-0000-0000-000000090100", "object_uuid": "00000000-0000-0000-0000-000000090100",
"attribute_name": "ATTR_SOURCE_IP", "field_name": "SOURCE_IP",
"negate_option": 0, "negate_option": 0,
"condition_index": 0 "condition_index": 0
} }
@@ -765,11 +765,11 @@
} }
], ],
"verify_session": { "verify_session": {
"attributes": [ "fields": [
{ {
"attribute_value_type": "ip", "field_value_type": "ip",
"attribute_name": "ATTR_SOURCE_IP", "field_name": "SOURCE_IP",
"attribute_value": { "field_value": {
"ip": "10.1.1.1", "ip": "10.1.1.1",
"port": "8080", "port": "8080",
"addr_type": 4 "addr_type": 4

View File

@@ -12,7 +12,7 @@
"is_valid": "yes", "is_valid": "yes",
"and_conditions": [ "and_conditions": [
{ {
"attribute_name": "ATTR_SOURCE_IP", "field_name": "SOURCE_IP",
"objects": [ "objects": [
{ {
"object_name": "IPv4TCPSoureVeiryPolicy01", "object_name": "IPv4TCPSoureVeiryPolicy01",
@@ -43,7 +43,7 @@
"and_conditions": [ "and_conditions": [
{ {
"object_name": "IPv4TCPSoureEntry.11", "object_name": "IPv4TCPSoureEntry.11",
"attribute_name": "ATTR_SOURCE_IP", "field_name": "SOURCE_IP",
"negate_option": false, "negate_option": false,
"object_uuids": [ "object_uuids": [
"00000011-0000-0000-0000-000000000000" "00000011-0000-0000-0000-000000000000"
@@ -51,7 +51,7 @@
}, },
{ {
"object_name": "IPv4TCPSoureEntry.12", "object_name": "IPv4TCPSoureEntry.12",
"attribute_name": "ATTR_INTERNAL_IP", "field_name": "INTERNAL_IP",
"negate_option": false, "negate_option": false,
"object_uuids": [ "object_uuids": [
"00000012-0000-0000-0000-000000000000" "00000012-0000-0000-0000-000000000000"
@@ -59,7 +59,7 @@
}, },
{ {
"object_name": "FQDNEntry.1", "object_name": "FQDNEntry.1",
"attribute_name": "ATTR_SERVER_FQDN", "field_name": "SERVER_FQDN",
"negate_option": false, "negate_option": false,
"object_uuids": [ "object_uuids": [
"00000001-0000-0000-0000-000000000000" "00000001-0000-0000-0000-000000000000"
@@ -77,7 +77,7 @@
"is_valid": "yes", "is_valid": "yes",
"and_conditions": [ "and_conditions": [
{ {
"attribute_name": "ATTR_SOURCE_IP", "field_name": "SOURCE_IP",
"objects": [ "objects": [
{ {
"object_name": "IPv4TCPSoureVeiryPolicy02", "object_name": "IPv4TCPSoureVeiryPolicy02",
@@ -96,7 +96,7 @@
] ]
}, },
{ {
"attribute_name": "ATTR_DESTINATION_IP", "field_name": "DESTINATION_IP",
"objects": [ "objects": [
{ {
"object_name": "IPv4TCPDestinationVeiryPolicy01", "object_name": "IPv4TCPDestinationVeiryPolicy01",
@@ -115,7 +115,7 @@
] ]
}, },
{ {
"attribute_name": "ATTR_SERVER_FQDN", "field_name": "SERVER_FQDN",
"objects": [ "objects": [
{ {
"object_name":"ServerFqdnVeiryPolicy01", "object_name":"ServerFqdnVeiryPolicy01",
@@ -134,7 +134,7 @@
] ]
}, },
{ {
"attribute_name": "ATTR_SSL_SAN", "field_name": "SSL_SAN",
"objects": [ "objects": [
{ {
"object_name":"SslSanVeiryPolicy01", "object_name":"SslSanVeiryPolicy01",
@@ -165,7 +165,7 @@
"and_conditions": [ "and_conditions": [
{ {
"object_name": "IPv4TCPSoureVeiryPolicy02", "object_name": "IPv4TCPSoureVeiryPolicy02",
"attribute_name": "ATTR_SOURCE_IP", "field_name": "SOURCE_IP",
"negate_option": false, "negate_option": false,
"object_uuids": [ "object_uuids": [
"00005001-0000-0000-0000-000000000000" "00005001-0000-0000-0000-000000000000"
@@ -173,7 +173,7 @@
}, },
{ {
"object_name": "IPv4TCPDestinationVeiryPolicy01", "object_name": "IPv4TCPDestinationVeiryPolicy01",
"attribute_name": "ATTR_DESTINATION_IP", "field_name": "DESTINATION_IP",
"negate_option": false, "negate_option": false,
"object_uuids": [ "object_uuids": [
"00005002-0000-0000-0000-000000000000" "00005002-0000-0000-0000-000000000000"
@@ -181,7 +181,7 @@
}, },
{ {
"object_name": "ServerFqdnVeiryPolicy01", "object_name": "ServerFqdnVeiryPolicy01",
"attribute_name": "ATTR_SERVER_FQDN", "field_name": "SERVER_FQDN",
"negate_option": false, "negate_option": false,
"object_uuids": [ "object_uuids": [
"00005003-0000-0000-0000-000000000000" "00005003-0000-0000-0000-000000000000"
@@ -189,7 +189,7 @@
}, },
{ {
"object_name": "SslSanVeiryPolicy01", "object_name": "SslSanVeiryPolicy01",
"attribute_name": "ATTR_SSL_SAN", "field_name": "SSL_SAN",
"negate_option": false, "negate_option": false,
"object_uuids": [ "object_uuids": [
"00005004-0000-0000-0000-000000000000" "00005004-0000-0000-0000-000000000000"
@@ -208,7 +208,7 @@
"is_valid": "yes", "is_valid": "yes",
"and_conditions": [ "and_conditions": [
{ {
"attribute_name": "ATTR_TUNNEL_GTP_ENDPOINT", "field_name": "TUNNEL_GTP_ENDPOINT",
"objects": [ "objects": [
{ {
"object_name": "TunnelIpv4TCPSoureVeiryPolicy01", "object_name": "TunnelIpv4TCPSoureVeiryPolicy01",
@@ -238,7 +238,7 @@
"is_valid": "yes", "is_valid": "yes",
"and_conditions": [ "and_conditions": [
{ {
"attribute_name": "ATTR_TUNNEL_GTP_ENDPOINT", "field_name": "TUNNEL_GTP_ENDPOINT",
"objects": [ "objects": [
{ {
"object_name": "TunnelIpv4TCPSoureVeiryPolicy02", "object_name": "TunnelIpv4TCPSoureVeiryPolicy02",
@@ -268,7 +268,7 @@
"is_valid": "yes", "is_valid": "yes",
"and_conditions": [ "and_conditions": [
{ {
"attribute_name": "ATTR_TUNNEL_GTP_ENDPOINT", "field_name": "TUNNEL_GTP_ENDPOINT",
"objects": [ "objects": [
{ {
"object_name": "TunnelIpv4TCPSoureVeiryPolicy03", "object_name": "TunnelIpv4TCPSoureVeiryPolicy03",
@@ -286,7 +286,7 @@
] ]
}, },
{ {
"attribute_name": "ATTR_TUNNEL_GTP_ENDPOINT", "field_name": "TUNNEL_GTP_ENDPOINT",
"objects": [ "objects": [
{ {
"object_name": "TunnelIpv4TCPSoureVeiryPolicy04", "object_name": "TunnelIpv4TCPSoureVeiryPolicy04",
@@ -316,7 +316,7 @@
"and_conditions": [ "and_conditions": [
{ {
"object_name": "TunnelEndpointVeiryPolicy01", "object_name": "TunnelEndpointVeiryPolicy01",
"attribute_name": "ATTR_TUNNEL", "field_name": "TUNNEL",
"negate_option": false, "negate_option": false,
"object_uuids": [ "object_uuids": [
"00003023-0000-0000-0000-000000000000" "00003023-0000-0000-0000-000000000000"
@@ -335,7 +335,7 @@
"and_conditions": [ "and_conditions": [
{ {
"object_name": "TunnelEndpointVeiryPolicy03", "object_name": "TunnelEndpointVeiryPolicy03",
"attribute_name": "ATTR_TUNNEL", "field_name": "TUNNEL",
"negate_option": false, "negate_option": false,
"object_uuids": [ "object_uuids": [
"00003022-0000-0000-0000-000000000000" "00003022-0000-0000-0000-000000000000"
@@ -354,7 +354,7 @@
"and_conditions": [ "and_conditions": [
{ {
"object_name": "TunnelEndpointVeiryPolicy03", "object_name": "TunnelEndpointVeiryPolicy03",
"attribute_name": "ATTR_TUNNEL", "field_name": "TUNNEL",
"negate_option": true, "negate_option": true,
"object_uuids": [ "object_uuids": [
"00003022-0000-0000-0000-000000000000" "00003022-0000-0000-0000-000000000000"
@@ -372,7 +372,7 @@
"is_valid": "yes", "is_valid": "yes",
"and_conditions": [ "and_conditions": [
{ {
"attribute_name": "ATTR_SOURCE_IP", "field_name": "SOURCE_IP",
"objects": [ "objects": [
{ {
"object_name": "IPv4TCPSoureVeiryPolicy01", "object_name": "IPv4TCPSoureVeiryPolicy01",
@@ -391,14 +391,14 @@
] ]
}, },
{ {
"attribute_name": "ATTR_APP_ID", "field_name": "APP_ID",
"negate_option": false, "negate_option": false,
"object_uuids": [ "object_uuids": [
"00000201-0000-0000-0000-000000000000" "00000201-0000-0000-0000-000000000000"
] ]
}, },
{ {
"attribute_name": "ATTR_HTTP_REQ_HDR", "field_name": "HTTP_REQ_HDR",
"objects": [ "objects": [
{ {
"items": [ "items": [
@@ -415,14 +415,14 @@
] ]
}, },
{ {
"attribute_name": "ATTR_IP_PROTOCOL", "field_name": "IP_PROTOCOL",
"negate_option": false, "negate_option": false,
"object_uuids": [ "object_uuids": [
"00000000-0000-0000-0000-000000000006" "00000000-0000-0000-0000-000000000006"
] ]
}, },
{ {
"attribute_name": "ATTR_SOURCE_PORT", "field_name": "SOURCE_PORT",
"objects": [ "objects": [
{ {
"object_name": "IPv4TCPPortVeiryPolicy01", "object_name": "IPv4TCPPortVeiryPolicy01",
@@ -440,14 +440,14 @@
] ]
}, },
{ {
"attribute_name": "ATTR_TUNNEL_LEVEL", "field_name": "TUNNEL_LEVEL",
"negate_option": false, "negate_option": false,
"object_uuids": [ "object_uuids": [
"00000000-0000-0000-0000-000000000050" "00000000-0000-0000-0000-000000000050"
] ]
}, },
{ {
"attribute_name": "ATTR_FLAG", "field_name": "FLAG",
"objects": [ "objects": [
{ {
"object_name": "FlagVeiryPolicy01", "object_name": "FlagVeiryPolicy01",
@@ -466,7 +466,7 @@
] ]
}, },
{ {
"attribute_name": "ATTR_SSL_ECH", "field_name": "SSL_ECH",
"negate_option": false, "negate_option": false,
"object_uuids": [ "object_uuids": [
"00000000-0000-0000-0000-000000000002" "00000000-0000-0000-0000-000000000002"
@@ -484,7 +484,7 @@
"is_valid": "yes", "is_valid": "yes",
"and_conditions": [ "and_conditions": [
{ {
"attribute_name": "ATTR_SOURCE_IP", "field_name": "SOURCE_IP",
"negate_option": false, "negate_option": false,
"objects": [ "objects": [
{ {
@@ -515,7 +515,7 @@
"is_valid": "yes", "is_valid": "yes",
"and_conditions": [ "and_conditions": [
{ {
"attribute_name": "ATTR_IP_PROTOCOL", "field_name": "IP_PROTOCOL",
"negate_option": true, "negate_option": true,
"object_uuids": [ "object_uuids": [
"00000000-0000-0000-0000-000000000006" "00000000-0000-0000-0000-000000000006"
@@ -533,7 +533,7 @@
"is_valid": "yes", "is_valid": "yes",
"and_conditions": [ "and_conditions": [
{ {
"attribute_name": "ATTR_SOURCE_IP", "field_name": "SOURCE_IP",
"negate_option": false, "negate_option": false,
"objects": [ "objects": [
{ {
@@ -610,11 +610,11 @@
] ]
}, },
{ {
"table_name": "ATTRIBUTE_DICT", "table_name": "FIELD_DICT",
"table_content": [ "table_content": [
{"uuid":"4fff0ed4-f02b-17ee-3f74-b66310c5d1e2","is_valid":1,"attribute_name":"ATTR_SERVER_FQDN","available_object_type":"fqdn","object_table_name":"TSG_OBJ_FQDN"}, {"uuid":"4fff0ed4-f02b-17ee-3f74-b66310c5d1e2","is_valid":1,"field_name":"SERVER_FQDN","available_object_type":"fqdn","object_table_name":"TSG_OBJ_FQDN"},
{"uuid":"4fff0ed4-f02b-17ee-3f74-b66310c5d1e2","is_valid":1,"attribute_name":"ATTR_SSL_SAN","available_object_type":"fqdn","object_table_name":"TSG_OBJ_FQDN"}, {"uuid":"4fff0ed4-f02b-17ee-3f74-b66310c5d1e2","is_valid":1,"field_name":"SSL_SAN","available_object_type":"fqdn","object_table_name":"TSG_OBJ_FQDN"},
{"uuid":"ca317931-96f8-1979-ea7c-2bb791858df6","is_valid":1,"attribute_name":"ATTR_HTTP_REQ_HDR","available_object_type":"keyword","object_table_name":"tsg_obj_keyword"} {"uuid":"ca317931-96f8-1979-ea7c-2bb791858df6","is_valid":1,"field_name":"HTTP_REQ_HDR","available_object_type":"keyword","object_table_name":"tsg_obj_keyword"}
] ]
} }
] ]

View File

@@ -236,7 +236,6 @@ TEST(VerifyPolicy, CheckRegexExpression)
FREE(&hit_policy_query); FREE(&hit_policy_query);
} }
int g_global_enable = 0; int g_global_enable = 0;
void verify_policy_print_result(char *hit_policy_query, char *hit_policy_result, int enable) void verify_policy_print_result(char *hit_policy_query, char *hit_policy_result, int enable)
{ {