{"id":110457,"date":"2026-05-11T09:05:19","date_gmt":"2026-05-11T09:05:19","guid":{"rendered":"https:\/\/www.red-gate.com\/simple-talk\/?post_type=collection&#038;p=110457"},"modified":"2026-05-11T10:32:42","modified_gmt":"2026-05-11T10:32:42","slug":"the-complete-guide-to-auditing-sql-server","status":"publish","type":"collection","link":"https:\/\/www.red-gate.com\/simple-talk\/collections\/the-complete-guide-to-auditing-sql-server\/","title":{"rendered":"The complete guide to auditing SQL Server"},"content":{"rendered":"\n<p><strong>Ben Johnston<\/strong> explores all things SQL Server auditing in this 2024 series. He covers everything from the basic initial setup and audit checklist, to more detailed &#8216;how to&#8217; and &#8216;step-by-step&#8217; guides for configuration audits, hardware audits &#8211; and much more. T-SQL scripts and other assets are included where necessary.<\/p>\n\n\n\n<section id=\"articles-list-block_2d6af94d92af364bf1a58c060252801c\" class=\"articles-list my-5xl\">\n    <div class=\"grid gap-3xl\">\n        <div class=\"@container\">\n    <article class=\"flex gap-2xl items-center flex-col @md:flex-row-reverse\">\n        <div class=\"w-full @md:w-1\/3 flex items-center justify-center peer\">\n            <a href=\"https:\/\/www.red-gate.com\/simple-talk\/databases\/sql-server\/auditing-sql-server-part-4-database-configuration-audit\/\" aria-label=\"How to master a database configuration audit in SQL Server: a complete guide\" class=\"no-underline relative aspect-3\/2 bg-gray-100 border border-gray-100 dark:border-gray-800 flex items-center justify-center flex-col gap-md w-full p-md\">\n\t<img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"683\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2024\/08\/shutterstock_2467290799-1024x683.jpg\" class=\"object-cover absolute inset-0 w-full h-full wp-post-image\" alt=\"\" srcset=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2024\/08\/shutterstock_2467290799-1024x683.jpg 1024w, https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2024\/08\/shutterstock_2467290799-300x200.jpg 300w, https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2024\/08\/shutterstock_2467290799-768x512.jpg 768w, https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2024\/08\/shutterstock_2467290799-1536x1024.jpg 1536w, https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2024\/08\/shutterstock_2467290799-2048x1365.jpg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/>\t<\/a>        <\/div>\n        <div class=\"w-full @md:w-2\/3 overflow-auto group\/content-text\">\n            \n<div class=\"block mb-md align-middle\">\n            \n        <a\n        href=\"https:\/\/www.red-gate.com\/simple-talk\/author\/ben-johnston\/\"\n        class=\"group\/author inline align-middle no-style min-w-fit\"\n        rel=\"author\"\n    >\n        <img decoding=\"async\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2023\/03\/2023-02-05-Ben-Headshot-0009-150x150.jpg\"\n            alt=\"Image of author: Ben Johnston\" \n            class=\"rounded-full align-middle w-6 h-6 duration-200 inline-block object-cover\"\/>\n        <span class=\"group-hover\/author:text-brand-600 peer\/ftr-image:text-brand-600 group-hover\/author:dark:text-brand-400 peer\/ftr-image:dark:text-brand-400 group-hover\/author:underline min-w-fit align-middle duration-200\">Ben Johnston<\/span>\n    <\/a>\n\n        <span class=\"card__categories align-middle\">\n                                                        <span class=\"text-gray-600 align-middle dark:text-gray-400\">in<\/span>\n                    <a\n                    class=\"inline align-middle no-underline hover:text-brand-600 hover:dark:text-brand-400 hover:underline\"\n                    href=\"https:\/\/www.red-gate.com\/simple-talk\/databases\/sql-server\/\">\n                            SQL Server                    <\/a>\n                                        <\/span>\n<\/div>\n<a class=\"no-underline group\/content-text-lower\" href=\"https:\/\/www.red-gate.com\/simple-talk\/databases\/sql-server\/auditing-sql-server-part-4-database-configuration-audit\/ \">\n    <div>\n        <h1 class=\"\n            duration-200 mt-0 mb-1 text-xl\n            \n            peer-hover:group-[]\/content-text:text-brand-600\n            group-hover\/content-text-lower:text-brand-600\n\n            peer-hover:group-[]\/content-text:dark:text-brand-400\n            group-hover\/content-text-lower:dark:text-brand-400\n            \n            peer-hover:group-[]\/content-text:underline\n            group-hover\/content-text-lower:underline\n            \n        \">\n            How to master a database configuration audit in SQL Server: a complete guide        <\/h1>\n                    <p class=\"mb-0\">\n                A SQL Server database configuration audit is where most issues are found \u2014 from compatibility levels and file locations, to&#8230;            <\/p>\n            <\/div>\n            <div class=\"flex items-center gap-1 mt-md\">\n            <time>20 August 2024<\/time>\n            <span class=\"w-1 h-1 bg-current\tinline-block my-auto rounded-full\"><\/span>\n            <span>16 min read<\/span>\n                    <\/div>\n    <\/a>        <\/div>\n    <\/article>\n<\/div>\n\n\n<div class=\"@container\">\n    <article class=\"flex gap-2xl items-center flex-col @md:flex-row-reverse\">\n        <div class=\"w-full @md:w-1\/3 flex items-center justify-center peer\">\n            <a href=\"https:\/\/www.red-gate.com\/simple-talk\/databases\/sql-server\/sql-server-audit-server-configuration\/\" aria-label=\"SQL Server Configuration Audit: Complete Checklist and T-SQL Scripts\" class=\"no-underline relative aspect-3\/2 bg-gray-100 border border-gray-100 dark:border-gray-800 flex items-center justify-center flex-col gap-md w-full p-md\">\n\t<img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"683\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2024\/07\/shutterstock_2434492445-1024x683.jpg\" class=\"object-cover absolute inset-0 w-full h-full wp-post-image\" alt=\"\" srcset=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2024\/07\/shutterstock_2434492445-1024x683.jpg 1024w, https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2024\/07\/shutterstock_2434492445-300x200.jpg 300w, https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2024\/07\/shutterstock_2434492445-768x512.jpg 768w, https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2024\/07\/shutterstock_2434492445-1536x1024.jpg 1536w, https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2024\/07\/shutterstock_2434492445-2048x1365.jpg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/>\t<\/a>        <\/div>\n        <div class=\"w-full @md:w-2\/3 overflow-auto group\/content-text\">\n            \n<div class=\"block mb-md align-middle\">\n            \n        <a\n        href=\"https:\/\/www.red-gate.com\/simple-talk\/author\/ben-johnston\/\"\n        class=\"group\/author inline align-middle no-style min-w-fit\"\n        rel=\"author\"\n    >\n        <img decoding=\"async\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2023\/03\/2023-02-05-Ben-Headshot-0009-150x150.jpg\"\n            alt=\"Image of author: Ben Johnston\" \n            class=\"rounded-full align-middle w-6 h-6 duration-200 inline-block object-cover\"\/>\n        <span class=\"group-hover\/author:text-brand-600 peer\/ftr-image:text-brand-600 group-hover\/author:dark:text-brand-400 peer\/ftr-image:dark:text-brand-400 group-hover\/author:underline min-w-fit align-middle duration-200\">Ben Johnston<\/span>\n    <\/a>\n\n        <span class=\"card__categories align-middle\">\n                                                        <span class=\"text-gray-600 align-middle dark:text-gray-400\">in<\/span>\n                    <a\n                    class=\"inline align-middle no-underline hover:text-brand-600 hover:dark:text-brand-400 hover:underline\"\n                    href=\"https:\/\/www.red-gate.com\/simple-talk\/databases\/sql-server\/\">\n                            SQL Server                    <\/a>\n                                        <\/span>\n<\/div>\n<a class=\"no-underline group\/content-text-lower\" href=\"https:\/\/www.red-gate.com\/simple-talk\/databases\/sql-server\/sql-server-audit-server-configuration\/ \">\n    <div>\n        <h1 class=\"\n            duration-200 mt-0 mb-1 text-xl\n            \n            peer-hover:group-[]\/content-text:text-brand-600\n            group-hover\/content-text-lower:text-brand-600\n\n            peer-hover:group-[]\/content-text:dark:text-brand-400\n            group-hover\/content-text-lower:dark:text-brand-400\n            \n            peer-hover:group-[]\/content-text:underline\n            group-hover\/content-text-lower:underline\n            \n        \">\n            SQL Server Configuration Audit: Complete Checklist and T-SQL Scripts        <\/h1>\n                    <p class=\"mb-0\">\n                Complete SQL Server configuration audit checklist with T-SQL scripts: edition and patch level, file locations, sp_configure settings, logon triggers, login&#8230;            <\/p>\n            <\/div>\n            <div class=\"flex items-center gap-1 mt-md\">\n            <time>25 July 2024<\/time>\n            <span class=\"w-1 h-1 bg-current\tinline-block my-auto rounded-full\"><\/span>\n            <span>22 min read<\/span>\n                    <\/div>\n    <\/a>        <\/div>\n    <\/article>\n<\/div>\n\n\n<div class=\"@container\">\n    <article class=\"flex gap-2xl items-center flex-col @md:flex-row-reverse\">\n        <div class=\"w-full @md:w-1\/3 flex items-center justify-center peer\">\n            <a href=\"https:\/\/www.red-gate.com\/simple-talk\/databases\/sql-server\/auditing-sql-server-part-2-hardware-audit\/\" aria-label=\"How to successfully execute a SQL Server hardware audit (complete guide)\" class=\"no-underline relative aspect-3\/2 bg-gray-100 border border-gray-100 dark:border-gray-800 flex items-center justify-center flex-col gap-md w-full p-md\">\n\t<img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"683\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2024\/07\/shutterstock_2277424771-1024x683.jpg\" class=\"object-cover absolute inset-0 w-full h-full wp-post-image\" alt=\"\" srcset=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2024\/07\/shutterstock_2277424771-1024x683.jpg 1024w, https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2024\/07\/shutterstock_2277424771-300x200.jpg 300w, https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2024\/07\/shutterstock_2277424771-768x512.jpg 768w, https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2024\/07\/shutterstock_2277424771-1536x1024.jpg 1536w, https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2024\/07\/shutterstock_2277424771-2048x1365.jpg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/>\t<\/a>        <\/div>\n        <div class=\"w-full @md:w-2\/3 overflow-auto group\/content-text\">\n            \n<div class=\"block mb-md align-middle\">\n            \n        <a\n        href=\"https:\/\/www.red-gate.com\/simple-talk\/author\/ben-johnston\/\"\n        class=\"group\/author inline align-middle no-style min-w-fit\"\n        rel=\"author\"\n    >\n        <img decoding=\"async\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2023\/03\/2023-02-05-Ben-Headshot-0009-150x150.jpg\"\n            alt=\"Image of author: Ben Johnston\" \n            class=\"rounded-full align-middle w-6 h-6 duration-200 inline-block object-cover\"\/>\n        <span class=\"group-hover\/author:text-brand-600 peer\/ftr-image:text-brand-600 group-hover\/author:dark:text-brand-400 peer\/ftr-image:dark:text-brand-400 group-hover\/author:underline min-w-fit align-middle duration-200\">Ben Johnston<\/span>\n    <\/a>\n\n        <span class=\"card__categories align-middle\">\n                                                        <span class=\"text-gray-600 align-middle dark:text-gray-400\">in<\/span>\n                    <a\n                    class=\"inline align-middle no-underline hover:text-brand-600 hover:dark:text-brand-400 hover:underline\"\n                    href=\"https:\/\/www.red-gate.com\/simple-talk\/databases\/sql-server\/\">\n                            SQL Server                    <\/a>\n                                        <\/span>\n<\/div>\n<a class=\"no-underline group\/content-text-lower\" href=\"https:\/\/www.red-gate.com\/simple-talk\/databases\/sql-server\/auditing-sql-server-part-2-hardware-audit\/ \">\n    <div>\n        <h1 class=\"\n            duration-200 mt-0 mb-1 text-xl\n            \n            peer-hover:group-[]\/content-text:text-brand-600\n            group-hover\/content-text-lower:text-brand-600\n\n            peer-hover:group-[]\/content-text:dark:text-brand-400\n            group-hover\/content-text-lower:dark:text-brand-400\n            \n            peer-hover:group-[]\/content-text:underline\n            group-hover\/content-text-lower:underline\n            \n        \">\n            How to successfully execute a SQL Server hardware audit (complete guide)        <\/h1>\n                    <p class=\"mb-0\">\n                Learn how to audit SQL Server hardware and Azure cloud configuration \u2014 covering CPU, memory, storage, OS version, and backups&#8230;            <\/p>\n            <\/div>\n            <div class=\"flex items-center gap-1 mt-md\">\n            <time>17 July 2024<\/time>\n            <span class=\"w-1 h-1 bg-current\tinline-block my-auto rounded-full\"><\/span>\n            <span>14 min read<\/span>\n                    <\/div>\n    <\/a>        <\/div>\n    <\/article>\n<\/div>\n\n\n<div class=\"@container\">\n    <article class=\"flex gap-2xl items-center flex-col @md:flex-row-reverse\">\n        <div class=\"w-full @md:w-1\/3 flex items-center justify-center peer\">\n            <a href=\"https:\/\/www.red-gate.com\/simple-talk\/databases\/sql-server\/auditing-sql-server-part-1-discovery-and-documentation\/\" aria-label=\"SQL Server Audit Checklist: Discovery &#038; Setup\" class=\"no-underline relative aspect-3\/2 bg-gray-100 border border-gray-100 dark:border-gray-800 flex items-center justify-center flex-col gap-md w-full p-md\">\n\t<img loading=\"lazy\" decoding=\"async\" width=\"484\" height=\"303\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2024\/06\/word-image-102636-4.png\" class=\"object-cover absolute inset-0 w-full h-full wp-post-image\" alt=\"Storing data in SQL Server\" srcset=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2024\/06\/word-image-102636-4.png 484w, https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2024\/06\/word-image-102636-4-300x188.png 300w\" sizes=\"auto, (max-width: 484px) 100vw, 484px\" \/>\t<\/a>        <\/div>\n        <div class=\"w-full @md:w-2\/3 overflow-auto group\/content-text\">\n            \n<div class=\"block mb-md align-middle\">\n            \n        <a\n        href=\"https:\/\/www.red-gate.com\/simple-talk\/author\/ben-johnston\/\"\n        class=\"group\/author inline align-middle no-style min-w-fit\"\n        rel=\"author\"\n    >\n        <img decoding=\"async\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2023\/03\/2023-02-05-Ben-Headshot-0009-150x150.jpg\"\n            alt=\"Image of author: Ben Johnston\" \n            class=\"rounded-full align-middle w-6 h-6 duration-200 inline-block object-cover\"\/>\n        <span class=\"group-hover\/author:text-brand-600 peer\/ftr-image:text-brand-600 group-hover\/author:dark:text-brand-400 peer\/ftr-image:dark:text-brand-400 group-hover\/author:underline min-w-fit align-middle duration-200\">Ben Johnston<\/span>\n    <\/a>\n\n        <span class=\"card__categories align-middle\">\n                                                        <span class=\"text-gray-600 align-middle dark:text-gray-400\">in<\/span>\n                    <a\n                    class=\"inline align-middle no-underline hover:text-brand-600 hover:dark:text-brand-400 hover:underline\"\n                    href=\"https:\/\/www.red-gate.com\/simple-talk\/databases\/sql-server\/\">\n                            SQL Server                    <\/a>\n                                        <\/span>\n<\/div>\n<a class=\"no-underline group\/content-text-lower\" href=\"https:\/\/www.red-gate.com\/simple-talk\/databases\/sql-server\/auditing-sql-server-part-1-discovery-and-documentation\/ \">\n    <div>\n        <h1 class=\"\n            duration-200 mt-0 mb-1 text-xl\n            \n            peer-hover:group-[]\/content-text:text-brand-600\n            group-hover\/content-text-lower:text-brand-600\n\n            peer-hover:group-[]\/content-text:dark:text-brand-400\n            group-hover\/content-text-lower:dark:text-brand-400\n            \n            peer-hover:group-[]\/content-text:underline\n            group-hover\/content-text-lower:underline\n            \n        \">\n            SQL Server Audit Checklist: Discovery &#038; Setup        <\/h1>\n                    <p class=\"mb-0\">\n                Audit SQL Server with a structured discovery checklist. Covers server configuration, disk and memory, backups, security, database settings, and code&#8230;            <\/p>\n            <\/div>\n            <div class=\"flex items-center gap-1 mt-md\">\n            <time>06 June 2024<\/time>\n            <span class=\"w-1 h-1 bg-current\tinline-block my-auto rounded-full\"><\/span>\n            <span>30 min read<\/span>\n                    <\/div>\n    <\/a>        <\/div>\n    <\/article>\n<\/div>\n\n\n            <\/div>\n<\/section>\n","protected":false},"excerpt":{"rendered":"<p>Ben Johnston explores all things SQL Server auditing in this 2024 series. He covers everything from the basic initial setup and audit checklist, to more detailed &#8216;how to&#8217; and &#8216;step-by-step&#8217; guides for configuration audits, hardware audits &#8211; and much more. T-SQL scripts and other assets are included where necessary.&hellip;<\/p>\n","protected":false},"author":19670,"featured_media":0,"template":"","tags":[4168,4170,4150,4151,159121],"coauthors":[98702],"class_list":["post-110457","collection","type-collection","status-publish","hentry","tag-database","tag-database-administration","tag-sql","tag-sql-server","tag-benjohnston_audit"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/collection\/110457","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/collection"}],"about":[{"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/types\/collection"}],"author":[{"embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/users\/19670"}],"wp:attachment":[{"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/media?parent=110457"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/tags?post=110457"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/coauthors?post=110457"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}