Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update storage secure transfer query
  • Loading branch information
Jason Kao committed Dec 22, 2022
commit 74a738810e9a0f2db4e78f5aafc80198a354a6cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ SELECT
:'framework',
:'check_id',
'Secure transfer to storage accounts should be enabled',
subscription_id,
id,
az_sub.subscription_id,
az_stor.id,
case
when supports_https_traffic_only IS NOT TRUE
when az_stor.properties ->> 'supportsHttpsTrafficOnly' IS DISTINCT FROM 'true'
then 'fail' else 'pass'
end
FROM azure_storage_accounts
FROM azure_storage_accounts as az_stor
LEFT JOIN azure_subscription_subscriptions as az_sub
ON az_sub.subscription_id = SUBSTRING(az_stor.id,16,36)