Unified Compliance Framework (UCF) Documentation

Pod ownership

Who to ask
Product Manager
Alex Alvarez
Overview

The UCF Connector brings compliance content from the Unified Compliance Framework (UCF) library into Fusion. UCF authority documents become Fusion Control Frameworks, their citations become Control Objectives, and UCF common controls become Controls, linked together by Control Mappings. Customers use it to keep their control frameworks current without keying regulations in by hand.

When teams implement controls to meet regulations, they need to know which controls to use, which are missing, and how to show they comply. UCF breaks authority documents (regulations, standards, policies) into citations and links them to common controls, which are controls that satisfy similar requirements across many frameworks. The connector pulls that structure into Fusion, inbound only, on demand or on a schedule. Users can then map the controls to their own processes and risks, and merge a UCF common control into a control they already maintain.

Outcomes

  • Less manual mapping of controls to regulations.
  • Implemented controls stay relevant to the regulation and to best practice.
  • Sync jobs can run on a schedule, or on demand.
  • Avoids duplicate controls across control frameworks, because one common control serves many authority documents.
  • New controls can be added to the compliance program as authority documents are published.

How it works

Everything runs in Fusion. Salesforce batch jobs call the UCF API through a Named Credential called "UCF", sending the API key as a bearer token. UCF never calls Fusion. In UCF, the customer first puts the documents they care about on an Authority Document List. In Fusion, an administrator opens the Regulatory Change Scheduler, picks lists and documents, and either runs a sync now or sets a schedule. Each sync is a chain of batch jobs, one object at a time, and it writes a log item after each step.

  1. 1
    Choose what to sync

    The UCF Sync Scheduler reads the Authority Document Lists the UCF account can see and shows the authority documents in each selected list. The user selects up to 5 lists and up to 15 authority documents.

  2. 2
    Control Frameworks

    Each selected authority document is created or updated as a Control Framework, matched on UCF ID. On a scheduled run, Fusion first reloads the document details from each Authority Document List.

  3. 3
    Control Objectives

    For each authority document, Fusion reads its citations and creates or updates a Control Objective under that Control Framework, matched on UCF ID. It also stores the citation's Genealogy and Sort Id.

  4. 4
    Audit items

    Fusion reads the audit items for each list and writes their Question and Question Method onto the matching Control Objective, with HTML tags removed.

  5. 5
    Controls

    Fusion reads the control details for each list and creates or updates Controls of Type Common, matched on UCF ID. A control is skipped if Fusion already has a version at least as new (Last Updated By UCF). If the matching Fusion control is a Custom control that was merged with UCF, Fusion does not overwrite it. It ticks Control Updated by UCF instead, so a user can review the change.

  6. 6
    Control Mappings

    Fusion links each Control to its Control Objective with a Control Mapping, ticked UCF Created. It skips pairs that already have a mapping.

  7. 7
    Finish and notify

    Fusion writes a "[ FINISH ] Sync Job" log item. A flow then emails the log item's owner that the sync jobs have completed, with a link to map the newly imported controls. After a manual run, the scheduler opens the same mapping flow directly.

Two ways. Run Sync on the UCF Sync Scheduler starts a manual run straight away. Set Sync Schedule saves the selected authority documents as Control Frameworks with a Frequency (Daily, Weekly, Bi-Weekly, Monthly or Bi-Annually) and a Sync Date (the first run, which must be in the future). Saving a Control Framework schedules an Apex job named "<namespace>-<Frequency>[<Sync Date>]". All Control Frameworks with the same frequency and sync date share one job. Changing or deleting a Control Framework removes its old job when no other framework still uses it.

Key terms

Authority Document (UCF) / Control Framework (Fusion)
A regulation, standard, policy or contract that sets requirements, for example from ISO or NIST. In Fusion it is a Control Framework record.
Authority Document List
A list the customer builds in UCF of the authority documents they follow. The connector only sees documents on lists the UCF account shares. The Control Framework stores the list IDs in Authority Document ID List.
Citation and mandate (UCF) / Control Objective (Fusion)
A citation is a reference to a specific section of an authority document that states a requirement. It can contain one or more mandates, the actions needed to comply. In Fusion each citation is a Control Objective.
Common Control (UCF) / Control (Fusion)
A control that satisfies similar requirements in several frameworks, so it only has to be implemented once. In Fusion these are Controls with Type = Common.
Custom control
A control a user created in Fusion (Type = Custom). On first install, every existing Control with no Type is set to Custom.
Audit item
UCF's question for testing a control. It fills the Question ("Question to inform effectiveness of evidence") and Question Method ("Method for gathering evidence") on the Control Objective.
Merge
Moves a UCF common control's UCF ID and Control Mappings onto a custom control, then deletes the common control. Later UCF changes to that control are flagged for review instead of overwriting the custom control.
01

Before you start

Licensing

UCF subscription

Fusion does not sell UCF licences. The customer contracts with UCF directly; Fusion then sells the UCF Connector to customers who have that relationship.

Packages

PackageMinimumNote
The Fusion Framework (ff_2gp)LatestRequired base package. It owns the Control Framework, Control Objective, Control and Control Mapping objects and the log item object.
UCF Connector (ffucf_2gp)LatestAdds UCF fields to those objects, the sync and merge logic, the scheduler and merge components, flows, page layouts, record pages and permission sets.

Data

Data moves one way, from UCF into Fusion. Each record keeps the UCF ID it came from and the time UCF last changed it (Last Updated By UCF), so later syncs update the same record and skip unchanged controls.

What moves between the systems

Control Framework (ff_2gp__Control_Framework__c)

From Unified Compliance Framework (UCF) into Fusion: Authority document. Matched on UCF ID. common_name fills Control Framework Name (cut to 80 characters) and Control Framework Name Long; description fills Information; type fills Type; subject_matter fills Subject Matter; parent_category fills Relevant Firms; originator fills Regulator; url fills URL. Authority Document ID List, Frequency, Sync Date, Next Sync Date and Date Last Synced are set by the connector.

Control Objective (ff_2gp__Control_Objective__c)

From Unified Compliance Framework (UCF) into Fusion: Citation of an authority document. Matched on UCF ID. The citation reference fills Control Objective Name (cut to 80 characters) and guidance fills Description. The record is linked to its Control Framework, and Genealogy and Sort Id are filled.

Control Objective (Question, Question Method)

From Unified Compliance Framework (UCF) into Fusion: Audit item for a control. Matched to the Control Objective of the citation the audited control belongs to. Audit items for controls not in this sync are dropped.

Control (ff_2gp__Control__c)

From Unified Compliance Framework (UCF) into Fusion: Common control. Matched on UCF ID. name fills Control Name (cut to 80 characters) and Control Name Long; the control type fills Description; Type is set to Common. Skipped when Fusion already holds the same or a newer version. A merged Custom control is flagged with Control Updated by UCF instead of being overwritten.

Control Mapping (ff_2gp__Control_Mapping__c)

From Unified Compliance Framework (UCF) into Fusion: Link between a common control and its citation. Created with UCF Created ticked. Existing control-objective pairs are not duplicated. A mapping with UCF Created ticked cannot be deleted.

What you can configure

Nothing in the field mapping is configurable; it is fixed in the package code. What the customer controls is which lists and authority documents are synced, and each Control Framework's Frequency and Sync Date.

Roles and permissions

UCF Admin Permissions
Create, read, edit and delete on Control Framework, Control Objective, Control and Control Mapping, plus access to every UCF field the package adds.
FFUCF_AuraEnabledApexPermissions
Access to the Apex classes behind the scheduler and merge components. The installer assigns it to all active standard and portal users.
02

Capabilities

What each part of the connector does and how people use it. Setup for each is under Implementation.

Required always set up Optional included, set up if the customer uses it

Run a sync now

Required

How to use it

  1. Open the Regulatory Change Scheduler (card title UCF Sync Scheduler).
  2. Tick one or more Authority Document Lists.
  3. In each list's table, select the authority documents to import (at most 5 lists and 15 documents).
  4. Click Run Sync. A progress bar shows Authority Document, Control Objectives, Controls, Control Mappings and Finished.
  5. When it finishes, the Map Controls After Manual Sync flow opens so you can merge new common controls with your custom controls.

Schedule a recurring sync

Required

How to use it

  1. In the UCF Sync Scheduler, select the lists and authority documents.
  2. Enter a Sync Start Date in the future and pick a Frequency.
  3. Click Set Sync Schedule. The documents are saved as Control Frameworks and a scheduled job is created.
  4. Check Next Sync Date and Date Last Synced on each Control Framework to see when it runs.

Merge a UCF control with your own control

Required

How to use it

  1. On a Common control with a UCF ID, click Merge Controls and pick the Custom control to merge into (or the other way round from a Custom control).
  2. From the Controls list view, the Merge Controls list button merges several custom controls with several common controls.
  3. In the Control Merger, choose the values to keep for Name, Control Name Long and Description, and whether to Exclude from Merge.
  4. The custom control takes the UCF ID and the common control's mappings; the common control is deleted.

Review a UCF change to a merged control

Required

How to use it

  1. When UCF changes a control you merged, its Control Updated by UCF box is ticked and the Refresh UCF button appears.
  2. Click Refresh UCF to compare the new UCF values with yours and choose what to keep.

Check a sync

Required

How to use it

  1. Open the Fusion Framework Log Items. Each step writes an "[ ACTION ] <step>" item with Success Count, Error Count and up to 1,000 record errors; the run ends with "[ FINISH ] Sync Job".
03

Implementation

Everything an implementer sets up, in the order to build it. Advanced configuration explains the settings behind these steps and when to change them.

  1. 1

    Prepare Unified Compliance Framework (UCF)

    Required

    What must be in place in Unified Compliance Framework (UCF) and in Salesforce before you install.

    • A UCF account, a UCF admin account and UCF API access.
    • A UCF admin user to create the API credentials in UCF (Settings > API Manager).
    • In UCF, the authority documents the customer needs saved to a list and shared, so they appear in Fusion.
    • A Salesforce administrator in the Fusion org to create the Named Credential and the scheduler tab.
    • A Salesforce supported browser.
    Depends onNothing
  2. 2

    Install the packages

    Required

    The sync checks the running user's create, read and edit access on each object and field, and stops with a permission error if any is missing.

    • Install The Fusion Framework, then the UCF Connector.
    • On a first install the connector sets Type = Custom on every existing Control that has no Type, so existing controls are treated as the customer's own.
    • Assign UCF Admin Permissions to the users who will run syncs and merge controls.
    Depends onPrepare Unified Compliance Framework (UCF)
  3. 3

    Create API credentials in UCF

    Required

    • Log in to UCF as a UCF admin user.
    • Go to Settings > API Manager and click Create Credentials.
    • Copy the API_Key_Name and the API_Key_Value.
    Depends onInstall the packages
  4. 4

    Create the UCF Named Credential

    Required

    The connector builds its own header, "Authorization: Bearer {!$Credential.Password}", so the password field must hold the API key and header merge fields must be allowed.

    • In Fusion Setup, go to Named Credentials and click New Named Credential.
    • Label: UCF. Name: UCF (the connector looks for exactly this name).
    • URL: https://api2.unifiedcompliance.com/
    • Identity Type: Named Principal. Authentication Protocol: Password Authentication.
    • Username: the API_Key_Name. Password: the API_Key_Value.
    • Generate Authorization Header: unchecked. Allow Merge Fields in HTTP Header: checked. Allow Merge Fields in HTTP Body: checked.
    • Save.
    Depends onCreate API credentials in UCF
  5. 5

    Add the Regulatory Change Scheduler

    Required

    The package does not include a tab for the scheduler. The component can also be placed on a Home page.

    • Go to Setup > Tabs, and under Lightning Component Tabs click New.
    • Choose the regulatoryChangeScheduler component (label Regulatory Change Scheduler), name and label the tab, and save.
    • Add the tab to the app your compliance users work in.
    Depends onCreate the UCF Named Credential
  6. 6

    Assign the UCF page layouts and record pages

    Required

    The UCF fields and buttons are only visible on these layouts and pages.

    • Assign the UCF Control Framework Layout, UCF Control Objective Layout, UCF Control Layout and UCF Control Mapping Layout to the relevant profiles.
    • Activate the Control Record Page, which shows the Merge Controls and Refresh UCF buttons only when they apply.
    • Activate the Control Framework Record Page, which shows the Mapped Controls flow.
    Depends onAdd the Regulatory Change Scheduler
  7. 7

    Share authority documents from UCF

    Required

    • In UCF, go to Common Controls and select the authority documents to use.
    • Click Save List and name the list.
    • Tick Share to send the list to Fusion, tick Publish if all users with access should see it, and click Submit.
    Depends onAssign the UCF page layouts and record pages
04

Advanced configuration

The settings behind the setup steps: what each one is, why it matters and when to change it.

Sync frequency and start dateThe Frequency and Sync Date fields on each Control Framework, set from the scheduler.

What it is

The Frequency and Sync Date fields on each Control Framework, set from the scheduler.

Why it matters

They decide when the scheduled job runs and which frameworks it refreshes.

When to change it

  • When regulations in a framework change often and need a shorter cycle.
  • When a framework no longer needs automatic updates.

How

  • Select the documents again in the scheduler, choose a new Sync Start Date and Frequency, and click Set Sync Schedule; or edit Frequency or Sync Date on the Control Framework.
  • Saving the record replaces the scheduled job. Clearing Frequency stops the framework being scheduled.
  • Frequencies available: Daily, Weekly, Bi-Weekly, Monthly, Bi-Annually.
Exclude from MergeA checkbox on Control (help text "Exclude this control from merge candidates").

What it is

A checkbox on Control (help text "Exclude this control from merge candidates").

Why it matters

A control with it ticked is not offered for merging, and the connector does not apply UCF updates to it through merge or refresh.

When to change it

  • When the team has reworded a control and wants to keep its own version.

How

  • Tick it on the control, or choose it in the Control Merger when merging.
Control Type (Common or Custom)A picklist on Control: Common controls come from UCF, Custom controls are user-created.

What it is

A picklist on Control: Common controls come from UCF, Custom controls are user-created.

Why it matters

The merge buttons, flows and the sync's overwrite rule all depend on it.

When to change it

  • After install, if any existing control was not meant to be treated as Custom.

How

  • Edit Type on the control. The install step only fills it where it was blank.
06

Troubleshooting

Limitations

  • Data moves one way only, from UCF into Fusion. Nothing is sent back to UCF.
  • A single sync can take at most 5 Authority Document Lists and 15 authority documents.
  • The field mapping is fixed in code and cannot be changed by the customer.
  • Names longer than 80 characters are cut and end in "..."; the full text is kept in the Name Long fields.
  • Control Mappings created by the sync cannot be deleted.
  • Subject Matter on Control Framework is a restricted picklist, so an authority document whose UCF subject matter is not in the list fails to save.
  • There is no Quarterly frequency; it was removed in the code because of a bug.

Common problems

The scheduler shows an Error card instead of the lists, or the lists are empty.

Check the Named Credential: its name must be UCF, the password must be the API key value, and Allow Merge Fields in HTTP Header must be ticked. Check the lists are shared in UCF.

Toast: "No more than 5 Authority Document Lists can have documents selected for import." or "No more than 15 Authority Documents can be selected for import."

Select fewer lists or documents and run several syncs.

Toast: "Please select a future date for scheduling.", "Please select a valid start date for scheduling." or "Please select a valid frequency for scheduling."

Enter a Sync Start Date in the future and choose a Frequency before clicking Set Sync Schedule.

Toast: "Please Select Document Lists To Sync"

Select at least one authority document in a list's table, not only the list.

A log item says "Insufficient Privileges" or "User does not have Create Access to ..."

Assign UCF Admin Permissions to the user who ran or scheduled the sync.

A log item error says "Null was returned for id on an entity ... - please contact UCF support." or "Null was returned for time_updated ..."

UCF returned incomplete data for that record. The record is skipped; raise it with UCF support.

Error deleting a Control Mapping: "Control Mapping[...] was created by UCF Sync cannot be deleted."

This is by design. Mappings with UCF Created ticked are owned by the sync.

Merge fails with "The target control record does not allow UCF updates" or "The source control record does not have a UCF Id"

Untick Exclude from Merge on the target control, or merge from a control that came from UCF.

Refresh UCF says "This control is up to date with UCF" or "This control does not have any recent updates to retrieve"

There is nothing newer in UCF for that control.

Flag a problem