Skip to content

Commit d1381ae

Browse files
committed
feat: Refactor SupportHttpTraffic query to use StorageAccounts directly
1 parent fa3e904 commit d1381ae

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

ql/src/security/Storage/SupportHttpTraffic.ql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
import bicep
1616

17-
from Storage::StorageAccountsProperties properties
18-
where properties.getSupportsHttpsTrafficOnly() = false
19-
select properties.getProperty("supportsHttpsTrafficOnly"),
17+
from Storage::StorageAccounts storageAccount
18+
where storageAccount.getProperties().supportsHttpsTrafficOnly() = false
19+
select storageAccount.getProperties().getSupportsHttpsTrafficOnly(),
2020
"Supports non-HTTPS traffic for storage accounts."
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
11
| http-traffic.bicep:35:31:35:35 | false | Supports non-HTTPS traffic for storage accounts. |
2-
| http-traffic.bicep:35:31:35:35 | false | Supports non-HTTPS traffic for storage accounts. |
3-
| http-traffic.bicep:35:31:35:35 | false | Supports non-HTTPS traffic for storage accounts. |

0 commit comments

Comments
 (0)