Desired State
Summarize
Summary of Desired State
Desired State is a feature in ServiceNow that conducts scheduled or on-demand audits of Configuration Management Database (CMDB) data to ensure that configuration items (CIs) meet expected attributes and relationships. It helps verify compliance with organizational standards, such as software licensing for computers.
Show less
Key Features
- Compliance Audits: Automates the auditing process to identify discrepancies between the current state of CIs and the desired state definitions.
- Role Management: Requires the certificationadmin role for users to access certification elements, with additional roles needed for broader table access.
- Certification Process: Administrators can define desired states and schedule audits to assess CI compliance, generating follow-on tasks for discrepancies.
- Filter Creation: Users can create certification filters to define subsets of CIs for auditing, with the ability to manage multiple versions.
- Templates and Audits: Templates define the desired state conditions, and audits can be scheduled or run on demand, producing results based on these templates.
- Follow-on Tasks: The system can create follow-on tasks for discrepancies found during audits, with a default setting that allows new tasks for repeated failures.
- Result Management: Audit results highlight any discrepancies, enabling users to take corrective actions through follow-on tasks.
Key Outcomes
By utilizing Desired State, ServiceNow customers can effectively maintain compliance of their CIs, ensure service quality, and streamline the remediation of discrepancies. The automated follow-on task generation aids in efficient tracking and resolution of issues, ultimately supporting better governance of IT assets and services.
Desired State performs scheduled or on-demand audits of CMDB data to determine which records match the expected attributes, CI relationships, and relationships to other records in the system.
For example, desired state can determine if a computer has a license for a particular software program. The compliance process checks configuration items (CI) to ensure that their attributes and relationships comply with standards set by your organization. Audit results show any discrepancies in the desired state of a record, and ServiceNow automatically assigns follow-on tasks to qualified users who can remediate those discrepancies.
Desired State roles
To access or configure certification elements, a user must have the certification_admin role. These users can create, update, and delete filters if they have the proper access to necessary tables.
- Company [
core_company] - Cost Center [
cmn_cost_center] - Schedule [
cmn_schedule]
Desired State process
The desired state certification process can mean checking servers to ensure that their physical resources, such as CPU speed or memory, comply with certain standards. This process also ensures that all critical business services have a manager, support group, and approval group assigned.
The administrator responsible for certification creates definitions of desired states and then schedules an audit to check CIs for compliance. The audit results identify CIs that pass certification and itemize the discrepancies in those CIs that fail. The ServiceNow system automatically generates follow-on tasks to track the process of adjusting the CIs to the desired state.
Desired state differs substantially from data certification. Data certification is a manual process to ensure that your data matches reality. Desired state examines the same data and determines when the configuration of each item is in the desired and approved state.
- Create a certification filter: Create a filter that defines a subset of configuration items
to certify. You can create multiple versions of a filter, and then activate the version you
want to use for certification. You can create filters on the Configuration Item
[
cmdb_ci] table and all tables that extend it. - Create a template: Create a template with conditions that define the desired state of the physical attributes, related records, and relationships for a CI. The certification filter you select for the template determines which configuration items the system examines.
- Create and run an audit: Create an audit using the template. Set the audit to run on a
schedule or on demand. The audit generates a set of results based on the conditions from the
template you specify. Determine usage of follow-on tasks:
- Determine if the audit creates follow-on tasks and assignment.
- Determine if the same follow-on task is used for the same audit failure across multiple runs. The system attribute glide.allow.new.cert_follow_on_task is set to true by default, allowing for new follow on tasks to be created for the same failure, at each audit run (this property applies only to audits that aren't scripted).
- View audit results: View the audit results which display any discrepancies between the desired state, as specified by the template, and the actual state of the target configuration items.
- Correct discrepancies: Correct the discrepancies the audit found by completing the follow-on tasks created by the system.