Skip to main content

Views

The FSAA DC schema exposes 20 views that provide pre-joined, human-readable projections of the underlying tables. Reports and the Access Analyzer web UI consume these views rather than raw tables.

note

Column sizes shown for views are derived from underlying source columns and 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

Path map for every resource. Implemented as a VIEW (not a table) — the Create-Schema job explicitly drops any pre-existing table form before executing CREATE VIEW. The view delegates path construction to the SA_FSAA_GetPath scalar UDF, which walks the parent chain recursively.

Source: SA_FSAA_Resources (via SA_FSAA_GetPath UDF — recursive parent-chain walk)

ColumnTypeSourceDescription
HOSTintSA_FSAA_Resources.HOSTHost partition
ResourceIDbigintSA_FSAA_Resources.IDResource
Pathnvarchar(4000)Computed (recursive concat of SA_FSAA_Resources.Name up the parent chain)Full path string

SA_FSAA_ResourcesView

Surface view of SA_FSAA_Resources enriched with computed full path, resource-type description, three boolean permission flags (PermissionChange, InheritedPermission, DirectPermission), and Azure Files metadata. Two definitions exist; the Entra-aware variant applies when SA_Entra_RmResources exists.

Source tables: SA_FSAA_Resources, SA_FSAA_Hosts, SA_FSAA_Rights, SA_FSAA_AzureFilesShares, SA_Entra_RmResources (when present)

ColumnTypeSourceDescription
HostIDintSA_FSAA_Resources.HOSTHost ID
HostNamenvarchar(64)SA_FSAA_Hosts.HOSTHost name
IDbigintSA_FSAA_Resources.IDResource ID
ParentResourceIDbigintSA_FSAA_Resources.ParentResourceIDParent resource
Namenvarchar(2000)SA_FSAA_Resources.NameLeaf name
Pathnvarchar(4000)UDF: SA_FSAA_GetPathFull path
ResourceTypetinyintSA_FSAA_Resources.ResourceTypeSee ResourceType
ResourceTypeDescriptionvarchar(6)Computed (CASE)Share, Folder, or File
OwnerIDintSA_FSAA_Resources.OwnerID
RightsProxyIDintSA_FSAA_Resources.RightsProxyID
GatesProxyIDbigintSA_FSAA_Resources.GatesProxyID
NestedLevelintSA_FSAA_Resources.NestedLevel
SizebigintSA_FSAA_Resources.Size
LastModifieddatetimeSA_FSAA_Resources.LastModified
LastAccesseddatetimeSA_FSAA_Resources.LastAccessed
CreateddatetimeSA_FSAA_Resources.Created
USNintSA_FSAA_Resources.USN
DeletedUSNintSA_FSAA_Resources.DeletedUSN
PermissionChangebitComputed (CASE / EXISTS)True if ACL differs from parent
InheritedPermissionbitComputed (CASE / EXISTS)True if any inherited rights exist
DirectPermissionbitComputed (CASE / EXISTS)True if any direct rights exist
Storage Accountvarchar(256)SA_FSAA_AzureFilesShares.StorageAccountEntra-aware variant only
Azure File Share Namenvarchar(2000)SA_FSAA_AzureFilesShares.NameEntra-aware variant only
Azure TenantIDvarchar(38)SA_Entra_RmResources.DomainIdEntra-aware variant only

SA_FSAA_PermissionsView

Resource × ACE flat view with effective allow/deny rights expanded into 12 boolean columns, textual AllowRightsDescription/DenyRightsDescription (e.g. 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

ColumnTypeSourceDescription
HostIDintSA_FSAA_Resources.HOSTHost partition
HostNamenvarchar(64)SA_FSAA_Hosts.HOSTHost name
ResourceIDbigintSA_FSAA_Resources.IDResource
ParentResourceIDbigintSA_FSAA_Resources.ParentResourceIDParent resource
ResourceDeletedUSNintSA_FSAA_Resources.DeletedUSNNULL if not deleted
ResourcePathnvarchar(4000)UDF: SA_FSAA_GetPathFull resource path
ResourceTypetinyintSA_FSAA_Resources.ResourceType
ResourceTypeDescriptionvarchar(6)Computed (CASE)Share / Folder / File
AllowRightssmallintSA_FSAA_Rights.AllowRightsCombined bitmask
DenyRightssmallintSA_FSAA_Rights.DenyRightsCombined bitmask
AllowListbitComputed (AllowRights & 32)Has list right
AllowReadbitComputed (AllowRights & 1)Has read right
AllowWritebitComputed (AllowRights & 2)Has write right
AllowDeletebitComputed (AllowRights & 4)Has delete right
AllowManagebitComputed (AllowRights & 8)Has manage right
AllowAdminbitComputed (AllowRights & 16)Has admin right
DenyListbitComputed (DenyRights & 32)Deny list right
DenyReadbitComputed (DenyRights & 1)Deny read right
DenyWritebitComputed (DenyRights & 2)Deny write right
DenyDeletebitComputed (DenyRights & 4)Deny delete right
DenyManagebitComputed (DenyRights & 8)Deny manage right
DenyAdminbitComputed (DenyRights & 16)Deny admin right
AllowRightsDescriptionvarchar(6)Computed (concat letters L/R/W/D/M/A)e.g. LRW
DenyRightsDescriptionvarchar(6)Computed (concat letters L/R/W/D/M/A)e.g. D
RightsSourcevarchar(9)Computed (CASE on Direct/Inherited columns)Both / Inherited / Direct / None
AllowMaskintSA_FSAA_Rights.AllowMaskFull Windows access mask
DenyMaskintSA_FSAA_Rights.DenyMaskFull Windows deny mask
AllowMaskDescriptionvarchar(32)Computed (CASE)Full Control / Modify / Read & Execute / etc.
DenyMaskDescriptionvarchar(32)Computed (CASE)Same vocabulary as AllowMaskDescription
TrusteeIDintSA_FSAA_Rights.TrusteeID
TrusteeSIDvarchar(184)SA_FSAA_Trustees.SID
TrusteeTypesmallintUDF columnSee TrusteeType
TrusteeIsHistoricalSIDbitUDF columnTrue if SID came from SID History
TrusteePrincipalIDintUDF columnAD-Inventory principal ID
TrusteeTypeDescriptionvarchar(18)Computed (CASE)e.g. Domain User
TrusteeDisplayNamenvarchar(256)UDF column
TrusteeDomainnvarchar(128)UDF columnNT domain
TrusteeNTNamenvarchar(256)UDF columnSAM account name
TrusteeNTStyleNamenvarchar(385)Computed (Domain\Name)Concatenated NT-style name

SA_FSAA_ExpandedPermissionsView

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 to do the expansion.

Source tables: SA_FSAA_Resources, SA_FSAA_Hosts, UDF SA_FSAA_GetExpandedPermissions Filter: r.RightsProxyID IS NOT NULL

ColumnTypeSourceDescription
HostIDintSA_FSAA_Resources.HOSTHost partition
HostNamenvarchar(64)SA_FSAA_Hosts.HOSTHost name
ResourceIDbigintSA_FSAA_Resources.IDResource
ParentResourceIDbigintSA_FSAA_Resources.ParentResourceIDParent resource
ResourceDeletedUSNintSA_FSAA_Resources.DeletedUSN
ResourcePathnvarchar(4000)UDF: SA_FSAA_GetPathFull path
ResourceTypetinyintSA_FSAA_Resources.ResourceType
ResourceTypeDescriptionvarchar(6)Computed (CASE)Share / Folder / File
AllowRightssmallintUDF columnEffective allow bitmask after group expansion
DenyRightssmallintUDF columnEffective deny bitmask
AllowList / AllowRead / AllowWrite / AllowDelete / AllowManage / AllowAdminbitComputed (AllowRights & N)Six boolean columns (bits 32, 1, 2, 4, 8, 16)
DenyList / DenyRead / DenyWrite / DenyDelete / DenyManage / DenyAdminbitComputed (DenyRights & N)Six boolean columns
AllowRightsDescriptionvarchar(6)ComputedLetter form LRWDMA
DenyRightsDescriptionvarchar(6)Computed
TrusteeSIDvarchar(184)UDF columnLeaf-trustee SID
TrusteeTypesmallintUDF columnSee TrusteeType
TrusteeTypeDescriptionvarchar(18)Computed (CASE)
TrusteeDisplayNamenvarchar(256)UDF column
TrusteeDomainnvarchar(128)UDF column
TrusteeNTNamenvarchar(256)UDF column
TrusteeNTStyleNamenvarchar(385)Computed (Domain\Name)

SA_FSAA_DirectPermissionsView

Same shape as SA_FSAA_PermissionsView but filtered to direct (non-inherited) ACEs only. Uses DirectAllowRights / DirectDenyRights / DirectAllowMask / DirectDenyMask as the source columns; the output column names remain 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 shape is identical to SA_FSAA_PermissionsView. Source columns changed: AllowRightsDirectAllowRights, DenyRightsDirectDenyRights, AllowMaskDirectAllowMask, DenyMaskDirectDenyMask.

SA_FSAA_InheritedPermissionsView

Same shape as SA_FSAA_DirectPermissionsView but reads from the Inherited* rights/mask columns.

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 shape is identical to SA_FSAA_PermissionsView. Source columns changed: AllowRightsInheritedAllowRights, DenyRightsInheritedDenyRights, AllowMaskInheritedAllowMask, DenyMaskInheritedDenyMask.

SA_FSAA_SharesTraversalView

For every resource reachable through a gate, returns the gate, the resource, the share-relative resource path, and the SMB/NFS/Azure UNC path. Two definitions exist; the Entra-aware variant adds storage-account/tenant/share-property columns when SA_Entra_RmResources is present.

Source tables: SA_FSAA_Hosts, SA_FSAA_Gates, SA_FSAA_GatesProxy, SA_FSAA_Resources, SA_FSAA_Paths, plus (Entra-aware) SA_FSAA_AzureFilesShares, SA_FSAA_AzureFilesShareProperties, SA_Entra_RmResources Filter: r.GatesProxyID IS NOT NULL

ColumnTypeSourceDescription
HostIDintSA_FSAA_Hosts.ID
HostNamenvarchar(64)SA_FSAA_Hosts.HOST
GateIDintSA_FSAA_Gates.ID
GateTypeintSA_FSAA_Gates.GateTypeSee GateType
GateTypeDescriptionvarchar(3)Computed (CASE)SMB or NFS
GateDeletedUSNintSA_FSAA_Gates.DeletedUSN
ShareIDbigintSA_FSAA_Gates.ShareID
ShareNamenvarchar(256)SA_FSAA_Gates.DisplayName
ResourceIDbigintSA_FSAA_Resources.ID
ParentResourceIDbigintSA_FSAA_Resources.ParentResourceID
ResourceTypetinyintSA_FSAA_Resources.ResourceType
ResourceTypeDescriptionvarchar(6)Computed (CASE)
ResourceDeletedUSNintSA_FSAA_Resources.DeletedUSN
ResourcePathnvarchar(4000)SA_FSAA_Paths.PathLocal resource path
NetworkPathnvarchar(4000)ComputedUNC path or NFS-style path (host:share//rel-path for NFS; \\host\share\rel-path for SMB)
NestedLevelintComputed (r.NestedLevel - g.NestedLevel)Depth from share root
Storage Accountvarchar(256)SA_FSAA_AzureFilesShares.StorageAccountEntra-aware variant only
Azure File Share Namenvarchar(2000)SA_FSAA_AzureFilesShares.NameEntra-aware variant only
Azure TenantIDvarchar(38)SA_Entra_RmResources.DomainIdEntra-aware variant only
AzureShareIDintSA_FSAA_AzureFilesShareProperties.AzureShareIDEntra-aware variant only
AccessChangeTimedatetime2(7)SA_FSAA_AzureFilesShareProperties.AccessChangeTimeEntra-aware variant only
DeletedOndatetime2(7)SA_FSAA_AzureFilesShareProperties.DeletedOnEntra-aware variant only
LastModifieddatetime2(7)SA_FSAA_AzureFilesShareProperties.LastModifiedEntra-aware variant only
LeaseDurationvarchar(50)SA_FSAA_AzureFilesShareProperties.LeaseDurationEntra-aware variant only
QuotaInGBfloatSA_FSAA_AzureFilesShareProperties.QuotaInGBEntra-aware variant only
RemainingRetentionDaysintSA_FSAA_AzureFilesShareProperties.RemainingRetentionDaysEntra-aware variant only

SA_FSAA_EffectiveAccessView

Like SA_FSAA_SharesTraversalView but additionally resolves each row through SA_FSAA_GetEffectiveRights to attribute 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

ColumnTypeSourceDescription
HostIDintSA_FSAA_SharesTraversalView.HostID
HostNamenvarchar(64)SA_FSAA_SharesTraversalView.HostName
GateIDintSA_FSAA_SharesTraversalView.GateID
ShareIDbigintSA_FSAA_SharesTraversalView.ShareID
ResourceIDbigintSA_FSAA_SharesTraversalView.ResourceID
ShareNamenvarchar(256)SA_FSAA_SharesTraversalView.ShareName
NestedLevelintSA_FSAA_SharesTraversalView.NestedLevel
ResourcePathnvarchar(4000)SA_FSAA_SharesTraversalView.ResourcePath
NetworkPathnvarchar(4000)SA_FSAA_SharesTraversalView.NetworkPath
ResourceTypetinyintSA_FSAA_SharesTraversalView.ResourceType
ResourceTypeDescriptionvarchar(6)SA_FSAA_SharesTraversalView.ResourceTypeDescription
ResourceDeletedUSNintSA_FSAA_SharesTraversalView.ResourceDeletedUSN
GateDeletedUSNintSA_FSAA_SharesTraversalView.GateDeletedUSN
AllowRightssmallintUDF columnEffective allow bitmask
DenyRightssmallintUDF columnEffective deny bitmask
DirectTrusteebitUDF columnTrue if rights come from a direct ACE rather than group expansion
AllowList / AllowRead / AllowWrite / AllowDelete / AllowManage / AllowAdminbitComputedSix boolean columns
DenyList / DenyRead / DenyWrite / DenyDelete / DenyManage / DenyAdminbitComputedSix boolean columns
AllowRightsDescriptionvarchar(6)Computed
DenyRightsDescriptionvarchar(6)Computed
TrusteeSIDvarchar(184)UDF column
TrusteeTypesmallintUDF column
TrusteeTypeDescriptionvarchar(18)Computed (CASE)
TrusteeDisplayNamenvarchar(256)UDF column
TrusteeDomainnvarchar(128)UDF column
TrusteeNTNamenvarchar(256)UDF column
TrusteeNTStyleNamenvarchar(385)Computed

SA_FSAA_LocalGroupMembersView

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)

ColumnTypeSourceDescription
HostIDintSA_FSAA_TrusteeEquivalence.HOST
HostNamenvarchar(64)SA_FSAA_Hosts.HOST
GroupTrusteeIDintSA_FSAA_TrusteeEquivalence.EquivalentTrusteeID
GroupSIDvarchar(184)UDF column (group)
GroupDisplayNamenvarchar(256)UDF column (group)
GroupDomainnvarchar(128)UDF column (group)
GroupNTNamenvarchar(256)UDF column (group)
GroupNTStyleNamenvarchar(385)Computed (Domain\Name)
MemberTrusteeIDintSA_FSAA_TrusteeEquivalence.TrusteeID
MemberSIDvarchar(184)UDF column (member)
MemberDomainnvarchar(128)UDF column (member)
MemberNTNamenvarchar(256)UDF column (member)
MemberDisplayNamenvarchar(256)UDF column (member)
MemberNTStyleNamenvarchar(385)Computed (Domain\Name)
MemberTypesmallintUDF column (member)See TrusteeType
MemberTypeDescriptionvarchar(18)Computed (CASE)
MemberPrincipalIDintUDF column (member)AD-Inventory principal ID

SA_FSAA_ExceptionsView

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), SA_FSAA_Hosts, SA_FSAA_Resources, SA_FSAA_Gates, UDF SA_FSAA_GetTrusteeInformationEx

ColumnTypeSourceDescription
HostIDintSA_FSAA_Exceptions.HOST
HostNamenvarchar(64)SA_FSAA_Hosts.HOST
ExceptionTypeintSA_FSAA_Exceptions.ExceptionType
ParentTypeintSA_FSAA_ExceptionTypes.ParentTypeHierarchical parent type
ExceptionNamevarchar(128)SA_FSAA_ExceptionTypes.Name
GateIDintSA_FSAA_Exceptions.GateID
ResourceIDbigintSA_FSAA_Exceptions.ResourceID
Pathnvarchar(4000)ComputedUNC path / resource path / NULL depending on which columns are populated
TrusteeIDintSA_FSAA_Exceptions.TrusteeID
TrusteeSIDvarchar(184)SA_FSAA_Trustees.SID
TrusteeTypesmallintSA_FSAA_Trustees.TrusteeType
TrusteeDisplayNamenvarchar(256)UDF column
TrusteeNTStyleNamenvarchar(385)Computed
TrusteePrincipalIDintUDF column
SourceTrusteeIDintSA_FSAA_Exceptions.SourceTrusteeID
SourceTrusteeSIDvarchar(184)SA_FSAA_Trustees.SID (second join)
SourceTrusteeTypesmallintSA_FSAA_Trustees.TrusteeType (second join)
SourceTrusteeDisplayNamenvarchar(256)UDF column
SourceTrusteeNTStyleNamenvarchar(385)Computed
SourceTrusteePrincipalIDintUDF column

SA_FSAA_AzureFilesPermissionsView

Created only when SA_Entra_RmResources exists. Joins Azure Files shares to the Entra ID role assignments captured by the Entra inventory collector to surface RBAC on Azure Files.

Source tables: SA_FSAA_AzureFilesShares, SA_Entra_RmResources (filtered to Microsoft.Storage/storageAccounts), SA_Entra_RmResourcesPrincipalsRolesView

ColumnTypeSourceDescription
TenantIDvarchar(38)SA_Entra_RmResources.DomainId
HOSTintSA_FSAA_AzureFilesShares.HOST
StorageAccountvarchar(256)SA_FSAA_AzureFilesShares.StorageAccount
Scopenvarchar(512)SA_Entra_RmResourcesPrincipalsRolesView.ScopeRBAC assignment scope
AzureShareIdintSA_FSAA_AzureFilesShares.ID
ResourceAzureIdvarchar(512)SA_Entra_RmResourcesPrincipalsRolesView.ResourceAzureId
ProviderNamevarchar(128)SA_Entra_RmResources.ProviderName
Typevarchar(128)SA_Entra_RmResources.Type
Resource Namenvarchar(2000)SA_FSAA_AzureFilesShares.NameShare name
RoleDomainIdvarchar(38)SA_Entra_RmResourcesPrincipalsRolesView.RoleDomainId
RoleDomainNamenvarchar(256)SA_Entra_RmResourcesPrincipalsRolesView.RoleDomainName
RoleIdvarchar(38)SA_Entra_RmResourcesPrincipalsRolesView.RoleId
RoleNamenvarchar(256)SA_Entra_RmResourcesPrincipalsRolesView.RoleName
CreatedBynvarchar(256)SA_Entra_RmResourcesPrincipalsRolesView.CreatedByDisplayName
CreatedDateTimedatetime2SA_Entra_RmResourcesPrincipalsRolesView.CreatedDateTime
ModifiedBynvarchar(256)SA_Entra_RmResourcesPrincipalsRolesView.ModifiedByDisplayName
ModifiedDateTimedatetime2SA_Entra_RmResourcesPrincipalsRolesView.ModifiedDateTime
RightsFlagsintSA_Entra_RmResourcesPrincipalsRolesView.RightsFlagsCustom-role rights bitmask
DataRightsFlagsintSA_Entra_RmResourcesPrincipalsRolesView.DataRightsFlagsCustom-role data-action bitmask

Activity Views (SA_FSAC_*)

SA_FSAC_DailyActivityView

Per-(host, date, folder, trustee, operation) activity row with trustee identity expanded and operation code translated to a human-readable label. The most common entry point for activity reporting.

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

ColumnTypeSourceDescription
HostIDintSA_FSAC_DailyActivity.HOST
HostNamenvarchar(64)SA_FSAA_Hosts.HOST
ActivityDatedateSA_FSAC_DailyActivity.ActivityDate
FolderIDbigintSA_FSAC_DailyActivity.FolderID
Pathnvarchar(4000)UDF: SA_FSAA_GetPathFull folder path
UserIDintSA_FSAC_DailyActivity.TrusteeID
UserSIDvarchar(184)SA_FSAA_Trustees.SID
UserTypesmallintUDF columnSee TrusteeType
UserPrincipalIDintUDF columnAD-Inventory principal ID
UserTypeDescriptionvarchar(18)Computed (CASE)e.g. Domain User
UserDisplayNamenvarchar(256)UDF column
UserNTNamenvarchar(256)UDF column
UserNTDomainnvarchar(128)UDF column
UserNTStyleNamenvarchar(385)Computed (Domain\Name)
OperationtinyintSA_FSAC_DailyActivity.Operation
OperationDescriptionvarchar(18)Computed (CASE)Read / Add / Update / Delete / Permission Change / Rename
AllowbitSA_FSAC_DailyActivity.Allow
AllowDescriptionvarchar(7)Computed (CASE)Allowed / Denied
OperationCountintSA_FSAC_DailyActivity.Count

SA_FSAC_DailyUserActivityView

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

ColumnTypeSourceDescription
HostIDintSA_FSAC_DailyActivity.HOST
HostNamenvarchar(64)SA_FSAA_Hosts.HOST
ActivityDatedateSA_FSAC_DailyActivity.ActivityDate
FolderIDbigintSA_FSAC_DailyActivity.FolderID
Pathnvarchar(4000)UDF: SA_FSAA_GetPath
UserIDintSA_FSAC_DailyActivity.TrusteeID
UserSIDvarchar(184)SA_FSAA_Trustees.SID
UserTypesmallintUDF column
UserPrincipalIDintUDF column
UserTypeDescriptionvarchar(18)Computed (CASE)
UserDisplayNamenvarchar(256)UDF column
UserNTNamenvarchar(256)UDF column
UserNTDomainnvarchar(128)UDF column
UserNTStyleNamenvarchar(385)Computed
ReadsintPivot (Operation = 0)Read-operation count
AddsintPivot (Operation = 1)Add-operation count
UpdatesintPivot (Operation = 2)Update-operation count
DeletesintPivot (Operation = 3)Delete-operation count
PermissionChangesintPivot (Operation = 4)Permission-change count
RenamesintPivot (Operation = 5)Rename count

SA_FSAC_DailyResourceActivityView

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

ColumnTypeSourceDescription
HostIDintSA_FSAC_DailyActivity.HOST
HostNamenvarchar(64)SA_FSAA_Hosts.HOST
ActivityDatedateSA_FSAC_DailyActivity.ActivityDate
FolderIDbigintSA_FSAC_DailyActivity.FolderID
Pathnvarchar(4000)UDF: SA_FSAA_GetPath
ReadsintSUM (Operation = 0)
AddsintSUM (Operation = 1)
UpdatesintSUM (Operation = 2)
DeletesintSUM (Operation = 3)
PermissionChangesintSUM (Operation = 4)
RenamesintSUM (Operation = 5)
ActiveUsersintCOUNT(DISTINCT TrusteeID)Distinct users with activity that day

SA_FSAC_ActivityEventsView

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

ColumnTypeSourceDescription
HostIDintSA_FSAC_ActivityEvents.HOST
HostNamenvarchar(64)SA_FSAA_Hosts.HOST
IDbigintSA_FSAC_ActivityEvents.ID
AccessTimedatetime2SA_FSAC_ActivityEvents.AccessTime
ResourceIDbigintSA_FSAC_ActivityEvents.PathID
ResourceTypetinyintSA_FSAA_Resources.ResourceType
ResourceTypeDescriptionvarchar(6)Computed (CASE)Folder / File
ParentResourceIDbigintSA_FSAA_Resources.ParentResourceID
ResourceNamenvarchar(2000)SA_FSAA_Resources.Name
Pathnvarchar(4000)UDF: SA_FSAA_GetPath
ProcessIDintSA_FSAC_ActivityEvents.ProcessID
ProcessNamenvarchar(255)SA_FSAC_ProcessNames.Name
OperationtinyintSA_FSAC_ActivityEvents.Operation
OperationDescriptionvarchar(18)Computed (CASE)
AllowbitSA_FSAC_ActivityEvents.Allow
AllowDescriptionvarchar(7)Computed (CASE)Allowed / Denied
TargetResourceIDbigintSA_FSAC_RenameTargets.TargetPathIDRenames only
TargetResourceNamenvarchar(2000)SA_FSAA_Resources.Name (target)Renames only
TargetParentResourceIDbigintSA_FSAA_Resources.ParentResourceID (target)Renames only
TargetPathnvarchar(4000)UDF: SA_FSAA_GetPath (target)Renames only
UserIDintSA_FSAC_ActivityEvents.TrusteeID
UserSIDvarchar(184)SA_FSAA_Trustees.SID
UserDisplayNamenvarchar(256)UDF column
UserNTDomainnvarchar(128)UDF column
UserNTNamenvarchar(256)UDF column
UserTypesmallintUDF column
UserPrincipalIDintUDF column
UserTypeDescriptionvarchar(18)Computed (CASE)
UserNTStyleNamenvarchar(385)Computed

SA_FSAC_ExceptionsView

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

ColumnTypeSourceDescription
HostIDintSA_FSAC_Exceptions.HOST
HostNamenvarchar(64)SA_FSAA_Hosts.HOST
IDintSA_FSAC_Exceptions.ID
ExceptionTypeintSA_FSAC_Exceptions.ExceptionType
ParentTypeintSA_FSAC_ExceptionTypes.ParentType
ExceptionNamevarchar(128)SA_FSAC_ExceptionTypes.Name
ActivityDatedateSA_FSAC_Exceptions.ActivityDate
ActivityHourtinyintSA_FSAC_Exceptions.ActivityHour
DayOfWeeknvarchar(30)Computed (DATENAME(dw, ActivityDate))e.g. Monday
TimeOfDayvarchar(8)Computed (CASE on ActivityHour)e.g. 3 PM, 12 AM
GateIDintSA_FSAC_Exceptions.GateID
ResourceIDbigintSA_FSAC_Exceptions.ResourceID
Pathnvarchar(4000)Computed (\\host\share<resource-path>)
TrusteeIDintSA_FSAC_Exceptions.TrusteeID
TrusteeDisplayNamenvarchar(256)UDF: SA_FSAA_GetTrusteeInformation
NTDomainnvarchar(128)UDF column
NTNamenvarchar(256)UDF column
TrusteeNTStyleNamenvarchar(385)Computed (Domain\Name)
TrusteeTypesmallintUDF column
TrusteeTypeDescriptionvarchar(18)Computed (CASE)
TrusteeSIDvarchar(184)UDF column
TrusteePrincipalIDintUDF column
ValueintSA_FSAC_Exceptions.Value
AveragefloatSA_FSAC_Exceptions.Average
StandardDeviationsfloatSA_FSAC_Exceptions.StandardDeviations

SA_FSAC_UserExceptionsView

Same shape as SA_FSAC_ExceptionsView but partitioned by user SID rather than (HOST, ID). Used for cross-host user-behaviour anomalies.

Source tables: SA_FSAC_UserExceptions, SA_FSAC_UserExceptionTypes

Columns mirror SA_FSAC_ExceptionsView minus the per-host columns: SID, ID, ExceptionType, ParentType, ExceptionName, ActivityDate, ActivityStartTime, ActivityPeriod, Value, Average, StandardDeviations, plus computed DayOfWeek and TimeOfDay.

SA_FSAC_PermissionChangesView

Per-permission-change view that joins each SA_FSAC_PermissionChanges detail row to its host and resolves the affected trustee via SA_FSAA_GetTrusteeInformation. Doesn't join to SA_FSAC_ActivityEvents or SA_FSAA_Resources; use SA_FSAC_ActivityEventsView joined to SA_FSAC_PermissionChanges when you need AccessTime, ResourcePath, or ResourceType.

Source tables: SA_FSAC_PermissionChanges, SA_FSAA_Hosts, CROSS APPLY SA_FSAA_GetTrusteeInformation

ColumnTypeSourceDescription
HostIDintSA_FSAC_PermissionChanges.HOSTHost partition
HostNamenvarchar(64)SA_FSAA_Hosts.HOSTHost name
ActivityIDbigintSA_FSAC_PermissionChanges.ActivityIDParent activity event ID
ChangeIDsmallintSA_FSAC_PermissionChanges.ChangeIDPer-event change index
AclTypetinyintSA_FSAC_PermissionChanges.AclTypeACL type (DACL / SACL)
AclTypeDescriptionvarcharComputed (CASE)Decoded ACL type label
TrusteeIDintSA_FSAC_PermissionChanges.TrusteeIDTrustee whose ACE changed
TrusteeSIDvarchar(184)UDF: SA_FSAA_GetTrusteeInformation
TrusteeTypesmallintUDF columnSee TrusteeType
TrusteeTypeDescriptionvarcharComputed (CASE)e.g. Domain User
PrincipalIdintUDF columnAD-Inventory principal ID
DisplayNamenvarchar(256)UDF column
NTDomainnvarchar(128)UDF column
NTNamenvarchar(256)UDF column
TrusteeNTStyleNamenvarchar(385)Computed (Domain\Name)
ChangeTypetinyintSA_FSAC_PermissionChanges.ChangeTypeAdded / Removed / Modified
ChangeTypeDescriptionvarcharComputed (CASE)Decoded change-type label
AceTypetinyintSA_FSAC_PermissionChanges.AceTypeAllow / Deny
AceTypeDescriptionvarcharComputed (CASE)Decoded ACE-type label
InheritanceFlagstinyintSA_FSAC_PermissionChanges.InheritanceFlagsNTFS inheritance flags
InheritanceFlagsDescriptionvarcharComputed (CASE)Decoded inheritance-flags label
AceFlagstinyintSA_FSAC_PermissionChanges.AceFlagsNTFS ACE flags
AceFlagsDescriptionvarcharComputed (CASE)Decoded ACE-flags label
AccessRightsbigintSA_FSAC_PermissionChanges.AccessRightsPre-change Windows access mask
NewAccessRightsbigintSA_FSAC_PermissionChanges.NewAccessRightsPost-change access mask (NULL when ACE removed)
AccessRightsDescriptionvarcharComputed (CASE)Decoded pre-change rights label
NewAccessRightsDescriptionvarcharComputed (CASE)Decoded post-change rights label

Sensitive Data Views (SA_FSDLP_*)

SA_FSDLP_MatchesView

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

ColumnTypeSourceDescription
HostIDintSA_FSDLP_Matches.HOST
HostNamenvarchar(64)SA_FSAA_Hosts.HOST
CriteriaIdintSA_FSDLP_Matches.CriteriaId
CriteriaNamenvarchar(256)SA_FSDLP_Criteria.Name
CriteriaGUIDuniqueidentifierSA_FSDLP_Criteria.pattern_guid
ResourceIDbigintSA_FSDLP_Matches.FileId
ParentResourceIDbigintSA_FSAA_Resources.ParentResourceID
FileNamenvarchar(2000)SA_FSAA_Resources.Name
FilePathnvarchar(4000)UDF: SA_FSAA_GetPath
MatchCountintSA_FSDLP_Matches.MatchCount
DataSourcevarchar(30)Computed (CASE)Content / Metadata / Filename / combinations
IsExcludedbitComputed (EXISTS against SA_SDDExclusionFilters)True if the file is covered by an exclusion filter

SA_FSDLP_MatchHitsView

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, SA_FSDLP_MatchesView

ColumnTypeSourceDescription
HostIDintSA_FSDLP_MatchesView.HostID
HostNamenvarchar(64)SA_FSDLP_MatchesView.HostName
CriteriaIDintSA_FSDLP_MatchesView.CriteriaId
CriteriaNamenvarchar(256)SA_FSDLP_MatchesView.CriteriaName
CriteriaGUIDuniqueidentifierSA_FSDLP_MatchesView.CriteriaGUID
ResourceIDbigintSA_FSDLP_MatchesView.ResourceID
ParentResourceIDbigintSA_FSDLP_MatchesView.ParentResourceID
FileNamenvarchar(2000)SA_FSDLP_MatchesView.FileName
FilePathnvarchar(4000)SA_FSDLP_MatchesView.FilePath
MatchCountintSA_FSDLP_MatchesView.MatchCount
SubFileNamenvarchar(1024)SA_FSDLP_MatchHits.SubFileName
MatchPrefixnvarchar(1024)SA_FSDLP_MatchHits.MatchPrefix
MatchDatanvarchar(1024)SA_FSDLP_MatchHits.MatchData
MatchSuffixnvarchar(1024)SA_FSDLP_MatchHits.MatchSuffix
ConfidenceintSA_FSDLP_MatchHits.Confidence
DataSourcevarchar(30)Computed (CASE on SA_FSDLP_MatchHits.DataSource)Same vocabulary as SA_FSDLP_MatchesView.DataSource