Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 Security Audit

Author  Topic 

jarthda
Starting Member

10 Posts

Posted - 2013-02-01 : 13:18:17
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 - 2013-02-08 : 18:36:31
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
Master Smack Fu Yak Hacker

2179 Posts

Posted - 2013-02-09 : 06:30:51
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
   

- Advertisement -