TSG-23903 VerifyPoliy uses field instead of attribute
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -334,10 +334,10 @@
|
||||
},
|
||||
{
|
||||
"table_id": 49,
|
||||
"table_name": "ATTRIBUTE_DICT",
|
||||
"table_name": "FIELD_DICT",
|
||||
"table_type": "plugin",
|
||||
"custom": {
|
||||
"key_name": "attribute_name",
|
||||
"key_name": "field_name",
|
||||
"key_type": "pointer"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
"is_valid": "yes",
|
||||
"and_conditions": [
|
||||
{
|
||||
"attribute_name": "ATTR_HTTP_URL",
|
||||
"field_name": "HTTP_URL",
|
||||
"objects": [
|
||||
{
|
||||
"items": [
|
||||
@@ -40,7 +40,7 @@
|
||||
"is_valid": "yes",
|
||||
"and_conditions": [
|
||||
{
|
||||
"attribute_name": "ATTR_SOURCE_IP",
|
||||
"field_name": "SOURCE_IP",
|
||||
"objects": [
|
||||
{
|
||||
"object_name": "IPv4TCPSoureVeiryPolicy01",
|
||||
@@ -59,14 +59,14 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"attribute_name": "ATTR_APP_ID",
|
||||
"field_name": "APP_ID",
|
||||
"negate_option": false,
|
||||
"object_uuids": [
|
||||
"00000201-0000-0000-0000-000000000000"
|
||||
]
|
||||
},
|
||||
{
|
||||
"attribute_name": "ATTR_HTTP_REQ_HDR",
|
||||
"field_name": "HTTP_REQ_HDR",
|
||||
"objects": [
|
||||
{
|
||||
"items": [
|
||||
@@ -83,14 +83,14 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"attribute_name": "ATTR_IP_PROTOCOL",
|
||||
"field_name": "IP_PROTOCOL",
|
||||
"negate_option": false,
|
||||
"object_uuids": [
|
||||
"00000000-0000-0000-0000-000000000006"
|
||||
]
|
||||
},
|
||||
{
|
||||
"attribute_name": "ATTR_SOURCE_PORT",
|
||||
"field_name": "SOURCE_PORT",
|
||||
"objects": [
|
||||
{
|
||||
"object_name": "IPv4TCPPortVeiryPolicy01",
|
||||
@@ -108,14 +108,14 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"attribute_name": "ATTR_TUNNEL_LEVEL",
|
||||
"field_name": "TUNNEL_LEVEL",
|
||||
"negate_option": false,
|
||||
"object_uuids": [
|
||||
"00000000-0000-0000-0000-000000000050"
|
||||
]
|
||||
},
|
||||
{
|
||||
"attribute_name": "ATTR_FLAG",
|
||||
"field_name": "FLAG",
|
||||
"objects": [
|
||||
{
|
||||
"object_name": "FlagVeiryPolicy01",
|
||||
@@ -134,7 +134,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"attribute_name": "ATTR_SSL_ECH",
|
||||
"field_name": "SSL_ECH",
|
||||
"negate_option": false,
|
||||
"object_uuids": [
|
||||
"00000000-0000-0000-0000-000000000002"
|
||||
@@ -152,7 +152,7 @@
|
||||
"is_valid": "yes",
|
||||
"and_conditions": [
|
||||
{
|
||||
"attribute_name": "ATTR_SOURCE_IP",
|
||||
"field_name": "SOURCE_IP",
|
||||
"negate_option": false,
|
||||
"object_uuids": [
|
||||
"00000070-0000-0000-0000-000000000000"
|
||||
@@ -170,7 +170,7 @@
|
||||
"is_valid": "yes",
|
||||
"and_conditions": [
|
||||
{
|
||||
"attribute_name": "ATTR_SOURCE_IP",
|
||||
"field_name": "SOURCE_IP",
|
||||
"objects": [
|
||||
{
|
||||
"object_name": "IPv4TCPSoureVeiryPolicy02",
|
||||
@@ -189,7 +189,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"attribute_name": "ATTR_DESTINATION_IP",
|
||||
"field_name": "DESTINATION_IP",
|
||||
"objects": [
|
||||
{
|
||||
"object_name": "IPv4TCPDestinationVeiryPolicy01",
|
||||
@@ -208,7 +208,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"attribute_name": "ATTR_SERVER_FQDN",
|
||||
"field_name": "SERVER_FQDN",
|
||||
"objects": [
|
||||
{
|
||||
"items": [
|
||||
@@ -225,7 +225,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"attribute_name": "ATTR_SSL_SAN",
|
||||
"field_name": "SSL_SAN",
|
||||
"objects": [
|
||||
{
|
||||
"items": [
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
{
|
||||
"type": "proxy_manipulation",
|
||||
"verify_session": {
|
||||
"attributes": [
|
||||
"fields": [
|
||||
{
|
||||
"attribute_value_type": "ip",
|
||||
"attribute_name": "ATTR_SOURCE_IP",
|
||||
"attribute_value": {
|
||||
"field_value_type": "ip",
|
||||
"field_name": "SOURCE_IP",
|
||||
"field_value": {
|
||||
"ip": "192.168.0.1",
|
||||
"port":"8080",
|
||||
"addr_type": 4
|
||||
@@ -30,29 +30,29 @@
|
||||
{
|
||||
"type": "proxy_manipulation",
|
||||
"verify_session": {
|
||||
"attributes": [
|
||||
"fields": [
|
||||
{
|
||||
"attribute_value_type": "ip",
|
||||
"attribute_name": "ATTR_SOURCE_IP",
|
||||
"attribute_value": {
|
||||
"field_value_type": "ip",
|
||||
"field_name": "SOURCE_IP",
|
||||
"field_value": {
|
||||
"ip": "192.168.1.1",
|
||||
"port":"8080",
|
||||
"addr_type": 4
|
||||
}
|
||||
},
|
||||
{
|
||||
"attribute_value_type": "ip",
|
||||
"attribute_name": "ATTR_INTERNAL_IP",
|
||||
"attribute_value": {
|
||||
"field_value_type": "ip",
|
||||
"field_name": "INTERNAL_IP",
|
||||
"field_value": {
|
||||
"ip": "192.168.1.2",
|
||||
"port": "80",
|
||||
"addr_type": 4
|
||||
}
|
||||
},
|
||||
{
|
||||
"attribute_value_type": "string",
|
||||
"attribute_name": "ATTR_SERVER_FQDN",
|
||||
"attribute_value": {
|
||||
"field_value_type": "string",
|
||||
"field_name": "SERVER_FQDN",
|
||||
"field_value": {
|
||||
"string": "www.126.com"
|
||||
}
|
||||
}
|
||||
@@ -70,11 +70,11 @@
|
||||
"type": "security",
|
||||
"vsys_id": 1,
|
||||
"verify_session": {
|
||||
"attributes": [
|
||||
"fields": [
|
||||
{
|
||||
"attribute_value_type": "ip",
|
||||
"attribute_name": "ATTR_TUNNEL",
|
||||
"attribute_value": {
|
||||
"field_value_type": "ip",
|
||||
"field_name": "TUNNEL",
|
||||
"field_value": {
|
||||
"ip": "192.168.0.4",
|
||||
"port":80,
|
||||
"tunnel_type":"gtp",
|
||||
@@ -94,11 +94,11 @@
|
||||
{
|
||||
"type": "security",
|
||||
"verify_session": {
|
||||
"attributes": [
|
||||
"fields": [
|
||||
{
|
||||
"attribute_value_type": "ip",
|
||||
"attribute_name": "ATTR_TUNNEL",
|
||||
"attribute_value": {
|
||||
"field_value_type": "ip",
|
||||
"field_name": "TUNNEL",
|
||||
"field_value": {
|
||||
"ip": "192.168.0.5",
|
||||
"tunnel_type":"gtp",
|
||||
"addr_type": 4
|
||||
@@ -117,20 +117,20 @@
|
||||
{
|
||||
"type": "security",
|
||||
"verify_session": {
|
||||
"attributes": [
|
||||
"fields": [
|
||||
{
|
||||
"attribute_value_type": "ip",
|
||||
"attribute_name": "ATTR_TUNNEL",
|
||||
"attribute_value": {
|
||||
"field_value_type": "ip",
|
||||
"field_name": "TUNNEL",
|
||||
"field_value": {
|
||||
"ip": "192.168.0.5",
|
||||
"tunnel_type":"gtp",
|
||||
"addr_type": 4
|
||||
}
|
||||
},
|
||||
{
|
||||
"attribute_value_type": "ip",
|
||||
"attribute_name": "ATTR_TUNNEL",
|
||||
"attribute_value": {
|
||||
"field_value_type": "ip",
|
||||
"field_name": "TUNNEL",
|
||||
"field_value": {
|
||||
"ip": "192.168.0.6",
|
||||
"tunnel_type":"gtp",
|
||||
"addr_type": 4
|
||||
@@ -149,36 +149,36 @@
|
||||
{
|
||||
"type": "proxy_manipulation",
|
||||
"verify_session": {
|
||||
"attributes": [
|
||||
"fields": [
|
||||
{
|
||||
"attribute_value_type": "ip",
|
||||
"attribute_name": "ATTR_SOURCE_IP",
|
||||
"attribute_value": {
|
||||
"field_value_type": "ip",
|
||||
"field_name": "SOURCE_IP",
|
||||
"field_value": {
|
||||
"ip": "192.168.0.2",
|
||||
"port": "80",
|
||||
"addr_type": 4
|
||||
}
|
||||
},
|
||||
{
|
||||
"attribute_value_type": "ip",
|
||||
"attribute_name": "ATTR_DESTINATION_IP",
|
||||
"attribute_value": {
|
||||
"field_value_type": "ip",
|
||||
"field_name": "DESTINATION_IP",
|
||||
"field_value": {
|
||||
"ip": "192.168.0.3",
|
||||
"port": "80",
|
||||
"addr_type": 4
|
||||
}
|
||||
},
|
||||
{
|
||||
"attribute_value_type": "string",
|
||||
"attribute_name": "ATTR_SERVER_FQDN",
|
||||
"attribute_value": {
|
||||
"field_value_type": "string",
|
||||
"field_name": "SERVER_FQDN",
|
||||
"field_value": {
|
||||
"string": "www.baidu.com"
|
||||
}
|
||||
},
|
||||
{
|
||||
"attribute_value_type": "string",
|
||||
"attribute_name": "ATTR_SSL_SAN",
|
||||
"attribute_value": {
|
||||
"field_value_type": "string",
|
||||
"field_name": "SSL_SAN",
|
||||
"field_value": {
|
||||
"string": "www.baidu.com"
|
||||
}
|
||||
}
|
||||
@@ -195,37 +195,37 @@
|
||||
{
|
||||
"type": "proxy_manipulation",
|
||||
"verify_session": {
|
||||
"attributes": [
|
||||
"fields": [
|
||||
{
|
||||
"attribute_value_type": "ip",
|
||||
"attribute_name": "ATTR_IP_PROTOCOL",
|
||||
"attribute_value": {
|
||||
"field_value_type": "ip",
|
||||
"field_name": "IP_PROTOCOL",
|
||||
"field_value": {
|
||||
"addr_type": 4,
|
||||
"protocol": 6
|
||||
}
|
||||
},
|
||||
{
|
||||
"attribute_value_type": "ip",
|
||||
"attribute_name": "ATTR_TUNNEL",
|
||||
"attribute_value": {
|
||||
"field_value_type": "ip",
|
||||
"field_name": "TUNNEL",
|
||||
"field_value": {
|
||||
"ip": "192.168.0.5",
|
||||
"tunnel_type":"gtp",
|
||||
"addr_type": 4
|
||||
}
|
||||
},
|
||||
{
|
||||
"attribute_value_type": "ip",
|
||||
"attribute_name": "ATTR_TUNNEL",
|
||||
"attribute_value": {
|
||||
"field_value_type": "ip",
|
||||
"field_name": "TUNNEL",
|
||||
"field_value": {
|
||||
"ip": "192.168.0.6",
|
||||
"tunnel_type":"gtp",
|
||||
"addr_type": 4
|
||||
}
|
||||
},
|
||||
{
|
||||
"attribute_value_type": "ip",
|
||||
"attribute_name": "ATTR_SOURCE_IP",
|
||||
"attribute_value": {
|
||||
"field_value_type": "ip",
|
||||
"field_name": "SOURCE_IP",
|
||||
"field_value": {
|
||||
"ip": "192.168.1.1",
|
||||
"port":"8080",
|
||||
"addr_type": 4
|
||||
@@ -244,28 +244,28 @@
|
||||
{
|
||||
"type": "proxy_manipulation",
|
||||
"verify_session": {
|
||||
"attributes": [
|
||||
"fields": [
|
||||
{
|
||||
"attribute_value_type": "ip",
|
||||
"attribute_name": "ATTR_IP_PROTOCOL",
|
||||
"attribute_value": {
|
||||
"field_value_type": "ip",
|
||||
"field_name": "IP_PROTOCOL",
|
||||
"field_value": {
|
||||
"addr_type": 4,
|
||||
"protocol": 6
|
||||
}
|
||||
},
|
||||
{
|
||||
"attribute_value_type": "ip",
|
||||
"attribute_name": "ATTR_TUNNEL",
|
||||
"attribute_value": {
|
||||
"field_value_type": "ip",
|
||||
"field_name": "TUNNEL",
|
||||
"field_value": {
|
||||
"ip": "192.168.0.4",
|
||||
"tunnel_type":"gtp",
|
||||
"addr_type": 4
|
||||
}
|
||||
},
|
||||
{
|
||||
"attribute_value_type": "ip",
|
||||
"attribute_name": "ATTR_TUNNEL",
|
||||
"attribute_value": {
|
||||
"field_value_type": "ip",
|
||||
"field_name": "TUNNEL",
|
||||
"field_value": {
|
||||
"ip": "192.168.0.6",
|
||||
"tunnel_type":"gtp",
|
||||
"addr_type": 4
|
||||
@@ -284,64 +284,64 @@
|
||||
{
|
||||
"type": "proxy_manipulation",
|
||||
"verify_session": {
|
||||
"attributes": [
|
||||
"fields": [
|
||||
{
|
||||
"attribute_value_type": "ip",
|
||||
"attribute_name": "ATTR_SOURCE_IP",
|
||||
"attribute_value": {
|
||||
"field_value_type": "ip",
|
||||
"field_name": "SOURCE_IP",
|
||||
"field_value": {
|
||||
"ip": "192.168.55.4",
|
||||
"port": "80",
|
||||
"addr_type": 4
|
||||
}
|
||||
},
|
||||
{
|
||||
"attribute_value_type": "ip",
|
||||
"attribute_name": "ATTR_IP_PROTOCOL",
|
||||
"attribute_value": {
|
||||
"field_value_type": "ip",
|
||||
"field_name": "IP_PROTOCOL",
|
||||
"field_value": {
|
||||
"addr_type": 4,
|
||||
"protocol": 6
|
||||
}
|
||||
},
|
||||
{
|
||||
"attribute_value_type": "port",
|
||||
"attribute_name": "ATTR_SOURCE_PORT",
|
||||
"attribute_value": {
|
||||
"field_value_type": "port",
|
||||
"field_name": "SOURCE_PORT",
|
||||
"field_value": {
|
||||
"port": "80"
|
||||
}
|
||||
},
|
||||
{
|
||||
"attribute_value_type": "numeric",
|
||||
"attribute_name": "ATTR_APP_ID",
|
||||
"attribute_value": {
|
||||
"field_value_type": "numeric",
|
||||
"field_name": "APP_ID",
|
||||
"field_value": {
|
||||
"numeric": 67
|
||||
}
|
||||
},
|
||||
{
|
||||
"attribute_value_type": "string",
|
||||
"attribute_name": "ATTR_HTTP_REQ_HDR",
|
||||
"attribute_value": {
|
||||
"field_value_type": "string",
|
||||
"field_name": "HTTP_REQ_HDR",
|
||||
"field_value": {
|
||||
"district":"User-Agent",
|
||||
"string":"test"
|
||||
}
|
||||
},
|
||||
{
|
||||
"attribute_value_type": "string",
|
||||
"attribute_name": "ATTR_TUNNEL_LEVEL",
|
||||
"attribute_value": {
|
||||
"field_value_type": "string",
|
||||
"field_name": "TUNNEL_LEVEL",
|
||||
"field_value": {
|
||||
"numeric": 60
|
||||
}
|
||||
},
|
||||
{
|
||||
"attribute_value_type": "flag",
|
||||
"attribute_name": "ATTR_FLAG",
|
||||
"attribute_value": {
|
||||
"field_value_type": "flag",
|
||||
"field_name": "FLAG",
|
||||
"field_value": {
|
||||
"numeric": 15
|
||||
}
|
||||
},
|
||||
{
|
||||
"attribute_value_type": "boolean",
|
||||
"attribute_name": "ATTR_SSL_ECH",
|
||||
"attribute_value": {
|
||||
"field_value_type": "boolean",
|
||||
"field_name": "SSL_ECH",
|
||||
"field_value": {
|
||||
"numeric": 1
|
||||
}
|
||||
}
|
||||
@@ -359,11 +359,11 @@
|
||||
"type": "proxy_manipulation",
|
||||
"vsys": 1,
|
||||
"verify_session": {
|
||||
"attributes": [
|
||||
"fields": [
|
||||
{
|
||||
"attribute_value_type": "ip",
|
||||
"attribute_name": "ATTR_SOURCE_IP",
|
||||
"attribute_value": {
|
||||
"field_value_type": "ip",
|
||||
"field_name": "SOURCE_IP",
|
||||
"field_value": {
|
||||
"ip": "192.168.2.1",
|
||||
"port":"8080",
|
||||
"addr_type": 4
|
||||
@@ -383,11 +383,11 @@
|
||||
"type": "proxy_manipulation",
|
||||
"vsys": 1,
|
||||
"verify_session": {
|
||||
"attributes": [
|
||||
"fields": [
|
||||
{
|
||||
"attribute_value_type": "numeric",
|
||||
"attribute_name": "ATTR_IP_PROTOCOL",
|
||||
"attribute_value": {
|
||||
"field_value_type": "numeric",
|
||||
"field_name": "IP_PROTOCOL",
|
||||
"field_value": {
|
||||
"addr_type": 4,
|
||||
"numeric": 1
|
||||
}
|
||||
@@ -406,11 +406,11 @@
|
||||
"type": "proxy_manipulation",
|
||||
"vsys": 1,
|
||||
"verify_session": {
|
||||
"attributes": [
|
||||
"fields": [
|
||||
{
|
||||
"attribute_value_type": "ip",
|
||||
"attribute_name": "ATTR_SOURCE_IP",
|
||||
"attribute_value": {
|
||||
"field_value_type": "ip",
|
||||
"field_name": "SOURCE_IP",
|
||||
"field_value": {
|
||||
"ip": "10.1.1.1",
|
||||
"port":"8080",
|
||||
"addr_type": 4
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
"top_object_list": [
|
||||
{
|
||||
"object_uuid": "00005000-0000-0000-0000-000000000000",
|
||||
"attribute_name": "ATTR_SOURCE_IP",
|
||||
"field_name": "SOURCE_IP",
|
||||
"negate_option": 0,
|
||||
"condition_index": 0
|
||||
}
|
||||
@@ -21,11 +21,11 @@
|
||||
}
|
||||
],
|
||||
"verify_session": {
|
||||
"attributes": [
|
||||
"fields": [
|
||||
{
|
||||
"attribute_value_type": "ip",
|
||||
"attribute_name": "ATTR_SOURCE_IP",
|
||||
"attribute_value": {
|
||||
"field_value_type": "ip",
|
||||
"field_name": "SOURCE_IP",
|
||||
"field_value": {
|
||||
"ip": "192.168.0.1",
|
||||
"port": "8080",
|
||||
"addr_type": 4
|
||||
@@ -55,19 +55,19 @@
|
||||
"top_object_list": [
|
||||
{
|
||||
"tag_uuid": "00000011-0000-0000-0000-000000000000",
|
||||
"attribute_name": "ATTR_SOURCE_IP",
|
||||
"field_name": "SOURCE_IP",
|
||||
"negate_option": 0,
|
||||
"condition_index": 0
|
||||
},
|
||||
{
|
||||
"tag_uuid": "00000012-0000-0000-0000-000000000000",
|
||||
"attribute_name": "ATTR_INTERNAL_IP",
|
||||
"field_name": "INTERNAL_IP",
|
||||
"negate_option": 0,
|
||||
"condition_index": 1
|
||||
},
|
||||
{
|
||||
"tag_uuid": "00000001-0000-0000-0000-000000000000",
|
||||
"attribute_name": "ATTR_SERVER_FQDN",
|
||||
"field_name": "SERVER_FQDN",
|
||||
"negate_option": 0,
|
||||
"condition_index": 2
|
||||
}
|
||||
@@ -75,11 +75,11 @@
|
||||
}
|
||||
],
|
||||
"verify_session": {
|
||||
"attributes": [
|
||||
"fields": [
|
||||
{
|
||||
"attribute_value_type": "ip",
|
||||
"attribute_name": "ATTR_SOURCE_IP",
|
||||
"attribute_value": {
|
||||
"field_value_type": "ip",
|
||||
"field_name": "SOURCE_IP",
|
||||
"field_value": {
|
||||
"ip": "192.168.1.1",
|
||||
"port": "8080",
|
||||
"addr_type": 4
|
||||
@@ -92,9 +92,9 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"attribute_value_type": "ip",
|
||||
"attribute_name": "ATTR_INTERNAL_IP",
|
||||
"attribute_value": {
|
||||
"field_value_type": "ip",
|
||||
"field_name": "INTERNAL_IP",
|
||||
"field_value": {
|
||||
"ip": "192.168.1.2",
|
||||
"port": "80",
|
||||
"addr_type": 4
|
||||
@@ -111,9 +111,9 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"attribute_value_type": "string",
|
||||
"attribute_name": "ATTR_SERVER_FQDN",
|
||||
"attribute_value": {
|
||||
"field_value_type": "string",
|
||||
"field_name": "SERVER_FQDN",
|
||||
"field_value": {
|
||||
"string": "www.126.com"
|
||||
},
|
||||
"hit_paths": [
|
||||
@@ -134,9 +134,9 @@
|
||||
"msg": "Success",
|
||||
"data": {
|
||||
"verify_session": {
|
||||
"attributes": [{
|
||||
"attribute_value_type": "ip",
|
||||
"attribute_name": "tunnel_endpoint_object",
|
||||
"fields": [{
|
||||
"field_value_type": "ip",
|
||||
"field_name": "tunnel_endpoint_object",
|
||||
"hit_paths": [{
|
||||
"item_uuid": "00000000-0000-0000-0000-000000000000",
|
||||
"superior_object_uuid": "00003021-0000-0000-0000-000000000000"
|
||||
@@ -152,10 +152,10 @@
|
||||
"msg": "Success",
|
||||
"data": {
|
||||
"verify_session": {
|
||||
"attributes": [
|
||||
"fields": [
|
||||
{
|
||||
"attribute_value_type": "ip",
|
||||
"attribute_name": "tunnel_endpoint_object",
|
||||
"field_value_type": "ip",
|
||||
"field_name": "tunnel_endpoint_object",
|
||||
"hit_paths": [
|
||||
{
|
||||
"item_uuid": "00000000-0000-0000-0000-000000000000",
|
||||
@@ -174,10 +174,10 @@
|
||||
"msg": "Success",
|
||||
"data": {
|
||||
"verify_session": {
|
||||
"attributes": [
|
||||
"fields": [
|
||||
{
|
||||
"attribute_value_type": "ip",
|
||||
"attribute_name": "tunnel_endpoint_object",
|
||||
"field_value_type": "ip",
|
||||
"field_name": "tunnel_endpoint_object",
|
||||
"hit_paths": [
|
||||
{
|
||||
"item_uuid": "00000000-0000-0000-0000-000000000000",
|
||||
@@ -207,25 +207,25 @@
|
||||
"top_object_list": [
|
||||
{
|
||||
"object_uuid": "00005001-0000-0000-0000-000000000000",
|
||||
"attribute_name": "ATTR_SOURCE_IP",
|
||||
"field_name": "SOURCE_IP",
|
||||
"negate_option": 0,
|
||||
"condition_index": 0
|
||||
},
|
||||
{
|
||||
"object_uuid": "00005002-0000-0000-0000-000000000000",
|
||||
"attribute_name": "ATTR_DESTINATION_IP",
|
||||
"field_name": "DESTINATION_IP",
|
||||
"negate_option": 0,
|
||||
"condition_index": 1
|
||||
},
|
||||
{
|
||||
"object_uuid": "00005003-0000-0000-0000-000000000000",
|
||||
"attribute_name": "ATTR_SERVER_FQDN",
|
||||
"field_name": "SERVER_FQDN",
|
||||
"negate_option": 0,
|
||||
"condition_index": 2
|
||||
},
|
||||
{
|
||||
"object_uuid": "00005004-0000-0000-0000-000000000000",
|
||||
"attribute_name": "ATTR_SSL_SAN",
|
||||
"field_name": "SSL_SAN",
|
||||
"negate_option": 0,
|
||||
"condition_index": 3
|
||||
}
|
||||
@@ -238,25 +238,25 @@
|
||||
"top_object_list": [
|
||||
{
|
||||
"object_uuid": "00005001-0000-0000-0000-000000000000",
|
||||
"attribute_name": "ATTR_SOURCE_IP",
|
||||
"field_name": "SOURCE_IP",
|
||||
"negate_option": 0,
|
||||
"condition_index": 0
|
||||
},
|
||||
{
|
||||
"object_uuid": "00005002-0000-0000-0000-000000000000",
|
||||
"attribute_name": "ATTR_DESTINATION_IP",
|
||||
"field_name": "DESTINATION_IP",
|
||||
"negate_option": 0,
|
||||
"condition_index": 1
|
||||
},
|
||||
{
|
||||
"object_uuid": "00005003-0000-0000-0000-000000000000",
|
||||
"attribute_name": "ATTR_SERVER_FQDN",
|
||||
"field_name": "SERVER_FQDN",
|
||||
"negate_option": 0,
|
||||
"condition_index": 2
|
||||
},
|
||||
{
|
||||
"object_uuid": "00005004-0000-0000-0000-000000000000",
|
||||
"attribute_name": "ATTR_SSL_SAN",
|
||||
"field_name": "SSL_SAN",
|
||||
"negate_option": 0,
|
||||
"condition_index": 3
|
||||
}
|
||||
@@ -264,11 +264,11 @@
|
||||
}
|
||||
],
|
||||
"verify_session": {
|
||||
"attributes": [
|
||||
"fields": [
|
||||
{
|
||||
"attribute_value_type": "ip",
|
||||
"attribute_name": "ATTR_SOURCE_IP",
|
||||
"attribute_value": {
|
||||
"field_value_type": "ip",
|
||||
"field_name": "SOURCE_IP",
|
||||
"field_value": {
|
||||
"ip": "192.168.0.2",
|
||||
"port": "80",
|
||||
"addr_type": 4
|
||||
@@ -281,9 +281,9 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"attribute_value_type": "ip",
|
||||
"attribute_name": "ATTR_DESTINATION_IP",
|
||||
"attribute_value": {
|
||||
"field_value_type": "ip",
|
||||
"field_name": "DESTINATION_IP",
|
||||
"field_value": {
|
||||
"ip": "192.168.0.3",
|
||||
"port": "80",
|
||||
"addr_type": 4
|
||||
@@ -296,9 +296,9 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"attribute_value_type": "string",
|
||||
"attribute_name": "ATTR_SERVER_FQDN",
|
||||
"attribute_value": {
|
||||
"field_value_type": "string",
|
||||
"field_name": "SERVER_FQDN",
|
||||
"field_value": {
|
||||
"string": "www.baidu.com"
|
||||
},
|
||||
"hit_paths": [
|
||||
@@ -321,9 +321,9 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"attribute_value_type": "string",
|
||||
"attribute_name": "ATTR_SSL_SAN",
|
||||
"attribute_value": {
|
||||
"field_value_type": "string",
|
||||
"field_name": "SSL_SAN",
|
||||
"field_value": {
|
||||
"string": "www.baidu.com"
|
||||
},
|
||||
"hit_paths": [
|
||||
@@ -363,7 +363,7 @@
|
||||
"top_object_list": [
|
||||
{
|
||||
"object_uuid": "00003022-0000-0000-0000-000000000000",
|
||||
"attribute_name": "ATTR_TUNNEL",
|
||||
"field_name": "TUNNEL",
|
||||
"negate_option": 0,
|
||||
"condition_index": 0
|
||||
}
|
||||
@@ -376,7 +376,7 @@
|
||||
"top_object_list": [
|
||||
{
|
||||
"object_uuid": "00003023-0000-0000-0000-000000000000",
|
||||
"attribute_name": "ATTR_TUNNEL",
|
||||
"field_name": "TUNNEL",
|
||||
"negate_option": 0,
|
||||
"condition_index": 0
|
||||
}
|
||||
@@ -384,11 +384,11 @@
|
||||
}
|
||||
],
|
||||
"verify_session": {
|
||||
"attributes": [
|
||||
"fields": [
|
||||
{
|
||||
"attribute_value_type": "ip",
|
||||
"attribute_name": "ATTR_IP_PROTOCOL",
|
||||
"attribute_value": {
|
||||
"field_value_type": "ip",
|
||||
"field_name": "IP_PROTOCOL",
|
||||
"field_value": {
|
||||
"addr_type": 4,
|
||||
"protocol": 6
|
||||
},
|
||||
@@ -400,8 +400,8 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"attribute_value_type": "ip",
|
||||
"attribute_name": "tunnel_endpoint_object",
|
||||
"field_value_type": "ip",
|
||||
"field_name": "tunnel_endpoint_object",
|
||||
"hit_paths": [
|
||||
{
|
||||
"item_uuid": "00000000-0000-0000-0000-000000000000",
|
||||
@@ -414,9 +414,9 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"attribute_value_type": "ip",
|
||||
"attribute_name": "ATTR_SOURCE_IP",
|
||||
"attribute_value": {
|
||||
"field_value_type": "ip",
|
||||
"field_name": "SOURCE_IP",
|
||||
"field_value": {
|
||||
"ip": "192.168.1.1",
|
||||
"port": "8080",
|
||||
"addr_type": 4
|
||||
@@ -446,7 +446,7 @@
|
||||
"top_object_list": [
|
||||
{
|
||||
"object_uuid": "00003022-0000-0000-0000-000000000000",
|
||||
"attribute_name": "ATTR_TUNNEL",
|
||||
"field_name": "TUNNEL",
|
||||
"negate_option": 1,
|
||||
"condition_index": 0
|
||||
}
|
||||
@@ -454,11 +454,11 @@
|
||||
}
|
||||
],
|
||||
"verify_session": {
|
||||
"attributes": [
|
||||
"fields": [
|
||||
{
|
||||
"attribute_value_type": "ip",
|
||||
"attribute_name": "ATTR_IP_PROTOCOL",
|
||||
"attribute_value": {
|
||||
"field_value_type": "ip",
|
||||
"field_name": "IP_PROTOCOL",
|
||||
"field_value": {
|
||||
"addr_type": 4,
|
||||
"protocol": 6
|
||||
},
|
||||
@@ -470,8 +470,8 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"attribute_value_type": "ip",
|
||||
"attribute_name": "tunnel_endpoint_object",
|
||||
"field_value_type": "ip",
|
||||
"field_name": "tunnel_endpoint_object",
|
||||
"hit_paths": [
|
||||
{
|
||||
"item_uuid": "00000000-0000-0000-0000-000000000000",
|
||||
@@ -497,49 +497,49 @@
|
||||
"top_object_list": [
|
||||
{
|
||||
"object_uuid": "00500100-0000-0000-0000-000000000000",
|
||||
"attribute_name": "ATTR_SOURCE_IP",
|
||||
"field_name": "SOURCE_IP",
|
||||
"negate_option": 0,
|
||||
"condition_index": 0
|
||||
},
|
||||
{
|
||||
"object_uuid": "00000000-0000-0000-0000-000000000006",
|
||||
"attribute_name": "ATTR_IP_PROTOCOL",
|
||||
"field_name": "IP_PROTOCOL",
|
||||
"negate_option": 0,
|
||||
"condition_index": 3
|
||||
},
|
||||
{
|
||||
"object_uuid": "00500200-0000-0000-0000-000000000000",
|
||||
"attribute_name": "ATTR_SOURCE_PORT",
|
||||
"field_name": "SOURCE_PORT",
|
||||
"negate_option": 0,
|
||||
"condition_index": 4
|
||||
},
|
||||
{
|
||||
"object_uuid": "00000201-0000-0000-0000-000000000000",
|
||||
"attribute_name": "ATTR_APP_ID",
|
||||
"field_name": "APP_ID",
|
||||
"negate_option": 0,
|
||||
"condition_index": 1
|
||||
},
|
||||
{
|
||||
"object_uuid": "00000000-0000-0000-0000-000000001000",
|
||||
"attribute_name": "ATTR_HTTP_REQ_HDR",
|
||||
"field_name": "HTTP_REQ_HDR",
|
||||
"negate_option": 0,
|
||||
"condition_index": 2
|
||||
},
|
||||
{
|
||||
"object_uuid": "00000000-0000-0000-0000-000000000050",
|
||||
"attribute_name": "ATTR_TUNNEL_LEVEL",
|
||||
"field_name": "TUNNEL_LEVEL",
|
||||
"negate_option": 0,
|
||||
"condition_index": 5
|
||||
},
|
||||
{
|
||||
"object_uuid": "00500300-0000-0000-0000-000000000000",
|
||||
"attribute_name": "ATTR_FLAG",
|
||||
"field_name": "FLAG",
|
||||
"negate_option": 0,
|
||||
"condition_index": 6
|
||||
},
|
||||
{
|
||||
"object_uuid": "00000000-0000-0000-0000-000000000002",
|
||||
"attribute_name": "ATTR_SSL_ECH",
|
||||
"field_name": "SSL_ECH",
|
||||
"negate_option": 0,
|
||||
"condition_index": 7
|
||||
}
|
||||
@@ -547,11 +547,11 @@
|
||||
}
|
||||
],
|
||||
"verify_session": {
|
||||
"attributes": [
|
||||
"fields": [
|
||||
{
|
||||
"attribute_value_type": "ip",
|
||||
"attribute_name": "ATTR_SOURCE_IP",
|
||||
"attribute_value": {
|
||||
"field_value_type": "ip",
|
||||
"field_name": "SOURCE_IP",
|
||||
"field_value": {
|
||||
"ip": "192.168.55.4",
|
||||
"port": "80",
|
||||
"addr_type": 4
|
||||
@@ -564,9 +564,9 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"attribute_value_type": "ip",
|
||||
"attribute_name": "ATTR_IP_PROTOCOL",
|
||||
"attribute_value": {
|
||||
"field_value_type": "ip",
|
||||
"field_name": "IP_PROTOCOL",
|
||||
"field_value": {
|
||||
"addr_type": 4,
|
||||
"protocol": 6
|
||||
},
|
||||
@@ -578,9 +578,9 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"attribute_value_type": "port",
|
||||
"attribute_name": "ATTR_SOURCE_PORT",
|
||||
"attribute_value": {
|
||||
"field_value_type": "port",
|
||||
"field_name": "SOURCE_PORT",
|
||||
"field_value": {
|
||||
"port": "80"
|
||||
},
|
||||
"hit_paths": [
|
||||
@@ -591,9 +591,9 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"attribute_value_type": "numeric",
|
||||
"attribute_name": "ATTR_APP_ID",
|
||||
"attribute_value": {
|
||||
"field_value_type": "numeric",
|
||||
"field_name": "APP_ID",
|
||||
"field_value": {
|
||||
"numeric": 67
|
||||
},
|
||||
"hit_paths": [
|
||||
@@ -604,9 +604,9 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"attribute_value_type": "string",
|
||||
"attribute_name": "ATTR_HTTP_REQ_HDR",
|
||||
"attribute_value": {
|
||||
"field_value_type": "string",
|
||||
"field_name": "HTTP_REQ_HDR",
|
||||
"field_value": {
|
||||
"district": "User-Agent",
|
||||
"string": "test"
|
||||
},
|
||||
@@ -618,9 +618,9 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"attribute_value_type": "string",
|
||||
"attribute_name": "ATTR_TUNNEL_LEVEL",
|
||||
"attribute_value": {
|
||||
"field_value_type": "string",
|
||||
"field_name": "TUNNEL_LEVEL",
|
||||
"field_value": {
|
||||
"numeric": 60
|
||||
},
|
||||
"hit_paths": [
|
||||
@@ -631,9 +631,9 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"attribute_value_type": "flag",
|
||||
"attribute_name": "ATTR_FLAG",
|
||||
"attribute_value": {
|
||||
"field_value_type": "flag",
|
||||
"field_name": "FLAG",
|
||||
"field_value": {
|
||||
"numeric": 15
|
||||
},
|
||||
"hit_paths": [
|
||||
@@ -644,9 +644,9 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"attribute_value_type": "boolean",
|
||||
"attribute_name": "ATTR_SSL_ECH",
|
||||
"attribute_value": {
|
||||
"field_value_type": "boolean",
|
||||
"field_name": "SSL_ECH",
|
||||
"field_value": {
|
||||
"numeric": 1
|
||||
},
|
||||
"hit_paths": [
|
||||
@@ -674,7 +674,7 @@
|
||||
"top_object_list": [
|
||||
{
|
||||
"object_uuid": "00008000-0000-0000-0000-000000000000",
|
||||
"attribute_name": "ATTR_SOURCE_IP",
|
||||
"field_name": "SOURCE_IP",
|
||||
"negate_option": 0,
|
||||
"condition_index": 0
|
||||
}
|
||||
@@ -682,11 +682,11 @@
|
||||
}
|
||||
],
|
||||
"verify_session": {
|
||||
"attributes": [
|
||||
"fields": [
|
||||
{
|
||||
"attribute_value_type": "ip",
|
||||
"attribute_name": "ATTR_SOURCE_IP",
|
||||
"attribute_value": {
|
||||
"field_value_type": "ip",
|
||||
"field_name": "SOURCE_IP",
|
||||
"field_value": {
|
||||
"ip": "192.168.2.1",
|
||||
"port": "8080",
|
||||
"addr_type": 4
|
||||
@@ -716,7 +716,7 @@
|
||||
"top_object_list": [
|
||||
{
|
||||
"object_uuid": "00000000-0000-0000-0000-000000000006",
|
||||
"attribute_name": "ATTR_IP_PROTOCOL",
|
||||
"field_name": "IP_PROTOCOL",
|
||||
"negate_option": 1,
|
||||
"condition_index": 0
|
||||
}
|
||||
@@ -724,11 +724,11 @@
|
||||
}
|
||||
],
|
||||
"verify_session": {
|
||||
"attributes": [
|
||||
"fields": [
|
||||
{
|
||||
"attribute_value_type": "numeric",
|
||||
"attribute_name": "ATTR_IP_PROTOCOL",
|
||||
"attribute_value": {
|
||||
"field_value_type": "numeric",
|
||||
"field_name": "IP_PROTOCOL",
|
||||
"field_value": {
|
||||
"addr_type": 4,
|
||||
"numeric": 1
|
||||
},
|
||||
@@ -757,7 +757,7 @@
|
||||
"top_object_list": [
|
||||
{
|
||||
"object_uuid": "00000000-0000-0000-0000-000000090100",
|
||||
"attribute_name": "ATTR_SOURCE_IP",
|
||||
"field_name": "SOURCE_IP",
|
||||
"negate_option": 0,
|
||||
"condition_index": 0
|
||||
}
|
||||
@@ -765,11 +765,11 @@
|
||||
}
|
||||
],
|
||||
"verify_session": {
|
||||
"attributes": [
|
||||
"fields": [
|
||||
{
|
||||
"attribute_value_type": "ip",
|
||||
"attribute_name": "ATTR_SOURCE_IP",
|
||||
"attribute_value": {
|
||||
"field_value_type": "ip",
|
||||
"field_name": "SOURCE_IP",
|
||||
"field_value": {
|
||||
"ip": "10.1.1.1",
|
||||
"port": "8080",
|
||||
"addr_type": 4
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
"is_valid": "yes",
|
||||
"and_conditions": [
|
||||
{
|
||||
"attribute_name": "ATTR_SOURCE_IP",
|
||||
"field_name": "SOURCE_IP",
|
||||
"objects": [
|
||||
{
|
||||
"object_name": "IPv4TCPSoureVeiryPolicy01",
|
||||
@@ -43,7 +43,7 @@
|
||||
"and_conditions": [
|
||||
{
|
||||
"object_name": "IPv4TCPSoureEntry.11",
|
||||
"attribute_name": "ATTR_SOURCE_IP",
|
||||
"field_name": "SOURCE_IP",
|
||||
"negate_option": false,
|
||||
"object_uuids": [
|
||||
"00000011-0000-0000-0000-000000000000"
|
||||
@@ -51,7 +51,7 @@
|
||||
},
|
||||
{
|
||||
"object_name": "IPv4TCPSoureEntry.12",
|
||||
"attribute_name": "ATTR_INTERNAL_IP",
|
||||
"field_name": "INTERNAL_IP",
|
||||
"negate_option": false,
|
||||
"object_uuids": [
|
||||
"00000012-0000-0000-0000-000000000000"
|
||||
@@ -59,7 +59,7 @@
|
||||
},
|
||||
{
|
||||
"object_name": "FQDNEntry.1",
|
||||
"attribute_name": "ATTR_SERVER_FQDN",
|
||||
"field_name": "SERVER_FQDN",
|
||||
"negate_option": false,
|
||||
"object_uuids": [
|
||||
"00000001-0000-0000-0000-000000000000"
|
||||
@@ -77,7 +77,7 @@
|
||||
"is_valid": "yes",
|
||||
"and_conditions": [
|
||||
{
|
||||
"attribute_name": "ATTR_SOURCE_IP",
|
||||
"field_name": "SOURCE_IP",
|
||||
"objects": [
|
||||
{
|
||||
"object_name": "IPv4TCPSoureVeiryPolicy02",
|
||||
@@ -96,7 +96,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"attribute_name": "ATTR_DESTINATION_IP",
|
||||
"field_name": "DESTINATION_IP",
|
||||
"objects": [
|
||||
{
|
||||
"object_name": "IPv4TCPDestinationVeiryPolicy01",
|
||||
@@ -115,7 +115,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"attribute_name": "ATTR_SERVER_FQDN",
|
||||
"field_name": "SERVER_FQDN",
|
||||
"objects": [
|
||||
{
|
||||
"object_name":"ServerFqdnVeiryPolicy01",
|
||||
@@ -134,7 +134,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"attribute_name": "ATTR_SSL_SAN",
|
||||
"field_name": "SSL_SAN",
|
||||
"objects": [
|
||||
{
|
||||
"object_name":"SslSanVeiryPolicy01",
|
||||
@@ -165,7 +165,7 @@
|
||||
"and_conditions": [
|
||||
{
|
||||
"object_name": "IPv4TCPSoureVeiryPolicy02",
|
||||
"attribute_name": "ATTR_SOURCE_IP",
|
||||
"field_name": "SOURCE_IP",
|
||||
"negate_option": false,
|
||||
"object_uuids": [
|
||||
"00005001-0000-0000-0000-000000000000"
|
||||
@@ -173,7 +173,7 @@
|
||||
},
|
||||
{
|
||||
"object_name": "IPv4TCPDestinationVeiryPolicy01",
|
||||
"attribute_name": "ATTR_DESTINATION_IP",
|
||||
"field_name": "DESTINATION_IP",
|
||||
"negate_option": false,
|
||||
"object_uuids": [
|
||||
"00005002-0000-0000-0000-000000000000"
|
||||
@@ -181,7 +181,7 @@
|
||||
},
|
||||
{
|
||||
"object_name": "ServerFqdnVeiryPolicy01",
|
||||
"attribute_name": "ATTR_SERVER_FQDN",
|
||||
"field_name": "SERVER_FQDN",
|
||||
"negate_option": false,
|
||||
"object_uuids": [
|
||||
"00005003-0000-0000-0000-000000000000"
|
||||
@@ -189,7 +189,7 @@
|
||||
},
|
||||
{
|
||||
"object_name": "SslSanVeiryPolicy01",
|
||||
"attribute_name": "ATTR_SSL_SAN",
|
||||
"field_name": "SSL_SAN",
|
||||
"negate_option": false,
|
||||
"object_uuids": [
|
||||
"00005004-0000-0000-0000-000000000000"
|
||||
@@ -208,7 +208,7 @@
|
||||
"is_valid": "yes",
|
||||
"and_conditions": [
|
||||
{
|
||||
"attribute_name": "ATTR_TUNNEL_GTP_ENDPOINT",
|
||||
"field_name": "TUNNEL_GTP_ENDPOINT",
|
||||
"objects": [
|
||||
{
|
||||
"object_name": "TunnelIpv4TCPSoureVeiryPolicy01",
|
||||
@@ -238,7 +238,7 @@
|
||||
"is_valid": "yes",
|
||||
"and_conditions": [
|
||||
{
|
||||
"attribute_name": "ATTR_TUNNEL_GTP_ENDPOINT",
|
||||
"field_name": "TUNNEL_GTP_ENDPOINT",
|
||||
"objects": [
|
||||
{
|
||||
"object_name": "TunnelIpv4TCPSoureVeiryPolicy02",
|
||||
@@ -268,7 +268,7 @@
|
||||
"is_valid": "yes",
|
||||
"and_conditions": [
|
||||
{
|
||||
"attribute_name": "ATTR_TUNNEL_GTP_ENDPOINT",
|
||||
"field_name": "TUNNEL_GTP_ENDPOINT",
|
||||
"objects": [
|
||||
{
|
||||
"object_name": "TunnelIpv4TCPSoureVeiryPolicy03",
|
||||
@@ -286,7 +286,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"attribute_name": "ATTR_TUNNEL_GTP_ENDPOINT",
|
||||
"field_name": "TUNNEL_GTP_ENDPOINT",
|
||||
"objects": [
|
||||
{
|
||||
"object_name": "TunnelIpv4TCPSoureVeiryPolicy04",
|
||||
@@ -316,7 +316,7 @@
|
||||
"and_conditions": [
|
||||
{
|
||||
"object_name": "TunnelEndpointVeiryPolicy01",
|
||||
"attribute_name": "ATTR_TUNNEL",
|
||||
"field_name": "TUNNEL",
|
||||
"negate_option": false,
|
||||
"object_uuids": [
|
||||
"00003023-0000-0000-0000-000000000000"
|
||||
@@ -335,7 +335,7 @@
|
||||
"and_conditions": [
|
||||
{
|
||||
"object_name": "TunnelEndpointVeiryPolicy03",
|
||||
"attribute_name": "ATTR_TUNNEL",
|
||||
"field_name": "TUNNEL",
|
||||
"negate_option": false,
|
||||
"object_uuids": [
|
||||
"00003022-0000-0000-0000-000000000000"
|
||||
@@ -354,7 +354,7 @@
|
||||
"and_conditions": [
|
||||
{
|
||||
"object_name": "TunnelEndpointVeiryPolicy03",
|
||||
"attribute_name": "ATTR_TUNNEL",
|
||||
"field_name": "TUNNEL",
|
||||
"negate_option": true,
|
||||
"object_uuids": [
|
||||
"00003022-0000-0000-0000-000000000000"
|
||||
@@ -372,7 +372,7 @@
|
||||
"is_valid": "yes",
|
||||
"and_conditions": [
|
||||
{
|
||||
"attribute_name": "ATTR_SOURCE_IP",
|
||||
"field_name": "SOURCE_IP",
|
||||
"objects": [
|
||||
{
|
||||
"object_name": "IPv4TCPSoureVeiryPolicy01",
|
||||
@@ -391,14 +391,14 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"attribute_name": "ATTR_APP_ID",
|
||||
"field_name": "APP_ID",
|
||||
"negate_option": false,
|
||||
"object_uuids": [
|
||||
"00000201-0000-0000-0000-000000000000"
|
||||
]
|
||||
},
|
||||
{
|
||||
"attribute_name": "ATTR_HTTP_REQ_HDR",
|
||||
"field_name": "HTTP_REQ_HDR",
|
||||
"objects": [
|
||||
{
|
||||
"items": [
|
||||
@@ -415,14 +415,14 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"attribute_name": "ATTR_IP_PROTOCOL",
|
||||
"field_name": "IP_PROTOCOL",
|
||||
"negate_option": false,
|
||||
"object_uuids": [
|
||||
"00000000-0000-0000-0000-000000000006"
|
||||
]
|
||||
},
|
||||
{
|
||||
"attribute_name": "ATTR_SOURCE_PORT",
|
||||
"field_name": "SOURCE_PORT",
|
||||
"objects": [
|
||||
{
|
||||
"object_name": "IPv4TCPPortVeiryPolicy01",
|
||||
@@ -440,14 +440,14 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"attribute_name": "ATTR_TUNNEL_LEVEL",
|
||||
"field_name": "TUNNEL_LEVEL",
|
||||
"negate_option": false,
|
||||
"object_uuids": [
|
||||
"00000000-0000-0000-0000-000000000050"
|
||||
]
|
||||
},
|
||||
{
|
||||
"attribute_name": "ATTR_FLAG",
|
||||
"field_name": "FLAG",
|
||||
"objects": [
|
||||
{
|
||||
"object_name": "FlagVeiryPolicy01",
|
||||
@@ -466,7 +466,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"attribute_name": "ATTR_SSL_ECH",
|
||||
"field_name": "SSL_ECH",
|
||||
"negate_option": false,
|
||||
"object_uuids": [
|
||||
"00000000-0000-0000-0000-000000000002"
|
||||
@@ -484,7 +484,7 @@
|
||||
"is_valid": "yes",
|
||||
"and_conditions": [
|
||||
{
|
||||
"attribute_name": "ATTR_SOURCE_IP",
|
||||
"field_name": "SOURCE_IP",
|
||||
"negate_option": false,
|
||||
"objects": [
|
||||
{
|
||||
@@ -515,7 +515,7 @@
|
||||
"is_valid": "yes",
|
||||
"and_conditions": [
|
||||
{
|
||||
"attribute_name": "ATTR_IP_PROTOCOL",
|
||||
"field_name": "IP_PROTOCOL",
|
||||
"negate_option": true,
|
||||
"object_uuids": [
|
||||
"00000000-0000-0000-0000-000000000006"
|
||||
@@ -533,7 +533,7 @@
|
||||
"is_valid": "yes",
|
||||
"and_conditions": [
|
||||
{
|
||||
"attribute_name": "ATTR_SOURCE_IP",
|
||||
"field_name": "SOURCE_IP",
|
||||
"negate_option": false,
|
||||
"objects": [
|
||||
{
|
||||
@@ -610,11 +610,11 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"table_name": "ATTRIBUTE_DICT",
|
||||
"table_name": "FIELD_DICT",
|
||||
"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,"attribute_name":"ATTR_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":"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,"field_name":"SSL_SAN","available_object_type":"fqdn","object_table_name":"TSG_OBJ_FQDN"},
|
||||
{"uuid":"ca317931-96f8-1979-ea7c-2bb791858df6","is_valid":1,"field_name":"HTTP_REQ_HDR","available_object_type":"keyword","object_table_name":"tsg_obj_keyword"}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
@@ -236,7 +236,6 @@ TEST(VerifyPolicy, CheckRegexExpression)
|
||||
FREE(&hit_policy_query);
|
||||
}
|
||||
|
||||
|
||||
int g_global_enable = 0;
|
||||
void verify_policy_print_result(char *hit_policy_query, char *hit_policy_result, int enable)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user