--- title: WindowsSecurityAuditing CSP description: The WindowsSecurityAuditing configuration service provider (CSP) is used to enable logging of security audit events. This CSP was added in Windows 10, version 1511. ms.assetid: 611DF7FF-21CE-476C-AAB5-3D09C1CDF08A ms.author: maricia ms.topic: article ms.prod: w10 ms.technology: windows author: MariciaAlforque ms.date: 06/26/2017 --- # WindowsSecurityAuditing CSP The WindowsSecurityAuditing configuration service provider (CSP) is used to enable logging of security audit events. This CSP was added in Windows 10, version 1511. The following diagram shows the WindowsSecurityAuditing configuration service provider in tree format. ![windowssecurityauditing csp diagram](images/provisioning-csp-windowssecurityauditing.png) **WindowsSecurityAuditing** Root node. **ConfigurationSettings** Interior node for handling all the audit configuration settings. Do not use the Get operation in this node. It is only used of grouping configuration settings. **ConfigurationSettings/EnableSecurityAuditing** Specifies whether to enable or disable auditing for the device. Value type is boolean. If true, a default set of audit events will be captured to a log file for upload; if false, auditing is disabled and events are not logged. Default value is false. Supported operations are Get and Replace. ## Examples Enable logging of audit events. ``` syntax 1 ./Vendor/MSFT/WindowsSecurityAuditing/ConfigurationSettings/EnableSecurityAuditing bool text/plain true ``` For more information about Windows security auditing, see [What's new in security auditing](https://technet.microsoft.com/itpro/windows/whats-new/security-auditing).