OBLYTECH Logo
OBLYTECH Logo

UCF Integration and Citation Control Mapping in ServiceNow GRC

To connect Unified Compliance Framework content to ServiceNow GRC, an administrator activates the Compliance UCF plugin, configures a UCF source, imports a shared list of authority documents, and removes duplicate citations. Citation-to-control mapping comes after that. Switching it on changes how citation scores are calculated, and it cannot be switched off again.

What you need before you start

The integration depends on a UCF subscription, the right plugin, and the right roles. The Compliance UCF plugin is a separate subscription, so confirm it is licensed first. Install it from All > System Applications > All Available Applications, searching by name or by its ID, com.sn_comp_ucf. If it does not appear, it may need to be requested from ServiceNow personnel.

Activation requires the admin role, and the install loads demo data and related plugins. With domain separation and delegated admin enabled, the installing administrator must sit in the global domain, or the install stops.

Free UCF content bundled with a GRC license ended on November 30, 2018. Customers now buy a subscription directly from Unified Compliance.

Choosing how the control library connects

Route What you need Best fit
UCF API key A UCF basic subscription and an API key from the API Key Manager Teams with an existing UCF account; the recommended method
Common Controls Hub A hub subscription from the ServiceNow Store and a CCH account with API access Teams that want the hub to manage the library; OAuth is set up through a support case

The API key route is shorter when you already have the account and key.

Connecting with an API key

Open All > Policy and Compliance > Administration > Unified Compliance Integration, then open the UCF configuration record. Choose the Shared List from your UCF account, set Authentication type to API Key, paste the key into the API Key field, and click Save Configuration.

Before this form, the UCF account holder needs a basic subscription, the key from the API Key Manager, and at least one shared list of authority documents. In most setups, limit access to the API key to the people who manage the UCF account.

Setting up through the Common Controls Hub

The hub route starts with a UCF CCH account that includes API access. A user with the UCF administrator role signs in and generates the API key. After you activate the Compliance UCF plugin, sign in to the Hi Service Portal, select Get Help, then Open a Case.

In the Description field, state that the plugin is active, that you hold a UCF CCH subscription, and that you need OAuth information. Include your company name, account number, and requester contact details. Submitting the case authorizes ServiceNow customer service to share your company and requester contact details with a third party to complete UCF CCH enrollment, so confirm that is acceptable before you submit. Customer Service then starts the OAuth integration and contacts the requester.

Downloading and importing a shared list

A shared list must be marked Shared in the UCF account before compliance managers can download its authority documents. The importer needs the sn_compliance.admin or sn_compliance.manager role. Downloads cover mandated and implied controls. Implementation controls cannot be downloaded.

Imported data is read-only. Leave authority documents, citations, control objectives, and the UCF fields on GRC tables as they arrive. When UCF authority documents change or new ones are added, update all the authority documents you use so the common controls framework stays in sync.

To import, open Policy and Compliance > Administration > Unified Compliance Integration, open the UCF configuration, and click Import Shared List. A progress bar tracks the download. The table lists three messages and their fixes.

Message Usual cause Fix
Error encountered while downloading UCF content The internet connection dropped Click Import Shared List again
Same error, with an email from UCF Documents may already belong to an existing shared list, or a UCF import error occurred; from version 12.0.4 the administrator gets links to the invalid records Fix each listed record, then import again
The selected Shared List does not match the existing Authority Document list The selected list leaves out a document already imported Confirm the CCH list includes all the original documents, or use Review Changed Records

For other failure patterns, see the troubleshooting guide.

Terminology differs between the two systems. A UCF Authority Document is a GRC Authority Document, a UCF Citation is a GRC Citation, and a UCF Control is a GRC Control Objective.

Working with more than 100 authority documents

A shared list can hold up to 100 authority documents. For more, split them across several lists, grouping related documents so that no list depends on another. Each authority document already imported must appear in any list you import from the hub.

Multiple lists require the system property sn_comp_ucf.deactivate_deprecated_docs set to false. Its default is true. With the property on, imports check whether documents already exist. With it off, imported documents are not validated, and deprecated documents are not deactivated automatically. You then validate the documents and citation-to-control links yourself, using the mapping email that arrives.

Removing duplicate citations

Duplicates appear when UCF content holds several citations under one authority document, each with a different Source ID. A citation is a duplicate when its Reference ID, Authority document, and Description all match. If one of them differs, the citations stay separate.

For each group, keep one citation active and mark the rest inactive. Their control objectives move to the active citation in the many-to-many table, and child citations regroup under the active parent.

The fix runs during import. To apply it without re-importing, run the on-demand job named UCF citation deduplication issue fix from All > System Definition > Scheduled jobs. To check the result, group citations by Reference and read the Active column.

Turning on citation-to-control mapping

This property changes scoring across the instance. Sign in as an admin, open Policy and Compliance > Administration > Properties, set “Enable association of Citations to controls Mapping” to Yes, and save. The feature cannot be disabled afterwards, because manual associations may exist that cannot be reverted automatically. In most implementations it makes sense to deduplicate citations before this switch, because the switch cannot be undone and scores are calculated from the citations that exist. For the wider set of practices, see the best practices guide.

Then run three steps. Deactivate the Compliance Score V2 scheduled job, which runs on a two-minute cycle and could overwrite partial updates during a bulk recalculation. Run the Calculate All Citations and Authority Documents Compliance Score job, which is mandatory after enabling. Then reactivate Compliance Score V2. For a structured sign-off, use the testing and acceptance checklist.

How a citation’s compliance score is calculated

Method Formula Inputs
Old formula Average of child citations and associated control objectives Child citation scores and control objective scores
New formula (Average of child citations + average of directly linked controls) divided by 2 Child citation scores and Level 1 controls
Weighted average The new formula, with each control weighted Control weights, when the weighted-average property is also on

Under the old method, a citation with no children and one control objective at 42% scores 42%. Under the new method, control objective scores drop out. Level 1 controls are the controls of the objectives linked directly to the citation. A citation with one child at 70% and four direct controls at 100%, 0%, 100%, and 0% has a control average of 50%, so its score is (70% + 50%) divided by 2, or 60%.

The weighted-average property, named Use weighted control average when calculating compliance scores, changes the arithmetic. Take three controls under one objective: one compliant with weight 100, and two non-compliant with weight 10 each. A flat average gives 33%. The weighted figure is 100 divided by 120, times 100, which is 83.3%. The heavy compliant control dominates the result.

What moves a score after setup

Adding a control to a citation recalculates it under the new formula. Removing a non-compliant control from a citation recalculates the score from the controls that remain.

Changes further down the chain flow upward. A control created when an entity is added to a control objective links automatically to all citations tied to that objective. Changing a control’s status, or activating or deactivating it, recalculates the citations it feeds.

Manual links persist. Manual associations are flagged Associated Manually = True and are not deleted automatically. When you remove a citation from a control objective, the system deletes the controls it added automatically but keeps manual ones, flagged as outside hierarchy, and lists them for review. Dashboards read from the many-to-many table, so check that table first when a figure looks wrong.

Adding controls and citations by hand

The Compliance Manager role (sn_compliance_ws.corporate_compliance_manager) and the Corporate Compliance Analyst role (sn_compliance_ws.corporate_compliance_analyst) can link records manually. In Compliance Workspace, open Compliance library > Citations, select the citation, go to its Controls tab, and click Add. The dialog offers controls inside the citation’s hierarchy and independent controls. For the reverse, use Compliance library > Controls and the control’s Citations tab. Independent controls can take any citation. For who does what, see the roles and responsibilities guide.

Frequently asked questions

Can I connect UCF content without a subscription? No. The free arrangement for UCF content bundled with a GRC license ended on November 30, 2018.

Why does the import say my shared list does not match? The list leaves out at least one authority document you already imported. Check the list in the Common Controls Hub, confirm it includes the original documents, and import again.

Can I turn citation-to-control mapping off again? No. Once enabled, the feature cannot be disabled.

Why did a score change after I removed one control? The score recalculates from the controls still linked, so removing a non-compliant control can raise it.

For how one control maps to several frameworks, see mapping one control to many compliance frameworks in ServiceNow. For the wider picture, see the ServiceNow compliance solutions overview.