TSG-22738 VerifyPolicy适配MAAT,将Policy的分发格式从行列式变更为JSON
This commit is contained in:
@@ -83,6 +83,7 @@
|
||||
"attribute_name": "tunnel_endpointa",
|
||||
"attribute_value": {
|
||||
"ip": "192.168.0.4",
|
||||
"port":80,
|
||||
"tunnel_type":"gtp",
|
||||
"addr_type": 4
|
||||
}
|
||||
@@ -168,7 +169,7 @@
|
||||
"attribute_name": "source",
|
||||
"attribute_value": {
|
||||
"ip": "192.168.0.2",
|
||||
"port":"8080",
|
||||
"port": "80",
|
||||
"addr_type": 4
|
||||
}
|
||||
},
|
||||
@@ -178,6 +179,7 @@
|
||||
"attribute_name": "destination",
|
||||
"attribute_value": {
|
||||
"ip": "192.168.0.3",
|
||||
"port": "80",
|
||||
"addr_type": 4
|
||||
}
|
||||
},
|
||||
@@ -300,6 +302,89 @@
|
||||
}
|
||||
],
|
||||
"verify_type": "policy"
|
||||
},
|
||||
{
|
||||
"__item_id": 8,
|
||||
"vsys_id": 1,
|
||||
"verify_list": [
|
||||
{
|
||||
"type": "pxy_manipulation",
|
||||
"vsys_id": 1,
|
||||
"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
|
||||
}
|
||||
},
|
||||
{
|
||||
"attribute_type": "ip",
|
||||
"table_name": "ATTR_IP_PROTOCOL",
|
||||
"attribute_name": "ip_protocol",
|
||||
"attribute_value": {
|
||||
"addr_type": 4,
|
||||
"protocol": 6
|
||||
}
|
||||
},
|
||||
{
|
||||
"attribute_type": "port",
|
||||
"table_name": "ATTR_SOURCE_PORT",
|
||||
"attribute_name": "source",
|
||||
"attribute_value": {
|
||||
"port": "80"
|
||||
}
|
||||
},
|
||||
{
|
||||
"attribute_type": "numeric",
|
||||
"table_name": "ATTR_APP_ID",
|
||||
"attribute_name": "app_id",
|
||||
"attribute_value": {
|
||||
"numeric": 67
|
||||
}
|
||||
},
|
||||
{
|
||||
"attribute_type": "string",
|
||||
"table_name": "ATTR_HTTP_REQ_HDR",
|
||||
"attribute_name": "req_hdr",
|
||||
"attribute_value": {
|
||||
"district":"User-Agent",
|
||||
"string":"test"
|
||||
}
|
||||
},
|
||||
{
|
||||
"attribute_type": "string",
|
||||
"table_name": "ATTR_TUNNEL_LEVEL",
|
||||
"attribute_name": "tunnel_level",
|
||||
"attribute_value": {
|
||||
"numeric": 60
|
||||
}
|
||||
},
|
||||
{
|
||||
"attribute_type": "flag",
|
||||
"table_name": "ATTR_FLAG",
|
||||
"attribute_name": "flag",
|
||||
"attribute_value": {
|
||||
"numeric": 15
|
||||
}
|
||||
},
|
||||
{
|
||||
"attribute_type": "boolean",
|
||||
"table_name": "ATTR_SSL_ECH",
|
||||
"attribute_name": "esni",
|
||||
"attribute_value": {
|
||||
"numeric": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"verify_type": "policy"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user