To import Microsoft Defender for Cloud results into Configuration Compliance, configure the integration, load the supporting test data, and check how CI lookup rules resolve each resource. Correct matching depends on the CMDB Object_id format and cloud context. Validate Resource Id, Name, and S3 Bucket rules before using results for remediation.
Plan the Configuration Compliance Microsoft Defender for Cloud import
Start with a small set of resources whose configuration items you can identify independently. Include different resource types and, where applicable, resources from different cloud accounts. Record the expected CI alongside the incoming resource identifier. This gives you a way to judge the match rather than accepting a populated CI field as proof of accuracy.
Configuration Compliance imports assessment results; it does not calculate the scanner’s test outcomes. The integration connects tests with CIs so teams can work on misconfigurations through Remediation Tasks. Keep two acceptance questions separate: did the expected assessment arrive, and did it attach to the intended configuration item?
Identify the installed application before following a configuration path. The Security Operations integration (Microsoft Defender for Cloud Integration for Security Operations) and the Security Exposure Management application (Microsoft Defender Integration for Security Exposure Management) have different navigation and role requirements. Check the application version and release on your instance once before starting; use the corresponding labels throughout the work.
Configure access and limit the first import
For the Microsoft Defender for Cloud Integration for Security Operations installation and configuration procedure, the required role is sn_vulc.admin. Create the Azure Active Directory app registration first. Under All > System Definition > Plugins, find Microsoft Defender for Cloud Integration for Security Operations and select Install. Review the dependencies displayed during installation.
Open All > Microsoft Defender for Cloud Integration > Administration > Configuration > Microsoft Defender for Cloud Configuration. Populate API URL, Tenant ID, Client ID, and Client secret using the registered application. Use Integration instance to distinguish the relevant connection when working with multiple tenants or subscriptions.
Set Import Findings from to the intended scope. Specific Management Groups exposes Management Group IDs; Specific Subscriptions exposes Subscription IDs. Use a known scope for the first validation so an absent resource can be traced to either selection or processing. Select Save and test, then inspect Validation status before proceeding with data checks.
For the Security Exposure Management application, admin is required for initial assignment of roles and application activation; the configuration procedure also lists sn_vul.vulnerability_admin. Its configuration path is All > Microsoft Defender Integration for USEM > Administration > Microsoft Defender for Cloud Configuration. The conditional scope fields are Management Group and Subscription ID. Avoid transferring permissions or field names between the two procedures.
Load the records that give assessments meaning
A result needs its supporting records to be interpretable. Run the first three jobs in this order: Policy Definitions first, because it populates the test groups that Assessment Metadata needs; then Assessment Metadata, which retrieves tests once those groups exist; then Compliance Standards. Run Assessment Integration after them as a practical choice, so that test results land on tests that are already in place.
- Run Policy Definitions Integration to populate test groups.
- Run Assessment Metadata Integration to retrieve tests after the test groups are available.
- Run Compliance Standards & Controls Integration to retrieve authoritative sources and citations and connect the supporting compliance information.
- Run Assessment Integration to retrieve test results and resource information.
Inspect a sample test group and its tests before reviewing the associated result. A test can belong to multiple test groups, so a relationship appearing in more than one group is not sufficient evidence of a duplicate. Follow the actual result and resource relationship when investigating identity.
Release v14.9 renamed several terms, and older notes still use the earlier names. Policy became Test group, Test Result Group became Remediation Task, and Group Rules became Remediation Task Rules. From v15.0 the Tests list shows each test’s group in its Test Groups column, so you can find a sample group from the test itself.
Test groups tie tests to authoritative sources, which usually map to numbered sections of published standards such as ISO 27001 and PCI DSS 3.2.1. The Compliance Standards & Controls job retrieves those sources and citations, and the integration uses them when it generates vulnerability alerts for tests. When you run jobs by hand, run it after Assessment Metadata Integration, as in the sequence above.
The integration record permissions are sn_vul_asc.read_integration for reading records and sn_vul_asc.configure_integration for reading, writing, and deleting records. These permissions concern integration records; do not treat them as authorization for unrelated CMDB administration. Preserve the configured run-as user, whose default is VR.System. An invalid run-as user can produce repeated retrieval attachments and inconsistent transform results.
Compare incoming identity with the CMDB
Microsoft Defender for Cloud and Prisma Cloud assets are identified by the combination of object ID, cloud account, and logical datacenter. Comparing a display name alone leaves out part of that identity. For each sample, inspect the destination CI class and the value in its Object_id column before judging which incoming value should match.
Discovery stores different object ID formats for different resource types. An AWS::EC2::Instance uses its object ID. An AWS::ElasticLoadBalancing::LoadBalancer uses the load balancer name. An AWS::S3::Bucket uses an identifier constructed as arn:aws:s3::: followed by the bucket name. A resource can exist in the CMDB yet fail lookup because the incoming value uses a different representation.
Build a comparison record containing the resource type, source identifier, expected Object_id, cloud account, logical datacenter, and expected CI. Treat this as a validation worksheet. If the scanner supplies a short name while the CMDB stores a constructed identifier, explain that difference before changing rules or creating another CI.
When an import arrives, Configuration Compliance runs CI lookup on it automatically. It takes the resource data, searches the CMDB, and adds any matching CI to the test result record so that remediation has a configuration item to work from. The base system rules cover Resource ID, Name, and S3 Bucket. The sections that follow explain how each of them builds its search.
For broader control of the resources feeding these checks, connect the matching work with cloud configuration governance. Accurate identity makes governance decisions easier to trace to the resource actually assessed.
Check the three lookup rules and their order
The S3 Bucket rule applies to AWS::S3::Bucket. It combines arn:aws:s3::: with the resource name and searches object_id in cmdb_ci_cloud_object_storage. Check the constructed value against that table. Searching for the bucket’s short name in an unrelated class does not test this rule.
The Name rule uses the resource name against Object_id in the CI class associated with the resource type in sn_capi_resource_type. Despite its label, this is not a general search of the CI’s display name. For Prisma Cloud, its default resource types are AWS::RDS::DBInstance, AWS::ElasticLoadBalancing::LoadBalancer, and AWS::CloudTrail::Trail; additional types can be included.
The Resource Id rule uses the resource ID against Object_id in the CI class associated with the resource type in sn_capi_resource_type. Verify both the class mapping and identifier representation. A correct identifier aimed at the wrong class still leaves the resource unresolved.
The Order field sets rule priority, with the smallest value evaluated first. Review the applicable rules together before changing this field. As a validation practice, record the existing order and the reason for a proposed change, then compare the same samples afterward. Where base rules fail for a resource type, consider a rule for that type after checking its stored identity format.
For help planning this work, see ServiceNow implementation.
Separate import gaps from matching failures
When an expected result is missing, investigate scope and assessment retrieval before CI lookup. Assessment Integration uses Start Time; the other Configuration Compliance imports retrieve their available data without using that parameter. Moving Start Time therefore does not change how the supporting test records are imported.
Assessment Integration normally retrieves assessments with a status change since the last successful run within its default one-day window. A continuously failing assessment may not appear in that incremental retrieval. Comprehensive Assessment Integration runs weekly, covers the preceding seven days, and retrieves results that are not passed. Consider that distinction when comparing scanner findings with imported records.
When the result exists but its CI is missing or incorrect, return to resource type, Object_id format, cloud context, and rule order. Where an unmatched imported host leads to CI creation through IRE, the resource is created in cmdb_ci_cmp_resource. Later discovery can enrich it or create another CI; cloud resources do not receive automatic reconciliation. Review that outcome before treating another created record as a successful match.
Finish acceptance by following a result through to its intended remediation context. Use Configuration Compliance remediation when moving from identity validation to corrective work. Review Configuration Compliance calculator rules separately when the remaining question concerns calculation behavior rather than resource matching.
Import Wiz test results and issues into Configuration Compliance
Wiz feeds two different kinds of finding into Configuration Compliance, and both arrive as cloud test results (CTRs). The Wiz Test Results Integration brings in configuration test results, showing where a cloud setting falls outside the policies and standards you enforce across your environment. The Wiz Issues Integration brings in issue data that helps vulnerability managers, analysts, and cloud security teams spot combinations of vulnerabilities that could form an attack path through cloud infrastructure.
Both integrations are included with the Wiz Vulnerability Response Integration, so that package needs to be installed and configured before either feed will populate. Treat the first import as a validation run. Pick a small set of cloud resources you can identify independently, confirm they arrive, and only then judge the wider volume.
Keep the two sources apart when you review results. Findings from the Issues feed carry Wiz Issues as their source in Configuration Compliance. The two need different follow-up. An attack-path issue calls for a different response than a single misconfigured setting, and reading them as one list hides that difference.
Check the version before you chase a gap. Prior to version 1.1, host configurations from Wiz were not imported into Configuration Compliance, so check the release before investigating CI lookup for a missing host-level finding.
If you have also installed AI Security Exposure Management, the Wiz Test Results Integration can send a subset of AI-related cloud configuration findings to AI Security Exposure Management instead of creating them as test results in Configuration Compliance, once the option to send AI security findings is enabled on its Test Results Configuration tab. Check that setting before concluding that an AI-related result was dropped during import.
Once results arrive, check identity the same way as the other sources described above. Record the expected configuration item for each sampled finding, then confirm the CTR attaches to that CI. A finding that lands on the wrong record counts as a failed import even though the result itself arrived.
Import AWS Security Exposure Management test results into Configuration Compliance
The AWS Integration for Security Exposure Management application includes a Test Results integration. It imports information about misconfigurations for your assets from AWS Security Hub into Configuration Compliance. Treat it as the path for configuration test outcomes. Because it covers misconfigurations only, a container vulnerability finding will not arrive through it.
Container vulnerability data is handled by the container vulnerability integrations in the same application, which draw on AWS Security Hub and AWS Inspector. AWS Inspector continuously scans EC2 instances, ECR container images, and Lambda functions for software vulnerabilities and unintended network exposure. Security Hub gives a consolidated view of security checks and compliance status across AWS accounts. Check which integration a given finding type belongs to before deciding it is missing.
Two prerequisites come first. The application must be installed and configured, because the Test Results integration belongs to it. The integration reads from AWS Security Hub, so confirm that Security Hub covers the accounts you plan to bring in. Confirm both before you run the import, so an empty result has one clear cause to rule out.
For a first run, choose a known set of assets across more than one resource type and note which misconfigurations Security Hub reports for each. Then run the import and compare the results against that list. Working from a short list makes a missing result easy to trace to its cause.
If a misconfiguration arrives but attaches to no configuration item, compare the incoming value with the Object_id stored for that resource type before you change rule order or create new records.
Read each result against its cloud account and resource before acting on it. A misconfiguration tied to the right record gives remediation work a clear target. One attached to the wrong record sends the fix to the wrong owner, so acceptance should stop at identity, not at the arrival of the result.