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')