Flink-based security baseline management method and system
By adopting a Flink-based security baseline management method, the problems of data real-time performance and multi-dimensional presentation in traditional methods are solved. This method enables real-time acquisition, classification, and anomaly management of security baseline data, thereby improving the efficiency and security of security baseline governance.
Patent Information
- Application Number
- CN202211400047.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-09
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2042-11-09
AI Technical Summary
Traditional OS security baseline management methods cannot guarantee the real-time accuracy of data, cannot provide system administrators with multi-dimensional data presentation, and cannot be integrated with departmental security data platforms, resulting in low efficiency in security baseline governance and potential security risks.
The Flink-based security baseline management method is adopted. The management platform server sends the collection task script to the subordinate servers to obtain and analyze the security baseline data, complete and classify it in real time, save it to the database, mark anomalies, calculate the anomaly ratio, and provide multi-dimensional queries and exception marking.
It enables real-time acquisition and multi-dimensional management of security baseline data, allowing system administrators to grasp the current status of security baselines for various professional components, flexibly query anomalies, and improve governance efficiency and security.
Smart Images

Figure CN115904706B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of financial technology, and in particular to a security baseline management method and system based on Flink, and computer equipment. Background Technology
[0002] OS security baseline management is a crucial task in system operations and maintenance. Traditional methods cannot guarantee real-time data accuracy, nor can they provide system administrators with comprehensive data visualizations. Baseline governance is extremely inefficient. Furthermore, it cannot integrate with departmental security data platforms to form a closed loop between security baselines and exceptions. Without data support, security baseline governance cannot be effectively carried out, leaving security vulnerabilities for system operation. Summary of the Invention
[0003] In view of this, it is necessary to provide a security baseline management method and system based on Flink, as well as computer equipment, that can quickly acquire, analyze, and manage the security baseline data of subordinate systems.
[0004] In a first aspect, embodiments of this application provide a Flink-based security baseline management method, the Flink-based security baseline management method comprising:
[0005] The management platform server sends the data collection task script to each subordinate server;
[0006] Each subordinate server executes the aforementioned data collection task script to obtain security baseline data;
[0007] The management platform server obtains several OS extension information from the configuration management database to form a supplementary broadcast stream, wherein each subordinate server corresponds to one OS extension information;
[0008] The management platform server obtains the security baseline data from each of the subordinate servers;
[0009] The management platform server completes the security baseline data in real time based on the supplementary broadcast stream;
[0010] The management platform server categorizes and organizes the completed security baseline data according to preset dimensions to obtain several dimensions of data; and
[0011] The management platform server saves the data of the aforementioned dimensions to the database according to preset storage rules.
[0012] Preferably, the subordinate server executes the data acquisition task script to obtain security baseline data, including:
[0013] Subordinate servers collect security baseline data from their own subordinate servers;
[0014] The subordinate server determines whether the security baseline data is abnormal; and
[0015] When the security baseline data is abnormal, the subordinate server adds an abnormal item marker to the security baseline data.
[0016] Preferably, after the subordinate server adds anomaly tags to the security baseline data, the Flink-based security baseline management method further includes:
[0017] The management platform server aggregates several security baseline data sets from its subordinate servers; and
[0018] The management platform server calculates the percentage of security baseline data marked with anomalies in all security baseline data to obtain the percentage of anomalies.
[0019] Preferably, after the subordinate server adds anomaly tags to the security baseline data, the Flink-based security baseline management method further includes:
[0020] The management platform server generates an anomaly query list based on security baseline data marked with anomalies and preset dimensions.
[0021] Preferably, after the management platform server generates an anomaly query list based on security baseline data marked with anomalies and preset dimensions, the Flink-based security baseline management method further includes:
[0022] The management platform server receives query information; and
[0023] The management platform server displays the list of abnormal items based on the received query information.
[0024] Preferably, after the management platform server obtains the security baseline data from each of the subordinate servers, the Flink-based security baseline management method further includes:
[0025] The management platform server determines whether it has received an application message from a subordinate server; and
[0026] When the management platform server receives an application from a subordinate server, it marks the security baseline data of the subordinate server as a security exception.
[0027] Preferably, the preset dimensions include the IP dimension, and the management platform server saves the data of the several dimensions to the database according to preset storage rules, specifically including:
[0028] The management platform server replicates the dimension data based on the IP address to obtain a copy;
[0029] The management platform server saves the copies to the database at preset intervals.
[0030] Secondly, embodiments of this application provide a master control device, the computer device comprising:
[0031] Memory, used to store program instructions; and
[0032] A processor for executing the program instructions to implement the Flink-based safety baseline management method as described above.
[0033] Thirdly, embodiments of this application provide a Flink-based security baseline management system. The Flink-based security baseline management system includes a management platform server and subordinate servers. The management platform server includes a sending module, a first acquisition module, a second acquisition module, a supplementation module, a classification module, and a storage module. The subordinate servers include an execution module.
[0034] The sending module is used to send the data collection task script to each subordinate server;
[0035] The execution module is used to execute the acquisition task script to obtain security baseline data;
[0036] The first acquisition module is used to acquire several OS extension information from the configuration management database to form a supplementary broadcast stream, wherein each subordinate server corresponds to one OS extension information;
[0037] The second acquisition module is used to acquire the security baseline data from each of the subordinate servers;
[0038] The supplementary module is used to complete the security baseline data in real time based on the supplementary broadcast stream;
[0039] The classification module is used to classify and organize the completed security baseline data according to preset dimensions to obtain several dimensions of data; and
[0040] The storage module is used to manage the platform server to save the data of the several dimensions to the database according to preset storage rules.
[0041] Preferably, the execution module includes:
[0042] The data acquisition module is used to collect security baseline data from the servers under this station.
[0043] The judgment module is used to determine whether the security baseline data is abnormal; and
[0044] The tagging module is used to add an anomaly tag to the security baseline data when the security baseline data is abnormal.
[0045] The aforementioned Flink-based security baseline management method and its system and computer equipment involve a management platform server distributing data collection task scripts to each subordinate server. Each subordinate server executes its own collection task to collect security baseline data, which is then uploaded to the management platform server. The management platform server then retrieves the operating system (OS) extended information of each subordinate server from the configuration management database and completes it in real time into the security baseline data. The management platform server categorizes and organizes the security baseline data according to preset dimensions to obtain dimensional data and archives it in the database. Simultaneously, the management platform server marks anomalies in the security baseline data, calculates the proportion of anomalies in all security baseline data, and displays the anomaly proportions across various defined dimensions. Therefore, system administrators can grasp the current status of security baselines for each professional component and the anomaly proportions across various dimensions from a tool-level perspective. They can flexibly query and export lists of anomalies of concern according to operational needs and carry out targeted remediation. Attached Figure Description
[0046] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on the structures shown in these drawings without creative effort.
[0047] Figure 1 A flowchart of a Flink-based security baseline management method provided in an embodiment of this application.
[0048] Figure 2 The first sub-flowchart of the Flink-based security baseline management method provided in this application embodiment.
[0049] Figure 3 The second sub-flowchart of the Flink-based security baseline management method provided in the embodiments of this application.
[0050] Figure 4 The third sub-flowchart of the Flink-based security baseline management method provided in the embodiments of this application.
[0051] Figure 5 The fourth sub-flowchart of the Flink-based security baseline management method provided in the embodiments of this application.
[0052] Figure 6 This is a schematic diagram of the internal structure of the Flink-based security baseline management system provided in an embodiment of this application.
[0053] Figure 7This is a schematic diagram of the internal structure of the execution module provided in an embodiment of this application.
[0054] Figure 8 This is a schematic diagram of the internal structure of a computer device provided in an embodiment of this application.
[0055] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0056] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application. All other embodiments obtained by those skilled in the art based on the embodiments in this application without inventive effort are within the scope of protection of this application.
[0057] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification, claims, and accompanying drawings of this application are used to distinguish similar planned objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data are interchangeable where appropriate; in other words, the described embodiments are implemented according to a sequence other than that illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, may also include other content; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0058] It should be noted that the use of terms such as "first" and "second" in this application is for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, features defined with "first" and "second" may explicitly or implicitly include one or more of that feature. Furthermore, the technical solutions of the various embodiments can be combined with each other, but this must be based on the ability of those skilled in the art to implement them. If the combination of technical solutions is contradictory or impossible to implement, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection claimed in this application.
[0059] Please refer to the following: Figure 1 , Figure 1 This is a flowchart illustrating a Flink-based security baseline management method provided in an embodiment of this application. The Flink-based security baseline management method specifically includes the following steps.
[0060] Step S101: The management platform server sends the data collection task script to each subordinate server.
[0061] The management platform server communicates with each subordinate server. Backend staff set a preset time point during task distribution to send data collection task scripts to each subordinate server. The data collection tasks include checking information related to network infrastructure devices such as the operating system (OS), middleware, database, and switches, as well as collecting information on service and application settings, operating system component configurations, permission and rights allocation, and management rules. The management platform server needs to confirm whether each subordinate server is working properly or in an abnormal state. The security baselines collected by the management platform are divided into three categories: the first category is statistical baseline data, including common time-based, frequency-based, spatial, categorical, and multi-level statistical baseline data; the second category is sequence-based baseline data, such as exponential smoothing and periodic baseline data; and the third category is machine learning-based baseline data, such as baselines applying clustering algorithms and decision tree baseline data.
[0062] In step S102, each subordinate server executes the data collection task script to obtain security baseline data.
[0063] The specific process by which each subordinate server executes the data collection task script to obtain security baseline data will be described in detail below.
[0064] In step S103, the management platform server obtains several OS extension information from the configuration management database to form a supplementary broadcast stream, wherein each subordinate server corresponds to one OS extension information.
[0065] The management platform server is based on the Flink computing framework. Flink is a distributed computing framework that is flexible in deployment and adaptable to common big data platforms. It has excellent performance, achieving high throughput and low latency. The configuration management database (CMDB) stores extended information about the operating system (OS) of each subordinate server, such as system version, data center location, and purpose. The management platform server uses data collected from the configuration management database (CMDB) as a supplementary broadcast stream.
[0066] Step S104: The management platform server obtains security baseline data from each subordinate server.
[0067] The management platform server uses the security baseline data output by each subordinate server as the data stream.
[0068] In step S105, the management platform server completes the security baseline data in real time based on the supplementary broadcast stream.
[0069] The management platform server completes the data stream collected by a subordinate server based on the supplementary broadcast stream. Specifically, it supplements the data stream containing the security baseline data sent by a subordinate server with extended operating system (OS) information, such as system version, data center location, and purpose, based on the supplementary broadcast stream. The Flink computing framework enables real-time information completion.
[0070] Step S106: The management platform server classifies and organizes the completed security baseline data according to preset dimensions to obtain several dimensions of data.
[0071] The preset dimensions include dimensions such as inspection item dimension, OS type dimension, IDC dimension, and IP dimension. The management platform server sorts and organizes the completed security baseline data according to the dimensions such as inspection item dimension, OS type dimension, IDC dimension, and IP dimension to obtain several dimension data.
[0072] Step S107: The management platform server saves data from several dimensions to the database according to preset saving rules.
[0073] The specific process by which the management platform server saves data from several dimensions to the database according to preset saving rules will be described in detail below.
[0074] In the above embodiment, the management platform server distributes data collection task scripts to each subordinate server; each subordinate server executes its own data collection task to collect security baseline data, which is then uploaded to the management platform server; the management platform server then retrieves the operating system (OS) extended information of each subordinate server from the configuration management database and completes it in real time to the security baseline data; the management platform server categorizes and organizes the security baseline data according to preset dimensions, obtains dimensional data, and archives it in the database. Therefore, system administrators can grasp the current status of security baselines of various professional components and the anomaly percentage of each dimension from a tool-level perspective, and can flexibly query and export a list of anomalies of concern according to operational needs, and carry out targeted governance.
[0075] Please refer to the following: Figure 2 This is the first sub-flowchart of the Flink-based security baseline management method provided in this application embodiment. Step S102 specifically includes the following steps.
[0076] Step S202: The subordinate server collects the security baseline data of its own subordinate servers.
[0077] The subordinate server executes a data collection script to collect security baseline data from its subordinate servers.
[0078] Step S204: The subordinate server determines whether the security baseline data is abnormal.
[0079] The subordinate server, i.e., the data collection end, determines whether the security baseline data is abnormal according to preset rules. For example, security baseline data anomalies include, but are not limited to, abnormal DBA user account logins, abnormal login statuses, and abnormal application database behavior. For instance, if a DBA user typically logs in from certain specific IPs or locations, and then simultaneously or on the same day, logs in from other IPs or locations, this is considered an abnormal event. The determination of such security baseline data anomalies is not the focus of this application, and there are many types, which will not be described in detail here.
[0080] If the safety baseline data is abnormal, proceed to step S206.
[0081] Step S206: The subordinate server adds anomaly markers to the security baseline data.
[0082] Please refer to the following: Figure 3 This is the second sub-flowchart of the Flink-based security baseline management method provided in the embodiments of this application. After executing step S105, the Flink-based security baseline management method further includes the following steps.
[0083] Step S302: The management platform server aggregates several security baseline data from each subordinate server.
[0084] The management platform server collects security baseline data from each subordinate server and aggregates several security baseline data from all subordinate servers together.
[0085] Step S304: The management platform server calculates the percentage of security baseline data with anomaly markers in all security baseline data to obtain the percentage of anomalies.
[0086] After the management platform server aggregates several security baseline data from all subordinate servers, it will find security baseline data from each subordinate server that has anomaly markers. The management platform server will then aggregate the security baseline data with anomaly markers and calculate the percentage of security baseline data with anomaly markers out of all security baseline data. This percentage is the anomaly percentage.
[0087] Step S306: The management platform server generates an anomaly query list based on the security baseline data marked with anomalies and preset dimensions.
[0088] The management platform server will generate an anomaly query list from the security baseline data marked with anomalies and the preset dimensions set by the staff, which will be available for staff to query. The preset dimensions include inspection items, OS type, IDC, etc.
[0089] Step S308: The management platform server receives the query information.
[0090] Step S310: The management platform server displays a list of abnormal items based on the received query information.
[0091] Once the staff sets the OS type and sends the command to the management platform server, the management platform server can generate anomalies at the OS type level for the staff to query and export.
[0092] Please refer to the following: Figure 4 This is the third sub-flowchart of the Flink-based security baseline management method provided in this application embodiment. After executing step S206, the Flink-based security baseline management method further includes the following steps.
[0093] In step S402, the management platform server determines whether it has received application information from subordinate servers.
[0094] In actual use, subordinate servers can be designated by staff to be exempt from security checks. This means that when the management platform server retrieves security baseline data from subordinate servers, some check items on those subordinate servers with request information can be marked as security exceptions. It's understandable that this request information can be a single type of information from a single server, or it can be request information for the entire server.
[0095] When an application message is received from a subordinate server, step S504 is executed.
[0096] Step S404: The management platform server marks the security baseline data of its subordinate servers with security exceptions.
[0097] When the management platform server retrieves the application information, it marks some of the check items in the security baseline data of the corresponding subordinate server or the entire subordinate server with security exceptions based on the application information.
[0098] Please refer to the following: Figure 5 This is the fourth sub-flowchart of the Flink-based security baseline management method provided in this application embodiment. Step S107 specifically includes the following steps.
[0099] Step S502: The management platform server replicates dimension data based on the IP dimension to obtain a copy.
[0100] In step S504, the management platform server saves the copy to the database at a preset time.
[0101] After classifying the security baseline data by IP address, the management platform server will make a copy of the classified data and save this copy to the database daily.
[0102] Please refer to the following: Figure 8 This is a schematic diagram of the internal structure of a computer device provided in an embodiment of this application. The computer device 10 includes a memory 11 and a processor 12. The memory 11 is used to store program instructions, and the processor 12 is used to execute the program instructions to implement the above-described Flink-based security baseline management method.
[0103] In some embodiments, the processor 12 may be a central processing unit (CPU), controller, microcontroller, microprocessor or other data processing chip, used to run program instructions stored in the memory 11.
[0104] The memory 11 includes at least one type of readable storage medium, including flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 11 may be an internal storage unit of a computer device, such as a hard disk. In other embodiments, the memory 11 may be an external storage device of a computer device, such as a plug-in hard disk, Smart Media Card (SMC), Secure Digital (SD) card, FlashCard, etc., provided on the computer device. Furthermore, the memory 11 may include both internal and external storage units of the computer device. The memory 11 can be used not only to store application software and various types of data installed on the computer device, such as code implementing a Flink-based security baseline management method, but also to temporarily store data that has been output or will be output.
[0105] Please refer to the following: Figure 6 This is a schematic diagram of the internal structure of the Flink-based security baseline management system provided in this application embodiment. The Flink-based security baseline management system 1000 includes a management platform server 100 and subordinate servers 200. The management platform server 100 includes a sending module 101, a first acquisition module 102, a second acquisition module 103, a supplement module 104, a classification module 105, and a storage module 106. The subordinate server 200 includes an execution module 201.
[0106] The sending module 101 is used to send the data collection task script to each subordinate server.
[0107] The management platform server communicates with each subordinate server. Backend staff distribute data collection task scripts to each subordinate server during task distribution or at a preset time. These tasks include checking information related to network infrastructure devices such as operating systems (OS), middleware, databases, and switches, as well as collecting information on service and application settings, operating system component configurations, permission and rights allocation, and management rules. The management platform server needs to confirm whether each subordinate server is functioning correctly or in an abnormal state. The security baselines collected by the management platform are divided into three categories: the first is statistical baseline data, including common time-based, frequency-based, spatial, categorical, and multi-level statistical baseline data; the second is sequence-based baseline data, such as exponential smoothing and periodic baseline data; and the third is machine learning-based baseline data, such as baselines applying clustering algorithms and decision tree baseline data.
[0108] Execution module 201 is used to execute the acquisition task script to obtain security baseline data.
[0109] The first acquisition module 102 is used to acquire several OS extension information from the configuration management database to form a supplementary broadcast stream, wherein each subordinate server corresponds to one OS extension information.
[0110] The management platform server is based on the Flink computing framework. Flink is a distributed computing framework that is flexible in deployment and adaptable to common big data platforms. It has excellent performance, achieving high throughput and low latency. The configuration management database (CMDB) stores extended information about the operating system (OS) of each subordinate server, such as system version, data center location, and purpose. The first acquisition module 102 uses the data collected from the configuration management database (CMDB) as a supplementary broadcast stream.
[0111] The second acquisition module 103 is used to acquire security baseline data from each subordinate server.
[0112] The second acquisition module 103 uses the security baseline data output by each subordinate server as a data stream.
[0113] Supplement module 104 is used to complete the security baseline data in real time based on the supplementary broadcast stream.
[0114] The supplementary module 104 completes the data stream collected by a subordinate server based on the supplementary broadcast stream. Specifically, it supplements the data stream containing the security baseline data sent by a subordinate server with extended operating system (OS) information, such as system version, data center location, and purpose, based on the supplementary broadcast stream. The Flink computing framework enables real-time information completion.
[0115] The classification module 105 is used to classify and organize the completed security baseline data according to preset dimensions to obtain data of several dimensions.
[0116] The preset dimensions include inspection item dimension, OS type dimension, IDC dimension and IP dimension. The classification module 105 classifies and organizes the completed security baseline data according to the dimensions of inspection item dimension, OS type dimension, IDC dimension and IP dimension to obtain several dimension data.
[0117] The storage module 106 is used to manage the platform server to save data of several dimensions to the database according to preset storage rules.
[0118] Please refer to the following: Figure 7 This is a schematic diagram of the internal structure of the execution module provided in an embodiment of this application. The execution module 201 includes a data acquisition module:
[0119] The data acquisition module 2011 is used to collect security baseline data from the servers under this station.
[0120] The data acquisition module 2011 executes the data acquisition script to collect security baseline data from the servers under this station.
[0121] The judgment module 2012 is used to determine whether the security baseline data is abnormal.
[0122] The judgment module 2012, i.e., the data acquisition end, determines whether the security baseline data is abnormal based on preset rules. For example, security baseline data anomalies include, but are not limited to, abnormal DBA user account logins, abnormal login statuses, and abnormal application database behavior. For instance, if a DBA user typically logs in from certain specific IPs or locations, and then simultaneously or on the same day, logs in from other IPs or locations, this is considered an abnormal event. The judgment of such security baseline data anomalies is not the focus of this application, and there are many types, which will not be described in detail here.
[0123] The tagging module 2013 is used to add anomaly tags to the security baseline data when the security baseline data is abnormal.
[0124] In the above embodiment, the management platform server distributes data collection task scripts to each subordinate server; each subordinate server executes its own data collection task to collect security baseline data, which is then uploaded to the management platform server; the management platform server then retrieves the operating system (OS) extended information of each subordinate server from the configuration management database and completes it in real time to the security baseline data; the management platform server categorizes and organizes the security baseline data according to preset dimensions, obtains dimensional data, and archives it in the database. Simultaneously, the management platform server also marks anomalies in the security baseline data, calculates the proportion of anomalies in all security baseline data, and displays the anomaly proportions in various set dimensions. Therefore, system administrators can grasp the current status of security baselines for each professional component and the anomaly proportions in each dimension from a tool-level perspective, and can flexibly query and export lists of anomalies of concern according to operational needs, enabling targeted remediation.
[0125] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.
[0126] The above-listed embodiments are merely preferred embodiments of this application and should not be construed as limiting the scope of this application. Therefore, any equivalent variations made in accordance with the claims of this application shall still fall within the scope of this application.
Claims
1. A safety baseline management method based on Flink, characterized in that, The Flink-based safety baseline management method includes: The management platform server sends the data collection task script to each subordinate server; Each subordinate server executes the aforementioned data collection task script to obtain security baseline data; The management platform server obtains several OS extended information from the configuration management database to form a supplementary broadcast stream. Each subordinate server corresponds to one OS extended information, which includes the system version, the data center it is located in, and its purpose. The management platform server obtains the security baseline data from each of the subordinate servers; The management platform server completes the security baseline data in real time based on the supplementary broadcast stream; The management platform server categorizes and organizes the completed security baseline data according to preset dimensions to obtain several dimensions of data; and The management platform server saves the data of the aforementioned dimensions to the database according to preset storage rules; The preset dimensions include inspection item dimension, OS type dimension, IDC dimension, and IP dimension. The management platform server saves the data of these dimensions to the database according to preset storage rules, specifically including: The management platform server replicates the dimension data based on the IP address to obtain a copy; The management platform server saves the copies to the database at preset intervals.
2. The Flink-based security baseline management method as described in claim 1, characterized in that, The subordinate server executes the aforementioned data collection task script to obtain security baseline data, including: Subordinate servers collect security baseline data from their own subordinate servers; The subordinate server determines whether the security baseline data is abnormal; and When the security baseline data is abnormal, the subordinate server adds an abnormal item marker to the security baseline data.
3. The Flink-based security baseline management method as described in claim 2, characterized in that, After the subordinate servers attach anomaly tags to the security baseline data, the Flink-based security baseline management method further includes: The management platform server aggregates several security baseline data sets from its subordinate servers; and The management platform server calculates the percentage of security baseline data marked with anomalies in all security baseline data to obtain the percentage of anomalies.
4. The Flink-based security baseline management method as described in claim 2, characterized in that, After the subordinate server adds anomaly tags to the security baseline data, the Flink-based security baseline management method further includes: The management platform server generates an anomaly query list based on security baseline data marked with anomalies and preset dimensions.
5. The Flink-based security baseline management method as described in claim 4, characterized in that, After the management platform server generates an anomaly query list based on the security baseline data with anomaly tags and preset dimensions, the Flink-based security baseline management method further includes: The management platform server receives query information; and The management platform server displays the list of abnormal items based on the received query information.
6. The Flink-based security baseline management method as described in claim 1, characterized in that, After the management platform server obtains the security baseline data from each of the subordinate servers, the Flink-based security baseline management method further includes: The management platform server determines whether it has received an application message from a subordinate server; and When the management platform server receives an application from a subordinate server, it marks the security baseline data of the subordinate server as a security exception.
7. A computer device, characterized in that, The computer device includes: Memory, used to store program instructions; and A processor for executing the program instructions to implement the Flink-based safety baseline management method as described in any one of claims 1 to 6.
8. A safety baseline management system based on Flink, characterized in that, The Flink-based safety baseline management system includes a management platform server and subordinate servers. The management platform server includes a sending module, a first acquisition module, a second acquisition module, a supplementation module, a classification module, and a storage module. The subordinate servers include an execution module. The sending module is used to send the data collection task script to each subordinate server; The execution module is used to execute the acquisition task script to obtain security baseline data; The first acquisition module is used to acquire several OS extended information from the configuration management database to form a supplementary broadcast stream, wherein each subordinate server corresponds to one OS extended information, and the OS extended information includes system version, data center location, and purpose; The second acquisition module is used to acquire the security baseline data from each of the subordinate servers; The supplementary module is used to complete the security baseline data in real time based on the supplementary broadcast stream; The classification module is used to classify and organize the completed security baseline data according to preset dimensions to obtain several dimensions of data; and The storage module is used to manage the platform server to save the data of the several dimensions to the database according to preset storage rules; The preset dimensions include inspection item dimension, OS type dimension, IDC dimension, and IP dimension. The management platform server saves the data of these dimensions to the database according to preset storage rules, specifically including: The management platform server replicates the dimension data based on the IP address to obtain a copy; The management platform server saves the copies to the database at preset intervals.
9. The Flink-based safety baseline management system as described in claim 8, characterized in that, The execution module includes: The data acquisition module is used to collect security baseline data from the servers under this station. The judgment module is used to determine whether the security baseline data is abnormal; and The tagging module is used to add an anomaly tag to the security baseline data when the security baseline data is abnormal.
Citation Information
Patent Citations
Method and device for displaying operation and maintenance data
CN114238042A
Safety baseline checking method and device, electronic equipment and storage medium
CN114978657A
