OBLYTECH Logo
OBLYTECH Logo

Set up domain separation for configuration compliance

Domain separation in Configuration Compliance splits data, processes and administrative tasks into logical groupings called domains. Test results, hosts, risk scores and remediation work stay inside the domain that owns them, and who can see that work depends on the domain. Setting up the separation itself needs no extra steps beyond domain separating the instance, but each integration still needs a domain chosen for it.

What domain separation covers in Configuration Compliance

Configuration Compliance manages a test result from the point a scanner reports it through remediation and reporting. Domain separation applies across that whole chain. A team in one domain cannot open the results, hosts or workflows that a team in another domain manages, which is why one instance can serve several customers side by side.

The following functions are domain aware:

  • Ingesting test results from third-party scanners such as Qualys
  • Rescanning specific hosts, in the domain that requested the rescan
  • Matching scanner results to configuration items in the CMDB
  • Calculating risk scores at the test result level
  • Defining, assigning and keeping remediation task rules
  • Routing deferral approvals
  • Showing test result states on reports and dashboards

Data that stays inside a domain

Test results ingested from third-party scanners stay in the domain of the integration user and are not accessible from any other domain. The same separation applies to hosts. Test results or hosts in one domain cannot be viewed from other domains.

Two less obvious objects are also protected. The risk scoring algorithm and the remediation task rules cannot be viewed by anyone outside the domain. Deferral workflows created in one domain are not visible in another domain, and all email notifications stay within the domain they belong to.

This is why the integration user is central to the design. Its domain decides where results land, which CMDB data is used for matching, and which calculator and rules apply. Choose that account deliberately, and record which domain it belongs to before you create the first import.

Setting up domain separation on the instance

The instance owner starts by domain separating the instance. After that, all Configuration Compliance tables gain a Domain column. The separation step itself needs no further configuration, so the remaining work is choosing domains for integrations and deciding who owns each domain’s rules. Work through it in this order.

  1. Check the Domain column. Open a Configuration Compliance table and confirm the Domain column is there before you configure anything else. Each row carries the domain it belongs to.
  2. Pick the integration user’s domain. Scanner imports land in the domain of the account whose credentials the integration uses. Settle that domain first, because CMDB matching, risk scoring and rules all follow it.
  3. Direct each import to its domain. Test result integration imports can be pointed at specific domains. Set the target for each integration, run one import, and check the domain of the results it created.
  4. Confirm the CMDB matches. Scanner results are matched against configuration items in the CMDB of the integration user’s domain. Check that the configuration items for the hosts you scan exist in that domain before you rely on the matches.
  5. Create scoring and rules in the same domain. The risk score calculator that applies to a result is the one defined in the integration user’s domain, and remediation task rules can be defined and kept in that domain too. Create them there, not in whichever domain is easiest to reach.

For the scanner feed itself, follow the integration steps for your source. If the feed is Microsoft Defender for Cloud rather than Qualys, see importing Microsoft Defender for Cloud results into Configuration Compliance.

Roles and actions in each domain

Each action below is tied to one role. Assign it to that role, and do not extend it to the other roles by default. Check any custom roles on your instance against these lists before you grant access.

Instance owner

The instance owner decides which business logic and processes are domain separated. The items that can be separated are:

  • Configuration Compliance users and groups
  • Configuration Compliance integrations, starting with the Madrid release
  • Complete setup configuration, including user and group management, application installation, multi-source application management, CI lookup rules, remediation task rules and risk calculators
  • The complete remediation life cycle, including deferral

Compliance analysts

Analysts manage their own application data inside their domain. The actions for this role are:

  • Creating their own application installation, multi-source application management and CI lookup rules
  • Configuring integrations for use inside the domain
  • Creating their own deferral and change management workflows
  • Creating their own remediation task rules and risk-scoring logic, auto-assigning remediation tasks and assigning them to the correct assignment group

Domain users

Domain users create a manual remediation task and then close it. Creating rules and setting up deferral workflows sit with analysts, as the lists above show.

Remediation tasks, deferrals and risk scores by domain

Remediation tasks created from remediation task rules stay in the domain where those rules were created, so the location of the rule decides which team sees the work. Define grouping and assignment in the domain that owns the work, then check the assignment group on the first task that comes through. For the rule side of this, see configuring remediation task assignment rules.

Deferrals follow the same logic. A deferral workflow goes through the approval process in the domain where the deferral was requested. Analysts build their own deferral and change management workflows, so the approval path lives inside the domain that uses it. Run a test deferral in each domain before users rely on it.

The complete remediation life cycle, from task creation through closure, is described in how remediation works in Configuration Compliance. Read it alongside the domain rules above so the two line up.

Risk scores are calculated at the test result level using the risk score calculator defined in the integration user’s domain. A result is therefore scored by the calculator of its own domain, and analysts can create their own risk-scoring logic, so scoring can differ from one domain to the next. For the calculator side, see calculator rules for Configuration Compliance.

Planning the domain model before you configure

There is no single right number of domains. The design question is which integration user feeds each domain, which people hold the analyst and domain user roles in it, and which CMDB data it needs. Settle those three points for each candidate domain before you create anything. Gaps in any of them tend to show up later as results in an unexpected domain.

Keep shared scanner knowledge apart from client results. Scanner knowledge can be ingested into the global domain and shared across clients, while the test results from each client remain inside that client’s domain. Decide early which knowledge belongs in the global domain, so each integration is set up against the right target.

For help planning this work, see ServiceNow implementation.

Testing visibility after setup

Test the separation before users depend on it. Sign in as a test user in each domain, check the following one item at a time, and write down what you see:

  1. The test results from the first domain’s integration appear for users in that domain.
  2. Users in the second domain cannot see those test results or the hosts they belong to.
  3. A deferral requested in one domain does not appear in the other.
  4. Email notifications triggered in one domain do not reach recipients in another domain.

Repeat these checks after any change to an integration user or an import target, since either change affects where results land.

Questions about terms, support and multi-instance feeds

Which terms were renamed in Configuration Compliance?

From v14.9 onward, Test Result Group is called Remediation Task, Group Rules are called Remediation Task Rules, and Policy is called Test group. Use the current names in all domain guides so analysts and domain users read the same labels.

What support level does domain separation carry?

Domain separation in Configuration Compliance is listed at the Standard support level, which includes everything in Basic level support. Application properties are domain aware where needed. The instance owner configures the minimum viable business logic and data parameters for each tenant, so a setting such as a mandatory comment can apply to one tenant’s records and not another’s. Check the support level and domain behavior for your release and instance before you build production rules.

Can one instance ingest data from more than one scanner instance?

Yes. Ingesting data from multiple instances is one of the domain-aware use cases. Results from each source are de-duplicated and matched to CMDB configuration items, and risk scores are added as part of the same life cycle.

What do reports and dashboards show in a separated domain?

Reports and dashboards display test result states for the domain they belong to. That covers the age of test results, open test results by configuration item and test results by impact. Trend views can be grouped by compliance, category, criticality and technology, and the status and distribution of test groups, tests, hosts, test results and risk scores can be reviewed for the same domain.