secpol
Description
Windows local security policy
Fields
ID | TYPE | DESCRIPTION |
---|---|---|
systemaccess | map[string]string | System access |
eventaudit | map[string]string | Event audit |
registryvalues | map[string]string | Registry values |
privilegerights | map[string][]string | Privilege rights |
Examples
Check that a specific SID is included in the privilege rights
secpol.privilegerights['SeRemoteShutdownPrivilege'].contains( _ == 'S-1-5-32-544')