MS SQL Server Audit Event: 24221

MS SQL Server Auditing Tool

Databases are critical to enterprises because they store confidential data. Hence it becomes important to monitor database logs. But manually auditing them is a herculean task because of the enormous amount of log data generated. ManageEngine's EventLog Analyzer is a comprehensive log management tool that makes it easy for you to monitor all database activities, audit user accesses, track database server account changes, and ensure integrity of confidential data stored, especially in your MS SQL server database.

IIS »
SQL » 24221: Issued grant application role permissions command

24221: Issued grant application role permissions command

An application role is a database principal that can be assigned its own set of permissions. When a user connects to the database through those applications, they will be granted the role's permissions and their default user permissions will get overridden by those assigned to the application role. Event 24221 occurs when a command to grant application role permissions to a user has been issued. It is generated by the DATABASE_OBJECT_PERMISSION_CHANGE_GROUP action group. Important information can be derived from this event including the:

  • Date and time at which the event occurred.
  • Session identifier of the event.
  • Privileged user who performed the action.
  • Server and database associated with the event.
  • ID, name, and permission bitmask of the target object (in this case, the application role).
test