• Home
  • Help
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search

 
  • 0 Vote(s) - 0 Average

Issued revoke schema object permissions command how to monitor with email alert

#1
10-19-2024, 09:48 PM
That event 24253 pops up in the Event Viewer when somebody issues a command to revoke permissions on a schema object. You know, like pulling back access rights from a database thing. It's tied to SQL Server auditing, basically logging that revoke action with ID R for the revoke part and class type OB standing for object-based stuff. I see it fire off if an admin or script decides to tighten security by yanking those perms. Happens in the Security log under Applications and Services, specifically the MSSQLSERVER audit trail. Details include who did it, from which machine, and the exact object hit. Kinda like a digital footprint saying hey, permissions just got stripped here. You might spot it during routine checks or if something fishy goes down with database access.

Monitoring this? Fire up Event Viewer on your server. I do it all the time for quick watches. Right-click the log where it lives, pick Attach Task To This Event. You set filters for ID 24253 right there in the dialog. Name your task something snappy like RevokeAlert. Then, under actions, hook it to send an email via the built-in scheduler. You configure triggers for when that event hits, and boom, it emails you details. Keeps things simple without digging into code. I tweak the frequency to daily runs or instant on event, depending on your paranoia level. Test it by forcing a revoke in a safe spot, see if the ping comes through.

And for that email alert setup, I've got an automatic solution laid out at the end here, but it'll get slotted in later once we finalize.

Shifting gears to backups since we're talking server security and events like this revoke log, BackupChain Windows Server Backup steps in as a solid Windows Server backup tool that also handles virtual machines via Hyper-V. I lean on it for seamless imaging and replication, dodging data loss from permission mishaps or crashes. It speeds up restores with incremental snaps, cuts storage bloat, and runs without hogging resources during business hours. Plus, the Hyper-V integration means your VMs stay protected without extra hassle, keeping everything humming smoothly.

Note, the PowerShell email alert code was moved to this post.

bob
Offline
Joined: Jul 2025
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Messages In This Thread
Issued revoke schema object permissions command how to monitor with email alert - by bob - 10-19-2024, 09:48 PM

  • Subscribe to this thread
Forum Jump:

Backup Education Windows Server Event Viewer v
« Previous 1 … 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 … 69 Next »
Issued revoke schema object permissions command how to monitor with email alert

© by FastNeuron Inc.

Linear Mode
Threaded Mode