Enable the system property and run the on-demand job to calculate the compliance score of an entity based on its downstream entities' compliance scores and also its direct controls.
Before you begin
Role required: sn_compliance.admin, sn_compliance.manager
Procedure
-
Navigate to .
-
Select the Entity hierarchy based scoring property to set it to true.
By default the property is set to false. When it is false, the compliance score is calculated based on direct controls, which is the average of the controls that are directly associated with the entity. See
Compliance score calculation of an entity.
However, if you want to calculate the compliance score of an entity based on its downstream entities and direct controls, then you must set the property to true. There
can be a scenario where you might have to update the existing entities' compliance score by this new logic. For this purpose, there is a scheduled job that you must execute manually whenever you want to calculate the
compliance score.
-
To execute the scheduled job, navigate to .
-
Select the Update compliance scores for hierarchy entities on-demand job from the list.
Execute the
Update compliance scores for hierarchy entities job on demand whenever you are switching the value in the preceding property so that the compliance score of all the entities can be
recalculated honoring the property's value.
Failing to run the on-demand job after changing the value in the property leads to inconsistencies in the calculation of compliance scores of entities.
Note: Whenever you
are executing the Update compliance scores for hierarchy entities job you must deactivate the Compliance Score V2 scheduled job until the execution of the Update
compliance scores for hierarchy entities job is complete. This step is a manual intervention that you must do to streamline the process of compliance score calculation for an entity.
-
Select Execute Now in the Scheduled Script Execution Update compliance scores for hierarchy entities.