API Reference
Class
AuditPolicyReader
Parses audit policy settings from GPO artifacts.
Inheritance
- Object
- AuditPolicyReader
Methods
public static IReadOnlyList<AuditPolicyEntry> FromInf(String gpoSysvolPath) #Returns:
IReadOnlyList<AuditPolicyEntry>Reads legacy (basic) audit policy from the GptTmpl.inf file under a GPO SYSVOL path.
Parameters
- gpoSysvolPath System.String
- Path to the GPO root inside SYSVOL.
Returns
List of basic AuditPolicyEntry rows; empty when policy not set.
public static IReadOnlyList<AuditPolicyEntry> FromPol(PolFile pol) #Returns:
IReadOnlyList<AuditPolicyEntry>Reads advanced audit policy from a parsed registry.pol (PolFile) under Software\Policies\Microsoft\Windows\Audit.
Parameters
- pol ADPlayground.Gpo.GpoLocal.PolFile
- Parsed registry.pol model for the GPO.
Returns
List of advanced AuditPolicyEntry rows; empty when none found.