Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Commit

Permalink
Update and rename vm-19.kql to vm-19.fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pinyuko authored Apr 4, 2024
1 parent 85c0563 commit 34d927f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
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)

This file was deleted.

0 comments on commit 34d927f

Please sign in to comment.