Taking over rule sets from SAP GRC
Whoever runs SAP GRC Access Control does not have to enter the rule set again in Nova. “Take over from SAP GRC …” reads rule sets with their risks, functions, actions and permission rows from the SAP system, copies them 1:1, repairs clear data errors and creates the result as a draft of the configuration transport. Only the dry run and “Apply” change the risk rule set.
From then on Nova leads: the rule set taken over is a rule set of Nova like any other, can be changed there and is evaluated by Nova – see Segregation of duties (SoD). Nova only reads the SAP system; SAP GRC and its tables stay unchanged.
Prerequisites
- The take-over is found in the risk rule set in the “…” menu. It is reserved for administrators.
- The source is an SAP target system of Nova from which the rule tables of SAP GRC Access Control can be read. Connecting an SAP GRC system that Nova does not manage as a target system is planned planned.
- The RFC user of the target system needs read access to these tables – see SAP.
- The authorisation data of the source must have been read completely, role menus included: the repairs ask which authorisation objects, transactions, Fiori apps and OData services the system knows. If the data is missing, the dialog names the reason – for example “Read the authorization data of … completely first – they were never read” –, says where it is read – “Risk Analysis” › “Policy”, section “SAP authorization data”: “Read now” –, and leads there with “Go to the SAP authorization data”; see policy.
The dialog
| Entry | Meaning |
|---|---|
| “Source” | the SAP system whose rule tables Nova reads. A system whose tables cannot be read is listed with the reason and cannot be chosen – also one that does not answer within a minute (“no answer within 60 s”). If the dialog does not reach Nova itself, it says so and offers “Ask again”. |
| “Rule sets” | which of the source's rule sets Nova takes over, each with the number of its risks; at most 20 per take-over. |
| “System groups” | on which SAP systems Nova checks the actions of each connector group of SAP GRC. For the connector that names the source itself, the source is proposed. A group without a system is taken over, but Nova checks its actions nowhere. |
| “Take proposal rows along (inactive)” | also takes over the proposals of the proposal maintenance (SU24) as rows “Proposal”. They do not count but can be activated in Nova later. On by default. |
If the source is not among the systems assigned to its connector group – SAP GRC runs on a system of its own –, the dialog and, first of all, the notes of the draft warn: the repairs of objects, Fiori apps and OData services and the notes on unknown items were then checked against the source's data, not against the group's systems, and may be wrong there. The rules themselves arrive 1:1. Nova does not refuse the take-over for this reason and reads nothing from another system; reading the system data from the assigned system is planned planned.
“Create draft” reads, copies and repairs, and then reports “Draft #‹no.› created – nothing is taken over yet”. If SAP does not answer a call within five minutes, Nova stops and says so; no draft is made. The dialog shows the number of risks, functions, SAP actions, permission rows and repairs and how many repairs change the result, with four lists below (see further down). “Open dry run” leads to the configuration transport.
What Nova takes over
| In SAP GRC | In Nova |
|---|---|
| rule set | rule set with the ID GRC_‹ID›; its “Origin” names source, rule set and import. |
| business process | business process GRC_‹ID› |
| function | function GRC_‹ID›; its scope becomes the “Analysis scope” – “Single system” or “Cross-system”. |
| action of a function | SAP action in the system group of its connector group, written as in SAP GRC, active or inactive as there |
| permission rows including extension groups | permission rows with group, object, field, value, link and status – values unchanged, a leading blank included |
| risk | risk GRC_‹ID› of type “Segregation of duties”, “Critical action” or “Critical permission” with its risk level, its functions and rule sets |
| connector group | system group GRC_‹group› with the SAP systems assigned in the dialog |
A risk level Nova does not know is taken over as “High”, with a note.
Repairs
Rule sets contain data errors that SAP GRC evaluates literally – an upper bound 2 instead of 02, for example, which in a text comparison includes far more values than intended. Where an error is clear, Nova repairs it in the copy. The list “Repairs” names each one with the object, “before → after” and – where the SAP system was asked – the basis (“per the system: …”).
| Repair | What Nova changes |
|---|---|
| “Truncated upper bound padded” | An upper bound shorter than the lower bound is padded with zeros when both consist of digits only: 01 to 2 becomes 01 to 02. |
| “Typo in the object name” | An object the system does not know, but does know with _ instead of -: S-SERVICE becomes S_SERVICE. |
| “Orphan rows dropped”, “… attached”, “… not taken over” | SAP GRC never evaluates permission rows of an action the function does not list. Nova drops them when the action meant already has the same rows, attaches them when exactly one action without rows of its own is meant, and otherwise does not take them over. |
| “Fiori app spelling” | An app the system knows only in another upper and lower case, or with object and action swapped, gets the system's spelling. |
| “Cut Fiori app completed” | A value cut at 50 characters is completed when exactly one app of the system starts with it. |
| “OData service form” | Blanks after [SVC] are dropped; a four-digit version number at the end is dropped when the system knows the service only without it. |
| “[SRV] as [SVC]” | [SRV]‹name› of an OData service of the system becomes [SVC]‹name›, so that the values of S_SERVICE decide. |
| “S_SERVICE value” | A blank before [SVC] is dropped; a plain service hash gets [SVC] in front; [SVC]‹name› becomes [SVC]‹hash› when the service has exactly one hash. |
| “Blanks around the action” | Blanks around an action are dropped; if the action without blanks exists already, the variant is removed. |
| “Duplicate row” | A row equal to an earlier one in group, object, field, value and link is removed where that does not change the result. |
| “Duplicate risk” | Nova does not take a second risk of the same type over the same functions. The active risk stays, among equally active ones the one with the higher risk level, among equal ones the first by code; the rule sets of the others are added to the one that stays. If Nova already holds one of these risks from an earlier take-over, that one stays and takes “Active” and the risk level of the risk this rule would keep; it keeps its own description and business process. The list says which one stayed and why – for example “… stays because Nova already holds it”. |
| “Name capitalised” | A function name starting in lower case starts with a capital. |
“changes result”. A repair with this mark makes Nova report differently from SAP GRC at this point, since SAP GRC keeps evaluating the unrepaired rule set. A padded upper bound, for instance, turns a supposed maintenance role back into a display role. A duplicate risk carries the mark as soon as the two differ in the “Active” switch or in the risk level. A repair can be taken back in the risk rule set after applying.
If the system lacks part of the data a repair needs, Nova does not run it and names it under “Not run because system data was missing”.
Ambiguous, not taken over, notes
“Ambiguous – unchanged”. If Nova recognises an error but no single right correction – several candidates or none –, the object stays as it is. The list names the reason, for example “several candidates” or “padded, it would lie below the lower bound”.
“Not taken over”. This list holds what the copy does not contain:
- risks of a type Nova does not know, and risks over a function the source lacks;
- orphan rows that could not be assigned to an action, with their rows;
- permission rows that cannot be read – without an authorization object, without a group, without an operator or with an operator that is neither AND nor OR nor NOT –, as “Permission row not readable” with function, action, row and reason; the take-over does not stop at such a row, the rest of the rule set arrives. Nova reads the operator in any spelling,
andcounts as AND; - the SU24 proposals when “Take proposal rows along” is off;
- counted but not read: “Extended objects”, “Org rules”, “Supplementary rules”, “Critical roles”, “Critical profiles”, “Mitigating control assignments” and “Owners (personal data, they stay in SAP)”.
Risk admins create mitigating controls and their assignments anew in Nova.
“Notes”. What Nova takes over unchanged but lets you know:
| Note | Meaning |
|---|---|
| “Same action in several functions” | Two functions of a risk share an action; without permission rows, whoever holds this one action violates the risk. |
| “No permission rows – the action alone decides” | An active action without an active row. |
| “Empty value – only * meets it”, “Org variable ($) – every value meets it” | Values that work differently from how they look – see Comparing values. |
| “NOT – Nova semantics, SAP GRC may differ”, “AND and OR in the same field” | Rows Nova evaluates by its own definition. |
| “Critical permission (report type 04) – Nova evaluates it by its own definition, not compared with SAP GRC” | The rule set holds risks of this type; it was not compared with SAP GRC. |
| “Source not among the system group's systems …” | The source is not among the systems of a system group – see above. This note comes first. |
| “Risk never fires – a function has no active action” | In Nova such a risk never occurs. |
| “Generated rules outdated in SAP GRC” | The rules SAP GRC has stored for a risk no longer match the active actions of its functions. SAP GRC may report differently from Nova there until it regenerates its rules. |
| “Cross-system function” | SAP GRC applies it only in cross-system analyses. |
| “System group without a system – checked nowhere” | No SAP system is assigned to the connector group in the dialog. |
| “Object …”, “Field …”, “Transaction …”, “Fiori app unknown on the system” | The source does not know the object, the field, the transaction or the app. |
| “Fiori app in no role menu” | The source knows the app, but no role in Nova contains it. |
| “Unknown risk level – taken over as high” | see above. |
The lists stay with the import: in the configuration transport the draft shows them under “Repairs and notes”, and the “Origin” of the rule set leads there.
Dry run and apply
The draft goes through the configuration transport like any transport file:
- The dry run shows every object as new, changed, unchanged or skipped. For a function the change list names which SAP actions are added or removed, how many switch between active and inactive and how many permission rows come or go – see Configuration transport.
- “Apply” writes exactly these changes – every object through the same checks as an edit by hand, with its own entry in the audit log.
The following applies:
- Nothing is deleted. An existing object with the same ID is changed, not created anew; its findings and mitigations stay.
- An existing rule set keeps its switches. A new one is inactive and is not checked on access requests.
- After applying, the result says that a rule set new from SAP GRC arrives switched off and leads to the next step with “Activate the rule set”: only once the rule set is “Active” does Nova evaluate its risks. As soon as it is active, Nova analyses every identity again – with “Analyse on change” after two minutes without a further change to the rule set, otherwise at the next scheduled run. “Check access requests” is a second switch of its own.
Taking over again
Nova leads the rule set it took over. Taking it over again – after a correction in SAP GRC, for example – brings it to the state of the source as long as Nova changed nothing about it but the switches. Nova checks this before the draft against the rule set's last GRC import in this environment; a configuration transport is no such base. Nova refuses:
| Situation | Message |
|---|---|
| Since the last GRC import Nova changed, created or deleted an object – an SAP action or a permission row included. | “Nova changed n objects since the last GRC import …”, with the objects and what changed, for example “Created in Nova” or “Deleted in Nova”. |
| The rule set last came into this environment by a configuration transport – with the state of another Nova and what was changed there. For a new rule set the same holds for the functions, risks and other objects it shares with what is already there and that a transport brought last. | “Last brought in by a configuration transport: …”; each object with “Last brought in by a configuration transport (import #‹no.›)”. A take-over would overwrite that state. |
| A new rule set shares objects with a rule set an earlier take-over from SAP GRC brought. | “Taken over by another GRC import: …”; each object with “Taken over by another GRC import (import #‹no.›)”. Nova does not take over a rule set over objects another GRC import brought. |
| The authorisation data of the source is missing, was read without role menus, or too many catalogs are missing from the launchpad cache. | “Read the authorization data of … completely first …” |
| Another import is running. | The take-over is repeated later. |
The switches “Active”, “Check access requests” and “Default rule set” never count as a change; a risk of their own that risk admins added to the rule set is left untouched.
If SAP GRC now prefers the other of two risks of the same type over the same functions – because it is active there now, for example –, Nova keeps the risk it already holds and takes “Active” and the risk level of the other (see “Duplicate risk” under Repairs). So taking over again follows the change in SAP GRC.
Taking a rule set over again after Nova changed it – as a reviewed comparison of Nova's state, the state in SAP GRC and the last import – is planned planned.
Does Nova evaluate like SAP GRC?
With the same rule set and the same authorisation data, Nova is meant to find the same risks as SAP GRC Access Control. This was checked on one SAP system with the rule set GLOBAL delivered by SAP: the risk analysis of SAP GRC itself ran for all 5,528 roles of that system that Nova manages, and for 45 simulated role sets. Nova worked with the unrepaired copy of the rule set and the same values – the generated profiles.
| Compared | Result |
|---|---|
| 5,528 roles – per role every risk with function, action and number of violated rules, at action and object level | all equal |
45 role sets – 43 of 3 to 24 roles in which only several roles together give a risk, and 2 with the profile SAP_ALL | all equal |
What this proves – and what it does not.
- Real hits. SAP GRC reported a risk at all for 183 of the 5,528 roles. For the other 5,345 roles “equal” means: both report nothing.
- Coverage of the rule set. Across all comparisons SAP GRC reported each of GLOBAL's 206 risks at least once, but only 161 of them at the level of authorisation values. Of the 2,354 active actions, 1,436 appeared in a result there; 2,452 of the 5,321 counted permission rows belong to them. For the rest it is proven that Nova and SAP GRC agree in reporting nothing – not that they would evaluate a hit the same way.
- With profile values, not with maintained values. The comparison checks the evaluation with the values SAP GRC evaluates. In operation Nova works with the maintained values of the role (see Value source). For 2,118 roles – 636 whose profile matches the role maintenance according to Nova's own comparison, and 1,482 without values to evaluate – this result equals that of SAP GRC as well. For the 3,410 roles without a profile or with a differing profile there is no such yardstick: SAP GRC does not evaluate their maintained values. There Nova differs for 374 roles – it reports more for 358 and fewer for 19, both for 3 of them –, and what Nova reports fewer is listed under “Additionally according to the SAP profile”. Whether Nova reads the maintained values of these roles correctly is therefore not proven by SAP GRC.
- Not compared. The risk type “Critical permission” – GLOBAL contains no such risk, Nova evaluates it by its own definition; accounts with their actual assignments, and access requests; other rule sets and other SAP systems; cross-system functions; the row “NOT” and “AND” with “OR” in the same field – GLOBAL contains neither – and the org variable, which no role reached in the comparison; the repaired rule set, since SAP GRC evaluates the unrepaired one.
- SAP GRC on a system of its own is not checked; the take-over then only warns (see above).
When Nova reports differently from SAP GRC.
| Reason | How to recognise it |
|---|---|
| value source: role maintenance instead of the generated profile | “No profile” or “Profile differs” on the role, “Additionally according to the SAP profile” in the identity risk analysis |
| repair of the copy | “changes result” in the import's “Repairs” list |
| function without an active action | note “Risk never fires – a function has no active action” |
| outdated rules in SAP GRC | note “Generated rules outdated in SAP GRC” |
| Fiori content Nova cannot read | “Notes on the SAP authorization data” in the identity risk analysis |
| roles that changed since the last read | “as of …” of the SAP authorisation data |
| assignments and profiles made directly in the SAP system, locked and expired accounts | not taken into account yet – see Limits |