Skip to main content

Views

FSAA, FSAC, and FSDLP views provide pre-joined, human-readable projections of the underlying tables. Reports and the FSAA web UI consume these views rather than the raw tables.

note

For views, column sizes are derived from the underlying source columns and the SQL CASE expressions in the view definitions; on a populated database the actual sys.columns.max_length may differ slightly. Use EXEC sp_help '<viewname>' to inspect a view's exact runtime shape.


FSAA Views

SA_FSAA_Paths

Description: Per-resource path projection. This is a real CREATE VIEW that wraps the SA_FSAA_GetPath UDF — every read recomputes the path by walking the parent chain in SA_FSAA_Resources. (The create-schema script issues a defensive DROP TABLE first to clean up any legacy table-form from older builds.)

Source: SA_FSAA_Resources (parent-chain walk performed by SA_FSAA_GetPath UDF).

Column NameData TypeSizeNullableSourceDescription
HOSTintNoSA_FSAA_Resources.HOSTHost partition
ResourceIDbigintNoSA_FSAA_Resources.IDResource
Pathnvarchar4000YesComputed (recursive concat of SA_FSAA_Resources.Name up the parent chain)Full path string

SA_FSAA_ResourcesView

Description: Surface view of SA_FSAA_Resources enriched with computed full path, resource-type description, and three boolean flags (PermissionChange, InheritedPermission, DirectPermission).

Source tables: SA_FSAA_Resources, SA_FSAA_Hosts, SA_FSAA_Rights.

Logic: Outer-joins SA_FSAA_Resources with SA_FSAA_Hosts. The three permission booleans are computed via correlated EXISTS against SA_FSAA_Rights.

Column NameData TypeSizeNullableSourceDescription
HostIDintNoSA_FSAA_Resources.HOSTHost ID
HostNamenvarchar64NoSA_FSAA_Hosts.HOSTHost name
IDbigintNoSA_FSAA_Resources.IDResource ID
ParentResourceIDbigintYesSA_FSAA_Resources.ParentResourceIDParent resource
Namenvarchar2000NoSA_FSAA_Resources.NameLeaf name
Pathnvarchar4000YesUDF: SA_FSAA_GetPathFull path
ResourceTypetinyintNoSA_FSAA_Resources.ResourceTypeSee ResourceType
ResourceTypeDescriptionvarchar6YesComputed (CASE)Share, Folder, or File
OwnerIDintYesSA_FSAA_Resources.OwnerID
RightsProxyIDintYesSA_FSAA_Resources.RightsProxyID
GatesProxyIDbigintYesSA_FSAA_Resources.GatesProxyID
NestedLevelintNoSA_FSAA_Resources.NestedLevel
SizebigintYesSA_FSAA_Resources.Size
LastModifieddatetimeYesSA_FSAA_Resources.LastModified
LastAccesseddatetimeYesSA_FSAA_Resources.LastAccessed
CreateddatetimeYesSA_FSAA_Resources.Created
USNintNoSA_FSAA_Resources.USN
DeletedUSNintYesSA_FSAA_Resources.DeletedUSN
PermissionChangebitNoComputed (CASE / EXISTS)True if ACL differs from parent
InheritedPermissionbitNoComputed (CASE / EXISTS)True if any inherited rights exist
DirectPermissionbitNoComputed (CASE / EXISTS)True if any direct rights exist

SA_FSAA_PermissionsView

Description: Resource × ACE flat view with effective allow/deny rights expanded into 12 boolean columns plus textual Allow/DenyRightsDescription (for example, LRWDMA) and a RightsSource column (Direct / Inherited / Both / None).

Source tables: SA_FSAA_Resources, SA_FSAA_Hosts, SA_FSAA_Rights, SA_FSAA_Trustees, UDF SA_FSAA_GetTrusteeInformationEx.

Filter: r.RightsProxyID IS NOT NULL (rows that have an ACL).

Column NameData TypeSizeNullableSourceDescription
HostIDintNoSA_FSAA_Resources.HOSTHost partition
HostNamenvarchar64YesSA_FSAA_Hosts.HOSTHost name
ResourceIDbigintNoSA_FSAA_Resources.IDResource
ParentResourceIDbigintYesSA_FSAA_Resources.ParentResourceIDParent resource
ResourceDeletedUSNintYesSA_FSAA_Resources.DeletedUSNNULL if not deleted
ResourcePathnvarchar4000YesUDF: SA_FSAA_GetPathFull resource path
ResourceTypetinyintNoSA_FSAA_Resources.ResourceTypeSee ResourceType
ResourceTypeDescriptionvarchar6YesComputed (CASE)Share / Folder / File
AllowRightssmallintYesSA_FSAA_Rights.AllowRightsCombined bitmask
DenyRightssmallintYesSA_FSAA_Rights.DenyRightsCombined bitmask
AllowListbitYesComputed (AllowRights & 32)Has list right
AllowReadbitYesComputed (AllowRights & 1)Has read right
AllowWritebitYesComputed (AllowRights & 2)Has write right
AllowDeletebitYesComputed (AllowRights & 4)Has delete right
AllowManagebitYesComputed (AllowRights & 8)Has manage right
AllowAdminbitYesComputed (AllowRights & 16)Has admin right
DenyListbitYesComputed (DenyRights & 32)Deny list right
DenyReadbitYesComputed (DenyRights & 1)Deny read right
DenyWritebitYesComputed (DenyRights & 2)Deny write right
DenyDeletebitYesComputed (DenyRights & 4)Deny delete right
DenyManagebitYesComputed (DenyRights & 8)Deny manage right
DenyAdminbitYesComputed (DenyRights & 16)Deny admin right
AllowRightsDescriptionvarchar6YesComputed (concat letters L/R/W/D/M/A)For example, LRW
DenyRightsDescriptionvarchar6YesComputed (concat letters L/R/W/D/M/A)For example, D
RightsSourcevarchar9YesComputed (CASE on Direct/Inherited columns)Both / Inherited / Direct / None
AllowMaskintYesSA_FSAA_Rights.AllowMaskFull Windows access mask
DenyMaskintYesSA_FSAA_Rights.DenyMaskFull Windows deny mask
AllowMaskDescriptionvarchar32YesComputed (CASE)Full Control / Modify / Read & Execute / etc.
DenyMaskDescriptionvarchar32YesComputed (CASE)Same vocabulary as AllowMaskDescription
TrusteeIDintYesSA_FSAA_Rights.TrusteeID
TrusteeSIDvarchar184YesSA_FSAA_Trustees.SID
TrusteeTypesmallintYesUDF column (TrusteeType)See TrusteeType
TrusteeIsHistoricalSIDbitYesUDF columnTrue if SID came from SID History
TrusteePrincipalIDintYesUDF columnAD-Inventory principal ID
TrusteeTypeDescriptionvarchar18YesComputed (CASE)For example, Domain User
TrusteeDisplayNamenvarchar256YesUDF column
TrusteeDomainnvarchar128YesUDF columnNT domain
TrusteeNTNamenvarchar256YesUDF columnSAM account name
TrusteeNTStyleNamenvarchar385YesComputed (Domain\Name)Concatenated NT-style name

SA_FSAA_ExpandedPermissionsView

Description: Resource × expanded effective trustee — group memberships are recursively expanded and the view returns one row per (resource, leaf trustee) instead of one per (resource, ACE). Uses CROSS APPLY dbo.SA_FSAA_GetExpandedPermissions(r.HOST, r.ID, 0, DEFAULT) to do the expansion.

Source tables: SA_FSAA_Resources, SA_FSAA_Hosts, UDF SA_FSAA_GetExpandedPermissions.

Filter: r.RightsProxyID IS NOT NULL.

Column NameData TypeSizeNullableSourceDescription
HostIDintNoSA_FSAA_Resources.HOSTHost partition
HostNamenvarchar64YesSA_FSAA_Hosts.HOSTHost name
ResourceIDbigintNoSA_FSAA_Resources.IDResource
ParentResourceIDbigintYesSA_FSAA_Resources.ParentResourceIDParent resource
ResourceDeletedUSNintYesSA_FSAA_Resources.DeletedUSN
ResourcePathnvarchar4000YesUDF: SA_FSAA_GetPathFull path
ResourceTypetinyintNoSA_FSAA_Resources.ResourceTypeSee ResourceType
ResourceTypeDescriptionvarchar6YesComputed (CASE)Share / Folder / File
AllowRightssmallintNoUDF columnEffective allow bitmask after group expansion
DenyRightssmallintNoUDF columnEffective deny bitmask
AllowList ... AllowAdminbitYesComputed (AllowRights & N)Six boolean columns (bits 32, 1, 2, 4, 8, 16)
DenyList ... DenyAdminbitYesComputed (DenyRights & N)Six boolean columns
AllowRightsDescriptionvarchar6YesComputedLetter form LRWDMA
DenyRightsDescriptionvarchar6YesComputed
TrusteeSIDvarchar184YesUDF columnLeaf-trustee SID
TrusteeTypesmallintYesUDF columnSee TrusteeType
TrusteeTypeDescriptionvarchar18YesComputed (CASE)
TrusteeDisplayNamenvarchar256YesUDF column
TrusteeDomainnvarchar128YesUDF column
TrusteeNTNamenvarchar256YesUDF column
TrusteeNTStyleNamenvarchar385YesComputed (Domain\Name)

SA_FSAA_DirectPermissionsView

Description: Same shape as SA_FSAA_PermissionsView but filtered to direct (non-inherited) ACEs only. Uses p.DirectAllowRights / p.DirectDenyRights / p.DirectAllowMask / p.DirectDenyMask instead of the combined columns; the column names in the output are still AllowRights, DenyRights, AllowMask, DenyMask.

Source tables: SA_FSAA_Resources, SA_FSAA_Hosts, SA_FSAA_Rights, SA_FSAA_Trustees, UDF SA_FSAA_GetTrusteeInformationEx.

Filter: r.RightsProxyID IS NOT NULL AND ((p.DirectAllowRights <> 0) OR (p.DirectDenyRights <> 0) OR (p.DirectAllowMask <> 0) OR (p.DirectDenyMask <> 0)).

Column NameData TypeSizeNullableSourceDescription
HostIDintNoSA_FSAA_Resources.HOST
HostNamenvarchar64YesSA_FSAA_Hosts.HOST
ResourceIDbigintNoSA_FSAA_Resources.ID
ParentResourceIDbigintYesSA_FSAA_Resources.ParentResourceID
ResourceDeletedUSNintYesSA_FSAA_Resources.DeletedUSN
ResourcePathnvarchar4000YesUDF: SA_FSAA_GetPath / fallback r.Name
ResourceTypetinyintNoSA_FSAA_Resources.ResourceType
ResourceTypeDescriptionvarchar6YesComputed (CASE)
AllowRightssmallintYesSA_FSAA_Rights.DirectAllowRights
DenyRightssmallintYesSA_FSAA_Rights.DirectDenyRights
AllowList ... AllowAdminbitYesComputedSix bit columns
DenyList ... DenyAdminbitYesComputedSix bit columns
AllowRightsDescriptionvarchar6YesComputedLRWDMA-style
DenyRightsDescriptionvarchar6YesComputed
AllowMaskintYesSA_FSAA_Rights.DirectAllowMask
DenyMaskintYesSA_FSAA_Rights.DirectDenyMask
AllowMaskDescriptionvarchar32YesComputed (CASE)
DenyMaskDescriptionvarchar32YesComputed (CASE)
TrusteeIDintYesSA_FSAA_Rights.TrusteeID
TrusteeSIDvarchar184YesSA_FSAA_Trustees.SID
TrusteeTypesmallintYesUDF column
TrusteeIsHistoricalSIDbitYesUDF column
TrusteePrincipalIDintYesUDF column
TrusteeTypeDescriptionvarchar18YesComputed (CASE)
TrusteeDisplayNamenvarchar256YesUDF column
TrusteeDomainnvarchar128YesUDF column
TrusteeNTNamenvarchar256YesUDF column
TrusteeNTStyleNamenvarchar385YesComputed

SA_FSAA_InheritedPermissionsView

Description: Same shape as SA_FSAA_DirectPermissionsView but reads from the Inherited* rights/mask columns. The output column names (AllowRights, DenyRights, AllowMask, DenyMask) are identical to SA_FSAA_DirectPermissionsView; only the underlying SA_FSAA_Rights source columns change.

Source tables: SA_FSAA_Resources, SA_FSAA_Hosts, SA_FSAA_Rights, SA_FSAA_Trustees, UDF SA_FSAA_GetTrusteeInformationEx.

Filter: r.RightsProxyID IS NOT NULL AND ((p.InheritedAllowRights <> 0) OR (p.InheritedDenyRights <> 0) OR (p.InheritedAllowMask <> 0) OR (p.InheritedDenyMask <> 0)).

Column NameData TypeSizeNullableSourceDescription
HostIDintNoSA_FSAA_Resources.HOST
HostNamenvarchar64YesSA_FSAA_Hosts.HOST
ResourceIDbigintNoSA_FSAA_Resources.ID
ParentResourceIDbigintYesSA_FSAA_Resources.ParentResourceID
ResourceDeletedUSNintYesSA_FSAA_Resources.DeletedUSN
ResourcePathnvarchar4000YesUDF: SA_FSAA_GetPath / fallback r.Name
ResourceTypetinyintNoSA_FSAA_Resources.ResourceType
ResourceTypeDescriptionvarchar6YesComputed (CASE)
AllowRightssmallintYesSA_FSAA_Rights.InheritedAllowRights
DenyRightssmallintYesSA_FSAA_Rights.InheritedDenyRights
AllowList ... AllowAdminbitYesComputedSix bit columns
DenyList ... DenyAdminbitYesComputedSix bit columns
AllowRightsDescriptionvarchar6YesComputedLRWDMA-style
DenyRightsDescriptionvarchar6YesComputed
AllowMaskintYesSA_FSAA_Rights.InheritedAllowMask
DenyMaskintYesSA_FSAA_Rights.InheritedDenyMask
AllowMaskDescriptionvarchar32YesComputed (CASE)
DenyMaskDescriptionvarchar32YesComputed (CASE)
TrusteeIDintYesSA_FSAA_Rights.TrusteeID
TrusteeSIDvarchar184YesSA_FSAA_Trustees.SID
TrusteeTypesmallintYesUDF column
TrusteeIsHistoricalSIDbitYesUDF column
TrusteePrincipalIDintYesUDF column
TrusteeTypeDescriptionvarchar18YesComputed (CASE)
TrusteeDisplayNamenvarchar256YesUDF column
TrusteeDomainnvarchar128YesUDF column
TrusteeNTNamenvarchar256YesUDF column
TrusteeNTStyleNamenvarchar385YesComputed

SA_FSAA_SharesTraversalView

Description: For every resource reachable through a gate, returns the gate, the resource, the share-relative resource path, and the SMB / NFS UNC path.

Source tables: SA_FSAA_Hosts, SA_FSAA_Gates, SA_FSAA_GatesProxy, SA_FSAA_Resources, SA_FSAA_Paths.

Filter: r.GatesProxyID IS NOT NULL.

Network-path logic: if g.GateType = 2 (NFS), builds host:share//rel-path where the relative path is SUBSTRING(y.Path, LEN(g.DisplayName) + 2, 2048); otherwise builds \\host\share\rel-path by trimming the gate's local path off y.Path (SUBSTRING(y.Path, LEN(g.Path), 2048)).

Column NameData TypeSizeNullableSourceDescription
HostIDintNoSA_FSAA_Hosts.ID
HostNamenvarchar64NoSA_FSAA_Hosts.HOST
GateIDintYesSA_FSAA_Gates.ID
GateTypeintYesSA_FSAA_Gates.GateTypeSee GateType
GateTypeDescriptionvarchar3YesComputed (CASE)'SMB' when GateType = 0, otherwise 'NFS' (any non-zero GateType)
GateDeletedUSNintYesSA_FSAA_Gates.DeletedUSN
ShareIDbigintYesSA_FSAA_Gates.ShareID
ShareNamenvarchar256YesSA_FSAA_Gates.DisplayName
ResourceIDbigintYesSA_FSAA_Resources.ID
ParentResourceIDbigintYesSA_FSAA_Resources.ParentResourceID
ResourceTypetinyintYesSA_FSAA_Resources.ResourceType
ResourceTypeDescriptionvarchar6YesComputed (CASE)
ResourceDeletedUSNintYesSA_FSAA_Resources.DeletedUSN
ResourcePathnvarchar4000YesSA_FSAA_Paths.PathLocal resource path
NetworkPathnvarchar4000YesComputed (see Network-path logic)UNC path or NFS-style path
NestedLevelintYesComputed (r.NestedLevel - g.NestedLevel)Depth from share root

SA_FSAA_EffectiveAccessView

Description: Like SA_FSAA_SharesTraversalView but additionally resolves each row through SA_FSAA_GetEffectiveRights to attribute the effective allow/deny rights to each leaf trustee. Used to answer "who can do what on this resource through this share?"

Source tables: SA_FSAA_SharesTraversalView, UDF SA_FSAA_GetEffectiveRights.

Column NameData TypeSizeNullableSourceDescription
HostIDintNoSA_FSAA_SharesTraversalView.HostID
HostNamenvarchar64YesSA_FSAA_SharesTraversalView.HostName
GateIDintYesSA_FSAA_SharesTraversalView.GateID
ShareIDbigintYesSA_FSAA_SharesTraversalView.ShareID
ResourceIDbigintYesSA_FSAA_SharesTraversalView.ResourceID
ShareNamenvarchar256YesSA_FSAA_SharesTraversalView.ShareName
NestedLevelintYesSA_FSAA_SharesTraversalView.NestedLevel
ResourcePathnvarchar4000YesSA_FSAA_SharesTraversalView.ResourcePath
NetworkPathnvarchar4000YesSA_FSAA_SharesTraversalView.NetworkPath
ResourceTypetinyintYesSA_FSAA_SharesTraversalView.ResourceType
ResourceTypeDescriptionvarchar6YesSA_FSAA_SharesTraversalView.ResourceTypeDescription
ResourceDeletedUSNintYesSA_FSAA_SharesTraversalView.ResourceDeletedUSN
GateDeletedUSNintYesSA_FSAA_SharesTraversalView.GateDeletedUSN
AllowRightssmallintNoUDF columnEffective allow bitmask
DenyRightssmallintNoUDF columnEffective deny bitmask
DirectTrusteebitYesUDF columnTrue if rights come from a direct ACE rather than group expansion
AllowList ... AllowAdminbitYesComputedSix bit columns
DenyList ... DenyAdminbitYesComputedSix bit columns
AllowRightsDescriptionvarchar6YesComputed
DenyRightsDescriptionvarchar6YesComputed
TrusteeSIDvarchar184YesUDF column
TrusteeTypesmallintYesUDF column
TrusteeTypeDescriptionvarchar18YesComputed (CASE)
TrusteeDisplayNamenvarchar256YesUDF column
TrusteeDomainnvarchar128YesUDF column
TrusteeNTNamenvarchar256YesUDF column
TrusteeNTStyleNamenvarchar385YesComputed

SA_FSAA_LocalGroupMembersView

Description: Flat view of local-group memberships derived from SA_FSAA_TrusteeEquivalence. One row per (group, member) pair on a host, with both group and member identity columns expanded via SA_FSAA_GetTrusteeInformation.

Source tables: SA_FSAA_TrusteeEquivalence, SA_FSAA_Hosts, UDF SA_FSAA_GetTrusteeInformation (called twice — once for the group, once for the member).

Column NameData TypeSizeNullableSourceDescription
HostIDintNoSA_FSAA_TrusteeEquivalence.HOST
HostNamenvarchar64NoSA_FSAA_Hosts.HOST
GroupTrusteeIDintNoSA_FSAA_TrusteeEquivalence.EquivalentTrusteeID
GroupSIDvarchar184YesUDF column (group)
GroupDisplayNamenvarchar256YesUDF column (group)
GroupDomainnvarchar128YesUDF column (group)
GroupNTNamenvarchar256YesUDF column (group)
GroupNTStyleNamenvarchar385YesComputed (Domain\Name)
MemberTrusteeIDintNoSA_FSAA_TrusteeEquivalence.TrusteeID
MemberSIDvarchar184YesUDF column (member)
MemberDomainnvarchar128YesUDF column (member)
MemberNTNamenvarchar256YesUDF column (member)
MemberDisplayNamenvarchar256YesUDF column (member)
MemberNTStyleNamenvarchar385YesComputed (Domain\Name)
MemberTypesmallintYesUDF column (member)See TrusteeType
MemberTypeDescriptionvarchar18YesComputed (CASE)
MemberPrincipalIDintYesUDF column (member)AD-Inventory principal ID

SA_FSAA_ExceptionsView

Description: SA_FSAA_Exceptions joined with the type catalog and with both TrusteeID and SourceTrusteeID resolved to display names.

Source tables: SA_FSAA_Exceptions, SA_FSAA_ExceptionTypes, SA_FSAA_Trustees (twice — once for each trustee column), SA_FSAA_Hosts, SA_FSAA_Resources, SA_FSAA_Gates, UDF SA_FSAA_GetTrusteeInformationEx.

Path logic: if both ResourceID and GateID are present, returns a UNC-style path \\host\share<resource-path>; if only ResourceID, returns the bare resource path from SA_FSAA_GetPath; otherwise NULL.

Column NameData TypeSizeNullableSourceDescription
HostIDintNoSA_FSAA_Exceptions.HOST
HostNamenvarchar64NoSA_FSAA_Hosts.HOST
ExceptionTypeintNoSA_FSAA_Exceptions.ExceptionType
ParentTypeintYesSA_FSAA_ExceptionTypes.ParentTypeHierarchical parent type
ExceptionNamevarchar128NoSA_FSAA_ExceptionTypes.Name
GateIDintYesSA_FSAA_Exceptions.GateID
ResourceIDbigintYesSA_FSAA_Exceptions.ResourceID
Pathnvarchar4000YesComputed (see Path logic)UNC path / resource path / NULL
TrusteeIDintYesSA_FSAA_Exceptions.TrusteeID
TrusteeSIDvarchar184YesSA_FSAA_Trustees.SID
TrusteeTypesmallintYesSA_FSAA_Trustees.TrusteeType
TrusteeDisplayNamenvarchar256YesUDF column
TrusteeNTStyleNamenvarchar385YesComputed
TrusteePrincipalIDintYesUDF column
SourceTrusteeIDintYesSA_FSAA_Exceptions.SourceTrusteeID
SourceTrusteeSIDvarchar184YesSA_FSAA_Trustees.SID (second join)
SourceTrusteeTypesmallintYesSA_FSAA_Trustees.TrusteeType (second join)
SourceTrusteeDisplayNamenvarchar256YesUDF column
SourceTrusteeNTStyleNamenvarchar385YesComputed
SourceTrusteePrincipalIDintYesUDF column

Activity Views (SA_FSAC_*)

SA_FSAC_DailyActivityView

Description: Per-(host, date, folder, trustee, operation) activity row, with the trustee identity expanded and the operation code translated to a human-readable label. The most common entry point for activity reporting; one row per recorded daily-activity bucket.

Source tables: SA_FSAC_DailyActivity, SA_FSAA_Hosts, SA_FSAA_Trustees, UDF SA_FSAA_GetTrusteeInformationEx, UDF SA_FSAA_GetPath.

Column NameData TypeSizeNullableSourceDescription
HostIDintNoSA_FSAC_DailyActivity.HOST
HostNamenvarchar64YesSA_FSAA_Hosts.HOST
ActivityDatedateNoSA_FSAC_DailyActivity.ActivityDate
FolderIDbigintNoSA_FSAC_DailyActivity.FolderID
Pathnvarchar4000YesUDF: SA_FSAA_GetPathFull folder path
UserIDintNoSA_FSAC_DailyActivity.TrusteeID
UserSIDvarchar184YesSA_FSAA_Trustees.SID
UserTypesmallintYesUDF columnSee TrusteeType
UserPrincipalIDintYesUDF columnAD-Inventory principal ID
UserTypeDescriptionvarchar18YesComputed (CASE)For example, Domain User
UserDisplayNamenvarchar256YesUDF column
UserNTNamenvarchar256YesUDF column
UserNTDomainnvarchar128YesUDF column
UserNTStyleNamenvarchar385YesComputed (Domain\Name)
OperationtinyintNoSA_FSAC_DailyActivity.Operation
OperationDescriptionvarchar18YesComputed (CASE)Read / Add / Update / Delete / Permission Change / Rename
AllowbitNoSA_FSAC_DailyActivity.Allow
AllowDescriptionvarchar7YesComputed (CASE)Allowed / Denied
OperationCountintNoSA_FSAC_DailyActivity.Count

SA_FSAC_DailyUserActivityView

Description: Pivoted version of SA_FSAC_DailyActivityView — one row per (host, date, folder, user), with separate columns for each operation type's count. Filtered to Allow = 1 (allowed operations only).

Source tables: SA_FSAC_DailyActivity (pivoted on Operation), SA_FSAA_Hosts, SA_FSAA_Trustees, UDF SA_FSAA_GetTrusteeInformationEx, UDF SA_FSAA_GetPath.

Column NameData TypeSizeNullableSourceDescription
HostIDintNoSA_FSAC_DailyActivity.HOST
HostNamenvarchar64YesSA_FSAA_Hosts.HOST
ActivityDatedateNoSA_FSAC_DailyActivity.ActivityDate
FolderIDbigintNoSA_FSAC_DailyActivity.FolderID
Pathnvarchar4000YesUDF: SA_FSAA_GetPath
UserIDintNoSA_FSAC_DailyActivity.TrusteeID
UserSIDvarchar184YesSA_FSAA_Trustees.SID
UserTypesmallintYesUDF columnSee TrusteeType
UserPrincipalIDintYesUDF column
UserTypeDescriptionvarchar18YesComputed (CASE)
UserDisplayNamenvarchar256YesUDF column
UserNTNamenvarchar256YesUDF column
UserNTDomainnvarchar128YesUDF column
UserNTStyleNamenvarchar385YesComputed
ReadsintNoPivot (Operation = 0)Read-operation count
AddsintNoPivot (Operation = 1)Add-operation count
UpdatesintNoPivot (Operation = 2)Update-operation count
DeletesintNoPivot (Operation = 3)Delete-operation count
PermissionChangesintNoPivot (Operation = 4)Permission-change count
RenamesintNoPivot (Operation = 5)Rename count

SA_FSAC_DailyResourceActivityView

Description: Same shape as SA_FSAC_DailyUserActivityView but rolled up across users — one row per (host, date, folder) with operation counts and a count of distinct active users.

Source tables: SA_FSAC_DailyActivity (pivoted on Operation, then aggregated), SA_FSAA_Hosts, UDF SA_FSAA_GetPath.

Column NameData TypeSizeNullableSourceDescription
HostIDintNoSA_FSAC_DailyActivity.HOST
HostNamenvarchar64YesSA_FSAA_Hosts.HOST
ActivityDatedateNoSA_FSAC_DailyActivity.ActivityDate
FolderIDbigintNoSA_FSAC_DailyActivity.FolderID
Pathnvarchar4000YesUDF: SA_FSAA_GetPath
ReadsintYesSUM (Operation = 0)
AddsintYesSUM (Operation = 1)
UpdatesintYesSUM (Operation = 2)
DeletesintYesSUM (Operation = 3)
PermissionChangesintYesSUM (Operation = 4)
RenamesintYesSUM (Operation = 5)
ActiveUsersintYesCOUNT(DISTINCT TrusteeID)Distinct users with activity that day

SA_FSAC_ActivityEventsView

Description: Detailed event view — one row per SA_FSAC_ActivityEvents row, joined to resource metadata, process name, trustee identity, and (for renames) the rename target.

Source tables: SA_FSAC_ActivityEvents, SA_FSAA_Hosts, SA_FSAC_ProcessNames, SA_FSAA_Resources, SA_FSAA_Trustees, SA_FSAC_RenameTargets, UDF SA_FSAA_GetTrusteeInformationEx, UDF SA_FSAA_GetPath.

Column NameData TypeSizeNullableSourceDescription
HostIDintNoSA_FSAC_ActivityEvents.HOST
HostNamenvarchar64NoSA_FSAA_Hosts.HOST
IDbigintNoSA_FSAC_ActivityEvents.ID
AccessTimedatetime2NoSA_FSAC_ActivityEvents.AccessTime
ResourceIDbigintNoSA_FSAC_ActivityEvents.PathID
ResourceTypetinyintYesSA_FSAA_Resources.ResourceTypeSee ResourceType
ResourceTypeDescriptionvarchar6YesComputed (CASE)Folder / File
ParentResourceIDbigintYesSA_FSAA_Resources.ParentResourceID
ResourceNamenvarchar2000YesSA_FSAA_Resources.Name
Pathnvarchar4000YesUDF: SA_FSAA_GetPath
ProcessIDintYesSA_FSAC_ActivityEvents.ProcessID
ProcessNamenvarchar255YesSA_FSAC_ProcessNames.Name
OperationtinyintNoSA_FSAC_ActivityEvents.Operation
OperationDescriptionvarchar18YesComputed (CASE)
AllowbitNoSA_FSAC_ActivityEvents.Allow
AllowDescriptionvarchar7YesComputed (CASE)Allowed / Denied
TargetResourceIDbigintYesSA_FSAC_RenameTargets.TargetPathID(Renames only)
TargetResourceNamenvarchar2000YesSA_FSAA_Resources.Name (target)(Renames only)
TargetParentResourceIDbigintYesSA_FSAA_Resources.ParentResourceID (target)(Renames only)
TargetPathnvarchar4000YesUDF: SA_FSAA_GetPath (target)(Renames only)
UserIDintNoSA_FSAC_ActivityEvents.TrusteeID
UserSIDvarchar184YesSA_FSAA_Trustees.SID
UserDisplayNamenvarchar256YesUDF column
UserNTDomainnvarchar128YesUDF column
UserNTNamenvarchar256YesUDF column
UserTypesmallintYesUDF columnSee TrusteeType
UserPrincipalIDintYesUDF column
UserTypeDescriptionvarchar18YesComputed (CASE)
UserNTStyleNamenvarchar385YesComputed

SA_FSAC_ExceptionsView

Description: SA_FSAC_Exceptions joined to the type catalog and to the trustee / gate / resource references, with day-of-week and time-of-day translations.

Source tables: SA_FSAC_Exceptions, SA_FSAC_ExceptionTypes, SA_FSAA_Hosts, SA_FSAA_Gates, SA_FSAA_Resources, UDF SA_FSAA_GetPath, UDF SA_FSAA_GetTrusteeInformation.

Column NameData TypeSizeNullableSourceDescription
HostIDintNoSA_FSAC_Exceptions.HOST
HostNamenvarchar64NoSA_FSAA_Hosts.HOST
IDintNoSA_FSAC_Exceptions.ID
ExceptionTypeintNoSA_FSAC_Exceptions.ExceptionType
ParentTypeintYesSA_FSAC_ExceptionTypes.ParentType
ExceptionNamevarchar128NoSA_FSAC_ExceptionTypes.Name
ActivityDatedateNoSA_FSAC_Exceptions.ActivityDate
ActivityHourtinyintYesSA_FSAC_Exceptions.ActivityHour
DayOfWeeknvarchar30YesComputed (DATENAME(dw, ActivityDate))For example, Monday
TimeOfDayvarchar8YesComputed (CASE on ActivityHour)For example, 3 PM, 12 AM
GateIDintNoSA_FSAC_Exceptions.GateID
ResourceIDbigintYesSA_FSAC_Exceptions.ResourceID
Pathnvarchar4000YesComputed (\\host\share<resource-path>)
TrusteeIDintYesSA_FSAC_Exceptions.TrusteeID
TrusteeDisplayNamenvarchar256YesUDF: SA_FSAA_GetTrusteeInformation
NTDomainnvarchar128YesUDF: SA_FSAA_GetTrusteeInformation
NTNamenvarchar256YesUDF: SA_FSAA_GetTrusteeInformation
TrusteeNTStyleNamenvarchar385YesComputed (Domain\Name)
TrusteeTypesmallintYesUDF: SA_FSAA_GetTrusteeInformationSee TrusteeType
TrusteeTypeDescriptionvarchar18YesComputed (CASE)
ValueintYesSA_FSAC_Exceptions.Value
AveragefloatYesSA_FSAC_Exceptions.Average
StandardDeviationsfloatYesSA_FSAC_Exceptions.StandardDeviations

SA_FSAC_UserExceptionsView

Description: Same shape as SA_FSAC_ExceptionsView but partitioned by user SID rather than (HOST, ID). Used for cross-host user-behaviour anomalies. Trustee identity is resolved by joining SA_ADInventory_UsersView on the SID.

Source tables: SA_FSAC_UserExceptions, SA_FSAC_UserExceptionTypes, SA_ADInventory_UsersView.

Column NameData TypeSizeNullableSourceDescription
IDintNoSA_FSAC_UserExceptions.ID
ExceptionTypeintNoSA_FSAC_UserExceptions.ExceptionType
ParentTypeintYesSA_FSAC_UserExceptionTypes.ParentType
ExceptionNamevarchar128NoSA_FSAC_UserExceptionTypes.Name
ActivityDatedateNoSA_FSAC_UserExceptions.ActivityDate
ActivityStartTimetinyintYesSA_FSAC_UserExceptions.ActivityStartTimeStart hour 0–23
ActivityPeriodtinyintYesSA_FSAC_UserExceptions.ActivityPeriodWindow length in hours
DayOfWeeknvarchar30YesComputed (DATENAME(dw, ActivityDate))For example, Monday
TimeOfDayvarchar8YesComputed (CASE on ActivityStartTime)For example, 3 PM, 12 AM
TrusteeDisplayNamenvarchar256YesSA_ADInventory_UsersView.DisplayName
NTDomainnvarchar128YesSA_ADInventory_UsersView.DomainName
TrusteeNTStyleNamenvarchar385YesSA_ADInventory_UsersView.NTAccountDomain\Name
TrusteeSIDvarchar184NoSA_FSAC_UserExceptions.SID
TrusteePrincipalIDintYesSA_ADInventory_UsersView.PrincipalId
ValueintYesSA_FSAC_UserExceptions.Value
AveragefloatYesSA_FSAC_UserExceptions.Average
StandardDeviationsfloatYesSA_FSAC_UserExceptions.StandardDeviations

SA_FSAC_PermissionChangesView

Description: Surface view over SA_FSAC_PermissionChanges that resolves the affected trustee and decodes the ACL / ACE / inheritance / access-rights bitmasks into descriptive strings.

note

This view doesn't join SA_FSAC_ActivityEvents or SA_FSAA_Resources — the access time and resource path aren't exposed; reports needing them must join SA_FSAC_ActivityEvents themselves.

Source tables: SA_FSAC_PermissionChanges, SA_FSAA_Hosts, UDF SA_FSAA_GetTrusteeInformation.

Column NameData TypeSizeNullableSourceDescription
HostIDintNoSA_FSAC_PermissionChanges.HOST
HostNamenvarchar64NoSA_FSAA_Hosts.HOST
ActivityIDbigintNoSA_FSAC_PermissionChanges.ActivityID
ChangeIDsmallintNoSA_FSAC_PermissionChanges.ChangeID
AclTypetinyintNoSA_FSAC_PermissionChanges.AclType
AclTypeDescriptionvarchar4YesComputed (CASE)DACL / SACL
TrusteeIDintNoSA_FSAC_PermissionChanges.TrusteeID
TrusteeSIDvarchar184YesUDF: SA_FSAA_GetTrusteeInformation
TrusteeTypesmallintYesUDF: SA_FSAA_GetTrusteeInformationSee TrusteeType
TrusteeTypeDescriptionvarchar18YesComputed (CASE)
TrusteePrincipalIDintYesUDF: SA_FSAA_GetTrusteeInformation
TrusteeDisplayNamenvarchar256YesUDF: SA_FSAA_GetTrusteeInformation
TrusteeDomainNamenvarchar128YesUDF: SA_FSAA_GetTrusteeInformation
TrusteeNTNamenvarchar256YesUDF: SA_FSAA_GetTrusteeInformation
TrusteeNTStyleNamenvarchar385YesComputed (Domain\Name)
ChangeTypetinyintNoSA_FSAC_PermissionChanges.ChangeType
ChangeTypeDescriptionvarchar6YesComputed (CASE)Add / Remove / Update
AceTypetinyintNoSA_FSAC_PermissionChanges.AceType
AceTypeDescriptionvarchar16YesComputed (CASE)Allowed, Denied, Object Allowed, Object Denied, System Audit, System Alarm, Object Audit, Object Alarm
InheritanceFlagstinyintNoSA_FSAC_PermissionChanges.InheritanceFlags
InheritanceFlagsDescriptionvarchar64YesComputed (bitmask decode)Comma-joined: Inheritance Blocked / Inheritance Allowed / Child Objects Inherit
AceFlagstinyintNoSA_FSAC_PermissionChanges.AceFlags
AceFlagsDescriptionvarchar256YesComputed (bitmask decode)Comma-joined: Container Inherit, Object Inherit, No Propogate, Inheritance Only, Ace Is Inherited, Successful Access Audit, Failed Access Audit
AccessRightsbigintNoSA_FSAC_PermissionChanges.AccessRights
AccessRightsDescriptionvarchar32YesComputed (CASE)Windows-style label such as Full Control, Modify, Read, Write, Special
NewAccessRightsbigintYesSA_FSAC_PermissionChanges.NewAccessRights
NewAccessRightsDescriptionvarchar32YesComputed (CASE)Same vocabulary as AccessRightsDescription

Sensitive Data Views (SA_FSDLP_*)

SA_FSDLP_MatchesView

Description: SA_FSDLP_Matches enriched with file path, criterion name and GUID, a human-readable DataSource description, and an IsExcluded flag computed from the SDD exclusion-filter table.

Source tables: SA_FSDLP_Matches, SA_FSAA_Hosts, SA_FSDLP_Criteria, SA_FSAA_Resources, SA_FSAA_SharesTraversalView, SA_SDDExclusionFilters, UDF SA_FSAA_GetPath.

Column NameData TypeSizeNullableSourceDescription
HostIDintNoSA_FSDLP_Matches.HOST
HostNamenvarchar64YesSA_FSAA_Hosts.HOST
CriteriaIdintNoSA_FSDLP_Matches.CriteriaId
CriteriaNamenvarchar256YesSA_FSDLP_Criteria.Name
CriteriaGUIDuniqueidentifierYesSA_FSDLP_Criteria.pattern_guid
ResourceIDbigintNoSA_FSDLP_Matches.FileId
ParentResourceIDbigintYesSA_FSAA_Resources.ParentResourceID
FileNamenvarchar2000YesSA_FSAA_Resources.Name
FilePathnvarchar4000YesUDF: SA_FSAA_GetPath
MatchCountintYesSA_FSDLP_Matches.MatchCount
DataSourcevarchar30YesComputed (CASE)Content / Metadata / Filename / combinations
IsExcludedbitNoComputed (EXISTS against SA_SDDExclusionFilters)True if the file is covered by an exclusion filter

SA_FSDLP_MatchHitsView

Description: SA_FSDLP_MatchHits joined to SA_FSDLP_MatchesView so each hit carries the parent file/criterion identity. Used by the Sensitive Data report's drill-down view.

Source tables: SA_FSDLP_MatchHits (aliased H), SA_FSDLP_MatchesView (aliased M).

Column NameData TypeSizeNullableSourceDescription
HostIDintNoSA_FSDLP_MatchesView.HostID
HostNamenvarchar64YesSA_FSDLP_MatchesView.HostName
CriteriaIDintNoSA_FSDLP_MatchesView.CriteriaId
CriteriaNamenvarchar256YesSA_FSDLP_MatchesView.CriteriaName
CriteriaGUIDuniqueidentifierYesSA_FSDLP_MatchesView.CriteriaGUID
ResourceIDbigintNoSA_FSDLP_MatchesView.ResourceID
ParentResourceIDbigintYesSA_FSDLP_MatchesView.ParentResourceID
FileNamenvarchar2000YesSA_FSDLP_MatchesView.FileName
FilePathnvarchar4000YesSA_FSDLP_MatchesView.FilePath
MatchCountintYesSA_FSDLP_MatchesView.MatchCount
SubFileNamenvarchar1024YesSA_FSDLP_MatchHits.SubFileName
MatchPrefixnvarchar1024YesSA_FSDLP_MatchHits.MatchPrefix
MatchDatanvarchar1024YesSA_FSDLP_MatchHits.MatchData
MatchSuffixnvarchar1024YesSA_FSDLP_MatchHits.MatchSuffix
ConfidenceintNoSA_FSDLP_MatchHits.Confidence
DataSourcevarchar30YesComputed (CASE on SA_FSDLP_MatchHits.DataSource)Same vocabulary as SA_FSDLP_MatchesView.DataSource