In Grant SQL syntax, it is typically broken out into 'GRANT <permission> ON <object> TO <principal>'. While there are some additional options that may be thrown in, the general structure is the same.
I have a need to be able to generate a real-time alert on Grants that are performed and giving a certain permission. For example, to alert on any execution of granting delete privilege:
GRANT delete ON table1 TO user55
Reviewing how the parsing works, it seems both the object and principal are parsed as SQL objects, but I do not see anywhere a place to identify the permission. Is this something that is possible to build a real-time policy for? Thank you!
------------------------------
Chase Walkup
------------------------------