This repository has been archived by the owner on May 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update and rename vm-19.kql to vm-19.fix
- Loading branch information
Showing
2 changed files
with
8 additions
and
1 deletion.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
docs/content/services/compute/virtual-machines/code/vm-19/vm-19.fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// Azure Resource Graph Query | ||
// Find all disks that are not encrypted | ||
resources | ||
| where type == "microsoft.compute/disks" | ||
| extend encryptionType = properties.encryption.type | ||
| extend diskState = properties.diskState | ||
| where encryptionType !in ("EncryptionAtRestWithCustomerKey", "EncryptionAtRestWithPlatformAndCustomerKeys", "EncryptionAtRestWithPlatformKey") | ||
| project recommendationId="vm-19", name, id, tags, param1=strcat("encryptionType: " , properties.encryption.type), param2= strcat ("diskstate: ", properties.diskState) |
1 change: 0 additions & 1 deletion
1
docs/content/services/compute/virtual-machines/code/vm-19/vm-19.kql
This file was deleted.
Oops, something went wrong.