From e4f5c6f5605b2c272f3d0db3588ccd8addeb6f2e Mon Sep 17 00:00:00 2001 From: zhangdongxu Date: Tue, 5 Jun 2018 12:47:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=9D=9Emaat=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=20=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/commonSources/commonSources.xml | 8 +- src/main/resources/maatXml/maat.xml | 73 ++++++++++++------- 2 files changed, 51 insertions(+), 30 deletions(-) diff --git a/src/main/resources/commonSources/commonSources.xml b/src/main/resources/commonSources/commonSources.xml index 2738f5a..dbde8bc 100644 --- a/src/main/resources/commonSources/commonSources.xml +++ b/src/main/resources/commonSources/commonSources.xml @@ -13,10 +13,10 @@ + - - + @@ -25,8 +25,8 @@ - - + + diff --git a/src/main/resources/maatXml/maat.xml b/src/main/resources/maatXml/maat.xml index 4bcb4c1..45e4073 100644 --- a/src/main/resources/maatXml/maat.xml +++ b/src/main/resources/maatXml/maat.xml @@ -3,10 +3,10 @@ xsi:schemaLocation="http://www.w3school.com.cn maat.xsd"> - + EFFECTIVE_RULE;:;{un_maat_table_name};,;[cfg_id] - [cfg_id];\t;[is_valid];\t;[dst_file];\t;[dst_file_md5];\t;[time_stamp]; [level];\t;[file_id];\n + [cfg_id];\t;[is_valid];\t;[dst_file];\t;[dst_file_md5];\t;[op_time]; [level];\t;[file_id];\n 1 @@ -23,7 +23,49 @@ MAAT_VERSION_TIMER + + + + EFFECTIVE_RULE;:;{un_maat_table_name};,;[cfg_id] + [cfg_id];\t;[service];\t;[level];\t;[description];\t;[is_valid] + + + 1 + MAAT_VERSION + + + MAAT_UPDATE_STATUS + + + MAAT_RULE_TIMER + + + MAAT_VERSION_TIMER + + + + + + EFFECTIVE_RULE;:;{un_maat_table_name};,;[cfg_id] + [cfg_id];\t;[addr_type];\t;[src_ip];\t;[mask_src_ip];\t;[src_port];\t;[mask_src_port];\t;[dst_ip];\t;[mask_dst_ip];\t;[dst_port];\t;[mask_dst_port];\t;[protocol];\t;[direction];\t;[is_valid];\t;[op_time] + + + 1 + MAAT_VERSION + + + MAAT_UPDATE_STATUS + + + + MAAT_RULE_TIMER + + + MAAT_VERSION_TIMER + + + EFFECTIVE_RULE;:;{compile_table_name};,;[compile_id] @@ -31,7 +73,7 @@ EFFECTIVE_RULE;:;{group_table_name};,;[group_id] - [group_id];\t;[compile_id];\t;[is_valid];\t;[op_time] + [group_id];\t;[compile_id];\t;[is_valid];\t;[op_time]; 0;\n EFFECTIVE_RULE;:;{ip_region_table_name};,;[region_id] @@ -72,29 +114,8 @@ MAAT_VERSION - - -