MySQL 8.4.2
Source Code Documentation
event_tracking_authentication_defs.h File Reference

Data for authentication event tracking. More...

Go to the source code of this file.

Classes

struct  mysql_event_tracking_authentication_data
 Structure for Authentication event tracking. More...
 

Macros

#define EVENT_TRACKING_AUTHENTICATION_FLUSH   (1 << 0)
 Generated after FLUSH PRIVILEGES. More...
 
#define EVENT_TRACKING_AUTHENTICATION_AUTHID_CREATE   (1 << 1)
 Generated after CREATE USER | CREATE ROLE. More...
 
#define EVENT_TRACKING_AUTHENTICATION_CREDENTIAL_CHANGE   (1 << 2)
 Generated after credential change through: More...
 
#define EVENT_TRACKING_AUTHENTICATION_AUTHID_RENAME   (1 << 3)
 Generated after RENAME USER. More...
 
#define EVENT_TRACKING_AUTHENTICATION_AUTHID_DROP   (1 << 4)
 Generated after DROP USER. More...
 
#define EVENT_TRACKING_AUTHENTICATION_ALL
 

Typedefs

typedef unsigned long mysql_event_tracking_authentication_subclass_t
 Events for Authentication event tracking. More...
 

Detailed Description

Data for authentication event tracking.

This files defines following: A. Possible subevents of authentication events B. Information provided by producers of the event when authentication events are generated.

See also
EVENT_TRACKING_AUTHENTICATION_SERVICE

Macro Definition Documentation

◆ EVENT_TRACKING_AUTHENTICATION_ALL

#define EVENT_TRACKING_AUTHENTICATION_ALL
Value:
EVENT_TRACKING_AUTHENTICATION_AUTHID_CREATE | \
EVENT_TRACKING_AUTHENTICATION_CREDENTIAL_CHANGE | \
EVENT_TRACKING_AUTHENTICATION_AUTHID_RENAME | \
EVENT_TRACKING_AUTHENTICATION_AUTHID_DROP
#define EVENT_TRACKING_AUTHENTICATION_FLUSH
Generated after FLUSH PRIVILEGES.
Definition: event_tracking_authentication_defs.h:42

◆ EVENT_TRACKING_AUTHENTICATION_AUTHID_CREATE

#define EVENT_TRACKING_AUTHENTICATION_AUTHID_CREATE   (1 << 1)

Generated after CREATE USER | CREATE ROLE.

◆ EVENT_TRACKING_AUTHENTICATION_AUTHID_DROP

#define EVENT_TRACKING_AUTHENTICATION_AUTHID_DROP   (1 << 4)

Generated after DROP USER.

◆ EVENT_TRACKING_AUTHENTICATION_AUTHID_RENAME

#define EVENT_TRACKING_AUTHENTICATION_AUTHID_RENAME   (1 << 3)

Generated after RENAME USER.

◆ EVENT_TRACKING_AUTHENTICATION_CREDENTIAL_CHANGE

#define EVENT_TRACKING_AUTHENTICATION_CREDENTIAL_CHANGE   (1 << 2)

Generated after credential change through:

  • SET PASSWORD
  • ALTER USER
  • GRANT

◆ EVENT_TRACKING_AUTHENTICATION_FLUSH

#define EVENT_TRACKING_AUTHENTICATION_FLUSH   (1 << 0)

Generated after FLUSH PRIVILEGES.

Typedef Documentation

◆ mysql_event_tracking_authentication_subclass_t

Events for Authentication event tracking.

Event handler can not terminate an event unless stated explicitly.