Hi Polycarpos
You will create a command group in the Global objects , and find the alter role and alter server role, and this command group add to the custom security policy and test the rule

------------------------------
Alejandro Hernandez
Consultant and Trainer
Soluciones Integrales en Capacitacion SA de CV ("SICAP")
Mexico D.F
------------------------------
Original Message:
Sent: 03-06-2023 09:01
From: Polycarpos Kontogiannis
Subject: Monitor changes in both database and server level role
Hello,
I am trying to create a custom policy (using privileged operation) for monitoring changes in roles for both db groups (dbo for example) and server groups (sysadmin for example)
I selected the operations related to alter role and alter server role but the member removal is not captured. It only shows when a new member was added.
#DatabaseActivityMonitoring
------------------------------
Polycarpos Kontogiannis
Senior Cybersecurity engineer
Odyssey Consultants-Cyprus
Athens
------------------------------