The default audit policy settings are indeed part of the Windows Server operating system. They are not hardcoded, but they are set to sensible defaults that provide a balance between security and performance.
You can view and modify these settings using the Group Policy Management Editor. Here’s how you can do it:
Open Server Manager.
Go to Tools > Group Policy Management.
Expand Domain Controllers Policy.
Right-click on Default Domain Controllers Policy and select Edit.
Navigate to Computer Configuration > Policies > Windows Settings > Security Settings > Advanced Audit Policy Configuration > Audit Policies.
This will show you the current audit policy settings. If nothing is configured, it means the settings are at their defaults. You can change these settings as needed for your environment.
Step-By-Step: Enabling Advanced Security Audit Policy via Directory Services Access (microsoft.com)