Hi Team,
Is there any way we can find who created Audit under Security-> Audit? It has been created some years ago to find the failed Login group, Successful Login group etc but not sure who created these Specification.
Thank you!!!
Hi Team,
Is there any way we can find who created Audit under Security-> Audit? It has been created some years ago to find the failed Login group, Successful Login group etc but not sure who created these Specification.
Thank you!!!
I think something like this would help:
select sp.name,* from sys.server_audits sa inner join sys.server_principals sp on sa.principal_id = sp.principal_id
The principal_id in sys.audits which I believe will be the creator.
Thank you John. I just tried to create an Audit spec in a Play server and ran the above command,but it is showing as SA -> Principal ID is 1.
20 People are following this question.