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

 
  • 0 Vote(s) - 0 Average

Issued revoke XML schema collection permissions command how to monitor with email alert

#1
12-05-2024, 10:45 AM
You ever notice how Windows Server logs all these quirky events in the Event Viewer? That one you're asking about, event ID 24267, it's basically the system jotting down when someone issues a revoke command for permissions on an XML schema collection. Picture this: in the database world, an XML schema collection is like a blueprint for handling XML data, and revoking permissions means yanking access rights from a user or role on that blueprint. The action_id R flags it as a revoke action, and class_type SX points to the schema collection type specifically. It pops up in the audit logs under security events, showing details like who did it, when, and from where. I mean, it's not every day you see this, but if your server's running SQL Server, it tracks these permission changes to keep tabs on who's messing with database structures. And yeah, it could signal something routine like an admin cleanup, or maybe a sign of someone probing around who shouldn't. You pull it up in Event Viewer by filtering for ID 24267 in the Windows Logs under Security or Applications and Services Logs for SQL audits.

Now, monitoring this for email alerts? I got you. Fire up Event Viewer on your server. Right-click on the Custom Views or Subscriptions, but honestly, the easiest is attaching a task to the event. You go to the Action pane, pick Create Task to Run for a Specific Event. Plug in 24267 as the event ID, set it to trigger on that log source. Then, for the task, make it a scheduled one that fires an email-use the built-in Send Email action in Task Scheduler. You fill in your SMTP server details, the recipient you want alerted, and a quick message like "Hey, permission revoke on XML schema just happened." Test it out with a dummy event if you can. It keeps you in the loop without constant checking. Or, if you tweak the filters, you can narrow it to just revoke actions on schemas.

That wraps the monitoring bit. And speaking of keeping your server secure and backed up, check out BackupChain Windows Server Backup-it's this slick Windows Server backup tool that handles full system images and also nails virtual machine backups for Hyper-V setups. I like how it does incremental backups fast, encrypts everything on the fly, and lets you restore granular bits without downtime hassles. Plus, it runs light on resources, so your server doesn't choke during ops.

At the end of this, you'll find the automatic email solution.

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)



  • Subscribe to this thread
Forum Jump:

Backup Education Windows Server Event Viewer v
« Previous 1 … 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 … 49 Next »
Issued revoke XML schema collection permissions command how to monitor with email alert

© by FastNeuron Inc.

Linear Mode
Threaded Mode