SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 Security Audit
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jarthda
Starting Member

10 Posts

Posted - 02/01/2013 :  13:18:17  Show Profile  Reply with Quote
I've been tasked with a security audit for what will be 4 or 5 production servers. I can login to each on manually but have access to a really great fun sysadmin guy who will help automate the script.

These are all mixed authentication models:

I'm looking for a script ideas to audit
* Server roles
* Logins
* Object permissions

for each instance. In case it's not obvious, I've mostly been a developer on SQL 2000/05 and the admin side is a learning curve.

Thanks everyone!

J


Jarthda
Embarcadero/SQL Server/and now... Informatica

srimami
Posting Yak Master

160 Posts

Posted - 02/08/2013 :  18:36:31  Show Profile  Reply with Quote
Use sqlcmd to automate the scripts and store the results in csv.

It can connect to all prod server and get the information from all servers, stores it in csv;
Go to Top of Page

jackv
Flowing Fount of Yak Knowledge

United Kingdom
2039 Posts

Posted - 02/09/2013 :  06:30:51  Show Profile  Visit jackv's Homepage  Reply with Quote
Jarthda , find some links to three aticles - outlining details on a framwork on creating a SQL Server security audit and also some scripts which alow to run across instances. I normally create reports based on standards and work with the owners to fix any issues
http://www.sqlserver-dba.com/2012/05/how-to-create-a-sql-server-security-audit.html
http://www.sqlserver-dba.com/2011/07/powershell-sql-server-security-audit.html
http://www.sqlserver-dba.com/2012/10/sql-server-database-server-security-audit-process.html

Jack Vamvas
--------------------
http://www.sqlserver-dba.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000