Reporting System Database Schema
Reporting System Database Schema
Schema
UM643402
November 18
Contents
1 Introduction ........................................................................................................................................... 6
3.2.19 RecipientTypes 68
3.2.20 SelectorValues 69
3.2.21 SystemEvents 70
3.2.22 TaskCategories 72
3.3 Default Schema (dbo) .............................................................................................................. 76
3.3.1 Settings 76
4 Database Indicies ............................................................................................................................... 77
4.1 ClassifierStaging ...................................................................................................................... 77
4.2 ClassifierWorking ..................................................................................................................... 78
5 Views Data Dictionary ........................................................................................................................ 82
5.1 ClassifierReporting .................................................................................................................. 82
5.1.1 ClassificationChanges 82
5.1.2 ClassificationSummary 83
5.1.3 ClassificationIssues 84
5.1.4 DocumentClassificationTrends 85
5.1.5 EmailClassificationTrends 86
5.1.6 MAIssues 87
5.1.7 OverviewAllChecks 88
5.1.8 OverviewClassifications 89
5.1.9 PolicyCheckBreakDown 90
5.1.10 PolicyChecksWithAdvisories 91
5.1.11 PolicyDistribution 92
5.1.12 PolicyWarningTrends 93
5.1.13 ReportAttTypesbyClassification 94
5.1.14 ReportTotalDocumentsByClassificationUser 95
5.1.15 ReportTotalEmailsbyClassificationDomain 96
5.1.16 ReportTotalEmailsbyClassificationUser 97
5.2 ClassifierReporting2 ................................................................................................................ 98
5.2.1 ClassificationChanges 98
5.2.2 ClassificationSummary 99
5.2.3 DocumentClassificationTrends 100
5.2.4 EmailClassificationTrends 101
5.2.5 FormattedClassifications 102
5.2.6 OverviewClassifications 103
5.2.7 ReportDocumentLabelChanges 104
5.2.8 ReportEmailLabelChanges 105
5.2.9 ReportUserByClassificationByFilenameByTime 106
5.2.10 SharePoint 107
5.2.11 UnusalClassifications 108
5.3 ClassifierReporting3 .............................................................................................................. 109
5.3.1 Computers 109
5.3.2 Departments 109
5.3.3 DocumentClassifierActivity 109
5.3.4 DocumentLabelDowngrade 110
5.3.5 Reasons 110
5.3.6 SelectorValueNames 110
[Link] 3
Classifier Reporting Database Schema UM643402
[Link] 5
Classifier Reporting Database Schema UM643402
1 INTRODUCTION
This document presents the schema of version 1.3 of the Classifier Events Database component of
the Classifier Reporting Services.
Boldon James Classifier Reporting Services delivers dashboards and reports that provide
administrators and managers insight into the way that Classifier components are being used in their
organisations. The Classifier Events Database is at the heart of the system’s components.
The architecture is based on partitioning the data into two separate sets of tables; the
ClassifierStaging and the ClassifierWorking tables. Event data is written into the ClassifierStaging
tables by the Event Log service using ClassifierStaging Stored Procedures. The Event data is
moved from the ClassifierStaging tables to the ClassifierWorking tables using ClassifierWorking
Stored Procedures run by SQL jobs.
Users and Computers data can also be extracted from Active Directory and written to the database
by the AD service using ClassifierStaging Stored Procedures. Similarly, the Users and Computers
data can be written to the ClassifierWorking tables by using Stored Procedures run by SQL jobs.
The Classifier Reporting Console uses View, Stored Procedures and Functions from the
ClassifierReporting, ClassifierReporting2 and ClassifierReporting3 schemas to present data from
the ClassifierWorking tables.
[Link] 6
Classifier Reporting Database Schema UM643402
2 DATABASE SCHEMA
This section details the Classifier Reporting database schemas. Classifier Reporting uses five
database schemas:
StagedComputers The table to represent computers stored in the local AD. 1.2.5
StagedDocumentEventSelectorValue The table to hold selector values parsed from events. 1.2.5
StagedEmailEventSelectorValue The table to hold selector values parsed from events. 1.2.5
See the section ClassifierStaging stored procedures for details of the schema’s stored procedures.
[Link] 8
Classifier Reporting Database Schema UM643402
[Link] 9
Classifier Reporting Database Schema UM643402
[Link] 10
Classifier Reporting Database Schema UM643402
See the section ClassifierWorking stored procedures for details of the schema’s stored procedures.
[Link] 12
Classifier Reporting Database Schema UM643402
[Link] 13
Classifier Reporting Database Schema UM643402
[Link] 14
Classifier Reporting Database Schema UM643402
These tables are for internal use only. They are used by stored procedures to temporarily hold data
during processing. In previous versions of the database, the tables were created and destroyed by
the stored procedures. The tables now permanently reside in the database but do not contain data
except during stored procedure processing.
[Link] 15
Classifier Reporting Database Schema UM643402
EmailClassificationTrend View showing the Classification from Email Send Events. 1.2.5
s
OverviewClassifications View to show the Time and Classification in Email Send 1.2.5
and Document Open Events
PolicyChecksWithAdvisor View to show details, including the Users Application and 1.2.5
ies Classifiers Advice, from Email and Document Check
Events
PolicyWarningTrends View to show details, including the Users Application and 1.2.5
Classifiers Advice, from Email and Document Check
Events
[Link] 16
Classifier Reporting Database Schema UM643402
DocumentClassificationTrend View showing the first three selector values parsed from the 1.2.5
s Classification in Document Save Events.
EmailClassificationTrends View showing the first three selector values parsed from the 1.2.5
Classification in Email Send Events.
FormattedClassifications View to show the first three individual selector values parsed 1.2.5
from an Event Classification.
OverviewClassifications View to show the Time and first three individual selector values 1.2.5
parsed from the Classifications in Email Send and Document
Open Events
ReportDocumentLabelChang View shows details of Document Check Events where the 1.2.5
es Classification has been changed
ReportEmailLabelChanges View shows details of Email Check Events where the 1.2.5
Classification has been changed
UnusualClassifications View to show details of Events whose Classification could not 1.2.5
be parsed into individual selector values
Departments View showing the names of User's departments and the wild 1.3
card %.; View is used to select User input for a report.
DocumentLabelDowngrade View listing the user and time of all document label downgrade 1.3
events.
[Link] 17
Classifier Reporting Database Schema UM643402
Reasons View showing all the non-null reasons supplied by users to a 1.3
classifier event check challenge.
SelectorValueNames View showing the names of selector values used as the first 1.3
value in parsed classifications.
SelectValueNamesAndWC View showing the names of selector values used as the first 1.3
value in parsed classifications and the wild card %.; View is
used to select User input for a report.
See the section ClassifierReporting3 stored procedures for details of the schema’s stored
procedures and the section ClassifierReporting3 functions for details of the schema’s table valued
functions.
[Link] 18
Classifier Reporting Database Schema UM643402
OfficeProductId INT YES NO Internal identifier for the application name. 1.2.5
ProviderName NVARCHAR(128) YES NO Provider Name representing the name of the Classifier application 1.2.5
recording the event.
[Link] 19
Classifier Reporting Database Schema UM643402
[Link] 20
Classifier Reporting Database Schema UM643402
3.1.2 StagedAttachments
AttachmentNumber SMALLINT YES NO Unique number of the attachment for each event. 1.2.5
Extension NVARCHAR(260) NO YES The filename extension of the attached document. 1.2.5
5 Foreign key constraint removed in V1.3.0 but column should index the StagedEmailEvent table
[Link] 21
Classifier Reporting Database Schema UM643402
3.1.3 StagedAttachmentSelectorValue
SelectorValueOrder SMALLINIT YES NO The order of the parsed selector value in the 1.2.5
attachments label.
XmlId NVARCHAR(256) YES NO The XML identifier of the parsed selector value. 1.2.5
6 Foreign key constraint removed in V1.3.0 but column should index the StagedEmailEvent table
[Link] 22
Classifier Reporting Database Schema UM643402
3.1.4 StagedComputers
isDeleted VARCHAR(5) NO NO Set to true if the computer has been deleted in AD. 1.2.5
Site NVARCHAR(2048) NO NO Physical location or network, usually defined only for 1.2.5
Domain Controllers.
TimeDeleted DATETIME28 NO NO Time that the AD service first identifies that the computer 1.2.6
has been deleted in AD.
3.1.5 StagingDocumentEvents
Computer NVARCHAR(2048) YES YES Computer name where the Classifier event occurred. 1.2.5
DocumentFilename NVARCHAR(2048) NO NO The long path and name of the document. 1.2.5
LabelConfiguration NVARCHAR(128) NO NO The name of the Classifier configuration being used. 1.2.5
LabelConfigurationLocation NVARCHAR(512) NO NO The location of the Classifier configuration being used. 1.2.5
Filestore or AD.
9 Not a formal foreign key but should be one of the values in the EventGeneralDescription table.
10 Not a formal foreign key but should be one of the values in the Event Level table.
[Link] 25
Classifier Reporting Database Schema UM643402
LabelConfigurationLocationPath NVARCHAR(512) NO NO The path and filename of the Classifier configuration being 1.2.5
used.
LabelConfigurationPolicy NVARCHAR(128) NO NO The name of the Classifier Policy being used. 1.2.5
OriginalLabel NVARCHAR(2048) NO NO The original label of the email. Only relevant when label 1.2.5
has been changed.
ProcessId INT YES NO Numeric identifier of the process that created the event. 1.2.5
ProviderName INT YES NO Provider Name representing the name of the Classifier 1.2.5
application recording the event.11
Quarantined BIT YES NO Indicates if this record has a problem and has been 1.2.5
quarantined (e.g. 1=TRUE)12.
Reason NVARCHAR(512) NO NO The reason, or challenge text, that the user provided for the 1.2.5
override.
ThreadId INT YES NO Numeric identifier of the thread that created the event. 1.2.5
[Link] 26
Classifier Reporting Database Schema UM643402
UserAction NVARCHAR(32) NO NO The user action, such as downgrade, that caused the check 1.2.5
to happen.
UserId NVARCHAR(128) YES YES UserId - SID of user creating event. 1.2.5
3.1.6 StagedDocumentEventsSelectorValue
15 Foreign key constraint removed in V1.3.0 but column should index the StagedDocumentEvent table
[Link] 28
Classifier Reporting Database Schema UM643402
3.1.7 StagedEmailEvents
Classification NVARCHAR(2048) NO NO The textual representation for the Classification of the 1.2.5
email
Computer NVARCHAR(2048) YES YES Computer name where the Classifier event occurred. 1.2.5
EmailFrom NVARCHAR(2048) NO YES The From email address of the email. 1.2.5
LabelConfiguration NVARCHAR(256) NO NO The name of the Classifier configuration being used. 1.2.5
LabelConfigurationLocation NVARCHAR(512) NO NO The location of the Classifier configuration being used, 1.2.5
e.g. Filestore or AD.
16 Not a formal foreign key but should be one of the values in the EventGeneralDescription table.
17 Not a formal foreign key but should be one of the values in the Event Level table.
[Link] 29
Classifier Reporting Database Schema UM643402
LabelConfigurationLocationPath NVARCHAR(512) NO YES The path and filename of the Classifier configuration 1.2.5
being used.
LabelConfigurationPolicy NVARCHAR(256) NO NO The name of the Classifier policy being used. 1.2.5
OriginalLabel NVARCHAR(2048) NO NO The original label of the Document. Only relevant 1.2.5
when label has been changed.
ProcessId INT YES NO Numeric identifier of the process that created the 1.2.5
event.
ProviderName NVARCHAR(256) YES NO Provider Name representing the name of the Classifier 1.2.5
application recording the event.18
Quarantined BIT YES NO Indicates if this record has a problem and has been 1.2.5
quarantined (e.g. 1=TRUE)19.
Reason NVARCHAR(512) NO NO The reason, or challenge text, that the user provided 1.2.5
for the override.
ThreadId INT YES NO Numeric identifier of the thread that created the event 1.2.5
UserAction NVARCHAR(32) NO NO The user action, such as downgrade, that caused the 1.2.5
check to happen.
UserId NVARCHAR(256) YES YES UserId - SID of user creating event. 1.2.5
20 Not a formal foreign key but should be one of the values in the TaskCategories table.
21 Changed from DATETIME to DATETIME2 in V1.2.6
[Link] 31
Classifier Reporting Database Schema UM643402
3.1.8 StagedEmailEventsSelectorValue
StagedEmailEventId INT YES NO Foreign Key to StagingEmailEvents table that contains the 1.2.5
parsed Classification.22
Value NVARCHAR(256) YES NO The value of the parsed selector value. 1.2.5
XmlId NVARCHAR(256) YES NO The xml identifier of the parsed selector value. 1.2.5
22 Foreign key constraint removed in V1.3.0 but column should index the StagedEmailEvents table
[Link] 32
Classifier Reporting Database Schema UM643402
3.1.9 StagedKnownUsers
Attribute10 NVARCHAR(2048) NO NO Configurable attribute 10 of the Known User from AD. 1.2.5
Attribute2 NVARCHAR(2048) NO NO Configurable attribute 2 of the Known User from AD. 1.2.5
Attribute3 NVARCHAR(2048) NO NO Configurable attribute 3 of the Known User from AD. 1.2.5
Attribute4 NVARCHAR(2048) NO NO Configurable attribute 4 of the Known User from AD. 1.2.5
Attribute5 NVARCHAR(2048) NO NO Configurable attribute 5 of the Known User from AD. 1.2.5
Attribute6 NVARCHAR(2048) NO NO Configurable attribute 6 of the Known User from AD. 1.2.5
Attribute7 NVARCHAR(2048) NO NO Configurable attribute 7 of the Known User from AD. 1.2.5
Attribute8 NVARCHAR(2048) NO NO Configurable attribute 8 of the Known User from AD. 1.2.5
Attribute9 NVARCHAR(2048) NO NO Configurable attribute 9 of the Known User from AD. 1.2.5
isDeleted VARCHAR(5) NO NO Set to true if the User has been deleted in AD. 1.2.5
[Link] 34
Classifier Reporting Database Schema UM643402
TimeDeleted DATETIM225 NO NO Time that the AD service first identifies that the user has 1.2.6
been deleted in AD.
3.1.10 StagedManagementEvents
Computer NVARCHAR(2048) NO YES Computer the MA event was created on. 1.2.5
ConfigRetrievalLocation NVARCHAR(512) NO YES Location on the Users machine where Classifier 1.2.5
configuration is retrieved from.
ConfigurationLocation NVARCHAR(512) NO YES Location on the Users machine where Classifier 1.2.5
configuration is retrieved from.
IssueType INT YES NO Identifier for the Classifier status identified in the event. 28 1.2.5
OfficeProductId INT YES NO Identifier for the Office Product identified in the event. 29 1.2.5
OfficeVersion NVARCHAR(256) NO NO Identifier for the version of the Office Product identified in 1.2.5
the event.
26 Not a formal foreign key but should be one of the values in the EventGeneralDescription table.
27 Not a formal foreign key but should be one of the values in the Event Level table.
28 Not a formal foreign key but should be one of the values in the IssueTypes table.
29 Not a formal foreign key but should be one of the OfficeProductId in the ApplicationNames table, or be 0.
[Link] 36
Classifier Reporting Database Schema UM643402
ProcessId INT YES NO Numeric identifier of the process that created the event. 1.2.5
ProviderName NVARCHAR(128) YES NO Provider Name representing the name of the Classifier 1.2.5
application recording the event.30
SIDRunningApplication NVARCHAR(256) NO YES SID of the User running the Office Product identified in the 1.2.5
event.
ThreadId INT YES NO Numeric identifier of the thread that created the event. 1.2.5
UserName NVARCHAR(2048) NO YES Computed user name – (domain\\user format) of account 1.2.5
running the MA.
UserNameRunningApplication NVARCHAR(2048) NO YES Computed user name – (domain\\user format) of the user 1.2.5
running the Office Product identified in the event.
WindowsVersion NVARCHAR(246) NO Identifier for the version of Windows identified in the event. 1.2.5
[Link] 37
Classifier Reporting Database Schema UM643402
3.1.11 StagedRecipients
RecipientStatusDescription NVARCHAR(32) YES NO Description of the status of the recipient in clearance 1.2.5
checks. Should be one of FAILED, SUCCEEDED, And
INDETERMINATE.
StagedRecipientRowId UNIQUEIDENTIFIER YES NO Unique identifier for the Recipient row. 1.2.5
33 Foreign key constraint removed in V1.3.0 but column should index the StagedEmailEvents table
[Link] 38
Classifier Reporting Database Schema UM643402
3.2 ClassifierWorking
3.2.1 Attachments
AttachmentNumber SMALLINT YES NO unique number of the attachment for each event 1.2.5
AttachmentStatusDescription NVARCHAR(32) YES NO Description of the status of the attachment in HWM checks. 1.2.5
Must be one of FAILED, SUCCEEDED, INACCESSIBLE
Title NVARCHAR(2048) YES YES The filename of the attached document. 1.2.5
3.2.2 AttachmentSelectorValues
NumberofValues SMALLINT YES NO Number of selectors in the attachments classification, maximum 1.2.5
is three at the moment.
SelectorValue1Id INT NO NO Index of the first selector value parsed from the attachments 1.2.5
classification.38
SelectorValue2Id INT NO NO Index of the second selector value parsed from the attachments 1.2.5
classification.
SelectorValue3Id INT NO NO Index of the third selector value parsed from the attachments 1.2.5
classification.
be NULL if the parsed Attachment Classification has less than three selector values.
[Link] 40
Classifier Reporting Database Schema UM643402
3.2.3 AttachmentToSelectorValues
F SelectorValueId INT YES NO Foreign Key to the parsed selector value table to identify the selector 1.2.5
value in the Attachments label.
SelectorValueOrder SMALLINT YES NO The order of the parsed selector value in the attachments label. 1.2.5
3.2.4 Computers
isDeleted VARCHAR(5) NO NO Set to true if the computer has been deleted in AD. 1.2.5
Site NVARCHAR(2048) NO NO Physical location or network, usually defined only for 1.2.5
Domain Controllers.
TimeDeleted DATETIME243 NO NO Time that the AD service first identifies that the 1.2.6
computer has been deleted in AD.
3.2.5 DocumentEvents
DocumentFilename NVARCHAR(2048) NO YES The long path and name of the document 1.2.5
UserSaverId NVARCHAR(512) NO YES The user that saved the document. 1.2.5
3.2.6 EmailAddresses
3.2.7 EmailEvents
3.2.8 Errors
ErrorMessage NVARCHAR(MAX) NO NO Text of the message that caused the CATCH block of the 1.2.5
stored procedure to be run.
ErrorNumber INT NO NO Error number of the error message that caused the 1.2.5
CATCH block of the stored procedure to be run.
ErrorProcedure NVARCHAR(MAX) NO NO Name of the stored procedure where the error occurred. 1.2.5
ErrorSeverity INT NO NO Error severity of the error message that caused the 1.2.5
CATCH block of the stored procedure to be run.
ErrorState INT NO NO State number of the error message that caused the 1.2.5
CATCH block of the stored procedure to be run.
[Link] 47
Classifier Reporting Database Schema UM643402
3.2.9 EventCheckDetails
OriginalLabel NVARCHAR(2048) NO NO The original label of the label change event. Only relevant 1.2.5
when label has been changed.
Reason NVARCHAR(1024) NO NO The reason, or challenge text, that the user provided for the 1.2.5
override.
UserAction NVARCHAR(32) NO NO The user action, such as downgrade, that caused the check to 1.2.5
happen.
3.2.10 EventGeneralDescriptions
P EventId INT YES NO Primary Key and the Events Identifier. 1.2.5
EventType NVARCHAR(64) YES NO The type of the event. One of "DocumentEvent", 1.2.5
"DocumentCheckEvent", "AdminEvent" etc.
[Link] 49
Classifier Reporting Database Schema UM643402
1125 Label has been auto-upgraded due to a portion marking change INFO EmailEvent
[Link] 50
Classifier Reporting Database Schema UM643402
1127 Label has been auto-upgraded due to an attachment containing a higher label than the item INFO EmailEvent
1128 Label of an existing item in folder has been set INFO EmailEvent
1129 Label of an existing item in folder has been changed INFO EmailEvent
[Link] 51
Classifier Reporting Database Schema UM643402
[Link] 52
Classifier Reporting Database Schema UM643402
[Link] 53
Classifier Reporting Database Schema UM643402
1511 A Word document label has been auto-upgraded due to a portion marking change INFO DocumentEvent
[Link] 54
Classifier Reporting Database Schema UM643402
[Link] 55
Classifier Reporting Database Schema UM643402
[Link] 56
Classifier Reporting Database Schema UM643402
[Link] 57
Classifier Reporting Database Schema UM643402
[Link] 58
Classifier Reporting Database Schema UM643402
3.2.11 EventGeneralDetails
LabelConfiguration NVARCHAR(128) NO NO The name of the Classifier configuration being used. 1.2.5
LabelConfigurationLocationPath NVARCHAR(1024) NO YES53 The path and filename of the Classifier configuration 1.2.5
being used.
LabelConfigurationPolicy NVARCHAR(128) NO NO The name of the Classifier policy being used. 1.2.5
3.2.12 EventLevels
1 Critical
2 Error
3 Warning
4 Information
[Link] 60
Classifier Reporting Database Schema UM643402
3.2.13 EventSelectorValues
NumberofValues SMALLINT YES NO Number of selectors in the events classification, current 1.2.5
maximum is three.
SelectorValue1Id INT NO NO Index of first selector value index parsed from the events 1.2.5
classification.55
SelectorValue2Id INT NO NO Index of second selector value parsed from the events 1.2.5
classification.
SelectorValue3Id INT NO NO Index of third selector value parsed from the events 1.2.5
classification.
F SystemEventId BIGINT56 YES NO Foreign Key to the SystemEvent Table to identify the event. 1.2.5
[Link] 61
Classifier Reporting Database Schema UM643402
3.2.14 EventToSelectorValues
F SelectorValueId INT YES NO Foreign Key to the parsed selector value table to identify the 1.2.5
selector value in the events label.
SelectorValueOrder SMALLINT YES NO The order of the parsed selector value in the events label. 1.2.5
F SystemEventId BIGINT58 YES NO Foreign Key to the SystemEvent Table to identify the event. 1.2.5
3.2.15 IssueTypes
3.2.16 KnownUsers
isDeleted VARCHAR(5) NO NO Set to true if the User has been deleted in AD. 1.2.5
TimeDeleted DATETIME265 NO NO Time that the AD service first identifies that the user has been 1.2.6
deleted in AD.
UserGUID VARCHAR(56) YES NO Unique Object GUID value of the AD user. 1.2.5
[Link] 65
Classifier Reporting Database Schema UM643402
3.2.17 ManagementEvents
OfficeProductName NVARCHAR(256) YES NO Name of the Office Product identified in the event.68 1.2.5
OfficeVersion NVARCHAR(256) NO NO Identifier for the version of the Office Product identified in the 1.2.5
event.
SIDRunningApplication NVARCHAR(256) YES YES SID of the User running the Office Product identified in the 1.2.5
event.
UserNameRunningApplication NVARCHAR(2048) NO YES Computed user name – (domain\\user format) of the user 1.2.5
running the Office Product identified in the event.
WindowsVersion NVARCHAR(256) NO NO Identifier for the version of Windows identified in the event. 1.2.5
66 Value should be one of the Issue Descriptions from the IssueTypes table.
67 Changed to BIGINT in V1.3.0
68 Value should be one of the ProviderNames in the ApplicationNames table.
69 Changed to BIGINT in V1.3.0
[Link] 66
Classifier Reporting Database Schema UM643402
3.2.18 Recipients
RecipientStatusDescription NVARCHAR(32) YES NO Description of the status of the recipient in clearance checks. 1.2.5
Should be one of FAILED, SUCCEEDED, And
INDETERMINATE.
[Link] 67
Classifier Reporting Database Schema UM643402
3.2.19 RecipientTypes
P RecipientTypeId TINYINT YES NO Primary key identifier of the recipient type. 0=TO;1=CC;2=BCC. 1.2.5
1 CC
2 BCC
[Link] 68
Classifier Reporting Database Schema UM643402
3.2.20 SelectorValues
XmlId NVARCHAR(256) YES NO XML (guid) identifier of the Selector Value. 1.2.5
[Link] 69
Classifier Reporting Database Schema UM643402
3.2.21 SystemEvents
Computer NVARCHAR(2048) YES YES Computer name where the Classifier event occurred. 1.2.5
OriginRowId UNIQUEIDENTIFIER YES NO Row Identifier of the original entry in the appropriate 1.2.5
Staging table, for example the row identifier of the
StagingEmailEvent table if the event is an email event.
ProviderName NVARCHAR(256) YES NO Provider Name representing the name of the Classifier 1.2.5
application recording the event.75
73 Not a formal foreign key but should be one of the ProviderNames in the ApplicationNames table.
74 Not a formal foreign key but should be one of the values in the EventGeneralDescription table.
75 Should be one of the ProviderNames in the ApplicationNames table.
[Link] 70
Classifier Reporting Database Schema UM643402
UserSID NVARCHAR(128) YES YES UserId - SID of user creating event. 1.2.5
3.2.22 TaskCategories
2 Outlook auditing
3 Word auditing
4 Excel auditing
5 PowerPoint auditing
[Link] 72
Classifier Reporting Database Schema UM643402
15 Label auto-upgrade
16 Classifier initialised
17 Project auditing
18 Visio auditing
19 OWA auditing
20 Rule
21 Policy
22 User clearance
23 Domain clearance
25 Selector library
27 Settings
28 Auditor
32 Marking library
[Link] 73
Classifier Reporting Database Schema UM643402
33 Global settings
35 Configuration settings
36 Policy selector
37 Policy rule
39 Configuration transfer
41 Content library
49 Notes auditing
50 SMIME rule
51 RMS rule
[Link] 74
Classifier Reporting Database Schema UM643402
65 Condition Library
67 Suggested Classification
[Link] 75
Classifier Reporting Database Schema UM643402
[Link] 76
Classifier Reporting Database Schema UM643402
4 DATABASE INDICIES
4.1 ClassifierStaging
[Link] 77
Classifier Reporting Database Schema UM643402
4.2 ClassifierWorking
Index Name Table (Field) Type Version
PK_AttachmentId [Link] Clustered 1.2.5
[Link] 79
Classifier Reporting Database Schema UM643402
[Link] 80
Classifier Reporting Database Schema UM643402
79 Removed in V1.3.0
[Link] 81
Classifier Reporting Database Schema UM643402
Application NVARCHAR(128) The Users Application that generated the Event. 1.2.5
5.1.2 ClassificationSummary
5.1.3 ClassificationIssues
Computer NVARCHAR(2048) The name of the Computer that the User started an application running Classifier. 1.2.5
5.1.4 DocumentClassificationTrends
TimeCreated DATETIME283 The Time the Document Save Event was created. 1.2.6
5.1.5 EmailClassificationTrends
TimeCreated DATETIME284 The Time the Email Send Event was created. 1.2.6
5.1.6 MAIssues
IssueType NVARCHAR(256) Description of the Management Agent Issue contained in the Event. 1.2.5
UserNameRunningApplication NVARCHAR(2048) Computed user name – (domain\\user format) of the user running the Office Product identified in 1.2.5
the event.
5.1.7 OverviewAllChecks
5.1.8 OverviewClassifications
EventID INT The EventId of the Event in the EventGeneralDescription table. 1.2.5
5.1.9 PolicyCheckBreakDown
Application NVARCHAR(128) The Users Application that generated the Event. 1.2.5
5.1.10 PolicyChecksWithAdvisories
Application NVARCHAR(128) The Users Application that generated the Event. 1.2.5
5.1.11 PolicyDistribution
LabelConfiguration NVARCHAR(128) The name of Classifiers Configuration that the Users application is running. 1.2.5
LabelConfigurationLocation NVARCHAR(1024) The location where the User is loading the Classifier Configuration from. 1.2.5
LabelConfigurationPolicy NVARCHAR(128) The name of Classifiers Policy that the Users application is running. 1.2.5
TimeCreated DATETIME290 The Time the User started an application running Classifier. 1.2.6
5.1.12 PolicyWarningTrends
Application NVARCHAR(128) The Users Application that generated the Event. 1.2.5
EventId INT The EventId of the Event in the EventGeneralDescription table. 1.2.5
5.1.13 ReportAttTypesbyClassification
5.1.14 ReportTotalDocumentsByClassificationUser
SystemEventId INT The SystemEventId of the Event in the SystemEvent table. 1.2.5
5.1.15 ReportTotalEmailsbyClassificationDomain
5.1.16 ReportTotalEmailsbyClassificationUser
SystemEventId INT The SystemEventId of the Event in the SystemEvent table. 1.2.5
5.2 ClassifierReporting2
5.2.1 ClassificationChanges
Application NVARCHAR(128) The Users Application that generated the Event. 1.2.5
n1 NVARCHAR(128) First (from the left) selector value parsed from the 1.2.5
Classification.
5.2.2 ClassificationSummary
n1 NVARCHAR(128) First (from the left) selector value parsed from the 1.2.5
Classification.
5.2.3 DocumentClassificationTrends
5.2.4 EmailClassificationTrends
TimeCreated DATETIME299 The Time the Email Send Event was created. 1.2.6
5.2.5 FormattedClassifications
SystemEventId INT The SystemEventId of the Event in the SystemEvent table who’s 1.2.5
Classification has been parsed.
[Link] 102
Classifier Reporting Database Schema UM643402
5.2.6 OverviewClassifications
n1 NVARCHAR(128) First (from the left) selector value parsed from the Classification. 1.2.5
5.2.7 ReportDocumentLabelChanges
EventId INT The EventId of the Event in the EventGeneralDescription table. 1.2.5
SystemEventId INT The SystemEventId of the Event in the SystemEvent table. 1.2.5
5.2.8 ReportEmailLabelChanges
EventId INT The EventId of the Event in the EventGeneralDescription table. 1.2.5
SystemEventId INT The SystemEventId of the Event in the SystemEvent table. 1.2.5
5.2.9 ReportUserByClassificationByFilenameByTime
SystemEventId INT The SystemEventId of the Event in the SystemEvent table whose Classification has been parsed. 1.2.5
5.2.10 SharePoint
Computer NVARCHAR(2048) The name of the Computer that the User started an application running Classifier. 1.2.5
EventId INT The EventId of the Event in the EventGeneralDescription table. 1.2.5
n1 NVARCHAR(128) First (from the left) selector value parsed from the Classification. 1.2.5
5.2.11 UnusalClassifications
Computer NVARCHAR(2048) The name of the Computer that the User started an application running Classifier. 1.2.5
EventId INT The EventId of the Event in the EventGeneralDescription table. 1.2.5
5.3 ClassifierReporting3
5.3.1 Computers
5.3.2 Departments
5.3.3 DocumentClassifierActivity
[Link] 109
Classifier Reporting Database Schema UM643402
5.3.4 DocumentLabelDowngrade
5.3.5 Reasons
Reason NVARCHAR(1024) The reason, or challenge text, that the user provided for the 1.3
override.
5.3.6 SelectorValueNames
[Link] 110
Classifier Reporting Database Schema UM643402
5.3.7 SelectorValueNamesAndWC
5.3.8 UserClassifierActivity
5.3.9 UserResponseActivity
Reason NVARCHAR(1024) The reason, or challenge text, that the user provided for the 1.3
override.
1.3
[Link] 111
Classifier Reporting Database Schema UM643402
6 TABLE TYPES
6.1 ClassifierStaging
6.1.1 AttachmentsTableType2
AttachmentStatusDescription NVARCHAR(32) NO Description of the status of the attachment in HWM106 checks. Must be 1.2.5
one of FAILED, SUCCEEDED, INACCESSIBLE.
AttachmentNumber SMALLINT YES Unique number of the attachment for each event. 1.2.5
6.1.2 RecipientTableType
RecipientStatusDescription NVARCHAR(32) NO Description of the status of the recipient in clearance checks. Should be one of FAILED, 1.2.5
SUCCEEDED, And INDETERMINATE.
[Link] 113
Classifier Reporting Database Schema UM643402
6.1.3 SelectorValueTableType
AttachmentNumber SMALLINT NO If the parsed value is from an attachment, the attachment number. NULL 1.2.5
otherwise.
[Link] 114
Classifier Reporting Database Schema UM643402
[Link] 115
Classifier Reporting Database Schema UM643402
8.1.1 usp_StagingComputersInsert
Item Description
Description Stored Procedure to write Computer details from an Active Directory to the S
Used By AD Service
8.1.2 usp_StagingComputersUpdateDelete
Item Description
Description Stored Procedure to mark Staging Tables Computer entries as being delete
deleted in the Active Directory.
Used By AD Service
[Link] 116
Classifier Reporting Database Schema UM643402
Output INTEGER
Tables Updated [Link]
Version V1.2.5
8.1.3 usp_StagingDocumentEventsInsert
Item Description
Description Stored Procedure called by the Event Log Service to write Document Events
Used By AD Service
[Link] 117
Classifier Reporting Database Schema UM643402
8.1.4 usp_StagingEmailEventsInsert
Item Description
Description Stored Procedure called by the Event Log Service to write Email Events to th
Used By AD Service
8.1.5 usp_StagingKnownUsersInsert
Item Description
[Link] 118
Classifier Reporting Database Schema UM643402
Description Stored Procedure to write User details from an Active Directory to the Stagin
Used By AD Service
8.1.6 usp_StagingKnownUsersUpdateDelete
Name Description
Item Stored Procedure to mark Staging Tables User entries as being deleted if th
Active Directory.
Used By AD Service
[Link] 119
Classifier Reporting Database Schema UM643402
8.1.7 usp_StagingManagementEventsInsert
Item Description
Description Stored Procedure called by the Event Log Service to write Management Age
Tables.
Used By AD Service
8.2.1 usp_AttachmentSelectorValuesInsert
Item Description
Description Stored Procedure that writes Document Attachment selector identifier values
from the [Link] table to the
ClassifierWorking...AttachmentSelectorValues table that can be used to bui
[Link] 120
Classifier Reporting Database Schema UM643402
8.2.2 usp_DeleteData
Item Description
Description Stored Procedure to delete data in the Staging tables older than a configura
8.2.3 usp_DocumentEventsWorkingInsert
Item Description
Description Stored Procedure to process Document event data from the Staging to Work
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
Version V1.2.5
8.2.4 usp_EmailEventsWorkingInsert
Item Description
Description Stored Procedure to process Email event data from the Staging to Working t
8.2.5 usp_EventSelectorValueInsert
Item Description
Description Stored Procedure that writes selector identifier values (parsed from classifica
[Link] table to the [Link]
build Views for the Reporting Console.
Used By ClassifierEvents Import
8.2.6 usp_KnownComputersWorkingInsert
Item Description
Description Stored Procedure to write/update Computers details from the Staging to Wo
8.2.7 usp_KnownUsersWorkingInsert
Item Description
Description Stored Procedure to write/update User details from the Staging to Working t
8.2.8 usp_ManagementEventsWorkingInsert
Item Description
Description Stored Procedure to write Management Agent Events from the Staging Tabl
8.2.9 usp_ModifySelectorValues
Item Description
Description Stored Procedure called by the Event Log Service to write Label Selector co
Working Tables.
Used By ClassifierEvents Import
8.2.10 usp_ReorganizeIndices
Item Description
Description Stored Procedure that rebuilds indexes on Classifier Working tables.
[Link] 124
Classifier Reporting Database Schema UM643402
Output INTEGER
Tables Updated Variable: Calculates which indexes to defragment
Version V1.2.5
8.2.11 usp_CreateIndices
Item Description
Description Stored Procedure that creates indexes on working tables
Used By Index creation and reorganizing
8.3.1 usp_ReportClassificationBreakdown
Item Description
Description Stored Procedure to create the 'Documents and Emails By Classifica
8.3.2 usp_ReportDocumentsDowngraded
Item Description
Description Stored Procedure to populate the 'Document Downgrade' report.
Used By Classifier Reporting Console
8.3.3 usp_ReportEmailDowngraded
Item Description
Description Stored Procedure to create the 'Email Downgrade' report.
Used By Classifier Reporting Console
8.3.4 usp_ReportEmailsByDomain
Item Description
Description Stored Procedure to create the 'Emails Sent by user and domain' rep
Used By Classifier Reporting Console
[Link] 126
Classifier Reporting Database Schema UM643402
8.3.5 usp_ReportTotalEmailsSentByDomain
Item Description
Description Stored Procedure to create the 'Total emails sent by domain' report.
Used By Classifier Reporting Console
8.3.6 usp_ReportSentUnclassifiedAttachments
Item Description
Description Stored Procedure to create the 'Emails sent with unclassified attachm
Used By Classifier Reporting Console
8.4.1 fnClassifierActivity
Item Description
Description Function used to create the 'Printed Documents' report.
Used By Classifier Reporting Console
[Link] 127
Classifier Reporting Database Schema UM643402
Version V1.3.0
8.4.2 fnClassifierActivityCount
Item Description
Description Function used to create the 'Printed Documents' report.
Used By Classifier Reporting Console
8.4.3 fnClassifierDowngradeActivity
Item Description
Description Function used to create the 'Downgraded Documents' report.
Used By Classifier Reporting Console
8.4.4 fnClassifierDowngradeActivityCount
Item Description
Description Function used to create the 'Downgraded Documents' report.
Used By Classifier Reporting Console
[Link] 128
Classifier Reporting Database Schema UM643402
8.4.5 fnClassifierLabelActivity
Item Description
Description Function used to create the 'Document and email classifications' repo
Used By Classifier Reporting Console
8.4.6 fnClassifierLabelActivityCount
Item Description
Description Function used to create the 'Document and email classifications' repo
Used By Classifier Reporting Console
8.4.7 fnClassifierLabelCounts
Item Description
Description Function used in the 'Classified versus no marking' report.
Used By Classifier Reporting Console
[Link] 129
Classifier Reporting Database Schema UM643402
Output Returns
1 Text “Classified” & count of events from [Link]
and has a non-null classification
2 Text “No Marking” & count of events from [Link]
parameters and have no classification
Version V1.3.0
8.4.8 fnClassifierMachines
Item Description
Description Function that creates the 'Machines configured with Classifier over th
Used By Classifier Reporting Console
8.4.9 fnClassifierUserActivity
Item Description
Description Function used to create the 'Total documents saved by classification
sent by classification and user' reports
Used By Classifier Reporting Console
8.4.10 fnClassifierLabelActivityTopN
Item Description
Description Function used to create the 'Classifier activity over the last 7 and 30 d
[Link] 130
Classifier Reporting Database Schema UM643402
8.4.11 fnClassifierLabelActivityTopNCount
Item Description
Description Function used to create the 'Classifier activity over the last 7 and 30 d
Used By Classifier Reporting Console
8.4.12 fnReasons
Item Description
Description Function returns a list of reasons provided by Users for ignoring warn
in the specified time period
Used By Classifier Reporting Console
[Link] 131
Classifier Reporting Database Schema UM643402