CN107480547A - A kind of initial method and system of management platform rule base and default policy - Google Patents
A kind of initial method and system of management platform rule base and default policy Download PDFInfo
- Publication number
- CN107480547A CN107480547A CN201710712456.4A CN201710712456A CN107480547A CN 107480547 A CN107480547 A CN 107480547A CN 201710712456 A CN201710712456 A CN 201710712456A CN 107480547 A CN107480547 A CN 107480547A
- Authority
- CN
- China
- Prior art keywords
- database
- rule base
- xml format
- knowledge base
- original knowledge
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/604—Tools and structures for managing or administering access control systems
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2221/00—Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/21—Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/2141—Access rights, e.g. capability lists, access control lists, access tables, access matrices
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Health & Medical Sciences (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Databases & Information Systems (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Debugging And Monitoring (AREA)
Abstract
本发明公开了一种管理平台规则库和默认策略的初始化方法及系统,包括:基于SSR主机安全加固系统集中管理平台;在管理平台应用程序每次启动运行时,检测数据库中有无规则库和默认策略;如果数据库中没有规则库,则判断磁盘的指定位置有无XML格式的原始知识库文件,有,则将XML格式的原始知识库文件导入进数据库,形成规则库;如果没有默认策略,则基于导入的规则库按照一定的规则生成默认的策略。本发明的一种管理平台规则库和默认策略的初始化方法及系统和现有技术相比,可以提高知识库和策略更新的效率,并且使得数据库初始化脚本能够更好的维护,也使得规则库和默认策略的数据与XML的数据同源,方便了后期的维护工作。
The invention discloses a method and system for initializing a management platform rule base and a default policy, comprising: a centralized management platform based on an SSR host security reinforcement system; and detecting whether there is a rule base and a default strategy in the database when the management platform application program starts and runs each time Default policy; if there is no rule base in the database, then judge whether there is an original knowledge base file in XML format at the specified location on the disk, if yes, then import the original knowledge base file in XML format into the database to form a rule base; if there is no default policy, Based on the imported rule base, a default policy is generated according to certain rules. Compared with the prior art, the method and system for initializing a management platform rule base and default policy can improve the efficiency of knowledge base and policy update, and enable better maintenance of database initialization scripts, and also enable the rule base and The data of the default policy is from the same source as the XML data, which facilitates later maintenance work.
Description
技术领域technical field
本发明涉及安全管理系统集中技术领域,具体地说是一种管理平台规则库和默认策略的初始化方法及系统。The invention relates to the technical field of security management system concentration, in particular to a method and system for initializing a management platform rule base and a default strategy.
背景技术Background technique
近年来,信息安全事件频发,信息安全越来越受到人们的重视。安全基线是信息安全领域中的一个概念,指计算机系统和软件中,与安全相关的配置所应该达到的最低的限度,包括系统安全配置、系统组件配置、权限和用户配置等多种方面。安全基线的意义在于使得用户对于所管理的计算机(往往是服务器)的安全配置状态有所监管或掌控。但是广大用户对系统配置了解情况参差不齐,因此浪潮主机安全加固系统提供了比较友好的界面,供用户对所管理的客户端进行安全基线扫描或修复工作。而安全基线扫描和修复操作的依据就是知识库。In recent years, information security incidents have occurred frequently, and information security has attracted more and more attention. Security baseline is a concept in the field of information security. It refers to the minimum level of security-related configurations in computer systems and software, including system security configurations, system component configurations, permissions, and user configurations. The significance of the security baseline is to enable users to supervise or control the security configuration status of the managed computers (often servers). However, the majority of users have different understanding of the system configuration, so the Inspur host security hardening system provides a relatively friendly interface for users to scan or repair the security baseline of the managed clients. The basis for security baseline scanning and repair operations is the knowledge base.
原始的知识库一般以XML文件的格式存在,然后通过管理平台程序导入进数据库,导入后的知识库相当于策略的一种参考值(下文称之为规则库),在实际使用中,再由规则库生成策略,对于一般的集中管理平台系统,规则库往往是通过数据库初始化脚本的方式,在管理平台系统安装的时候导入数据库中,这种方式比较经典,但是会带来若干问题:(1)数据库的初始化脚本会变得非常庞大,难以维护(2)当知识库版本升级或更新后,重新构建数据库初始化脚本的工作量会非常大,此时需要先将知识库文件导入数据库,再从数据库中导出数据库初始化脚本,流程复杂操作可行性较低,出错概率较大。The original knowledge base generally exists in the format of an XML file, and then imported into the database through the management platform program. The imported knowledge base is equivalent to a reference value of the policy (hereinafter referred to as the rule base). Rule base generation strategy. For general centralized management platform systems, the rule base is often imported into the database through the database initialization script when the management platform system is installed. This method is more classic, but it will bring several problems: (1 ) The initialization script of the database will become very large and difficult to maintain (2) When the knowledge base version is upgraded or updated, the workload of rebuilding the database initialization script will be very heavy. At this time, the knowledge base file needs to be imported into the database first, and then from The database initialization script is exported from the database, the process is complex and the operation is less feasible, and the probability of error is higher.
发明内容Contents of the invention
本发明的技术任务是提供一种管理平台规则库和默认策略的初始化方法及系统。The technical task of the present invention is to provide an initialization method and system for management platform rule base and default policy.
本发明的技术任务是按以下方式实现的:Technical task of the present invention is realized in the following manner:
一种管理平台规则库和默认策略的初始化方法,包括:An initialization method for a management platform rule base and a default policy, comprising:
基于SSR主机安全加固系统集中管理平台;Centralized management platform based on SSR host security hardening system;
在管理平台应用程序每次启动运行时,检测数据库中有无规则库和默认策略;Detect whether there is a rule base and a default policy in the database each time the management platform application starts and runs;
如果数据库中没有规则库,则判断磁盘的指定位置有无XML格式的原始知识库文件,有,则将XML格式的原始知识库文件导入进数据库,形成规则库;If there is no rule base in the database, it is judged whether there is an original knowledge base file in XML format in the designated position of the disk, and if there is, the original knowledge base file in XML format is imported into the database to form a rule base;
如果没有默认策略,则基于导入的规则库按照一定的规则生成默认的策略。If there is no default policy, a default policy will be generated according to certain rules based on the imported rule base.
所述的检测数据库中有无规则库,包括:Whether there is a rule base in the detection database, including:
检测数据库中有规则库,说明规则库已经进行过导入操作,则不再重新初始化。If there is a rule base in the detection database, it means that the rule base has already been imported, so it will not be re-initialized.
所述的如果数据库中没有规则库,包括:Said if there is no rule base in the database, including:
判断数据库中没有规则库,是依据规则库的表没有对应的数据做出的判断。Judging that there is no rule base in the database is based on the fact that there is no corresponding data in the table of the rule base.
所述的XML格式的原始知识库文件至少有一个。There is at least one original knowledge base file in XML format.
所述的XML格式的原始知识库文件有两个或两个以上时,每个XML格式的原始知识库文件对应不同系统时,程序依次将XML格式的原始知识库文件导入进数据库。When there are two or more original knowledge base files in XML format, and each original knowledge base file in XML format corresponds to a different system, the program sequentially imports the original knowledge base files in XML format into the database.
所述的判断磁盘的指定位置有无XML格式的原始知识库文件,包括,Whether the original knowledge base file in XML format is present in the designated location of the described judging disk includes,
当无XML格式的原始知识库文件时,若该功能已经被禁用,则不需要导入进数据库。When there is no original knowledge base file in XML format, if this function has been disabled, it does not need to be imported into the database.
所述的基于导入的规则库按照一定的规则生成默认的策略,包括:The import-based rule base generates a default policy according to certain rules, including:
生成默认的策略是规则库的子集;Generate default policies that are a subset of the rule base;
如果有多个XML格式的原始知识库文件,即导入了多种操作系统,则需要依次判断每种操作系统有无初始的策略。If there are multiple original knowledge base files in XML format, that is, multiple operating systems are imported, it is necessary to determine whether each operating system has an initial policy in turn.
所述的检测数据库中有无默认策略,包括:Whether there is a default policy in the detection database, including:
若数据库中有默认策略,则需要更新默认策略。If there is a default policy in the database, you need to update the default policy.
一种管理平台规则库和默认策略的初始化系统,包括:An initialization system for managing platform rule bases and default policies, including:
基于SSR主机安全加固系统集中管理平台,所述的管理平台负责应用程序的启动运行;Based on the centralized management platform of the SSR host security reinforcement system, the management platform is responsible for the startup and operation of the application program;
检测模块,用于应用程序的每次启动运行时,检测数据库中有无规则库和默认策略;The detection module is used to detect whether there is a rule base and a default policy in the database each time the application starts and runs;
判断模块,用于判断磁盘的指定位置有无XML格式的原始知识库文件。The judging module is used for judging whether there is an original knowledge base file in XML format in the specified location of the disk.
所述的XML格式的原始知识库文件至少有一个,当XML格式的原始知识库文件有两个或两个以上时,每个XML格式的原始知识库文件对应不同系统时,程序依次将XML格式的原始知识库文件导入进数据库。There is at least one original knowledge base file in XML format. When there are two or more original knowledge base files in XML format, and each original knowledge base file in XML format corresponds to a different system, the program sequentially converts the XML format Import the original knowledge base file into the database.
本发明的一种管理平台规则库和默认策略的初始化方法及系统和现有技术相比,可以提高知识库和策略更新的效率,并且使得数据库初始化脚本能够更好的维护,也使得规则库和默认策略的数据与XML的数据同源,方便了后期的维护工作。Compared with the prior art, the method and system for initializing a management platform rule base and default policy can improve the efficiency of knowledge base and policy update, and enable better maintenance of the database initialization script, and also enable the rule base and The data of the default policy is from the same source as the XML data, which facilitates later maintenance work.
该方法不再将知识库的内容放在数据库初始化脚本,通过数据库初始化脚本的形式来初始化数据库,而是直接提供知识库的XML文件,在系统第一次启动的时候,将XML文件自动导入,从而避免了维护庞大的数据库初始化脚本,同时也达到了导入数据库同样的效果。This method no longer puts the content of the knowledge base in the database initialization script, and initializes the database through the form of the database initialization script, but directly provides the XML file of the knowledge base. When the system starts for the first time, the XML file is automatically imported. This avoids maintaining a huge database initialization script, and at the same time achieves the same effect as importing the database.
附图说明Description of drawings
附图1为一种管理平台规则库和默认策略的初始化方法的流程示意图。Accompanying drawing 1 is a schematic flowchart of a management platform rule base and a default policy initialization method.
具体实施方式detailed description
实施例1:Example 1:
创建管理平台规则库和默认策略的初始化系统:Create an initialization system for managing platform rule bases and default policies:
包括:include:
基于SSR主机安全加固系统集中管理平台,所述的管理平台负责应用程序的启动运行;Based on the centralized management platform of the SSR host security reinforcement system, the management platform is responsible for the startup and operation of the application program;
检测模块,用于应用程序的每次启动运行时,检测数据库中有无规则库和默认策略;The detection module is used to detect whether there is a rule base and a default policy in the database each time the application starts and runs;
判断模块,用于判断磁盘的指定位置有无XML格式的原始知识库文件。The judging module is used for judging whether there is an original knowledge base file in XML format in the specified location of the disk.
所述的XML格式的原始知识库文件至少有一个,当XML格式的原始知识库文件有两个或两个以上时,每个XML格式的原始知识库文件对应不同系统时,程序依次将XML格式的原始知识库文件导入进数据库。There is at least one original knowledge base file in XML format. When there are two or more original knowledge base files in XML format, and each original knowledge base file in XML format corresponds to a different system, the program sequentially converts the XML format Import the original knowledge base file into the database.
管理平台规则库和默认策略的初始化方法,操作如下:The initialization method of the management platform rule base and default policy is as follows:
包括:include:
基于SSR主机安全加固系统集中管理平台;Centralized management platform based on SSR host security hardening system;
在管理平台应用程序每次启动运行时,检测数据库中有无规则库和默认策略;Detect whether there is a rule base and a default policy in the database each time the management platform application starts and runs;
检测数据库中有规则库,说明规则库已经进行过导入操作,则不再重新初始化;如果依据规则库的表没有对应的数据判断出数据库中没有规则库,则判断磁盘的指定位置有无XML格式的原始知识库文件,有,则将XML格式的原始知识库文件导入进数据库,形成规则库;Detect that there is a rule base in the database, indicating that the rule base has already been imported, and it will not be re-initialized; if it is judged that there is no rule base in the database based on the table of the rule base without corresponding data, then judge whether there is an XML format in the specified location on the disk If there is an original knowledge base file, import the original knowledge base file in XML format into the database to form a rule base;
所述的XML格式的原始知识库文件至少有一个,所述的XML格式的原始知识库文件有两个或两个以上时,每个XML格式的原始知识库文件对应不同系统时,程序依次将XML格式的原始知识库文件导入进数据库。当无XML格式的原始知识库文件时,若该功能已经被禁用,则不需要导入进数据库。There is at least one original knowledge base file in XML format, and when there are two or more original knowledge base files in XML format, when each original knowledge base file in XML format corresponds to a different system, the program sequentially The original knowledge base file in XML format is imported into the database. When there is no original knowledge base file in XML format, if this function has been disabled, it does not need to be imported into the database.
如果没有默认策略,则基于导入的规则库按照一定的规则生成默认的策略,生成默认的策略是规则库的子集;如果有多个XML格式的原始知识库文件,即导入了多种操作系统,则需要依次判断每种操作系统有无初始的策略。If there is no default policy, based on the imported rule base, a default policy will be generated according to certain rules, and the generated default policy is a subset of the rule base; if there are multiple original knowledge base files in XML format, it means that multiple operating systems have been imported , it is necessary to determine in turn whether each operating system has an initial policy.
若数据库中有默认策略,则需要更新默认策略。If there is a default policy in the database, you need to update the default policy.
名词解释:Glossary:
XML:Extensible Markup Language,可扩展标记语言。XML: Extensible Markup Language, Extensible Markup Language.
通过上面具体实施方式,所述技术领域的技术人员可容易的实现本发明。但是应当理解,本发明并不限于上述的几种具体实施方式。在公开的实施方式的基础上,所述技术领域的技术人员可任意组合不同的技术特征,从而实现不同的技术方案。Through the above specific implementation manners, those skilled in the technical field can easily realize the present invention. However, it should be understood that the present invention is not limited to the above-mentioned several specific implementation manners. On the basis of the disclosed embodiments, those skilled in the art can arbitrarily combine different technical features to achieve different technical solutions.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710712456.4A CN107480547A (en) | 2017-08-18 | 2017-08-18 | A kind of initial method and system of management platform rule base and default policy |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710712456.4A CN107480547A (en) | 2017-08-18 | 2017-08-18 | A kind of initial method and system of management platform rule base and default policy |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN107480547A true CN107480547A (en) | 2017-12-15 |
Family
ID=60600918
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710712456.4A Pending CN107480547A (en) | 2017-08-18 | 2017-08-18 | A kind of initial method and system of management platform rule base and default policy |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN107480547A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110716753A (en) * | 2019-09-05 | 2020-01-21 | 深圳平安通信科技有限公司 | Cloud host initialization method and device, storage medium and electronic equipment |
| CN111552791A (en) * | 2020-04-27 | 2020-08-18 | 苏州思必驰信息科技有限公司 | Rule base management system and method |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104966021A (en) * | 2015-05-21 | 2015-10-07 | 浪潮电子信息产业股份有限公司 | Creating and analytic methods and device for security baseline data files |
| CN105868375A (en) * | 2016-04-01 | 2016-08-17 | 浪潮电子信息产业股份有限公司 | A Multi-Thread Based Security Baseline Knowledge Base File Parsing Method |
| CN106202428A (en) * | 2016-07-13 | 2016-12-07 | 浪潮电子信息产业股份有限公司 | A management method and system for a custom script type baseline project |
-
2017
- 2017-08-18 CN CN201710712456.4A patent/CN107480547A/en active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104966021A (en) * | 2015-05-21 | 2015-10-07 | 浪潮电子信息产业股份有限公司 | Creating and analytic methods and device for security baseline data files |
| CN105868375A (en) * | 2016-04-01 | 2016-08-17 | 浪潮电子信息产业股份有限公司 | A Multi-Thread Based Security Baseline Knowledge Base File Parsing Method |
| CN106202428A (en) * | 2016-07-13 | 2016-12-07 | 浪潮电子信息产业股份有限公司 | A management method and system for a custom script type baseline project |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110716753A (en) * | 2019-09-05 | 2020-01-21 | 深圳平安通信科技有限公司 | Cloud host initialization method and device, storage medium and electronic equipment |
| CN110716753B (en) * | 2019-09-05 | 2023-05-30 | 深圳平安通信科技有限公司 | Cloud host initialization method and device, storage medium and electronic equipment |
| CN111552791A (en) * | 2020-04-27 | 2020-08-18 | 苏州思必驰信息科技有限公司 | Rule base management system and method |
| CN111552791B (en) * | 2020-04-27 | 2022-07-12 | 思必驰科技股份有限公司 | Rule base management system and method |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11789715B2 (en) | Systems and methods for transformation of reporting schema | |
| CN102576354B (en) | Extensible framework supporting different deployment architectures | |
| US11372635B2 (en) | In-memory software package installation and testing | |
| US10620933B2 (en) | Techniques for efficient application configuration patching | |
| CN104718533B (en) | Hardware fault management system, method and the framework of business equipment | |
| US11321226B2 (en) | Joint validation across code repositories | |
| CN105723363B (en) | Method and server for maintaining and upgrading tenant database in ERP system | |
| US20160342666A1 (en) | Performance checking component for an etl job | |
| US8832492B1 (en) | Systems and methods for managing applications | |
| US9086942B2 (en) | Software discovery by an installer controller | |
| US11855844B2 (en) | Cloud service component dependencies | |
| US20130133024A1 (en) | Auto-Approval of Recovery Actions Based on an Extensible Set of Conditions and Policies | |
| JP6536326B2 (en) | Method of generating software test code and computer readable storage medium | |
| CN105740003A (en) | Method and device for recovering virtual machine, as well as method and device for upgrading virtual machine | |
| CN103164337B (en) | Based on the cloud computing method for testing software of finite state machine | |
| US20220365944A1 (en) | Multitenant database instance view aggregation | |
| US9525673B1 (en) | Content protection for extract, transform, load (ETL) scripts | |
| CN107480547A (en) | A kind of initial method and system of management platform rule base and default policy | |
| US20220292136A1 (en) | Method and system for generating a digital representation of asset information in a cloud computing environment | |
| US11635948B2 (en) | Systems and methods for mapping software applications interdependencies | |
| CN104751057A (en) | Method and device used for enhancing safety of computer system | |
| CN113111328B (en) | User identity authentication method, system, terminal and computer readable storage medium | |
| CN115729578A (en) | An OLAP mode Oracle19c deployment method supporting multiple operating systems in an offline environment | |
| US20200142689A1 (en) | System And Methods for Patch Management | |
| EP3077903B1 (en) | Methods and systems for machine learning to discover application compatibility status |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171215 |
|
| RJ01 | Rejection of invention patent application after publication |