Skip to main content

Enumeration & Lookup Values

This page documents all coded column values and lookup tables used in the File System Access Analyzer (FSAA) DC schema. Views surface most of these codes as human-readable description columns, but the raw values appear in the underlying tables and are useful for writing direct queries or custom reports.

TrusteeType

Used in SA_FSAA_Trustees.TrusteeType and SA_FSAA_LocalTrustees.TrusteeType. Identifies the class of security principal that a trustee row represents.

ValueNameDescription
0UnknownType couldn't be determined
1SecurityPrincipalBuilt-in / well-known security principal (e.g. Everyone)
2LocalUserLocal user account
3LocalGroupLocal group account
4GlobalUserDomain user account (shown as Domain User in views)
5GlobalGroupDomain group account (shown as Domain Group in views)
6SharepointUserSharePoint user
7SharepointGroupSharePoint group
8UnsupportedTrustee type not supported
9ServiceAccountService account
10ComputerComputer account
11GlobalTrusteeCross-domain trustee
20UnixUserPOSIX user
21UnixGroupPOSIX group

The TrusteeTypeDescription column in views covers values 0, 1, 2, 3, 4, 5, 8, 9, and 10. Values 6, 7, 11, 20, and 21 don't have a dedicated description string in the current view CASE expressions.

ResourceType

Used in SA_FSAA_Resources.ResourceType. Identifies the kind of file-system object the resource row represents.

ValueNameView labelDescription
0ShareShareSMB / Windows share root
1NFSExportShareNFS export root
2NetAppVolumeFolderNetApp volume root
3WinDirFolderWindows directory
4WinFileFileWindows file
5UnixDirFolderUnix directory
6UnixFileFileUnix file

Views map these values to three labels using the following logic:

CASE
WHEN ResourceType IN (0, 1) THEN 'Share'
WHEN ResourceType IN (2, 3, 5) THEN 'Folder'
WHEN ResourceType IN (4, 6) THEN 'File'
END

GateType

Used in SA_FSAA_Gates.GateType. Identifies the protocol or mechanism the gate represents.

ValueDescription
0SMB / Windows share gate
1Windows Security Policy gate
2NFS v3 export gate

All five LSA policy types (Interactive, Batch, Service, Remote Interactive, Network logon) are stored under GateType = 1. The specific privilege type is tracked separately in SA_FSAA_Policies. These policy gates carry the LSA pseudo-trustee memberships used by SA_FSAA_GetPolicyMembership to expand principals such as NT AUTHORITY\INTERACTIVE and NT AUTHORITY\SERVICE.

Rights Bitmask — AllowRights / DenyRights

The simplified six-bit FSAA rights model. Used in SA_FSAA_Rights.AllowRights, DenyRights, DirectAllowRights, InheritedAllowRights, DirectDenyRights, and InheritedDenyRights. Views surface these as the AllowRightsDescription / DenyRightsDescription text columns (e.g. LRWDMA).

BitHex / DecimalLetterName
00x01 (1)RRead
10x02 (2)WWrite
20x04 (4)DDelete
30x08 (8)MManage
40x10 (16)AAdmin
50x20 (32)LList

The AllowRightsDescription string is built by appending each letter whose bit is set. For example, a value of 35 (0x23 = L + R + W) produces LRW.

The full Windows access mask is stored separately in the *Mask columns. The following table shows the common mask values decoded by the AllowMaskDescription / DenyMaskDescription columns in SA_FSAA_PermissionsView, SA_FSAA_DirectPermissionsView, and SA_FSAA_InheritedPermissionsView:

Mask (decimal)Description
0None
2032127Full Control (allow)
1245631Modify
1179817Read & Execute (or "List folder contents" when AllowRights = 32)
1179785Read
1179926Write
983551Full Control (deny)
197055Modify (deny)
1310720Change Permissions
1572864Take Ownership
1114112Delete
1179648Read Permissions

Additional special-permission decimal values are decoded by an extended CASE expression in the permission views; the listed values cover the most commonly encountered masks.