Subject Logging

The system addresses the challenge of auditing user data access and detecting anomalous behavior in big data processing by logging user activity in real-time and using machine learning for anomaly detection, enhancing security and compliance in large-scale data systems.

JP2024533042AActive Publication Date: 2024-09-12WORKDAY INC
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2024508596
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2021-09-08
Filing Date
2022-08-23
Publication Date
2024-09-12
Estimated Expiration
2042-08-23

AI Technical Summary

Technical Problem

Existing big data processing systems face challenges in auditing user data access and identifying anomalous behavior due to the large volume of transactions, making it difficult to track what data is accessed and when, especially in large organizations with millions of queries per day.

Method used

A system that logs user activity in near real-time, indexes logs based on predetermined fields, and uses machine learning for anomaly detection, allowing for efficient storage and proactive measures against anomalous behavior.

Benefits of technology

Enhances the ability to identify users who access data, detect patterns of anomalous access, and provide warnings or block access, improving security and compliance in large-scale data systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024533042000001
    Figure 2024533042000001
Patent Text Reader

Abstract

The present application discloses a method, system, and computer system for monitoring tasks related to information stored in a database system, the method including receiving a request to perform a task related to the database, the request associated with an identifier corresponding to a user entering a query for the request, determining whether the task is authorized for the user, and responsive to determining that the task is authorized for the user, obtaining a set of information to be returned for the task, determining a subset of the set of information, the subset of the set of information including one or more portions of the set of information to which the user has access permissions, and storing a record of the request to perform the task, the record including an indication of the user and an indication of the subset of the set of information.
Need to check novelty before this filing date? Find Prior Art

Description

[Background technology]

[0001] A system for processing big data includes a system for receiving data, storing data, processing data, etc. A big data processing system typically includes a large number of elements in one or more data sets. The one or more data sets are accessed by users associated with an organization. For example, the user can enter a query into a client terminal, and the query is executed by the system for processing data. At a large scale, the number of accesses or queries performed on one or more data sets is very large. For example, in a large organization, the number of transactions (e.g., queries) performed on one or more data sets may exceed 5 million transactions per day. This creates an audit problem in that it is difficult to know what data was accessed within a data set and when. [Brief description of the drawings]

[0002] Various embodiments of the invention are disclosed in the following detailed description and the accompanying drawings.

[0003] [Figure 1] 1 is a block diagram illustrating a network system in accordance with various embodiments of the present application.

[0004] [Diagram 2] 1 is a block diagram illustrating a database system in accordance with various embodiments of the present application.

[0005] [Diagram 3] 1 is a flow chart illustrating a method for logging user activity on a database system according to various embodiments of the present application.

[0006] [Figure 4] 4 illustrates a log of user activity for a database system in accordance with various embodiments of the present application.

[0007] [Diagram 5] 1 is a flow chart illustrating a method for logging user activity on a database system according to various embodiments of the present application.

[0008] [Figure 6] 1 is a flow chart illustrating a method for logging user activity on a database system according to various embodiments of the present application.

[0009] [Figure 7] 1 is a flow chart illustrating a method for logging user activity on a database system according to various embodiments of the present application.

[0010] [Figure 8] 4 is a flow chart illustrating a method for querying a log of user activity on a database according to various embodiments.

[0011] [Figure 9] 4 is a flow chart illustrating a method for querying a log of user activity on a database according to various embodiments.

[0012] [Figure 10] 1 is a flow chart illustrating a method for detecting anomalous user activity with respect to access to a database system.

[0013] [Figure 11] 1 is a flow chart illustrating a method for detecting anomalous user activity with respect to access to a database system. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0014] The present invention may be embodied in various forms, including as a process, an apparatus, a system, a composition of matter, a computer program product embodied on a computer-readable storage medium, and / or a processor configured to execute instructions stored in and / or provided by a memory coupled to the processor. These embodiments or any other form the present invention may take may be referred to herein as techniques. In general, the order of steps of a disclosed process may be altered within the scope of the present invention. Unless otherwise noted, components such as a processor or memory described as configured to perform a task may be implemented as general components that are temporarily configured to perform the task at a given time, or as specific components manufactured to perform the task. As used herein, the term "processor" refers to one or more devices, circuits, and / or processing cores configured to process data, such as computer program instructions.

[0015] A detailed description of one or more embodiments of the present invention will now be given with reference to the drawings illustrating the principles of the present invention. The present invention will be described in connection with such embodiments, but is not limited to any of them. The scope of the present invention is limited only by the claims, and the present invention includes many alternatives, modifications, and equivalents. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. These details are for the purpose of example, and the present invention may be practiced according to the claims without some or all of these specific details. For simplicity, technical matters well known in the art related to the present invention have not been described in detail so as not to unnecessarily obscure the present invention.

[0016] A system for subject logging is disclosed. The system includes one or more processors and a memory. The one or more processors are configured to receive a request to perform a task on a database, the request associated with an identifier corresponding to a user entering a query for the request, determine whether the task is approved for the user, and in response to determining that the task is approved for the user, obtain a set of information to be returned for the task, determine a subset of the set of information, the subset of the set of information including one or more portions of the set of information to which the user has access permissions, and store a record of the request to perform the task, the record including an indication of the user and an indication of the subset of the set of information. The memory is coupled to the processor and configured to provide instructions to the one or more processors. In some embodiments, the record includes an indication of subject information to which the user has access and an indication of the subset of the set of information related to the subject information.

[0017] According to various embodiments, a system and / or method is provided for monitoring user activity with respect to (e.g., on) one or more datasets. In various embodiments, user activity is recorded contemporaneously as a user performs a task with respect to one or more subject information (e.g., tenant-sensitive information) from one or more underlying datasets (e.g., user activity is recorded contemporaneously with entering / executing a query executed against one or more datasets). A log of recorded user activity may include information indicative of at least a subset of information or types of information that may have been exposed to the user in connection with the user performing a task with respect to one or more subject information (e.g., tenant-sensitive information) from one or more underlying datasets. In some embodiments, the log may include a record of user activity with respect to the task that may have exposed personal information or tenant-sensitive information stored in the one or more datasets on which the task was performed. The log may be searchable in connection with determining information or types of information that may have been exposed (e.g., returned) to the user in connection with the task performed. In some embodiments, the system or method may analyze the logs to determine whether records of user activity indicate anomalous behavior (e.g., indicating that a user is engaging in malicious behavior or that a user's account has been compromised).

[0018] As used herein, personally identifiable information (which may be referred to as PII) may include any data that can potentially be used to identify a particular individual. Examples include full name, social security number, driver's license number, bank account number, passport number, email address, etc.

[0019] As used herein, tenant confidential information may include confidential information about a tenant. A tenant may be an organization associated with a database, such as a client of a software-as-a-service provider. Confidential information may include confidential and proprietary information of a tenant. Examples of tenant confidential information may include PII of users associated with the tenant (e.g., employees, contractors, etc. of the tenant), compensation information, trade secrets, research and development plans, etc.

[0020] As used herein, a date may correspond to a particular day, month, and / or year. The term date may also include a particular time of day, or a time of day, month, and / or year.

[0021] According to various embodiments, the system receives a request to perform a task on a database, where the request is associated with an identifier corresponding to a user entering a query for the request. The system may determine whether the task is approved for the user. In response to determining that the task is approved for the user, the system may obtain a set of information to be returned for the task. The system may determine a subset of the set of information, where the subset of the set of information includes one or more portions of the set of information to which the user has access permissions. The system may store a record of the request to perform the task, where the record includes an indication of the user and an indication of the subset of the set of information. In some embodiments, the record includes an indication of subject information to which the user has access and an indication of the subset of the set of information related to the subject information. For example, the subject information may correspond to an individual associated with the tenant (e.g., an executive of the tenant). The subject information may be PII of such individual. In some embodiments, the record includes an indication that the request to perform the task is associated with the user, that PII was exposed to the user, and an indication of the individual to whom the PII is directed (e.g., the executive of the tenant in the above example).

[0022] According to various embodiments, a record of the request to perform the task may be stored in a user activity log. The user activity log may be indexed with respect to one or more predefined fields (e.g., an indication of the user (e.g., a user identifier), an indication of a subset of a set of information that may be returned to the user, an indication of a field name, a field name, etc.). The one or more predefined fields may be configurable, such as by an administrator or tenant associated with the one or more data sets. Examples of the one or more predefined fields include, but are not limited to, a date and / or time the task was performed, an indication of a user associated with the request to perform the task (e.g., a user identifier, such as an employer number, a username, an email address, a login identifier, etc.), an IP address from which the request to perform the task was sent, an identifier of a terminal from which the request to perform the task was sent, an indication of a type of task, an indication of a target of a type of information (e.g., a department associated with information that may be returned, a category or subdivision for which information may be returned, a type of report requested, etc.), a subject of information that may be returned (e.g., an individual (executive) for whom corresponding information may be returned, etc.), a type of activity performed (e.g., read, write, delete, etc.). Various other types of information may be implemented as predefined fields. According to various embodiments, the records contained in the log are immutable. For example, the log itself is not immutable (e.g., the log changes over time in that new records are added to the log), but records are immutable once inserted into the log.

[0023] According to various embodiments, multiple records or information each relating to a request to perform a corresponding task may be committed to a log (e.g., committed to a log of user activity) simultaneously. For example, multiple records may be stored in a logging queue, and at least a portion of the records in the logging queue may be committed to a batch. The batch including at least a portion of the records may be committed in response to a determination that the batch criteria are met. In some embodiments, storing the records includes storing information about the records in a logging queue, determining that one or more batch criteria associated with committing the records are met, and committing information about the records in the logging queue to a log in response to determining that the one or more batch criteria are met. In some embodiments, the one or more batch criteria include a threshold number of records in the logging queue (e.g., the batch criteria may be considered to be met in response to a determination that the logging queue includes a number of records equal to or greater than the threshold number of records). In some embodiments, the one or more batch criteria may include a threshold amount of time that has elapsed since the last commit of a record in the logging queue. Various other criteria may be implemented as the one or more batch criteria.

[0024] According to various embodiments, the log may be searchable by an authorized user of the database system. By way of example, the authorized user may be an administrator or other user with permission to view / use the log. The authorized user may be authenticated based at least in part on user credentials and / or access permissions corresponding to the authorized user. In some embodiments, the authorized user may query the log based at least in part on one or more of a type of information returned for one or more tasks whose records are stored in the log. The log provides information to limit the information provided to the authorized user based on the authorized user's access permissions. By way of example, the log may point to information (e.g., information that may have been returned to the user in response to performing a task) but does not store a subset of a set of information that may be returned to the user in response to a request to perform a task on the database. The log may include links (e.g., hyperlinks) through which the authorized user may attempt to access underlying information that may have been returned to the user in connection with performing a task. In some embodiments, at least a portion of the log is provided to another user (e.g., an administrator, etc.), and the log is provided to provide selectable links to at least a portion of the set of information to which the log points. In response to receiving an input to select a selectable link, a system or method (e.g., a security system or authorization system) may determine whether other users are authorized to access information pointed to by the selectable link. In response to determining that other users are authorized to access information pointed to by the selectable link, the other users may be authorized to access information pointed to by the selectable link.

[0025] According to various embodiments, the log of user activity may be searchable. The log may be searchable at least in part based on a user's identifier. For example, in connection with determining tasks performed by or information that may have been provided to a particular user, the log may be searched based on a user identifier corresponding to the particular user, or the like. In some embodiments, the log may be searchable at least in part based on an identifier associated with information returned for one or more tasks whose records are stored in the log. For example, an authorized user may search the log for all users (e.g., over a given period of time, or for specific date and / or time constraints, etc.) or tasks that may have been returned in response to recorded performed tasks. As an example, if a user wishes to determine who may have had access to executive compensation, the log may be searched based on executive compensation as a type of information that may have been returned in response to performed tasks. In response to a query to the log for tasks that may have returned executive compensation, the authorized user may be provided with a report including information about performed tasks for which executive compensation may have been returned (e.g., the information may include the date and / or time, the user who requested the task to be performed, the IP address from which the request to perform the task was received, the terminal from which the request to perform the task was received, the context of the terminal from which the request to perform the task was received, the type of task for which information may have been returned to the user, etc.). The fields included in the report may be configurable, for example, by the authorized user (e.g., when requesting the report) or by an administrator or organization in connection with, for example, defining a default report configuration.

[0026] According to various embodiments, the user activity logs may be used in connection with determining data leakage and / or detecting anomalous behavior. In some embodiments, a machine learning process may be used in connection with determining anomalous behavior. For example, the machine learning process may determine that a task request is anomalous. The determination that a task request is anomalous may be based at least in part on a determination that information associated with the task request is a statistical anomaly with respect to the context in which the task request was made (e.g., the user requesting to perform the task, the location from which the task request was sent, the time the task request was received, a set of task requests received simultaneously with the determined anomalous task request, a set of task requests that includes the determined anomalous task request, etc.).

[0027] Related art systems for recording user activity with respect to a dataset include recording input parameters for tasks performed by a user on one or more datasets (e.g., queries entered by a user). Such related art systems allow an administrator or organization to query which tasks a particular user performed, such as updates, views, and downloads. However, recording user activity according to such related art systems does not provide a method or system by which an administrator or organization can easily or effectively determine information provided to a user (e.g., the results of tasks performed on one or more databases). For example, an administrator or organization associated with such related art systems may be required to obtain historical information regarding user activity, recover data for a dataset with respect to a date and / or time when a particular user activity was performed, and re-perform the task that the user performed on that date and / or time. While the aforementioned related art systems may be sufficient for compliance purposes, such systems do not provide audit capabilities, do not scale to large numbers of transactions, and do not allow for proactive monitoring of user activity and near real-time detection of anomalous behavior with respect to a dataset.

[0028] Other related art systems may record user activity by activating tracing at the database level or database table level. When tracing is activated, all requests to the database are logged to the server (e.g., the database). The logging of requests is performed in near real time, but such logging is in a log format and at a scale where the data stored in the corresponding log is voluminous. Because the tracing data is stored in a log format, information about user activity is not indexed (e.g., the data is not in an indexed, reportable format). Furthermore, activating tracing at the database level or database table level results in data that is general to all SQL queries, rather than optimized for queries that an administrator or organization wants to monitor.

[0029] In contrast to related art systems, various embodiments generate logs of user activity with respect to one or more datasets in near real-time. The log may include information indicative of a user associated with a task performed with respect to one or more datasets (e.g., a user identifier) ​​and an indication of at least a portion of the information or the type of information provided to the user. The log may be indexed based at least in part on one or more predefined fields. In some embodiments, the log may be searchable or used in connection with anomaly detection. For example, the log may be analyzed in real-time or near real-time. Methods and systems for monitoring user activity according to various embodiments may be more scalable and efficient to analyze user activity to determine information that may have been returned to a user in response to a task performed and / or to determine whether a user is engaging in anomalous behavior.

[0030] The system improves computing by enabling more effective identification of users who have accessed data. The system stores access data using batch processing for more efficient storage while reducing strain on processor and memory resources. The system enables identification of patterns of anomalous access to data. In some embodiments, the system provides warnings and / or blocks access based on the patterns of access.

[0031] FIG. 1 is a block diagram illustrating a network system according to various embodiments of the present application. In the example shown in FIG. 1, the system 100 includes a server database system 105, one or more user systems 120 and / or 130, and an administrator system 125. The system 100 further includes one or more networks (such as network 110 and / or network 115) for the one or more user systems 120 and 130 and / or the administrator system 125 to communicate with the database system 105. In various embodiments, the network 110 and / or 115 includes one or more of a wired network and / or a wireless network (such as a cellular network, a wireless local area network (WLAN), or any other suitable network). The system 100 further includes a security system 135. In some embodiments, the database system 105 and / or the security system 135 are implemented by a server. The server may correspond to a single server or multiple servers. Similarly, the system 100 may include various other systems or terminals.

[0032] In various embodiments, the user system 120 and / or the user system 130 are implemented by one or more client terminals, such as a personal computer, a mobile phone, a tablet, or any other suitable user device. The user system 120 and / or the user system 130 communicate with the database system 105 and / or the security system 135 via a web interface. For example, the user system 120 and / or the user system 130 communicate with the database system 105 and / or the security system 135 via a web browser installed on the user system 120 and / or the user system 130. As another example, the user system 120 and / or the user system 130 communicate with the switch database system 105 and / or the security system 135 via an application running on the user system 120 and / or the user system 130. A user accesses the database system 105 using the user system 120 or the user system 130. For example, a user may use user system 120 to access human resources database data on database system 105, a user may use user system 120 or user system 130 to access financial database data on database system 105, a user may use user system 120 or user system 130 to modify data on database system 105, a user may use user system 120 to delete data on database system 105, etc. In some embodiments, a user may also use user system 120 or user system 130 to log user activity, either directly or via database system 105 or security system 135.

[0033] The administrator system 125 includes an administrator system for use by an administrator. For example, the administrator system 125 includes systems for communication, data access, computation, and the like. The administrator uses the administrator system 125 to maintain the database system 105. For example, the administrator uses the administrator system 125 to start and / or stop services to the database system 105, restart the database system 105, install software on the database system 105, add, modify, and / or remove data from the database system 105, and the like. The administrator system 130 communicates with the database system 105 and / or the security system 135 via a web interface. For example, the administrator system 125 communicates with the database system 105 and / or the security system 135 via a web browser installed on the administrator system 125. As another example, the administrator system 125 communicates with the database system 105 and / or the security system 135 via an application executing on the administrator system 125.

[0034] The database system 105 stores one or more datasets. In various embodiments, the one or more datasets include human resources data, financial data, organizational planning data, or any other suitable data. In some embodiments, the database system 105 stores one or more datasets for multiple tenants. For example, the database system 105 hosts at least a portion of a software-as-a-service (e.g., databases storing data for a service) for multiple tenants (e.g., customers) of a software-as-a-service provider. In various embodiments, a tenant includes an organization (such as a corporation, a government agency, a subdivision (e.g., a department) of an organization, or any other suitable organization). In some embodiments, the database system 105 stores one or more datasets that include tenant sensitive information, such as PII (e.g., PII of a person associated with the tenant). For example, the database system 105 includes a database system for storing data in a table-based data structure, an object-based data structure, or the like. In various embodiments, the database system 105 includes a business database system, a human resources database system, a financial database system, a university database system, a medical database system, a manufacturing database system, or any other suitable system. In some embodiments, the database system 105 includes an object-oriented database system.

[0035] According to various embodiments, a user uses user system 120 or user system 130 to perform one or more tasks on data (e.g., one or more data sets) stored in database system 105. For example, the user inputs a query or request to perform a task (e.g., perform a query on a data set) in database system 105 to user system 120, which receives the query or request to perform the task from user system 120, such as via network 110. In response to receiving the query or request to perform the task, database system 105 performs the task and provides results to the user via user system 120. In some embodiments, the results include information or a set of information responsive to the execution of the query or task. In some embodiments, the results include a report that includes information responsive to the execution of the query or task, or a selectable element (e.g., a link, such as a hyperlink) that points to information responsive to the execution of the query or task.

[0036] In some embodiments, database system 105 stores a log of user activity. For example, database system 105 stores a log of user activity for one or more databases (e.g., one or more datasets) stored in database system 105. In some embodiments, database system 105 stores a record of user activity upon receiving a request from a user of user system 120 or user system 130 to perform a task (e.g., execute a query against a dataset) or upon execution of a task. In some embodiments, the record of user activity is stored in a log (e.g., a log of user activity). In some embodiments, the log is indexed according to one or more predefined fields (e.g., an identifier of the user, an indication of the task or type of task, an indication of the results of execution of the task, etc.). In some embodiments, the log is searchable by one or more authorized users. For example, an authorized user searches the log to determine user activity of a particular user or reports of users for which a particular type of information or information was returned.

[0037] In some embodiments, an administrative user or another user (e.g., an authorized user) searches the logs stored by database system 105. For example, the administrative user inputs a query to administrator system 125 in connection with querying or searching the logs. For example, a user inputs a query to user system 120 in connection with querying or searching the logs. In response to receiving parameters associated with the query of the logs, database system 105 or security system 135 returns results related to the query or search of the logs. As an example, if the administrative user queries the logs for an indication of users who accessed information regarding executive compensation between a first date and a second date, database system 105 or security system 135 returns a report that includes information about records in the user activity log in which executive compensation was exposed to the users (e.g., the report includes information about records corresponding to tasks performed between the first date and the second date, etc.).

[0038] According to various embodiments, security system 135 provides security for database system 105. For example, security system 135 determines what information (or set of information, etc.) a particular user is authorized to access. As one example, security system 135 determines whether a user has permission to access information based at least in part on a mapping of user permissions to information. As another example, security system 135 determines whether a user has permission to access information based at least in part on a determination that an object corresponding to the information (e.g., an information or pieces of information) includes an attribute or information indicating that the user has permission to access such object. In some embodiments, security system 135 authenticates a user accessing database system 105 or security system 135 otherwise utilizes authentication information associated with a user in connection with determining whether the user is authorized to perform a particular activity or access particular information.

[0039] In some embodiments, in response to the execution of a task (e.g., executing a task against a dataset in response to a user request to execute a task, executing a query against a log of user activity, etc.), database system 105 determines information responsive to the execution of the task, and security system 135 determines portions of that information responsive to the execution of the task for which a user associated with the task execution request / query has the necessary access permissions. In some embodiments, security system 135 filters the information to output only information that the requesting user is authorized to access.

[0040] According to various embodiments, an anomaly detection process is performed in conjunction with detecting anomalous behavior (e.g., anomalous user behavior, such as accessing certain tenant sensitive information) with respect to data stored in the database system 105. The anomaly detection process is performed in the database system 105 and / or the security system 135. In some embodiments, a machine learning module or process is implemented in conjunction with the anomaly detection process. For example, the machine learning module or process is trained using a dataset of historical user activity or activity with respect to one or more datasets stored in the database system 105 (or one or more datasets similar to the one or more datasets stored in the database system 105, such as datasets from multiple similarly situated tenants or multiple tenants storing similar information). The anomaly detection process analyzes information in the user activity log in conjunction with determining whether a record in the user activity log corresponds to anomalous behavior. In some embodiments, the anomaly detection runs in the background or concurrently with the execution of a task with respect to the data stored in the database system 105. For example, the anomaly detection process detects anomalous behavior in real time or near real time (e.g., concurrently with user activity) with respect to the execution of a task with respect to the data stored in the database system 105.

[0041] In response to detecting the anomalous behavior, one or more proactive measures are taken or initiated. The proactive measures are taken by the database system 105 and / or the security system 135. Examples of proactive measures include notifying an administrative user, notifying one or more specific users associated with the tenant (e.g., a data privacy officer, a human resources officer, an executive, etc.), restricting access rights of users for whom the anomalous behavior was detected (e.g., restricting future queries or task execution on the database system 105, etc., at least until such restrictions are lifted by the administrative user). In some embodiments, the one or more proactive measures are automatically taken in response to detecting the anomalous behavior. In some embodiments, a prompt is provided to the administrative user for initiation of the one or more proactive measures. For example, the prompt includes a notification of the anomalous behavior, a recommendation for one or more proactive measures to be taken, and / or a selectable element for initiating the proactive measures.

[0042] In some embodiments, the database system 105 and the security system 135 are implemented on a single server or on multiple servers, for example, the database system 105 and the security system 135 are different modules executing on the same server or set of servers.

[0043] Figure 2 is a block diagram illustrating a database system according to various embodiments of the present application. In some embodiments, database system 200 includes or corresponds to database system 105 of system 100 of Figure 1. System 200 may perform process 300 of Figure 3, process 500 of Figure 5, process 600 of Figure 6, process 700 of Figure 7, process 800 of Figure 8, process 900 of Figure 9, and / or process 1000 of Figure 10. System 200 may implement log 400 of Figure 4.

[0044] In the depicted example, system 200 implements one or more modules in connection with managing data in one or more datasets and / or monitoring user activity with respect to one or more datasets. System 200 includes a communications interface 205, one or more processors 210, storage 215, and / or memory 220. One or more processors 210 include one or more of a communications module 225, a task approval module 230, a task execution module 235, an information access module 240, a logging module 245, a log query module 250, an anomaly detection module 255, and / or a user interface module 260.

[0045] In some embodiments, the system 200 includes a communication module 225. The system 200 communicates with various client terminals or user systems (such as the user system 120, the user system 130, and / or the administrator system 125) using the communication module 225. For example, the communication module 225 provides the information to be communicated to the communication interface 205. As another example, the communication interface 205 provides information received by the system 200 to the communication module 225. The communication module 225 is configured to receive requests to perform one or more queries or tasks from the various client terminals or user systems, etc. The one or more queries or requests to perform a task relate to information stored in one or more datasets. The communication module 225 is configured to provide information (such as information responsive to the one or more queries or tasks requested to be performed) to the various client terminals or user systems. In some embodiments, the communication module 225 provides information to the various client terminals or user systems in the form of one or more reports and / or via one or more user interfaces (e.g., interfaces displayed by the user system 120).

[0046] In some embodiments, the system 200 includes a task approval module 230. According to various embodiments, the task approval module is implemented in the security system 135 of the system 100 of FIG. 1. The system 200 uses the task approval module 230 in connection with determining whether a task or query is permitted or approved. In some embodiments, in response to receiving a request to perform a task (e.g., in response to receiving a query), the system 200 uses the task approval module 230 in connection with determining whether a user is permitted to perform a task (e.g., permitted to request a task). The task approval module 230 determines whether a user is permitted to perform a task (e.g., permitted to request a task) based at least in part on a set of permissions associated with the user (e.g., the user's account, the user's job title, the user's attributes, etc.). In some embodiments, the task approval module 230 determines whether a task / query is permitted to be performed for a user based at least in part on performing a lookup on a mapping of permissions to tasks. In response to the task approval module 230 determining the permission of a task (e.g., a query), the system 200 executes the task. In response to determining that the task is not permitted, the system 200 restricts execution of the task. For example, the system 200 provides a notification indicating that the task is not permitted. In some embodiments, the notification includes a selectable element that allows the user to enter authentication information that, upon authorization, may allow the user to perform the task. In some embodiments, the system 200 provides a notification indicating that the task is not permitted to a client terminal or system (e.g., user system 120).

[0047] In some embodiments, the system 200 includes a task execution module 235. The system 200 uses the task execution module 235 to execute the task. For example, if the task is a query including one or more query parameters, the task execution module 235 executes the query on the corresponding one or more datasets, and the task execution module 235 determines information responsive to the query from among the information included in the one or more datasets. In some embodiments, the task execution module 235 determines information responsive to the execution of the task (e.g., a query) regardless of the user who issued the request to execute the task. For example, the system 200 further filters the information based on the user and / or user access permissions after first determining information responsive to the execution of the task. The task execution module 235 resolves the task parameters (e.g., a query string entered by a user) and executes the task based at least in part on at least some of the task parameters.

[0048] In some embodiments, the system 200 includes an information access module 240. The system 200 uses the information access module 240 to determine at least a portion of the information responsive to the execution of the task that the user is authorized to access (e.g., information authorized to be returned to the user). The information access module 240 is implemented by the database system 105 and / or the security system 135 of the system 100 of FIG. 1. In some embodiments, the information access module 240 provides information responsive to the execution of the task to the security system and receives a subset of such information that the user is authorized to access. For example, the security system filters the responsive information to include only such information to which the user has appropriate access permissions.

[0049] In some embodiments, the system 200 includes a logging module 245. The system 200 uses the logging module 245 to log user activity (e.g., user activity with respect to one or more data sets). In various embodiments, the logging module 245 is implemented by the database system 105 of the system 100 of FIG. 1 and / or the security system 135 of the system 100. According to various embodiments, the logging module 245 is configured to store one or more records of user activity with respect to one or more data sets. As an example, the one or more records are stored in a log. As another example, the one or more records are stored (e.g., temporarily) in a logging queue. In some embodiments, a number of records (e.g., information) in the logging queue are committed to the log as a batch, such as in response to one or more batch criteria being met. The one or more batch criteria are based at least in part on a threshold number of records in the logging queue, the time elapsed since the last commit of the records to the log, a date and / or time, etc. In various embodiments, the logging queue is stored locally or in a cache (e.g., the logging queue may be stored in security system 135), the logs are stored in remote and / or indexed storage (e.g., the logs may be stored in database system 125), or in any other suitable system. Queuing of records (e.g., queuing of user activity) and / or thread pool optimization allows logging of records for the views of many users (e.g., millions of users or more) without adversely impacting systems (e.g., systems that also retrieve and report on tenant data (e.g., customer employee records, etc.). According to various embodiments, the records contained in the log are immutable.

[0050] In some embodiments, the system 200 includes a log query module 250. The system 200 uses the log query module 250 to search the logs (e.g., perform queries on the logs). In various embodiments, the log query module 250 is implemented by the database system 105 of the system 100 of FIG. 1 and / or the security system 135 of the system 100. In some embodiments, the log query module 250 is configured to receive a request to perform a query or task on a log (e.g., a log of user activity). For example, the log query module 250 receives the request to perform a query or task, such as from the communication interface 205, and parses the request to perform the query or task to determine one or more parameters for querying or performing the task on the log. In response to receiving the request to perform a query or task on the log, the log query module 250 performs a query or task on the log. For example, the log query module 250 determines information responsive to the query or task from the corresponding log. The system 200 provides information responsive to a query or task to a user (e.g., to the user system 120, the administrator system 125, etc.). For example, the information responsive to a user query or task may be provided in a report.

[0051] In some embodiments, the system 200 includes an anomaly detection module 255. The system 200 uses the anomaly detection module 255 to detect anomalous behavior, such as anomalous user activity (e.g., anomalous queries, etc.) with respect to one or more data sets. In various embodiments, the anomaly detection module 255 is implemented by the database system 105 of the system 100 of FIG. 1 and / or the security system 135 of the system 100. The anomalous user activity is detected based at least in part on an analysis of records relating to user activity, such as records in a logging queue and / or records in a log (e.g., records committed from the logging queue to the log). According to various embodiments, the log of user activity is used in connection with determining data leakage and / or detecting anomalous behavior. In some embodiments, a machine learning process is used in connection with determining the anomalous behavior. For example, the machine learning process determines that a request to perform a task is anomalous. The determination that the task execution request is anomalous is based at least in part on a determination that information associated with the task execution request is a statistical anomaly with respect to the context in which the task execution request was made (e.g., the user requesting to perform the task, the location from which the task execution request was sent, the time the task execution request was received, a set of task execution requests received simultaneously with the determined anomalous task execution request, the set of task execution requests that includes the determined anomalous task execution request, etc.).

[0052] In some embodiments, system 200 includes a user interface module 260. System 200 employs user interface module 260 in connection with configuring information (or a display thereof) provided to a user, such as via user system 120, user system 130, and / or administrator system 125. User interface module 260 is implemented by database system 105 of system 100 of FIG. 1. In some embodiments, user interface module 260 configures a user interface that is displayed on a client terminal used by a user or administrator (such as an interface provided to a web browser at a client terminal). In some embodiments, user interface module 260 configures information provided to a user, such as configuring one or more reports of information responsive to a query or task performed with respect to database system 105 (e.g., a query or task performed on one or more data sets).

[0053] According to various embodiments, storage 215 includes one or more of file system data 265, task data 270, and / or log data 275. Storage 215 includes shared storage (e.g., a network storage system) and / or database data and / or user activity data. In some embodiments, file system data 265 includes a database, such as one or more datasets (e.g., one or more datasets for one or more tenants, etc.). File system data 265 includes data such as datasets for training machine learning processes, historical information about user activity, human resources databases, financial databases, etc. In some embodiments, task data 270 includes information about a task or query being performed and / or historical information of tasks or queries that have been performed. In some embodiments, log data 275 includes a log (e.g., a log of user activity). The log includes information indicative of a summary of information exposed to a user in connection with a query or task and / or pointers to information exposed to a user in connection with a query or task and / or information responsive to the query or task (e.g., as of the date and / or time the query / task was performed). Log data 275 stores indexed data, such as a log that is indexed according to one or more predefined fields, etc.

[0054] According to various embodiments, memory 220 includes application execution data 280. Application execution data 280 includes data obtained or utilized in connection with executing an application. In embodiments, the application includes one or more applications that perform one or more of: receiving and / or executing a query or task, generating a report and / or composing information responsive to an executed query or task, and / or providing information responsive to a query or task to a user. The other applications include any other suitable applications (e.g., index maintenance applications, communication applications, chat applications, web browser applications, document preparation applications, report preparation applications, user interface applications, data analysis applications, anomaly detection applications, user authentication applications, etc.).

[0055] FIG. 3 is a flow chart illustrating a method for logging user activity with respect to a database system, according to various embodiments of the present application. In some embodiments, process 300 is performed by at least a portion of system 100 of FIG. 1 and / or system 200 of FIG. 2. In some embodiments, process 300 is performed in conjunction with generating log 400 of FIG. 4. According to various embodiments, process 300 is performed by a security subsystem of a system that manages one or more data sets and / or software as a service. For example, process 300 is performed by security system 135 of system 100 of FIG. 1.

[0056] At step 310, a request to perform a task is received. In some embodiments, the request to perform a task is received from a user, such as via user input to a client terminal. For example, the request to perform a task is input by a user to user system 120 and / or user system 130. As another example, the request to perform a task is input by an administrator to administrator system 125. As another example, the request to perform a task is automatically initiated on behalf of the user, such as in connection with providing a dashboard or other user interface provided to the user (e.g., a dashboard report, such as a report showing vacation days offered for employees in an organization with which the user is associated). The request to perform a task may be received in response to a determination that a dashboard or other user interface provided to the user is refreshed, such as according to a predetermined schedule or refresh frequency. The request to perform a task may be received in response to a determination that the system automatically provides information to the user (e.g., information determined to be interesting, such as information determined to be outliers or statistically associated, information that the system infers that the user is likely to receive, such as based on the time of day, month, year, etc., information collected as the user's story (e.g., information providing an indication or summary of trends), etc.). As an example, the system may determine that information is interesting (or predicted to be interesting) to a user based on the user's context (e.g., the user interface through which the user navigated, the type of information the user is determined to review frequently during a particular date, week, month, or year, etc.), the system's context, or the context of the information responsive to the task (e.g., a determination that the information responsive to the task contains outliers or anomalies, such as the number of employees who will be taking vacations soon).

[0057] The task execution request includes one or more parameters related to the task. As an example, if the task is a query, the one or more parameters include a query string, etc. The one or more parameters related to the task include a task definition (e.g., a query string), an indication of a database (e.g., one or more datasets) on which the task is to be executed, etc. In some embodiments, the task execution request includes identification information, such as information identifying a user or terminal from which the task execution request is sent (e.g., a user identifier, a login name, an email address, an IP address, a MAC address, a terminal identifier, etc.) and / or authentication information associated with the user or terminal. As an example, if the task execution request is automatically initiated on behalf of a user, the system authenticates the user on whose behalf the task execution request is automatically initiated. For example, the task execution request includes authentication information associated with the user (e.g., a login identifier and / or a password).

[0058] At step 320, a determination is made as to whether the task is authorized for the user. In some embodiments, in response to receiving a request to perform a task, the system determines whether the task is authorized for the user (e.g., whether the user has the necessary permissions to perform the task). The determination of whether the task is authorized for the user is performed by an authorization or security system (e.g., a security subsystem), such as security system 135 of system 100 of FIG. 1. In some embodiments, the determination of whether the task is authorized for the user may be based at least in part on a set of permissions associated with the user (e.g., the user's account, the user's job title, the user's attributes, etc.). For example, the determination of whether the task is authorized for the user is based at least in part on a mapping of user permissions to tasks.

[0059] In response to determining at step 320 that the task is not approved for the user, process 300 proceeds to step 330 where an indication is provided to the user that the task is not approved. The system communicates to a client terminal (such as user system 120 of system 100 of FIG. 1) that an indication is provided to the user that the task is not approved. For example, the system causes the client terminal to display a prompt or indication that the requested task is not authorized. Process 300 then proceeds to step 380.

[0060] In response to determining at step 320 that the task is approved for the user, process 300 proceeds to step 340 where a set of information is obtained. In some embodiments, in response to determining that the task is approved, the system determines a set of information that is a result of performing the task. For example, if the task is a query, in response to determining that the query is approved for the user, the system runs the query against one or more appropriate datasets to determine a set of information responsive to the query.

[0061] According to various embodiments, obtaining the set of information includes the security system 135 querying a database system (e.g., database system 105 of system 100 of FIG. 1 ). The database system is queried based at least in part on one or more parameters included in or associated with the request to perform the task.

[0062] At step 350, a subset of the set of information to which the user has access permissions is determined. In response to obtaining the set of information, the system determines a subset of the set of information. The subset is determined based on a determination of which of the set of information (e.g., task results, such as information responsive to a query) the user has access permissions to. In some embodiments, a security subsystem (e.g., security system 135) determines whether the user has access permissions to the information based at least in part on a mapping of user permissions to information. In some embodiments, a security subsystem (e.g., security system 135) determines whether the user has access permissions to the information based at least in part on a determination that an object corresponding to the information (e.g., an information or information) includes an attribute or information indicating that the user has access permissions to such object. The subset of the set of information to which the user has access permissions corresponds to information the user touches in connection with performing a task.

[0063] At step 360, a record of the request to perform the task is stored. In some embodiments, the system stores a record of the request to perform the task and / or information touched or accessed by the user who requested the task to be performed (e.g., in response to the execution of the task). Storing the record creates a historical record of information accessed or touched by a particular user, such as in association with a particular request to perform the task. The record includes information identifying the user or terminal from which the request to perform the task originates (e.g., user identifier, login name, email address, IP address, MAC address, terminal identifier, etc.) and / or information identifying the user, such as authentication information associated with the user or terminal. In some embodiments, the record includes the date and / or time the task was requested and / or performed, the context of the terminal from which the request to perform the task originates, the type of task for which information was returned to the user, the subject of the information (e.g., individuals whose PII may have been exposed to or accessed by the user), etc. In some embodiments, the record includes information regarding the process that initiated the task. If a task request is automatically initiated on behalf of a user, such as in connection with providing a dashboard or other user interface presented to the user, the system stores information about the process that initiated the task request on behalf of the user and / or context regarding the automatic initiation of the task (e.g., an identifier associated with the process that initiated the task). In some embodiments, in such cases where a task request is automatically initiated, the record includes an identifier associated with the process that initiated the task and identifiers of one or more users whose information may have been exposed (e.g., users for whom the process automatically initiated the task).

[0064] At step 370, task results are provided. Providing the task results occurs simultaneously with storing the record of the request to perform the task. In some embodiments, the task results are provided in a report or in conjunction with populating a predefined or configurable template. According to various embodiments, the task results correspond to a subset of a set of information (e.g., information responsive to a query) to which the user has access permissions. The system causes a user interface of the client terminal to provide the task results, such as by causing the user interface to display a report that includes the subset of the set of information.

[0065] At step 380, a determination is made as to whether process 300 is complete. In some embodiments, process 300 is determined to be complete in response to a user indicating that no further queries or tasks will be performed, a user exiting the system, an administrator indicating that process 300 is paused or stopped, and / or a determination that anomalous behavior (e.g., anomalous user activity) is detected. In response to a determination that process 300 is complete, process 300 ends. In response to a determination that process 300 is not complete, process 300 returns to step 310.

[0066] 4 is a diagram illustrating a log of user activity for a database system in accordance with various embodiments of the present application. In the illustrated example, log 400 comprises a set of predefined fields, such as fields according to which information contained in log 400 may be indexed.

[0067] As shown in FIG. 4, the log 400 includes the following fields: a request time field 405, a system account field 410, an IP address field 415, a task field 420, a target information field 425, a subject information field 430, and / or an activity category field 435. According to various embodiments, the records included in the log are immutable. For example, the information stored in the fields of the records stored in the log does not change over time. As another example, the information stored in the fields of the records in the log is immutable. In some embodiments, the information stored in the fields of the records in the log does not change in conjunction with changes to the target information pointed to by the information stored in the field. For example, if the information stored in a field includes "executive compensation table" and the corresponding target information is renamed in the tenant system to correspond to "executive salary table," all previously logged records will still include "executive compensation table," and any future accesses to the target information will be logged to include the updated label of the target information. The log records capture user activity at some point in time when the user activity occurs.

[0068] The requested time field 405 contains date and / or time information about when a request to perform a task was received or when a task was performed.

[0069] System account field 410 contains account information for a user associated with a request to perform a task (eg, a user whose information has been revealed).

[0070] The IP address field 415 contains information associated with the location or address of the terminal from which the user accessed information or requested the performance of a task.

[0071] The task field 420 indicates a task corresponding to a request to perform a task. The task indicated in the task field 420 corresponds to a high-level task (e.g., a task that includes parameters for performing the task / performing a query). For example, the task may correspond to a data set or type of information against which a query is to be performed.

[0072] The target information field 425 includes information indicating a target of the execution of the task / query. For example, the target is a parameter of the request to execute the task. The target is an individual / user of a tenant, a set of information, or one or more features used to filter a superset of information associated with the task. As an example, if the task is a query, the information included in the target information field 425 includes one or more values ​​of a field or parameter used to define or limit the query. As another example, the target information field 425 indicates a database table to be queried. As another example, the target information field 425 indicates an object class or object attribute to be queried.

[0073] The subject information field 430 includes an indication of subject information that was exposed to the user in response to the execution of the task. In some embodiments, the subject information field 430 includes the particular subject information that was exposed to the user, or the type of subject information that was exposed to the user, or both. According to various embodiments, the subject information corresponds to confidential information about the tenant (e.g., PII of an individual or user associated with the tenant), proprietary information about the tenant, or the like. As an example, PII of an individual or user associated with the tenant (e.g., a particular target user or set of target users) is queried (e.g., a profile associated with the target user). As another example, the proprietary information about the tenant includes a particular tenant confidential information or set of tenant confidential information (e.g., business plans for new products, trade secrets, products, research programs, employees). As an example, if the subject information corresponds to PII of an individual or user associated with the tenant, the subject field 430 includes an indication of the individual or user whose information was exposed to the user in response to the execution of the task. An indication that a type of subject information was exposed to the user may include an indication that the subject information was PII, financial data, research and development data, intellectual property, etc. As another example, if the subject information corresponds to proprietary information regarding a tenant, subject field 430 includes the type or particular information that was exposed to the user in response to the performance of the task (e.g., PII of the individual or user to whom the information was exposed, of the particular tenant confidential information, etc.). As an example, as shown in the second line of log 400, subject information field 430 indicates that information regarding Jane Doe was accessed (e.g., information regarding Jane Doe was returned in connection with the performance of the corresponding task). As another example, as shown in the second line of log 400, subject information field 430 indicates that information regarding Jane Smith, Jane Doe, and John Doe was accessed (e.g., information regarding such individuals was returned in connection with the performance of the corresponding task).In some embodiments, the subject information field 430 is used to indicate the user or individual to whom PII was returned in response to the execution of the corresponding task. In some embodiments, the subject information field 430 is used to record / indicate the particular tenant secret information that was returned to the user in response to the execution of the corresponding task. As an example, in connection with the disclosure of information in a trade secret database / log to a user, the system records in the subject field of the record or transaction an indication of the particular trade secret that was revealed to the user (e.g., the project name associated with the trade secret, etc.). As an example, in connection with the disclosure of information regarding an R&D project (e.g., Project "Alpha") to a user, the system records in the subject field of the record or transaction an indication of the particular information that was revealed to the user (e.g., the design history file for element X of Project Alpha, the test results for element Y of Project Alpha, etc.).

[0074] The activity category field 435 includes an indication of the type of activity or action that was performed in connection with the performance of the task. Examples of types of activities include read, write, delete, copy, download, and other (e.g., security access denied request, file not found request, etc.).

[0075] According to various embodiments, log 400 provides information to limit the information provided to an authorized user based on the access permissions of the authorized user. As an example, log 400 points to information (e.g., information returned to a user in response to performing a task) but does not store a subset of a set of information returned to a user in response to a request to perform a task on a database. Log 400 includes links (e.g., hyperlinks) through which an authorized user can attempt to access the underlying information returned to the user in connection with performing a task. As an example, log 400 includes a selectable link 445 that links to information about employee Jane Doe (the organization's CFO). Thus, specific PII regarding Jane Doe is not displayed when log 400 is viewed / searched, but the system points to the underlying information regarding Jane Doe that is accessed by selection from an authorized user. In some embodiments, at least a portion of the log 400 is provided to another user (e.g., an administrator), and the log is provided to provide a selectable link (e.g., selectable link 440 or selectable link 445) to at least a portion of the subset of the set of information to which the log points. In response to receiving an input to select the selectable link, the system or method (e.g., a security or authorization module) determines whether the other user is authorized to access the information pointed to by the selectable link. For example, in response to selecting the selectable link 445 pointing to Jane Doe's information or the selectable link 440 pointing to the compensation table, a determination is made whether the task (e.g., viewing / accessing the underlying information) is authorized for the user who selected the corresponding selectable link (e.g., selectable link 440 or selectable link). In response to determining that the other user is authorized to access the information pointed to by the selectable link 445), the other user is authorized to access the information pointed to by the selectable link. For example, the system causes information / reports corresponding to such underlying information to be displayed on a user interface of the client terminal.

[0076] 5 is a flow chart illustrating a method for logging user activity with respect to a database system according to various embodiments of the present application. According to various embodiments, process 500 is performed in conjunction with step 320 of process 300 of FIG. 3. Process 500 is performed by a security subsystem of a system that manages one or more data sets and / or software as a service. For example, process 500 is performed by security system 135 of system 100 of FIG. 1.

[0077] At step 510, user access permissions are obtained. In some embodiments, the user access permissions are obtained from a mapping of permissions for the user. In some embodiments, the access permissions are obtained from a profile or user definition corresponding to the user (e.g., the user requesting the performance of the task). User access permissions are defined per user (e.g., based on a user identifier), per job title (e.g., whether the user is a manager, executive, legal staff, etc.), per department (e.g., whether the user is in legal, management, research and development, human resources, etc.), etc. Other permission settings or classifications for users may be used to set the permissions for the user or otherwise defined permission settings.

[0078] At step 520, task permissions are obtained. Task permissions correspond to permissions required to request execution of a task or to obtain results from execution of a task. In some embodiments, task permissions are obtained from a mapping of permissions to tasks. For example, task permissions are defined per user (e.g., based on a user identifier), per job title (e.g., whether the user is a manager, executive, legal staff, etc.), per department (e.g., whether the user is legal, executive, R&D, human resources, etc.), etc. Other permission settings or classifications for the user are used to set the permissions for the user or permission settings defined otherwise.

[0079] A determination is made whether the user has the necessary permissions for the task at step 530. In some embodiments, the system determines whether the user access permissions are consistent (e.g., not in conflict) with the permissions of the task.

[0080] In response to determining at step 530 that the user has the necessary permissions for the task, process 500 proceeds to step 540 where an indication is provided to the user that the task has been approved. In some embodiments, the indication is provided to process 300 of FIG. 3 that the user has been approved for the task.

[0081] In response to determining at step 530 that the user has the necessary permissions for the task, process 500 proceeds to step 550 where an indication is provided to the user that the task is not approved. In some embodiments, an indication is provided to the user that the task is approved to process 300 of FIG.

[0082] 6 is a flow chart illustrating a method for logging user activity with respect to a database system according to various embodiments of the present application. According to various embodiments, process 600 is performed in conjunction with step 350 of process 300 of FIG. 3. Process 600 is performed by a security subsystem of a system that manages one or more data sets and / or software as a service. For example, process 500 is performed by security system 135 of system 100 of FIG. 1.

[0083] At step 610, user access permissions are obtained. In some embodiments, the user access permissions are obtained from a mapping of permissions for the user. In some embodiments, the access permissions are obtained from a profile or user definition corresponding to the user (e.g., the user requesting the execution of the task). User access permissions are defined per user (e.g., based on a user identifier), per job title (e.g., whether the user is a manager, executive, legal staff, etc.), per department (e.g., whether the user is in legal, management, research and development, human resources, etc.), etc. Other permission settings or classifications for the user are used to set the permissions for the user or otherwise defined permission settings. User access permissions indicate a set of classes of objects or object attributes that the user has permission to access.

[0084] At step 620, objects in the set of information are obtained. In some embodiments, the one or more datasets on which the task is performed (e.g., the dataset on which the query is performed) include multiple objects. For example, the multiple objects each correspond to information in the one or more datasets. Each object in the one or more datasets has a corresponding unique object identifier. In some embodiments, each object is associated with a set of attributes that define the structure of the object.

[0085] At step 630, it is determined whether the object or attributes of the object match the user access permissions. In some embodiments, a security subsystem (such as security system 135) determines whether an object corresponding to the information (e.g., an information or pieces of information) includes or is associated with an attribute, class, or information that indicates that the user has permission to access such object. For example, the system determines whether the object includes or is associated with an attribute, class, or information that matches the user access permissions (e.g., the user has permission to access).

[0086] In response to determining at step 630 that the object or attributes of the object match the user access permissions, process 600 proceeds to step 640 where the object is added to the subset of information for which the user has access permissions. Process 600 then proceeds to step 650.

[0087] In response to determining at step 630 that the object or object attributes do not match the user access permissions, process 600 proceeds to step 650 .

[0088] At step 650, the system determines whether the set of information includes further objects for which the object or attributes of the object are determined to match the user access permissions. For example, process 600 iteratively determines for each object in the set of information (e.g., information responsive to a query, information resulting from the execution of a task, etc.) whether the user permissions match the permissions associated with the object (e.g., whether the object has a user or attributes that match the user permissions). The subset of information provided to the user in response to the execution of the task is constructed (e.g., determined) based on the iterative determination of matching user object permissions.

[0089] In response to determining at step 650 that the set of information includes additional objects for which it is determined whether the objects or attributes of the objects match the user access permissions, process 600 may return to step 620 .

[0090] In response to determining at step 650 that the set of information does not include additional objects for which objects or attributes of the objects are to be determined to match the user access permissions, process 600 may proceed to step 660 where a subset of the set of information for which the user has access permissions is provided. For example, the subset of the set of information is returned to step 350 of process 300 of FIG.

[0091] 7 is a flow chart illustrating a method for logging user activity with respect to a database system according to various embodiments of the present application. According to various embodiments, process 700 is performed in conjunction with step 360 of process 300 of FIG. 3. Process 700 is performed by a security subsystem of a system that manages one or more data sets and / or software as a service. For example, process 500 is performed by security system 135 of system 100 of FIG. 1.

[0092] At step 710, an instruction to create a new record is received. In some embodiments, the instruction to create a new record is received in association with receiving a request to perform a task. As an example, the record corresponds to a row in a log of user activity (such as log 400). The record includes information for one or more fields of the log of user activity. In some embodiments, the instruction to create a new record is received in response to determining a subset of a set of information responsive to the task execution / query, the subset corresponding to information in the set of information for which the user has access permissions. In some embodiments, in response to determining the subset of information to be returned or provided to the user, the system determines to create a new record. In some embodiments, in response to (or in association with) providing a result (e.g., a subset of information) related to the task.

[0093] At step 720, a record is created. For example, the system generates the record based at least in part on a request to perform a task and / or an outcome determined at least in part based on the performance of the task. According to various embodiments, the records included in the log are immutable.

[0094] In some embodiments, the record includes one or more predefined fields that are configurable, such as by an administrator or tenant associated with one or more data sets. Examples of the one or more predefined fields include, but are not limited to, a date and / or time the task was performed, an indication of a user associated with a request to perform the task (e.g., a user identifier, such as an employer number, username, email address, login identifier, etc.), an IP address from which a request to perform the task was sent, an identifier of a terminal from which a request to perform the task was sent, an indication of the type of task, an indication of the target of the type of information (e.g., a department associated with the information that may be returned, a category or subdivision for which information may be returned, a type of report requested, a parameter or value associated with a variable used in connection with a query or task execution, etc.), a subject of the information returned (e.g., an individual (executive) for whom corresponding information was returned, etc.), a type of activity performed (e.g., read, write, delete, etc.). Various other types of information are implemented as predefined fields.

[0095] At step 730, the record is stored in a set of uncommitted records. In some embodiments, a system (e.g., a security subsystem, such as security system 135 of system 100) stores the record in a logging queue. The logging queue contains a set of uncommitted records (e.g., records that have not been committed or stored in a log). The record is stored in the logging queue contemporaneously with the execution of the task (or contemporaneously with a request to execute the task).

[0096] At step 740, a determination is made as to whether one or more batch criteria are satisfied. The system decides whether to commit records to the logging queue based on whether one or more batch criteria are satisfied. Examples of batch criteria include, but are not limited to, a threshold number of records in the logging queue (e.g., a threshold number of records not yet committed to the log), the time, date and / or time elapsed since the last commit of records to the log, detection of anomalous behavior based at least in part on analysis of records in the logging queue, etc.

[0097] In some embodiments, the batch criteria are considered to be satisfied in response to a determination that the logging queue contains a number of records equal to or greater than a threshold number of records. In some embodiments, the batch criteria are considered to be satisfied in response to a determination that a threshold amount of time has elapsed since the last commit of a record in the logging queue. Various other criteria are implemented as one or more batch criteria.

[0098] In response to determining at step 740 that the one or more batch criteria are satisfied, process 700 proceeds to step 750 where the set of records is committed to a database system. In some embodiments, committing the set of records to the database system includes storing the set of records in a log. Storing the set of records in a log includes updating the log to include the set of records. The log is stored in association with one or more datasets. For example, the log is stored in database system 105 of system 100 of FIG. 1. Committing the set of records as a batch (e.g., as opposed to committing records as they are generated) improves or optimizes the cost of posting logging information related to subject information associated with a request to perform a task (e.g., the cost of posting records for a task). In some embodiments, the one or more batch criteria are configured based on a cost function and / or optimization of the commit of records to the log (e.g., to satisfy one or more cost value thresholds of a cost function associated with committing the one or more records to the log and fulfilling queries and tasks from other users related to the one or more datasets).

[0099] FIG. 8 is a flow chart illustrating a method for querying a log of user activity on a database according to various embodiments. According to various embodiments, the log is searchable for subject information exposed to a user in association with the execution of a task. In some embodiments, the subject information corresponds to confidential information about the tenant (such as PII of an individual or user associated with the tenant), proprietary information about the tenant, or the like. As an example, PII of an individual or user associated with the tenant (such as a particular target user or set of target users) is queried (e.g., a profile associated with the target user). As another example, the proprietary information about the tenant includes a particular tenant confidential information or set of tenant confidential information (e.g., business plans, trade secrets, products, research programs, employees for a new product). Recording information about user queries and / or subject information associated with the execution of a task provides broader content in recording user activity. For example, a log according to various embodiments provides information indicative of information exposed to a user (e.g., returned to the user as a result for a query) rather than merely an indication of the executed query, which would require restoring data regarding the date and / or time of the query, re-executing the query, and retrieving the results. The logs are searchable and / or indexed according to one or more predefined fields that provide context for the records or tasks performed, so that authorized users (administrators or other users authorized to view and / or utilize the logs) can efficiently and effectively analyze users' historical activities and the system can detect anomalous behavior in a timely manner.

[0100] At step 805, a query for a log of user activity is received. According to various embodiments, the log is searchable by authorized users, such as an administrator user (e.g., an administrator for a tenant associated with the corresponding data set or data sets) and / or other users having necessary permissions, such as access permissions to read / view the log. In some embodiments, a user enters a query (e.g., query parameters for the query) into a client terminal (e.g., a user interface provided by the client terminal (e.g., user system 120 and / or administrator system 125 of system 100)).

[0101] According to various embodiments, the query includes one or more query parameters. The one or more query parameters include values ​​corresponding to one or more fields of the log. For example, the one or more query parameters include one or more indications of a user, a subject or subject information, a date and / or time (e.g., a date or time when the task was requested and / or performed), an identifier associated with the terminal from which the task was requested (e.g., an IP address, a MAC address, etc.), an indication of target information, an activity category, etc. According to various embodiments, the one or more query parameters include any combination of the above and the like.

[0102] At step 810, a determination is made as to whether the task is authorized for the user. In some embodiments, in response to receiving a request to perform a task, the system determines whether the task is authorized for the user (e.g., whether the user has the necessary permissions to perform the task). The determination of whether the task is authorized for the user is performed by an authorization or security system (e.g., a security subsystem), such as security system 135 of system 100 of FIG. 1. In some embodiments, the determination of whether the task is authorized for the user may be based at least in part on a set of permissions associated with the user (e.g., the user's account, the user's job title, the user's attributes, etc.). For example, the determination of whether the task is authorized for the user may be based at least in part on a mapping of user permissions (e.g., permission to query / search logs of user activity) to tasks.

[0103] In response to determining at step 810 that the task is not approved for the user, process 800 proceeds to step 840 where an indication is provided to the user that the task is not approved. The system communicates to a client terminal (such as user system 120 of system 100 of FIG. 1) that an indication is provided to the user that the task is not approved. For example, the system causes the client terminal to display a prompt or indication that the requested task is not authorized. Process 800 then proceeds to step 860.

[0104] In response to determining at step 810 that the task is approved for the user, process 800 proceeds to step 815 where log information related to the query is obtained. Obtaining log information related to the query includes determining information responsive to the query. For example, the query is executed against one or more data sets associated with the query to obtain log information related to the query. The log information related to the query is determined based at least in part on one or more parameters included in (or communicated in association with) the query.

[0105] At step 820, a report of the log information for the query is generated. In some embodiments, generating the report includes populating a report template with at least the log information for the query. The report template is configured at least in part based on one or more of the query, one or more parameters associated with the query, and the log information for the query.

[0106] The report is provided in response to the query, e.g., the system causes the client terminal to display the report, e.g., the system configures a user interface displayed on the client terminal (e.g., a page in a web browser) to display the report.

[0107] According to various embodiments, the query log information provides information to limit the information provided to an authorized user based on the authorized user's access permissions. As an example, the query log information points to information (e.g., information returned to a user in response to performing a task) but does not display a subset of a set of information returned to a user in response to a request to perform a task on a database. The query log information provided to a user includes links (e.g., hyperlinks) through which an authorized user may attempt to access underlying information returned to the user in connection with performing a task. As an example, a selectable link used in connection with providing the query log information corresponds to selectable link 445 of log 400 of FIG. 4, where the selectable link links to information about employee Jane Doe (the organization's CFO). Thus, specific PII regarding Jane Doe is not displayed when log 400 is viewed / searched, but the system points to underlying information regarding Jane Doe that is accessed by selection from an authorized user. In some embodiments, a report may correspond to a filtered version of a log (e.g., log 400). A filtered version of the log returns only records that match (e.g., respond to) a query.

[0108] At step 825, user input is received regarding a selection of an element to be associated with the report. In some embodiments, the user input is received at a client terminal (e.g., user system 120, administrator system 125, user system 130, etc.), and the client terminal communicates the user input (or an indication thereof) to a system (e.g., security system 135, etc.), which receives the user input. The user input is communicated to the system (e.g., security system 135, etc.). As one example, in response to receiving the user input selection, a request to perform a task may be generated (e.g., by the client terminal, etc.) and communicated to the system (e.g., security system 135, etc.). As another example, in response to receiving the user input selection, the client terminal communicates an indication of the user input.

[0109] At step 830, the user input is determined to be associated with a request to perform a task. According to various embodiments, in response to receiving the user input, the system determines that the user input corresponds to a user selection to perform a task. For example, in response to receiving user input corresponding to a selection of a selectable link, the system determines that the user is requesting to perform a task to access information corresponding to the selectable link (e.g., information to which the selectable link points). In the example of selectable link 445 in log 400 of FIG. 4, the selection of the selectable link corresponds to a request to view information regarding Jane Doe (CFO) (e.g., view a user profile corresponding to Jane Doe, view Jane Doe's PII, etc.).

[0110] At step 835, a determination is made as to whether the task is authorized for the user (e.g., an authorized user viewing / utilizing the log). In some embodiments, in response to receiving a request to perform a task, the system determines whether the task is authorized for the user (e.g., whether the user has the necessary permissions to perform the task). The determination of whether the task is authorized for the user is performed by an authorization or security system (e.g., a security subsystem), such as security system 135 of system 100 of FIG. 1. In some embodiments, the determination of whether the task is authorized for the user is based at least in part on a set of permissions associated with the user (e.g., the user's account, the user's job title, the user's attributes, etc.). For example, the determination of whether the task is authorized for the user is based at least in part on a mapping of user permissions (e.g., permission to query / search the log of user activity) to the task. As another example, the system determines whether a user viewing a log (or a report on the log of user activity) has access permissions to perform a task, such as viewing information underlying a selectable link (e.g., information returned to the user corresponding to an associated record in the log).

[0111] In response to determining at step 835 that the task is not approved for the user, process 800 proceeds to step 840 where an indication is provided to the user that the task is not approved. The system communicates to a client terminal (such as user system 120 of system 100 of FIG. 1) that an indication is provided to the user that the task is not approved. For example, the system causes the client terminal to display a prompt or indication that the requested task is not authorized. Process 800 then proceeds to step 860.

[0112] In response to determining at step 835 that the task is approved for the user, process 800 may proceed to step 845 where a set of information is obtained. The set of information corresponds to information responsive to a request to perform a task associated with the user input. For example, in response to a user selecting a selectable element that points to underlying information (e.g., a selectable link in a user profile, such as Jane Doe's profile, in response to selecting selectable element 445), the system generates a task / query to access the underlying information and executes the task / query to obtain the underlying information (e.g., information contained in the user profile, such as the user's PII).

[0113] At step 850, a subset of the set of information to which the user has access permissions is determined. In response to obtaining the set of information, the system determines a subset of the set of information. The subset is determined based on a determination of which of the set of information (e.g., task results, such as information responsive to a query) the user has access permissions to. In some embodiments, a security subsystem (e.g., security system 135) determines whether the user has access permissions to the information based at least in part on a mapping of user permissions to information. In some embodiments, a security subsystem (e.g., security system 135) determines whether the user has access permissions to the information based at least in part on a determination that an object corresponding to the information (e.g., an information or pieces of information) includes an attribute or information indicating that the user has access permissions to such object. The subset of the set of information to which the user has access permissions corresponds to information the user touches in connection with performing the task.

[0114] At step 855, task results are provided. For example, providing the task results is performed simultaneously with storing the record of the request to perform the task. In some embodiments, the task results are provided in a report or in conjunction with populating a predefined or configurable template. According to various embodiments, the task results correspond to a subset of a set of information (e.g., information responsive to a query) to which the user has access permissions. The system causes a user interface of the client terminal to provide the task results, such as by causing the user interface to display a report that includes the subset of the set of information.

[0115] At step 860, a determination is made as to whether process 800 is complete. In some embodiments, process 800 is determined to be complete in response to a user indicating that no further queries or tasks are to be performed, a user exiting the system, an administrator indicating that process 800 is paused or stopped, and / or a determination that anomalous behavior (e.g., anomalous user activity) is detected. In response to a determination that process 800 is complete, process 800 ends. In response to a determination that process 800 is not complete, process 800 returns to step 805.

[0116] 9 is a flow chart illustrating a method for querying a log of user activity on a database according to various embodiments. In some embodiments, the log is searchable by authorized users of the database system. In some embodiments, the log points to information but does not store a subset of the set of information that is returned to a user in response to a request to perform a task on the database.

[0117] According to various embodiments, the system provides at least a portion of the log to the other user, where the log is provided to provide a selectable link to at least a portion of the set of information to which the log points. In response to receiving an input to select the selectable link, the system (e.g., a security system) determines whether the other user is authorized to access the information to which the selectable link points. In response to determining that the other user is authorized to access the information to which the selectable link points, the system provides the access information to which the selectable link points to the other user. In some embodiments, an authorized user queries the log based at least in part on an identifier of the user. In some embodiments, an authorized user queries the log based at least in part on an identifier associated with information returned for one or more tasks whose records are stored in the log. In some embodiments, an authorized user queries the log based at least in part on a type of information returned to the user in response to a request to perform a task.

[0118] At step 910, a log activity query is received. In some embodiments, the query pertains to specific information returned in association with a logged task. The log activity query is received from a user (such as an administrator or another user auditing user activity). As one example, the log activity query corresponds to a query of a specific user (or set of users) activity. As another example, the log activity query corresponds to a query of tasks that returned information associated with a specific user (e.g., an executive of a tenant, etc.). For example, the administrator may seek to determine which users viewed information about a specific individual (e.g., an executive). In some embodiments, the query includes one or more parameters related to dates and / or times associated with user activity. For example, the administrator seeks to determine which users exposed or accessed subject information, such as specific information (e.g., executive compensation, individual PII, information about an executive, specific trade secret records, specific business plans or research results, etc.) within a specific time period. According to various embodiments, the records included in the log are immutable. As an example, the log includes a secure and consistent record of user activity with respect to tenant sensitive information stored in one or more underlying datasets.

[0119] At step 920, a determination is made as to whether the task is authorized for the user. For example, the system determines whether the user associated with the task is an authorized user (e.g., an administrator or other user with permission to view and / or utilize the log). In some embodiments, in response to receiving a request to perform a task, the system determines whether the task is authorized for the user (e.g., whether the user has the necessary permissions to perform the task). The determination of whether the task is authorized for the user is performed by an authorization or security system (e.g., a security subsystem), such as security system 135 of system 100 of FIG. 1. In some embodiments, the determination of whether the task is authorized for the user is based at least in part on a set of permissions associated with the user (e.g., the user's account, the user's job title, the user's attributes, etc.). For example, the determination of whether the task is authorized for the user is based at least in part on a mapping of user permissions (e.g., permission to query / search logs of user activity) to tasks. As another example, the system determines whether a user viewing a log (or a report on a log of user activity) has permission to perform a task such as viewing information underlying a selectable link (e.g., information returned to the user that corresponds to an associated record in the log).

[0120] In response to determining at step 920 that the task is not approved for the user, process 900 proceeds to step 930 where an indication is provided to the user that the task is not approved. The system communicates to a client terminal (such as user system 120 of system 100 of FIG. 1) that an indication is provided to the user that the task is not approved. For example, the system causes the client terminal to display a prompt or indication that the requested task is not authorized. Process 900 then proceeds to step 970.

[0121] In response to determining at step 920 that the task is approved for the user, process 900 proceeds to step 940 where log information regarding the query is obtained. One set of information corresponds to information responsive to a request to perform a task associated with a user input. For example, in response to a user selecting a selectable element that points to underlying information (e.g., a selectable link in a user profile, such as Jane Doe's profile, in response to selecting selectable element 445), the system generates a task / query to access the underlying information and executes the task / query to obtain the underlying information (e.g., information contained in the user profile, such as the user's PII).

[0122] At step 950, a report of the log information responsive to the query is generated. In some embodiments, the report of the log information responsive to the query is generated based at least in part on a predefined template. The predefined template is configured at least in part on parameters associated with the task (e.g., the query). For example, the report template is configured to include one or more particular fields based at least in part on one or more parameters of the query. As another example, the report is configured to exclude one or more particular fields based at least in part on one or more parameters of the query (e.g., fields not relevant to the query may be excluded, etc.).

[0123] At step 960, a report of the log information responsive to the query is provided. In some embodiments, the report of the log information responsive to the query is provided to a user (e.g., via a client terminal, such as user system 120, administrator system 125, and / or user system 130). As an example, a system (e.g., database system 105, security system 135, etc.) may cause a user interface of the client terminal to display the report or information contained in the report.

[0124] At step 970, a determination is made as to whether process 900 is complete. In some embodiments, process 900 is determined to be complete in response to a user indicating that no further queries or tasks are to be performed, a user exiting the system, an administrator indicating that process 900 is paused or stopped, and / or a determination that anomalous behavior (e.g., anomalous user activity) is detected. In response to a determination that process 900 is complete, process 900 ends. In response to a determination that process 900 is not complete, process 900 returns to step 910.

[0125] 10 is a flow chart illustrating a method for detecting anomalous user activity with respect to access to a database system. According to various embodiments, recording or logging of user activity is used in connection with detecting anomalous user activity.

[0126] At step 1010, a set of historical access activity is obtained. In some embodiments, the set of historical access activity corresponds to activity with respect to one or more datasets for a particular tenant. In some embodiments, the set of historical access activity may correspond to activity across multiple tenants. The set of historical access activity includes records of user activity (e.g., user queries, requests to perform tasks, types of information exposed to or accessed by users, etc.). The set of historical activity includes contextual data about the records (e.g., location, time, date, user job title, etc.).

[0127] At step 1020, a machine learning process is trained based at least in part on the set of historical access activities. In some embodiments, training the machine learning process trains the machine learning process with respect to defining normal user activity with respect to a dataset (e.g., a particular tenant's dataset, etc.). Alternatively or additionally, training the machine learning process trains the machine learning process with respect to defining abnormal or anomalous user activity with respect to the dataset. For example, a set of user activities that have been predefined to correspond to abnormal or anomalous is used in training the machine learning process to define abnormal or anomalous user activity.

[0128] At step 1030, a request to perform a task is received. In some embodiments, the request to perform a task includes a request to access a database storing PII or tenant-sensitive information. In some embodiments, the request to perform a task comprises a request to access PII of another user (e.g., an individual associated with the tenant). In some embodiments, the request to perform a task includes a request to access tenant-sensitive information. In some embodiments, the request to perform a task is received from a user, such as via user input to a client terminal. For example, the request to perform a task is entered by a user into user system 120 and / or user system 130. As another example, the request to perform a task is entered by an administrator into administrator system 125. As another example, the request to perform a task is automatically initiated on behalf of a user, such as in connection with providing a dashboard or other user interface provided to the user (e.g., a dashboard report, such as a report showing vacation days offered for employees in an organization with which the user is associated). The request to perform a task may be received in response to a determination that a dashboard or other user interface provided to the user is to be refreshed, such as according to a predetermined schedule or refresh frequency. A request to perform a task may be received in response to a decision by the system to automatically provide information to the user (such as information determined to be interesting, e.g., information determined to be an outlier or statistically associated, information that the system estimates the user is likely to receive, such as based on the time of day, month, year, etc., information collected as the user's story (such as information that provides an indication of trends or summaries), etc.).

[0129] As one example, the request to perform the task includes a request to view a user profile corresponding to the target user associated with the tenant. The user profile stores the PII of the target user, such as job title, address, compensation, etc. As another example, the request to perform the task includes a request to view a trade secret log associated with the tenant. The trade secret log may store information regarding trade secrets associated with the tenant's products or processes, or financial information such as cost, profit, etc. As another example, the request to perform the task includes a request to view a design of a product or part of a product. The design of the product or part of a product may include a design history file, etc. In some embodiments, the design of the product, etc. is tenant confidential information. As another example, the request to perform the task includes a request to view financial information associated with the tenant.

[0130] The task execution request includes one or more parameters related to the task. As an example, if the task is a query, the one or more parameters include a query string, etc. The one or more parameters related to the task include a task definition (e.g., a query string), an indication of a database (e.g., one or more datasets) on which the task is to be executed, etc. In some embodiments, the task execution request includes identification information, such as information identifying a user or terminal from which the task execution request is sent (e.g., a user identifier, a login name, an email address, an IP address, a MAC address, a terminal identifier, etc.) and / or authentication information associated with the user or terminal. As an example, if the task execution request is automatically initiated on behalf of a user, the system authenticates the user on whose behalf the task execution request is automatically initiated. For example, the task execution request includes authentication information associated with the user (e.g., a login identifier and / or a password).

[0131] At step 1040, a determination is made whether the task is anomalous. In some embodiments, the system determines whether the task is anomalous based at least in part on a machine learning process. For example, a machine learning process is used to determine whether the task is within a definition of normal user activity or whether the task is within a definition of anomalous user activity. The determination whether the task is anomalous is based at least in part on the task, the user who requested the task, and the context associated with the user (e.g., when the task was requested (e.g., on a weekend or in the middle of the night), where the request was made (e.g., an IP address associated with a location around the world away from where the user is typically located), whether the type of information requested / accessed is a type of information not typically accessed by the user or similarly situated users).

[0132] In some embodiments, determining whether a task is anomalous includes determining a likelihood that the task / user activity corresponds to a normal user activity and / or determining a likelihood that the task corresponds to an anomalous user activity. In some embodiments, the user activity is deemed to be a normal activity in response to a determination that the task / user activity may be within a threshold range associated with normal activity. In some embodiments, the user activity is deemed to be an anomalous activity in response to a determination that the task / user activity may not be within a threshold range associated with normal activity. In some examples, the threshold range associated with normal activity is set by a machine learning method (e.g., based on training of the machine learning method). In some examples, the threshold range associated with normal activity is set by an administrator (e.g., an administrator of a tenant) based on a risk threshold (e.g., the amount of risk a tenant is willing to take when allowing a user activity, the sensitivity of anomaly detection desired by the tenant, etc.). In some embodiments, the user activity is deemed to be an anomalous activity in response to a determination that the task / user activity may be within a threshold range associated with anomalous activity. In some examples, the threshold range associated with normal activity or the threshold range associated with anomalous activity is set by a machine learning method (e.g., based on training of the machine learning method). In some examples, the threshold ranges associated with normal activity or the threshold ranges associated with anomalous activity are set by an administrator (e.g., a tenant administrator) based on a risk threshold (e.g., the amount of risk a tenant is willing to take when allowing user activity, the sensitivity of anomaly detection desired by the tenant, etc.).

[0133] In response to determining at step 1040 that the task is anomalous, process 1000 proceeds to step 1050 where a proactive measure is taken. Examples of proactive measures include notifying an administrative user, notifying one or more specific users associated with the tenant (e.g., a data privacy officer, a human resources officer, an executive, etc.), restricting access rights of users for whom anomalous behavior was detected (e.g., restricting future queries or execution of tasks related to database system 125, etc., at least until such restrictions are lifted by the administrative user). In some embodiments, the one or more proactive measures are automatically taken in response to detection of the anomalous behavior. In some embodiments, a prompt is provided to the administrative user for initiation of the one or more proactive measures. For example, the prompt includes a notification of the anomalous behavior, a recommendation for one or more proactive measures to be taken, and / or a selectable element for initiating the proactive measures. Process 1000 then proceeds to step 1070.

[0134] In response to determining at step 1040 that the task is not anomalous, process 1000 proceeds to step 1060 where the task is executed. For example, if the task is a query, the query is executed against the corresponding one or more datasets. In some embodiments, in response to executing the task, a result of the execution of the task is returned to the user who requested the execution of the task. For example, the system causes the user's client terminal (e.g., a user interface displayed on the client terminal, such as a page in a web browser) to display the result of the execution of the task. As another example, the system generates a report including the result of the execution of the task and provides the report to the client terminal. Process 1000 then proceeds to step 1070.

[0135] At step 1070, the machine learning process is updated based at least in part on the request to perform the task. In some embodiments, a model associated with detecting anomalous user activity is updated based on the task or the request to perform the task and a determination of whether the task is anomalous. The model is updated continuously / dynamically as additional user activity is monitored.

[0136] At step 1080, a determination is made as to whether 1000 is complete. In some embodiments, process 1000 is determined to be complete in response to a user indicating that no further queries or tasks are to be performed, a user exiting the system, an administrator indicating that process 1000 is paused or stopped, and / or a determination that anomalous behavior (e.g., anomalous user activity) is detected. In response to a determination that process 1000 is complete, process 1000 ends. In response to a determination that process 1000 is not complete, process 1000 returns to step 1030.

[0137] 11 is a flow chart illustrating a method for detecting anomalous user activity with respect to access to a database system. According to various embodiments, recording or logging of user activity is used in connection with detecting anomalous user activity.

[0138] At step 1110, a set of historical access activity is obtained. In some embodiments, the set of historical access activity corresponds to activity with respect to one or more datasets for a particular tenant. In some embodiments, the set of historical access activity may correspond to activity across multiple tenants. The set of historical access activity includes records of user activity (e.g., user queries, requests to perform tasks, types of information exposed to or accessed by users, etc.). The set of historical activity includes contextual data about the records (e.g., location, time, date, user job title, etc.).

[0139] At step 1120, a machine learning process is trained based at least in part on the set of historical access activities. In some embodiments, training the machine learning process trains the machine learning process with respect to defining normal user activity with respect to a dataset (e.g., a particular tenant's dataset, etc.). Alternatively or additionally, training the machine learning process trains the machine learning process with respect to defining abnormal or anomalous user activity with respect to the dataset. For example, a set of user activities that have been predefined to correspond to abnormal or anomalous is used in training the machine learning process to define abnormal or anomalous user activity.

[0140] At step 1130, a record in the log is selected. In some embodiments, the log records information regarding user activity (e.g., user activity with respect to one or more datasets associated with a tenant). In some embodiments, the log regarding the recorded user activity includes information indicative of at least a subset of information or types of information that may have been exposed to a user in connection with the user performing a task with respect to one or more datasets. As an example, the log includes records of user activity with respect to tasks that may have exposed personal information or tenant sensitive information stored in the one or more datasets for which the task was performed. As an example, the log is searchable in connection with determining information or types of information that may have been exposed (e.g., returned) to a user in connection with the tasks performed.

[0141] According to various embodiments, the log includes information regarding the activities of multiple users on one or more datasets associated with the tenant. In some embodiments, the log includes a record of all user activities (e.g., tasks performed) on one or more datasets associated with the tenant. According to various embodiments, the records included in the log are immutable.

[0142] At step 1140, a determination is made whether the task or task execution request corresponding to the selected record is anomalous. In some embodiments, the system determines whether the task or task execution request corresponding to the selected record is anomalous based at least in part on a machine learning process. For example, a machine learning process is used to determine whether the task or task execution request is within a definition of normal user activity or whether the task is within a definition of anomalous user activity. The determination of whether the task is anomalous is based at least in part on the task, the user who requested the task, and the context associated with the user (e.g., when the task was requested (e.g., on a weekend or in the middle of the night), where the request was made (e.g., an IP address associated with a location around the world away from the user's usual location), whether the type of information requested / accessed is a type of information not typically accessed by the user or similarly situated users, whether the task or task execution request is included in a set or series of tasks or tasks that collectively correspond to anomalous activity). As an example, anomalous activity corresponding to a set or series of tasks may include requesting multiple reports associated with tenant sensitive information within a given time period. As an example, anomalous activity corresponding to a set or series of tasks may include requesting multiple reports associated with tenant-sensitive information within a predetermined time period and responsively downloading the reports to a client system from which the user is accessing the reports after at least some of the requests to view the reports. As an example, anomalous activity corresponding to a set or series of tasks may include requesting multiple reports associated with tenant-sensitive information within a predetermined time period and responsively copying or clipping (e.g., capturing screenshots, excerpts, etc.) information from the reports after at least some of the requests to view the reports.

[0143] In some embodiments, the determination made regarding whether a task is anomalous includes determining a likelihood that the task / user activity corresponds to a normal user activity and / or determining a likelihood that the task corresponds to an anomalous user activity. In some embodiments, the user activity is deemed to be a normal activity in response to a determination that the task / user activity may be within a threshold range associated with normal activity. In some embodiments, the user activity is deemed to be an anomalous activity in response to a determination that the task / user activity may not be within a threshold range associated with normal activity. In some examples, the threshold range associated with normal activity is set by a machine learning method (e.g., based on training of the machine learning method). In some examples, the threshold range associated with normal activity is set by an administrator (e.g., an administrator of a tenant) based on a risk threshold (e.g., the amount of risk a tenant is willing to take in allowing a user activity, the sensitivity of anomaly detection desired by the tenant, etc.). In some embodiments, the user activity is deemed to be an anomalous activity in response to a determination that the task / user activity may be within a threshold range associated with anomalous activity. In some examples, the threshold range associated with normal activity or the threshold range associated with anomalous activity is set by a machine learning method (e.g., based on training of the machine learning method). In some examples, the threshold ranges associated with normal activity or the threshold ranges associated with anomalous activity are set by an administrator (e.g., a tenant administrator) based on a risk threshold (e.g., the amount of risk a tenant is willing to take when allowing user activity, the sensitivity of anomaly detection desired by the tenant, etc.).

[0144] In response to determining at step 1140 that the task is anomalous, process 1100 proceeds to step 1150 where a proactive measure is taken. Examples of proactive measures include notifying an administrative user, notifying one or more specific users associated with the tenant (e.g., a data privacy officer, a human resources officer, an executive, etc.), restricting access rights of users for whom anomalous behavior was detected (e.g., restricting future queries or execution of tasks related to database system 125, etc., at least until such restrictions are lifted by the administrative user). In some embodiments, the one or more proactive measures are automatically taken in response to detection of the anomalous behavior. In some embodiments, a prompt is provided to the administrative user for initiation of the one or more proactive measures. For example, the prompt includes a notification of the anomalous behavior, a recommendation for one or more proactive measures to be taken, and / or a selectable element for initiating the proactive measures. Process 1100 then proceeds to step 1160.

[0145] In response to determining at step 1140 that the task is not abnormal, process 1100 proceeds to step 1160 .

[0146] At step 1160, a determination is made as to whether process 1100 is complete. In some embodiments, process 1100 is determined to be complete in response to a determination that analysis of the logs is complete, a user has exited the system, an administrator has indicated that process 1000 is paused or stopped, and / or anomalous behavior (e.g., anomalous user activity) has been detected. In response to a determination that process 1100 is complete, process 1100 ends. In response to a determination that process 1100 is not complete, process 1100 returns to step 1130.

[0147] Various examples of the embodiments described herein are described with reference to flow charts. Although the examples may include some operations performed in a particular order, according to various embodiments, various operations may be performed in different orders and / or various operations may be combined into a single operation or performed in parallel.

[0148] Although the above embodiments have been described in some detail for ease of understanding, the invention is not limited to the details provided. There are many alternative ways of implementing the invention. The disclosed embodiments are illustrative and are not intended to be limiting.

Claims

1. 1. A system comprising: One or more processors, receiving a request to perform a task relating to a database, the request being associated with an identifier corresponding to a user associated with the request; determining whether the task is authorized for the user; responsive to determining that the task is authorized for the user, obtaining a set of return information for the task; determining a subset of the set of information, the subset of the set of information including one or more portions of the set of information to which the user has access permissions; one or more processors configured to store a record of the request to perform the task, the record including a representation of the user and a representation of a subset of the set of information; one or more memories coupled to the one or more processors and configured to provide instructions to the one or more processors; A system comprising:

2. 2. The system of claim 1, wherein the record further includes one or more of the following: a time or date that the request to perform the task was received, or a time or date that the set of information that the user is authorized to access was provided to the user.

3. 2. The system of claim 1, wherein storing the records comprises: storing information about the record in a logging queue, the logging queue including record information about a plurality of records respectively corresponding to execution requests of a plurality of tasks; determining that one or more batch criteria associated with committing the records have been satisfied; committing record information to a log related to the record in the logging queue in response to determining that the one or more batch criteria associated with committing the record have been satisfied.

4. 4. The system of claim 3, wherein the log is searchable by other users of a database system who have permission to view or use the log.

5. 5. The system of claim 4, wherein the authorized user may query the log based at least in part on one or more types of information returned for one or more tasks whose records are stored in the log.

6. 4. The system of claim 3, wherein the log points to, but does not store, the subset of the set of information returned to the user in response to the request to perform the task on the database.

7. 4. The system of claim 3, the log is searchable by authorized users of a database system; the log points to, but does not store, the subset of the set of information returned to the user in response to the request to perform the task on the database; The one or more processors further include: providing at least a portion of the log to another user, the log being provided to provide selectable links to at least a portion of the subset of the set of information to which the log points; In response to receiving an input for selecting the selectable link, determining whether the other user is authorized to access a link to information pointed to by the selectable link; The system is configured to provide the other user with the access link to the information pointed to by the selectable link in response to determining that the other user is authorized to access the link to the information pointed to by the selectable link.

8. 4. The system of claim 3, the log is searchable by other users of a database system, the other users having permission to view or use the log; The other users may query the log based at least in part on the user's identifier.

9. 4. The system of claim 3, the log is searchable by other users of a database system, the other users having permission to view or use the log; The other users may query the log based at least in part on an identifier associated with the set of information returned for the task whose record is stored in the log.

10. 4. The system of claim 3, the log is searchable by other users of a database system, the other users having permission to view or use the log; The other users may query the log based at least in part on the type of the set of information returned to the user in response to the request to perform the task.

11. The system of claim 3 , wherein the one or more batch criteria include a number of records whose information is stored in a logging queue.

12. 4. The system of claim 3, wherein the one or more processors further comprise: applying a machine learning process to analyze the log for the purpose of detecting anomalies related to tasks requested by members of an organization associated with the database system; The system is configured to perform a proactive response in response to detecting the anomaly.

13. 13. The system of claim 12, wherein the machine learning process is trained with historical information regarding a plurality of tasks requested by a plurality of users of the database system.

14. 2. The system of claim 1, wherein the set of information includes user or employee information for one or more users or employees of a tenant associated with the database system.

15. 2. The system of claim 1, wherein determining the subset of information includes determining whether the user has an access permission associated with one of the set of information.

16. 16. The system of claim 15, determining whether the user has access permissions associated with one of the set of information comprises determining access permissions associated with one or more of an object or attributes of the object; the database is an object-oriented database; The object is contained in the object oriented database.

17. 2. The system of claim 1, wherein the task includes obtaining a report that includes compensation information for employees of an organization associated with a database system.

18. 2. The system of claim 1, the request to perform the task is automatically initiated on behalf of the user in response to the system determining to provide information responsive to the task to the user; The system determines to provide information responsive to the task to the user based at least in part on a context of the user, the system, or the information responsive to the task.

19. 1. A method comprising: receiving, by one or more processors, a request to perform a task relating to a database, the request being associated with an identifier corresponding to a user associated with the request; determining whether the task is authorized for the user; responsive to determining that the task is authorized for the user, obtaining a set of return information for the task; determining a subset of the set of information, the subset of the set of information including one or more portions of the set of information for which the user has access permissions; Storing a record of the request to perform the task, the record including a representation of the user and a representation of a subset of the set of information.

20. 1. A computer program product for monitoring tasks relating to information stored in a database system, embodied in a non-transitory computer readable medium, comprising: computer instructions for receiving, by one or more processors, a request to perform a task relating to a database, the request associated with an identifier corresponding to a user associated with the request; computer instructions for determining whether the task is approved for the user; computer instructions for obtaining a set of return information for the task in response to determining that the task is approved for the user; computer instructions for determining a subset of the set of information, the subset of the set of information including one or more portions of the set of information to which the user has access permissions; and computer instructions for storing a record of the request to perform the task, the record including a representation of the user and a representation of a subset of the set of information.

Citation Information

Patent Citations

  • System and method for processing calculation and payment of salary

    JP2001273389A

  • Information-inquiring apparatus salary information managing apparatus

    JP2002049727A

  • Personnel data management system and personnel data management method, and computer program

    JP2003044630A

  • System, method and server for management of retrieval object

    JP2010277263A

  • Multi-user database system and method

    JP2022548444A