Package: com.suncode.plugin.scheduldedtask.task
Category:
Available from version: 1.0.14
The task downloads audits from the last days, generates a file in MS Excel format and sends it by e-mail to the indicated recipients. The report is generated in the default language set in the system parameters. Name of the file "AuditReport- <launch date> .xlsx" example: AuditReport-2021-08-24.xlsx. You can send one email to all recipients, or each recipient will receive a copy of the email
Parameter name | from version | Description | The type of the parameter | Notes and Restrictions |
---|---|---|---|---|
Recipient type* | 1.0.14 | Possible types: EMAIL, USER | String | EMAIL - "Message recipients" parameter accepts e-mail addresses. USER - "Message recipients" parameter accepts logins of users for whom the e-mail address will be downloaded. |
Recipients of the message* | 1.0.14 | List of recipients of messages with a decimal point | String | The value depends on the value of the "Recipient type" parameter |
Message Subject* | 1.0.14 | The subject of the e-mail | String |
|
Message template* | 1.0.14 | The path on the server to the file containing the message body | String | Path to the text file on the server. Recommended format: HTML |
Group messages* | 1.0.14 | true - sends one message to everyone, false - each recipient gets a copy of the message. | Boolean |
|
Event name - GROUP | 1.0.14 | The group / category of events that will be included in the report. Possible values AUDIT_LOGGING, AUDIT_ACTIVITY, AUDIT_PROCESS, AUDIT_ARCHIVE, AUDIT_ADMINISTRATION, AUDIT_USER, AUDIT_REPORTS | String | Possible values: AUDIT_LOGGING, AUDIT_ACTIVITY, AUDIT_PROCESS, AUDIT_ARCHIVE, AUDIT_ADMINISTRATION, AUDIT_USER, AUDIT_REPORTS |
Status of the events | 1.0.14 | Filtering by event status. The options are SUCCESS, FAIL, ALL | ||
The name of the event | 1.0.14 | Name of the event that will be included in the generated report. Successive events may be listed after a decimal point. | String | Possible values are listed in Tab.1 below |
Columns in the report* | 1.0.14 | Selected columns that will be generated in the file. Possible columns: ORDINAL_NUMBER, IP_ADDRESS, USERNAME, USER_FIRSTNAME, USER_LASTNAME, USER_FULLNAME, START_DATE, STOP_DATE, DURATION, SUCCESS, NAME, TYPE, DETAILS, THREAD. | String | The order of the given columns is important.
Detailed description in Tab.2 below |
Number of days* | 1.0.14 | The number of last days for which the report is to be generated. | Integer | It is counted from the scheduled task execution date. |
Data compliant with PlusWorkflow 3.2.171. Additional parameters may appear in future versions of the system.
Event | Name | Group |
---|---|---|
AUDIT_LOG_IN | Logging in | AUDIT_LOGGING |
AUDIT_LOG_IN_SUCCESS | Successful logging in (from 3.2.173) | |
AUDIT_LOG_IN_FAIL | Unsuccessful logging in (from 3.2.173) | |
AUDIT_LOG_IN_API | Logging in via API | |
AUDIT_LOG_IN_API_SUCCESS | Successful logging in via API in (from 3.2.173) | |
AUDIT_LOG_IN_API_FAIL | Unsuccessful logging in via API in (from 3.2.173) | |
AUDIT_LOG_IN_UNIVERSAL_PASSWORD | Logging in by universal password | |
AUDIT_LOG_IN_UNIVERSAL_PASSWORD_SUCCESS | Successful logging in by universal password in (from 3.2.173) | |
AUDIT_LOG_IN_UNIVERSAL_PASSWORD_FAIL | Unsuccessful logging in by universal password in (from 3.2.173) | |
AUDIT_LOG_IN_API_UNIVERSAL_PASSWORD | Logging in via API by universal password | |
AUDIT_LOG_IN_API_UNIVERSAL_PASSWORD_SUCCESS | Successful logging in via API by universal password in (from 3.2.173) | |
AUDIT_LOG_IN_API_UNIVERSAL_PASSWORD_FAIL | Unsuccessful logging in via API by universal password in (from 3.2.173) | |
AUDIT_AUTO_LOG_IN | Auto log in | |
AUDIT_AUTO_LOG_IN_SUCCESS | Successful auto log in in (from 3.2.173) | |
AUDIT_AUTO_LOG_IN_FAIL | Unsuccessful auto log in in (from 3.2.173) | |
AUDIT_LOG_OUT | Logging out | |
AUDIT_SEARCH_ACTIVITIES | Activities searching | AUDIT_ACTIVITY |
AUDIT_OPEN_ACTIVITY | Activity open | |
AUDIT_SAVE_ACTIVITY | Activity saving | |
AUDIT_ACCEPT_ACTIVITY | Activity acceptance | |
AUDIT_ADD_COMMENT_TO_ACTIVITY | Activity comment addition | |
AUDIT_DELETE_COMMENT_FROM_ACTIVITY | Activity comment removal | |
AUDIT_ACTIVITY_DETAILS | Activity details | |
AUDIT_CHECK_IN_DOCUMENT_FROM_ACTIVITY | Check in document from activity | |
AUDIT_SUSPEND_ACTIVITY | Activity suspension | |
AUDIT_ABORT_ACTIVITY | Activity abortion | |
AUDIT_ACCEPT_MANY_ACTIVITIES | Activities group acceptance | |
AUDIT_CREATE_PROCESS | Process creation | AUDIT_PROCESS |
AUDIT_SEARCH_PROCESSES | Processes searching | |
AUDIT_UPLOAD_FILE_FROM_PROCESS | File upload from process | |
AUDIT_DELETE_DOCUMENT_FROM_PROCESS | Process document removal | |
AUDIT_PROCESS_DETAILS | Process details | |
AUDIT_DELETE_PROCESS | Process removal | |
AUDIT_DELETE_PROCESSES | Processes removal | |
AUDIT_ABORT_PROCESS | Proces abortion | |
AUDIT_SAVE_VIEW | View save | |
AUDIT_RUN_VIEW | View start-up | |
AUDIT_SEARCH_DOCCLASS | Documents searching | AUDIT_ARCHIVE |
AUDIT_SEARCH_LINK | Links searching | |
AUDIT_UPLOAD_FILE_FROM_ARCHIVE | File upload from archive | |
AUDIT_CHECK_IN_DOCUMENT_FROM_ARCHIVE | Check in document from archive | |
AUDIT_DELETE_DOCUMENT_FROM_ARCHIVE | Archive document removal | |
AUDIT_EDIT_DOCUMENT_INDEXES | Document indexes edition | |
AUDIT_SEARCH_USER | User searching | AUDIT_ADMINISTRATION |
AUDIT_ADD_USER | User addition | |
AUDIT_IMPORT_USER_FROM_LDAP | User import | |
AUDIT_UPDATE_USER | User update | |
AUDIT_DELETE_USER | User removal | |
AUDIT_UPDATE_USER_SETTINGS_GLOBAL | Bulk user settings update | |
AUDIT_ADD_GROUP | Group addition | |
AUDIT_UPDATE_GROUP | Group update | |
AUDIT_DELETE_GROUP | Group removal | |
AUDIT_ADD_USER_TO_GROUP | User to group addition | |
AUDIT_DELETE_USER_FROM_GROUP | User from group removal | |
AUDIT_ADD_SYSTEM_PROTECTION | Protection addition | |
AUDIT_DELETE_SYSTEM_PROTECTION | Protection removal | |
AUDIT_ADD_DELEGATION | Delegation addition | |
AUDIT_DELETE_DELEGATION | Delegation removal | |
AUDIT_ADD_POSITION | Position addition | |
AUDIT_UPDATE_POSITION | Position update | |
AUDIT_DELETE_POSITION | Position removal | |
AUDIT_SEARCH_POSITION | Position searching | |
AUDIT_ADD_ORG_UNIT | Org. unit addition | |
AUDIT_UPDATE_ORG_UNIT | Org. unit update | |
AUDIT_DELETE_ORG_UNIT | Org. unit removal | |
AUDIT_SEARCH_ORG_UNIT | Org. unit searching | |
AUDIT_ADD_DOCCLASS | Docclass addition | |
AUDIT_UPDATE_DOCCLASS | Docclass update | |
AUDIT_DELETE_DOCCLASS | Docclass removal | |
AUDIT_ADD_LINK | Link addition | |
AUDIT_UPDATE_LINK | Link update | |
AUDIT_DELETE_LINK | Link removal | |
AUDIT_ADD_DIRECTORY | Directory addition | |
AUDIT_DELETE_DIRECTORY | Directory removal | |
AUDIT_ADD_DEVICE | Device addition | |
AUDIT_DELETE_DEVICE | Device removal | |
AUDIT_ADD_LDAP_SERVER | LDAP server addition | |
AUDIT_UPDATE_LDAP_SERVER | LDAP server update | |
AUDIT_DELETE_LDAP_SERVER | LDAP server removal | |
AUDIT_ADD_ROLE_TO_POSITION | Role to position addition | |
AUDIT_DELETE_ROLE_FROM_POSITION | Role removal from position | |
AUDIT_ADD_NOTIFICATION | Notification addition | |
AUDIT_EDIT_NOTIFICATION | Notification edition | |
AUDIT_DELETE_NOTIFICATION | Notification removal | |
AUDIT_ADD_DOCUMENT_TEMPLATE | Document template addition | |
AUDIT_DELETE_DOCUMENT_TEMPLATE | Document template removal | |
AUDIT_ADD_DOC_CLASS_INDEX | Document class index addition | |
AUDIT_UPDATE_DOC_CLASS_INDEX | Document class index edition | |
AUDIT_DELETE_DOC_CLASS_INDEX | Document class index removal | |
AUDIT_ENABLE_USER_NOTIFICATIONS | User notifications activation | |
AUDIT_DISABLE_USER_NOTIFICATIONS | User notifications deactivation | |
AUDIT_ADD_DOC_CLASS_ACTION | Document class action addition | |
AUDIT_EDIT_DOC_CLASS_ACTION | Document class action edition | |
AUDIT_DELETE_DOC_CLASS_ACTION | Document class action removal | |
AUDIT_ADD_PROCESS_PROTECTION | Process protection addition | |
AUDIT_DELETE_PROCESS_PROTECTION | Process protection removal | |
AUDIT_INSTALL_MODULE | Module installation | |
AUDIT_UNINSTALL_MODULE | Module uninstallation | |
AUDIT_ADD_DOCUMENT_VIEW | Document view addition | |
AUDIT_EDIT_DOCUMENT_VIEW | Document view edition | |
AUDIT_DELETE_DOCUMENT_VIEW | Document view removal | |
AUDIT_SAVE_PROCESS_SETTINGS | Process settings save | |
AUDIT_LOAD_LICENSE | License load | |
AUDIT_ADD_DOC_CLASS_PROTECTION | Document class protection addition | |
AUDIT_EDIT_DOC_CLASS_PROTECTION | Document class protection edition | |
AUDIT_DELETE_DOC_CLASS_PROTECTION | Document class protection removal | |
AUDIT_ADD_LINK_INDEX | Link index addition | |
AUDIT_EDIT_LINK_INDEX | Link index edition | |
AUDIT_DELETE_LINK_INDEX | Link index removal | |
AUDIT_ADD_LINK_CONNECTION | Indexes connection addition | |
AUDIT_DELETE_LINK_CONNECTION | Indexes connection removal | |
AUDIT_ADD_LINK_PROTECTION | Link protection addition | |
AUDIT_EDIT_LINK_PROTECTION | Link protection edition | |
AUDIT_DELETE_LINK_PROTECTION | Link protection removal | |
AUDIT_EDIT_USER_NOTIFICATIONS | User notification edition | |
AUDIT_DELETE_USER_NOTIFICATIONS | User notification removal | |
AUDIT_LOAD_PACKAGE | Package load | |
AUDIT_UPDATE_PACKAGE | Package update | |
AUDIT_CLOSE_PACKAGE | Package closing | |
AUDIT_CLEAR_PACKAGE | Unused packages closing | |
AUDIT_ADD_MODULE_RIGHT | Module rights addition | |
AUDIT_DELETE_MODULE_RIGHT | Module rights removal | |
AUDIT_ADD_SCHEDULED_TASK | Scheduled task addition | |
AUDIT_UPDATE_SCHEDULED_TASK | Scheduled task edition | |
AUDIT_DELETE_SCHEDULED_TASK | Scheduled task removal | |
AUDIT_RUN_SCHEDULED_TASK | Scheduled task run | |
AUDIT_MANUAL_RUN_SCHEDULED_TASK | Manually calling of scheduled task | |
AUDIT_STOP_SCHEDULED_TASK | Scheduled task stop | |
AUDIT_INSTALL_PLUGIN_LICENSE | Plugin license installation | |
AUDIT_INSTALL_PLUGIN | Plugin installation | |
AUDIT_UPDATE_PLUGIN | Plugin update | |
AUDIT_START_PLUGIN | Plugin start | |
AUDIT_STOP_PLUGIN | Plugin stop | |
AUDIT_DELETE_PLUGIN | Plugin removal | |
AUDIT_CONFIG_TRANSFER_EXPORT | Export of system configuration to a file | |
AUDIT_CONFIG_TRANSFER_GET_FROM_BASE | Getting the system configuration from the database | |
AUDIT_CONFIG_TRANSFER_GET_FROM_FILE | Getting the system configuration from the file | |
AUDIT_CONFIG_TRANSFER_IMPORT | Import system configuration from a file | |
AUDIT_SYSTEM_PARAMETER_CREATED | Adding a new system parameter. | |
AUDIT_SYSTEM_PARAMETER_REMOVED | Removing a system parameter. | |
AUDIT_SYSTEM_PARAMETER_CHANGED | Changing a system parameter. | |
AUDIT_PASSWORD_PROFILE_CREATED | Adding new password policy profile | |
AUDIT_PASSWORD_PROFILE_CHANGED | Changing password policy profile | |
AUDIT_PASSWORD_PROFILE_REMOVED | Removing password policy profile | |
AUDIT_PASSWORD_PROFILE_PRIORITY_CHANGED | Changing priorities of password policy profiles | |
AUDIT_PASSWORD_PROFILES_ASSIGNED | Assigning password policy profiles | |
AUDIT_CERTIFICATES_ADDED | Certificates imported | |
AUDIT_CERTIFICATES_RENAMED | Certificate alias changed | |
AUDIT_CERTIFICATES_REMOVED | Certificate removed | |
AUDIT_DEACTIVATE_USER | User deactivation | |
AUDIT_ACTIVATE_USER | User activation | |
AUDIT_EDIT_DEACTIVATED_USER | Deactivated user edit | |
AUDIT_IMPORT_USERS_FROM_GROUP_TO_GROUP | Importing users from group to group | |
AUDIT_BLOCK_USER_BY_ADMIN | Blocking user by administrator | |
AUDIT_UNLOCK_USER_BY_ADMIN | Unlocking user by administrator | |
AUDIT_ASSIGN_POSITION_TO_USER | Assigning position to user | |
AUDIT_DETACH_POSITION | Detaching position from user | |
AUDIT_ADMIN_ADD_DOC_CLASS_ASSOCIATION | Add association between document classes | |
AUDIT_ADMIN_DELETE_DOC_CLASS_ASSOCIATION | Delete a association between document classes | |
AUDIT_ADMIN_UPDATE_DOC_CLASS_ASSOCIATION | Modify a association between document classes | |
AUDIT_STATS | Statistics | AUDIT_USER |
AUDIT_UPDATE_USER_SETTINGS | User settings update | |
AUDIT_CHANGE_PASSWORD | Password change | |
AUDIT_ADD_VIEW_REPORT | View report addition | AUDIT_REPORTS |
AUDIT_ADD_SQL_QUERY_REPORT | Query report addition | |
AUDIT_ADD_JASPER_REPORT | Jasper report addition | |
AUDIT_EDIT_JASPER_REPORT | Jasper report edition | |
AUDIT_RUN_VIEW_REPORT | View report run | |
AUDIT_RUN_SQL_QUERY_REPORT | Query report run | |
AUDIT_RUN_JASPER_REPORT | Jasper report run | |
AUDIT_RUN_SAVED_REPORT | Saved report run | |
AUDIT_FILTER_REPORT | Report filtering |
Columns used when generating a report in an MS Excel file
Column type | Name | Value example |
---|---|---|
ORDINAL_NUMBER | Ordinal number | 5 |
IP_ADDRESS | IP address | 0:0:0:0:0:0:0:1 |
USERNAME | Users | admin |
START_DATE | Start time | 2021-08-26 15:17:59 |
STOP_DATE | Stop time | 2021-08-26 15:18:01 |
DURATION | Duration | 1.458 |
SUCCESS | Success | true |
NAME | Name | Scheduled task addition |
TYPE | Type | AUDIT_ADD_SCHEDULED_TASK |
THREAD | Thread id | http-nio-8080-exec-6 |
USER_FIRSTNAME | First name | Administrator |
USER_LASTNAME | Last name | PlusWorkflow |
USER_FULLNAME | First and last name | Administrator PlusWorkflow |
DETAILS | Audit details | Class name: com.suncode.plugin.scheduldedtask.task.AuditReportTask Scheduled task name: Sending an audit report Scheduled task description: The task generates an audit report in MS Excel format and sends it by e-mail. Category: PLUS_SCHEDULED_TASK First run date: 2021-08-30 13:27:25 Period of repetition: 1 Minutes Active: No Save execution history: Yes |
1.0.14 (applicable documentation)
- Create a scheduled task
Add Comment