OBLYTECH Logo
OBLYTECH Logo

Read how the compliance score is calculated for a citation

A citation’s compliance score comes from one of two formulas, and the system property Enable association of Citations to Controls Mapping decides which one applies. When that property is off, the score averages child citations and associated control objectives. When it is on, the score averages child citations and directly linked controls, then divides the result by two.

Scores move as controls, control objectives, or citation links change, so knowing which formula is active tells you how to read a result. This page covers both formulas, the weighted option, the changes that trigger recalculation, and the steps for switching methods. If you map citations to controls before you rely on these scores, read about how citations are mapped to controls in UCF integration.

The older formula averages child citations and control objectives

Under the older formula, a citation draws on two inputs: the compliance scores of its child citations, and the compliance scores of the control objectives associated with it. The score is the average of those inputs. A control objective’s own score is built from its controls and from its child control objectives, so the citation reads that rolled-up figure rather than the individual controls underneath it.

Take a citation with no child citations and one associated control objective at 42%. That objective’s 42% comes from averaging its own controls at 50% and its child control objective at 33%. The citation therefore scores 42%.

Now add a child citation. If that child scores 70% and the associated control objective scores 42%, the citation averages the two values: (70% + 42%) ÷ 2 = 56%.

Under this formula the state of each control objective feeds the citation, so review the objective structure before you read a citation score. For the mapping side of that structure, see how control objectives are mapped to citations.

The newer formula averages child citations and directly linked controls

When the property is on, the score becomes the average of child citations plus the average of directly linked controls, divided by two. Control objective scores drop out of the calculation. The controls that count are the Level 1 controls, which are the controls sitting under control objectives linked straight to the citation.

Consider a citation with one child citation at 70% and four directly linked controls at 100%, 0%, 100%, and 0%. The control average is (100% + 0% + 100% + 0%) ÷ 4 = 50%. The citation score is then (70% + 50%) ÷ 2 = 60%.

Two points follow from that example. The child citation average and the control average carry equal weight in the result. Each directly linked control enters the control average once.

How the weighted control average changes a citation score

The property labeled Use weighted control average when calculating compliance scores replaces the flat control average with a weighted one. Each control carries a weight, and the score reflects how much of the total weight is compliant rather than how many controls are compliant.

Suppose three controls reach a citation through one control objective. Control A is compliant with a weight of 100. Control B and Control C are non-compliant, each with a weight of 10.

A flat average counts one compliant control out of three, so the result is (100% + 0% + 0%) ÷ 3 = 33%. The weighted average divides the weight of the compliant controls, multiplied by 100, by the total weight of all controls: (100 × 100) ÷ 120 = 83.3%.

Weights change the result when the control statuses differ. If all controls are compliant, both methods return 100%. If all controls are non-compliant, both return 0%.

How direct links between citations and controls move the score

With the new formula active, each direct link change recalculates the citation’s score. The four changes below are the manual link edits that move a citation’s score.

  • Adding a control directly to a citation recalculates the score with the new formula. A non-compliant control enters the average at 0%, so it pulls the score down when it joins a citation that already has compliant controls.
  • Removing a control from a citation recalculates the score from the controls that remain. Take a citation with three controls, two compliant and one non-compliant, which scores below 100%. Removing the non-compliant control returns the score to 100%.
  • Adding a citation to a control updates that citation’s score. A citation with no controls starts at 0%, and linking one compliant control moves it to 100%.
  • Removing a citation from a control recalculates the scores. A citation with two compliant controls keeps a score of 100% after one of them is removed, because the remaining control is still compliant.

Changes to controls

  • Control creation. Adding an entity or entity type to a control objective can generate new controls. Each new control is auto-linked to the citations associated with that control objective, and their scores update.
  • Control deletion. Deleting a control from a control objective that a citation is associated with changes that citation’s score. In the example, a control objective holding one compliant and one non-compliant control gives the citation 50%. Deleting the non-compliant control moves the score to 100%.
  • Control status. Changing a control between Compliant, Non-Compliant, and Not Applicable recalculates the scores of all associated citations. A citation with one compliant control scores 100%. Switching that control to Non-Compliant drops the score to 0%.
  • Control weight. When weighted averaging is on, changing a control’s weight changes the score. A compliant control with a weight of 100 and a non-compliant control with a weight of 10 produce a score of 91%, since 100 ÷ 110 is about 91%.

Changes to citations

  • Citation deletion. Deleting a citation removes all of its citation-to-control associations. The deleted citation has no score left to recalculate, but authority document scores may update.
  • Association to a control objective. Linking a citation to a control objective adds all of that objective’s Level 1 controls to the citation and recalculates the score.

Steps for turning on the new formula and recalculating scores

Confirm the property and job names on your instance before you start. Work through the three steps in this order.

  1. Turn on the system property Enable association of Citations to Controls Mapping.
  2. Disable the periodic job Compliance Score V2 for the length of the recalculation, so the two jobs do not conflict.
  3. Run the scheduled job Calculate All Citations and Authority Documents Compliance Score to recalculate the scores.

The scheduled job is the step that recalculates existing citation scores. Changes made after that run follow the link and control rules described above. For help planning this work, see ServiceNow implementation.

Checks to run after the scores recalculate

Start with a small set before you trust the recalculated figures across a whole program.

  • Pick one citation with a known set of controls and work its score by hand. Use the older formula if the property is off, and the newer formula if it is on.
  • If weighted averaging is on, add the weights of the compliant controls and the weights of all controls, then compare the result with the score on the record.
  • Check that the scheduled job finished before you read scores across a set of citations.
  • Repeat the check on a few citations with different link patterns, such as a citation with child citations and a citation without them.

Questions about citation scores under both formulas

What happens to controls when a citation leaves a control objective?

Disassociating a citation from a control objective deletes the controls that were added automatically through that objective. Manual controls, flagged as outside hierarchy, are kept, and the citation’s score is recalculated from what remains. When controls go outside hierarchy this way, the system shows an info message that lists them so you can review each one.

How do I tell a manually linked control from an automatic one?

Manual associations carry the flag Associated Manually = True. Those links are never auto-deleted, so a change to the control objective association does not remove them. Automatic controls come from the control objective and are the ones removed when the citation leaves that objective.

Which compliance views read the citation-to-control links?

Compliance breakdowns, dashboards, and widgets now read their data from the M2M table, not from the control objective hierarchy. For a broader look at the compliance tooling, see ServiceNow compliance solutions.

What happens when a control’s active flag changes?

Activating or deactivating a control recalculates the scores of its associated citations. Deactivating a compliant control can reduce a citation’s score, because fewer controls remain in the calculation.