Skip to main content

secpol

Description

Windows Local Security Policy

Fields

IDTYPEDESCRIPTION
systemaccessmap[string]stringSystem Access
eventauditmap[string]stringEvent Audit
registryvaluesmap[string]stringRegistry Values
privilegerightsmap[string][]stringPrivilege Rights

Examples

Check that a specific SID is included in the privilege rights

secpol.privilegerights["SeRemoteShutdownPrivilege"].contains(
_ == "S-1-5-32-544"
);