Welcome to DataSanity - created and maintained by Sascha Wildgrube.
DataSanity contains Instance Scan checks that verify data quality.
The DataSanity app contains Instance Scan checks that validate data records. The checks are aimed to reveal data problems, inconsistencies and invalid records.
The checks also enforce the application of the persona role concept, described in the whitepaper A mature Development and Deployment Process - How to sleep well when your 200 developers deploy apps every day.
Results should be reviewed on a regular basis and countermeasures should be taken. Bad data leads to incorrect reports, bad decisions, security issues and unnecessary work.
DataSanity is NOT an officially supported ServiceNow product.
DataSanity does NOT come with any kind of warranty. If you use it, you own it!
x_snc_devtools.InstallApp("x_snc_datasanity");
Companies must have unique names
Companies must have a name
Contracts must have a name (short description)
All groups are assigned to persona and admin roles only.
Technical users must follow the naming convention.
Roles should not be assigned directly to users.
Scheduled Jobs should be run as technical users
Users must have a name
Users must have a non-empty user name (User ID)
Controls if the DataSanity application is active.
Controls the verbosity of log output produced by the DataSanity application.
Provides access to the DataSanity application.
This app does not add any tables.
Retrieves information about the app's dependencies to other apps and required versions.
Gets a system property of this application.
This script installs DataSanity.
Sets all system properties to default values.
Sets a system property of this application.
Produces a log output in the application log using the DevTools Debug function.
Implements the extension point for DevTools.
The function DevToolsGetApplicationStatus is called by the DevTools extension point instance class and returns the application status object with additional status information to be displayed on the "DevTools Application Overview" page.
The DevToolsGetFormatConfig function is called by the DevTools extension point instance class and returns an object with field formatting information.
The function DevToolsGetInstancePipelineName is called by the DevTools extension point instance class and returns the pipeline name of an instance based on the given actual name.
The DevToolsGetLinkDirectory function is called by the DevTools extension point instance class and returns an extended (or modified) link directory object that serves as the basis for the DevTools Link page.
The DevToolsGetParentRecord function is called by the DevTools extension point instance class and returns a parent record for the given record if it can be determined.
The function DevToolsRenderDebugDump is called by the DevTools extension point instance class and returns additional debug information provided by the application.
Returns true if the application is active, otherwise false.
Produces a log output in the application log.
Produces an error log output in the application log.
Produces a warning log output in the application log.
Compatible Versions: 1.97.0
Repository url: https://github.com/saschawildgrube/servicenow-devtools.git
Using TestAPI::TestCase_InstanceScanCheckScriptOnly() and various other functions.
No technical debt has been documented for this application.
Copyright 2024 by Sascha Wildgrube
Licensed under the Apache License, Version 2.0 (the "License")
You may not use DataSanity except in compliance with the License.
You may obtain a copy of the License at: https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
First baselined version