Skip to content

Commit 184bfbe

Browse files
committed
feat: Add Database TLS version
1 parent 824d2b7 commit 184bfbe

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ql/lib/codeql/bicep/frameworks/Microsoft/Databases.qll

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,12 @@ module Databases {
240240
}
241241
}
242242

243+
class WeakDatabaseTlsVersion extends Cryptography::WeakTlsVersion instanceof DatabaseResource {
244+
override Expr getWeakTlsVersionProperty() {
245+
result = DatabaseResource.super.getProperties().getProperty("minimalTlsVersion")
246+
}
247+
}
248+
243249
module DatabaseProperties {
244250
/**
245251
* Represents the properties object for a database resource.

0 commit comments

Comments
 (0)