Skip to content

Commit

Permalink
Create identify-non-compliant-controls-with-relevant-remediation-acti…
Browse files Browse the repository at this point in the history
…ons.md
  • Loading branch information
cyb3rmik3 authored Dec 5, 2024
1 parent c33125c commit 4c25420
Showing 1 changed file with 23 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Identify non-compliant controls with relevant remediation actions

# Description

The following query leverages DeviceBaselineComplianceAssessment and DeviceBaselineComplianceAssessmentKB. You may choose a baseline assessment profile and then focus on controls that have been found not to be compliant with their relevant remediation options.

### Microsoft Defender XDR
```
let Profile = ""; // Insert ProfileId here
DeviceBaselineComplianceAssessment
| where ProfileId == Profile
| where IsCompliant == "0"
| where IsExempt == "0"
| join kind=inner (
DeviceBaselineComplianceAssessmentKB
) on ConfigurationId
| summarize by ConfigurationId, ConfigurationName, ConfigurationDescription, ConfigurationCategory, RemediationOptions, ConfigurationBenchmark
```

### Versioning
| Version | Date | Comments |
| ------------- |---------------| ---------------------------------------|
| 1.0 | 05/12/2024 | Initial publish |

0 comments on commit 4c25420

Please sign in to comment.