summaryrefslogtreecommitdiff
path: root/resource/table_info.conf
diff options
context:
space:
mode:
authorfengweihao <[email protected]>2023-05-09 14:26:43 +0800
committerfengweihao <[email protected]>2023-05-09 14:26:43 +0800
commit3cd7b7dbf976cb19cc255d09f708ce4c649a5008 (patch)
treea32340b190ab3a2f16e394bc87bea7f803b925c3 /resource/table_info.conf
parentb2e5105ab181463a6eca7fa8096f589a7030a9d1 (diff)
TSG-14954 verify-policy支持验证代理拦截策略v3.0.5-20230509
TSG-14955 verify-policy合并安全策略和代理策略maat句柄
Diffstat (limited to 'resource/table_info.conf')
-rw-r--r--resource/table_info.conf761
1 files changed, 761 insertions, 0 deletions
diff --git a/resource/table_info.conf b/resource/table_info.conf
new file mode 100644
index 0000000..77f197f
--- /dev/null
+++ b/resource/table_info.conf
@@ -0,0 +1,761 @@
+[
+ {
+ "table_id":0,
+ "table_name":"TSG_SECURITY_COMPILE",
+ "table_type":"compile",
+ "user_region_encoded":"escape",
+ "valid_column":8,
+ "custom": {
+ "compile_id":1,
+ "service_id":2,
+ "action":3,
+ "do_blacklist":4,
+ "do_log":5,
+ "tags":6,
+ "user_region":7,
+ "clause_num":9,
+ "evaluation_order":10
+ }
+ },
+ {
+ "table_id":1,
+ "table_name":"GROUP_SECURITY_COMPILE_RELATION",
+ "table_type":"group2compile",
+ "associated_compile_table_id":0,
+ "valid_column":3,
+ "custom": {
+ "group_id":1,
+ "compile_id":2,
+ "not_flag":4,
+ "virtual_table_name":5,
+ "clause_index":6
+ }
+ },
+ {
+ "table_id":2,
+ "table_name":"PXY_CTRL_COMPILE",
+ "table_type":"compile",
+ "user_region_encoded":"escape",
+ "valid_column":8,
+ "custom": {
+ "compile_id":1,
+ "service_id":2,
+ "action":3,
+ "do_blacklist":4,
+ "do_log":5,
+ "tags":6,
+ "user_region":7,
+ "clause_num":9,
+ "evaluation_order":10
+ }
+ },
+ {
+ "table_id":3,
+ "table_name":"GROUP_PXY_CTRL_COMPILE_RELATION",
+ "table_type":"group2compile",
+ "associated_compile_table_id":2,
+ "valid_column":3,
+ "custom": {
+ "group_id":1,
+ "compile_id":2,
+ "not_flag":4,
+ "virtual_table_name":5,
+ "clause_index":6
+ }
+ },
+ {
+ "table_id":4,
+ "table_name":"TRAFFIC_SHAPING_COMPILE",
+ "table_type":"compile",
+ "user_region_encoded":"escape",
+ "valid_column":8,
+ "custom": {
+ "compile_id":1,
+ "service_id":2,
+ "action":3,
+ "do_blacklist":4,
+ "do_log":5,
+ "tags":6,
+ "user_region":7,
+ "clause_num":9,
+ "evaluation_order":10
+ }
+ },
+ {
+ "table_id":5,
+ "table_name":"GROUP_SHAPING_COMPILE_RELATION",
+ "table_type":"group2compile",
+ "associated_compile_table_id":4,
+ "valid_column":3,
+ "custom": {
+ "group_id":1,
+ "compile_id":2,
+ "not_flag":4,
+ "virtual_table_name":5,
+ "clause_index":6
+ }
+ },
+ {
+ "table_id":6,
+ "table_name":"SERVICE_CHAINING_COMPILE",
+ "table_type":"compile",
+ "user_region_encoded":"escape",
+ "valid_column":8,
+ "custom": {
+ "compile_id":1,
+ "service_id":2,
+ "action":3,
+ "do_blacklist":4,
+ "do_log":5,
+ "tags":6,
+ "user_region":7,
+ "clause_num":9,
+ "evaluation_order":10
+ }
+ },
+ {
+ "table_id":7,
+ "table_name":"GROUP_SERVICE_CHAINING_COMPILE_RELATION",
+ "table_type":"group2compile",
+ "associated_compile_table_id":6,
+ "valid_column":3,
+ "custom": {
+ "group_id":1,
+ "compile_id":2,
+ "not_flag":4,
+ "virtual_table_name":5,
+ "clause_index":6
+ }
+ },
+ {
+ "table_id":8,
+ "table_name":"PXY_INTERCEPT_COMPILE",
+ "table_type":"compile",
+ "user_region_encoded":"escape",
+ "valid_column":8,
+ "custom": {
+ "compile_id":1,
+ "service_id":2,
+ "action":3,
+ "do_blacklist":4,
+ "do_log":5,
+ "tags":6,
+ "user_region":7,
+ "clause_num":9,
+ "evaluation_order":10
+ }
+ },
+ {
+ "table_id":9,
+ "table_name":"GROUP_PXY_INTERCEPT_COMPILE_RELATION",
+ "table_type":"group2compile",
+ "associated_compile_table_id":8,
+ "valid_column":3,
+ "custom": {
+ "group_id":1,
+ "compile_id":2,
+ "not_flag":4,
+ "virtual_table_name":5,
+ "clause_index":6
+ }
+ },
+ {
+ "table_id":10,
+ "table_name":"GROUP_GROUP_RELATION",
+ "table_type":"group2group",
+ "valid_column":4,
+ "custom": {
+ "group_id":1,
+ "super_group_id":2,
+ "is_exclude":3
+ }
+ },
+ {
+ "table_id":11,
+ "table_name":"TSG_OBJ_IP",
+ "db_tables":["TSG_OBJ_IP_ADDR","TSG_OBJ_IP_LEARNING_ADDR"],
+ "table_type":"ip_plus",
+ "valid_column":11,
+ "custom": {
+ "item_id":1,
+ "group_id":2,
+ "addr_type":3,
+ "addr_format":4,
+ "ip1":5,
+ "ip2":6,
+ "port_format":7,
+ "port1":8,
+ "port2":9,
+ "protocol":10
+ }
+ },
+ {
+ "table_id":12,
+ "table_name":"TSG_OBJ_SUBSCRIBER_ID",
+ "table_type":"expr",
+ "valid_column":7,
+ "custom": {
+ "item_id":1,
+ "group_id":2,
+ "keywords":3,
+ "expr_type":4,
+ "match_method":5,
+ "is_hexbin":6
+ }
+ },
+ {
+ "table_id":13,
+ "table_name":"TSG_OBJ_ACCOUNT",
+ "table_type":"expr",
+ "valid_column":7,
+ "custom": {
+ "item_id":1,
+ "group_id":2,
+ "keywords":3,
+ "expr_type":4,
+ "match_method":5,
+ "is_hexbin":6
+ }
+ },
+ {
+ "table_id":14,
+ "table_name":"TSG_OBJ_URL",
+ "table_type":"expr",
+ "valid_column":7,
+ "custom": {
+ "item_id":1,
+ "group_id":2,
+ "keywords":3,
+ "expr_type":4,
+ "match_method":5,
+ "is_hexbin":6
+ }
+ },
+ {
+ "table_id":15,
+ "table_name":"TSG_OBJ_FQDN",
+ "table_type":"expr",
+ "valid_column":7,
+ "custom": {
+ "item_id":1,
+ "group_id":2,
+ "keywords":3,
+ "expr_type":4,
+ "match_method":5,
+ "is_hexbin":6
+ }
+ },
+ {
+ "table_id":16,
+ "table_name":"TSG_OBJ_FQDN_CAT",
+ "table_type":"intval",
+ "valid_column":5,
+ "custom": {
+ "item_id":1,
+ "group_id":2,
+ "low_bound":3,
+ "up_bound":4
+ }
+ },
+ {
+ "table_id":17,
+ "table_name":"TSG_OBJ_KEYWORDS",
+ "table_type":"expr",
+ "valid_column":7,
+ "custom": {
+ "item_id":1,
+ "group_id":2,
+ "keywords":3,
+ "expr_type":4,
+ "match_method":5,
+ "is_hexbin":6
+ }
+ },
+ {
+ "table_id":18,
+ "table_name":"TSG_OBJ_APP_ID",
+ "table_type":"intval",
+ "valid_column":5,
+ "custom": {
+ "item_id":1,
+ "group_id":2,
+ "low_bound":3,
+ "up_bound":4
+ }
+ },
+ {
+ "table_id":19,
+ "table_name":"TSG_OBJ_HTTP_SIGNATURE",
+ "table_type":"expr_plus",
+ "valid_column":8,
+ "custom": {
+ "item_id":1,
+ "group_id":2,
+ "district":3,
+ "keywords":4,
+ "expr_type":5,
+ "match_method":6,
+ "is_hexbin":7
+ }
+ },
+ {
+ "table_id":20,
+ "table_name":"TSG_FIELD_HTTP_HOST",
+ "table_type":"virtual",
+ "physical_table": "TSG_OBJ_FQDN"
+ },
+ {
+ "table_id":21,
+ "table_name":"TSG_FIELD_HTTP_HOST_CAT",
+ "table_type":"virtual",
+ "physical_table": "TSG_OBJ_FQDN_CAT"
+ },
+ {
+ "table_id":22,
+ "table_name":"TSG_FIELD_HTTP_URL",
+ "table_type":"virtual",
+ "physical_table": "TSG_OBJ_URL"
+ },
+ {
+ "table_id":23,
+ "table_name":"TSG_FIELD_HTTP_REQ_HDR",
+ "table_type":"virtual",
+ "physical_table": "TSG_OBJ_HTTP_SIGNATURE"
+ },
+ {
+ "table_id":24,
+ "table_name":"TSG_FIELD_HTTP_RES_HDR",
+ "table_type":"virtual",
+ "physical_table": "TSG_OBJ_HTTP_SIGNATURE"
+ },
+ {
+ "table_id":25,
+ "table_name":"TSG_FIELD_HTTP_REQ_BODY",
+ "table_type":"virtual",
+ "physical_table": "TSG_OBJ_KEYWORDS"
+ },
+ {
+ "table_id":26,
+ "table_name":"TSG_FIELD_HTTP_RES_BODY",
+ "table_type":"virtual",
+ "physical_table": "TSG_OBJ_KEYWORDS"
+ },
+ {
+ "table_id":27,
+ "table_name":"TSG_FIELD_SSL_SNI",
+ "table_type":"virtual",
+ "physical_table": "TSG_OBJ_FQDN"
+ },
+ {
+ "table_id":28,
+ "table_name":"TSG_FIELD_SSL_SNI_CAT",
+ "table_type":"virtual",
+ "physical_table": "TSG_OBJ_FQDN_CAT"
+ },
+ {
+ "table_id":29,
+ "table_name":"TSG_FIELD_SSL_CN",
+ "table_type":"virtual",
+ "physical_table": "TSG_OBJ_FQDN"
+ },
+ {
+ "table_id":30,
+ "table_name":"TSG_FIELD_SSL_CN_CAT",
+ "table_type":"virtual",
+ "physical_table": "TSG_OBJ_FQDN_CAT"
+ },
+ {
+ "table_id":31,
+ "table_name":"TSG_FIELD_SSL_SAN",
+ "table_type":"virtual",
+ "physical_table": "TSG_OBJ_FQDN"
+ },
+ {
+ "table_id":32,
+ "table_name":"TSG_FIELD_SSL_SAN_CAT",
+ "table_type":"virtual",
+ "physical_table":"TSG_OBJ_FQDN_CAT"
+ },
+ {
+ "table_id":33,
+ "table_name":"TSG_FIELD_DNS_QNAME",
+ "table_type":"virtual",
+ "physical_table": "TSG_OBJ_FQDN"
+ },
+ {
+ "table_id":34,
+ "table_name":"TSG_FIELD_QUIC_SNI",
+ "table_type":"virtual",
+ "physical_table": "TSG_OBJ_FQDN"
+ },
+ {
+ "table_id":35,
+ "table_name":"TSG_FIELD_QUIC_SNI_CAT",
+ "table_type":"virtual",
+ "physical_table": "TSG_OBJ_FQDN_CAT"
+ },
+ {
+ "table_id":36,
+ "table_name":"TSG_FIELD_MAIL_ACCOUNT",
+ "table_type":"virtual",
+ "physical_table": "TSG_OBJ_ACCOUNT"
+ },
+ {
+ "table_id":37,
+ "table_name":"TSG_FIELD_MAIL_FROM",
+ "table_type":"virtual",
+ "physical_table": "TSG_OBJ_ACCOUNT"
+ },
+ {
+ "table_id":38,
+ "table_name":"TSG_FIELD_MAIL_TO",
+ "table_type":"virtual",
+ "physical_table": "TSG_OBJ_ACCOUNT"
+ },
+ {
+ "table_id":39,
+ "table_name":"TSG_FIELD_MAIL_SUBJECT",
+ "table_type":"virtual",
+ "physical_table": "TSG_OBJ_KEYWORDS"
+ },
+ {
+ "table_id":40,
+ "table_name":"TSG_FIELD_MAIL_CONTENT",
+ "table_type":"virtual",
+ "physical_table": "TSG_OBJ_KEYWORDS"
+ },
+ {
+ "table_id":41,
+ "table_name":"TSG_FIELD_MAIL_ATT_NAME",
+ "table_type":"virtual",
+ "physical_table": "TSG_OBJ_KEYWORDS"
+ },
+ {
+ "table_id":42,
+ "table_name":"TSG_FIELD_MAIL_ATT_CONTENT",
+ "table_type":"virtual",
+ "physical_table": "TSG_OBJ_KEYWORDS"
+ },
+ {
+ "table_id":43,
+ "table_name":"TSG_FIELD_FTP_URI",
+ "table_type":"virtual",
+ "physical_table": "TSG_OBJ_URL"
+ },
+ {
+ "table_id":44,
+ "table_name":"TSG_FIELD_FTP_CONTENT",
+ "table_type":"virtual",
+ "physical_table": "TSG_OBJ_KEYWORDS"
+ },
+ {
+ "table_id":45,
+ "table_name":"TSG_FIELD_FTP_ACCOUNT",
+ "table_type":"virtual",
+ "physical_table": "TSG_OBJ_ACCOUNT"
+ },
+ {
+ "table_id":46,
+ "table_name":"TSG_SECURITY_SOURCE_ADDR",
+ "table_type":"virtual",
+ "physical_table": "TSG_OBJ_IP"
+ },
+ {
+ "table_id":47,
+ "table_name":"TSG_SECURITY_DESTINATION_ADDR",
+ "table_type":"virtual",
+ "physical_table": "TSG_OBJ_IP"
+ },
+ {
+ "table_id":48,
+ "table_name":"TSG_IP_ASN_BUILT_IN",
+ "table_type":"ip_plugin",
+ "valid_column":19,
+ "custom": {
+ "item_id":1,
+ "ip_type":3,
+ "start_ip":4,
+ "end_ip":5,
+ "addr_format":7
+ }
+ },
+ {
+ "table_id":49,
+ "table_name":"TSG_IP_ASN_USER_DEFINED",
+ "table_type":"ip_plugin",
+ "valid_column":19,
+ "custom": {
+ "item_id":1,
+ "ip_type":3,
+ "start_ip":4,
+ "end_ip":5,
+ "addr_format":7
+ }
+ },
+ {
+ "table_id":50,
+ "table_name":"TSG_IP_LOCATION_BUILT_IN",
+ "table_type":"ip_plugin",
+ "valid_column":19,
+ "custom": {
+ "item_id":1,
+ "ip_type":3,
+ "start_ip":4,
+ "end_ip":5,
+ "addr_format":7
+ }
+ },
+ {
+ "table_id":51,
+ "table_name":"TSG_IP_LOCATION_USER_DEFINED",
+ "table_type":"ip_plugin",
+ "valid_column":19,
+ "custom": {
+ "item_id":1,
+ "ip_type":3,
+ "start_ip":4,
+ "end_ip":5,
+ "addr_format":7
+ }
+ },
+ {
+ "table_id":52,
+ "table_name":"TSG_OBJ_AS_NUMBER",
+ "table_type":"expr",
+ "valid_column":7,
+ "custom": {
+ "item_id":1,
+ "group_id":2,
+ "keywords":3,
+ "expr_type":4,
+ "match_method":5,
+ "is_hexbin":6
+ }
+ },
+ {
+ "table_id":53,
+ "table_name":"TSG_SECURITY_SOURCE_ASN",
+ "table_type":"virtual",
+ "physical_table": "TSG_OBJ_AS_NUMBER"
+ },
+ {
+ "table_id":54,
+ "table_name":"TSG_SECURITY_DESTINATION_ASN",
+ "table_type":"virtual",
+ "physical_table": "TSG_OBJ_AS_NUMBER"
+ },
+ {
+ "table_id":55,
+ "table_name":"TSG_OBJ_GEO_LOCATION",
+ "table_type":"expr",
+ "valid_column":7,
+ "custom": {
+ "item_id":1,
+ "group_id":2,
+ "keywords":3,
+ "expr_type":4,
+ "match_method":5,
+ "is_hexbin":6
+ }
+ },
+ {
+ "table_id":56,
+ "table_name":"TSG_SECURITY_SOURCE_LOCATION",
+ "table_type":"virtual",
+ "physical_table": "TSG_OBJ_GEO_LOCATION"
+ },
+ {
+ "table_id":57,
+ "table_name":"TSG_SECURITY_DESTINATION_LOCATION",
+ "table_type":"virtual",
+ "physical_table": "TSG_OBJ_GEO_LOCATION"
+ },
+ {
+ "table_id":58,
+ "table_name":"TSG_FQDN_CATEGORY_BUILT_IN",
+ "table_type":"fqdn_plugin",
+ "valid_column":5,
+ "custom": {
+ "item_id":1,
+ "suffix_match_method":4,
+ "fqdn":3
+ }
+ },
+ {
+ "table_id":59,
+ "table_name":"TSG_FQDN_CATEGORY_USER_DEFINED",
+ "table_type":"fqdn_plugin",
+ "valid_column":5,
+ "custom": {
+ "item_id":1,
+ "suffix_match_method":4,
+ "fqdn":3
+ }
+ },
+ {
+ "table_id":60,
+ "table_name":"TSG_FIELD_SIP_ORIGINATOR_DESCRIPTION",
+ "table_type":"virtual",
+ "physical_table": "TSG_OBJ_ACCOUNT"
+ },
+ {
+ "table_id":61,
+ "table_name":"TSG_FIELD_SIP_RESPONDER_DESCRIPTION",
+ "table_type":"virtual",
+ "physical_table": "TSG_OBJ_ACCOUNT"
+ },
+ {
+ "table_id":62,
+ "table_name":"TSG_OBJ_IMSI",
+ "table_type":"expr",
+ "valid_column":7,
+ "custom": {
+ "item_id":1,
+ "group_id":2,
+ "keywords":3,
+ "expr_type":4,
+ "match_method":5,
+ "is_hexbin":6
+ }
+ },
+ {
+ "table_id":63,
+ "table_name":"TSG_OBJ_PHONE_NUMBER",
+ "table_type":"expr",
+ "valid_column":7,
+ "custom": {
+ "item_id":1,
+ "group_id":2,
+ "keywords":3,
+ "expr_type":4,
+ "match_method":5,
+ "is_hexbin":6
+ }
+ },
+ {
+ "table_id":64,
+ "table_name":"TSG_OBJ_APN",
+ "table_type":"expr",
+ "valid_column":7,
+ "custom": {
+ "item_id":1,
+ "group_id":2,
+ "keywords":3,
+ "expr_type":4,
+ "match_method":5,
+ "is_hexbin":6
+ }
+ },
+ {
+ "table_id":65,
+ "table_name":"TSG_FILED_GTP_IMSI",
+ "table_type":"virtual",
+ "physical_table": "TSG_OBJ_IMSI"
+ },
+ {
+ "table_id":66,
+ "table_name":"TSG_FILED_GTP_PHONE_NUMBER",
+ "table_type":"virtual",
+ "physical_table": "TSG_OBJ_PHONE_NUMBER"
+ },
+ {
+ "table_id":67,
+ "table_name":"TSG_FILED_GTP_APN",
+ "table_type":"virtual",
+ "physical_table": "TSG_OBJ_APN"
+ },
+ {
+ "table_id":68,
+ "table_name":"TSG_DECYPTION_EXCLUSION_SSL_SNI",
+ "table_type":"virtual",
+ "physical_table": "TSG_OBJ_FQDN"
+ },
+ {
+ "table_id":69,
+ "table_name":"TSG_OBJ_TUNNEL_ID",
+ "table_type":"intval",
+ "valid_column":5,
+ "custom": {
+ "item_id":1,
+ "group_id":2,
+ "low_bound":3,
+ "up_bound":4
+ }
+ },
+ {
+ "table_id":70,
+ "table_name":"TSG_TUNNEL_CATALOG",
+ "table_type":"bool_plugin",
+ "valid_column":5,
+ "custom": {
+ "item_id":1,
+ "bool_expr":4
+ }
+ },
+ {
+ "table_id":71,
+ "table_name":"TSG_TUNNEL_ENDPOINT",
+ "table_type":"ip_plugin",
+ "valid_column":6,
+ "custom": {
+ "item_id":1,
+ "ip_type":2,
+ "start_ip":3,
+ "end_ip":4,
+ "addr_format":7
+ }
+ },
+ {
+ "table_id":72,
+ "table_name":"TSG_TUNNEL_LABEL",
+ "table_type":"plugin",
+ "valid_column":4,
+ "custom": {
+ "key":1,
+ "key_type":"pointer",
+ "tag":3
+ }
+ },
+ {
+ "table_id":73,
+ "table_name":"TSG_SECURITY_TUNNEL",
+ "table_type":"virtual",
+ "physical_table": "TSG_OBJ_TUNNEL_ID"
+ },
+ {
+ "table_id":74,
+ "table_name":"TSG_OBJ_FLAG",
+ "table_type":"flag",
+ "valid_column":5,
+ "custom": {
+ "item_id":1,
+ "group_id":2,
+ "flag":3,
+ "flag_mask":4
+ }
+ },
+ {
+ "table_id":75,
+ "table_name":"TSG_SECURITY_FLAG",
+ "table_type":"virtual",
+ "physical_table": "TSG_OBJ_FLAG"
+ },
+ {
+ "table_id":76,
+ "table_name":"TSG_FIELD_DOH_QNAME",
+ "table_type":"virtual",
+ "physical_table": "TSG_OBJ_FQDN"
+ },
+ {
+ "table_id":77,
+ "table_name":"TSG_FIELD_DOH_HOST",
+ "table_type":"virtual",
+ "physical_table": "TSG_OBJ_FQDN"
+ },
+ {
+ "table_id":78,
+ "table_name":"TSG_FIELD_DOH_HOST_CAT",
+ "table_type":"virtual",
+ "physical_table": "TSG_OBJ_FQDN_CAT"
+ }
+] \ No newline at end of file