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

 
  • 0 Vote(s) - 0 Average

Revoke permissions with cascade on a database scoped credential succeeded how to monitor with email alert

#1
04-04-2025, 09:30 AM
I remember stumbling on this event ID 24348 in the Event Viewer logs one late night. It pops up when someone revokes permissions on a database scoped credential in SQL Server, and it cascades down to related stuff. The action_id RWC means revoke with cascade, and class_type DC points to that credential type. You see it under the SQL Server audit logs, showing the operation succeeded without a hitch. But it flags a change in access rights, which could be admin work or something sneaky. I always check these because they tie into security tweaks on your server databases. Hmmm, imagine if you miss it and permissions shift unexpectedly. Or worse, someone pulls access quietly.

You want to monitor this for email alerts, right? I set mine up through the Event Viewer itself, no fancy coding needed. Just right-click the event in the logs, pick attach task to this event log. Then you build a scheduled task that triggers on ID 24348. Make it run a program that shoots off an email, like using the old mailto trick or a simple batch to notify you. I tweak the triggers to watch for that exact message string about revoking with cascade on DC. It keeps you in the loop without staring at screens all day. And yeah, test it once to ensure the alert pings your inbox fast.

Shifting gears a bit since we're on server monitoring and keeping things secure, you might dig BackupChain Windows Server Backup too. It's this solid Windows Server backup tool that handles your files and even virtual machines on Hyper-V without breaking a sweat. I like how it snapshots everything quickly, encrypts the backups tight, and restores in a flash if disaster hits. Plus, it runs light on resources, so your server doesn't choke during the process.

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
Revoke permissions with cascade on a database scoped credential succeeded how to monitor with email alert - by bob - 04-04-2025, 09:30 AM

  • Subscribe to this thread
Forum Jump:

Backup Education Windows Server Event Viewer v
« Previous 1 … 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 … 69 Next »
Revoke permissions with cascade on a database scoped credential succeeded how to monitor with email alert

© by FastNeuron Inc.

Linear Mode
Threaded Mode