Skip to content

Commit 7d231a7

Browse files
committed
feat: Small update to concepts
1 parent 184bfbe commit 7d231a7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ql/lib/codeql/bicep/Concepts.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ abstract class PublicResource extends Resource {
1313

1414
module Cryptography {
1515
abstract class WeakTlsVersion extends Resource {
16-
abstract Expr getWeakTlsVersionProperty();
16+
abstract StringLiteral getWeakTlsVersionProperty();
1717

1818
/**
1919
* Returns true if the resource has a weak TLS version.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ module Databases {
241241
}
242242

243243
class WeakDatabaseTlsVersion extends Cryptography::WeakTlsVersion instanceof DatabaseResource {
244-
override Expr getWeakTlsVersionProperty() {
244+
override StringLiteral getWeakTlsVersionProperty() {
245245
result = DatabaseResource.super.getProperties().getProperty("minimalTlsVersion")
246246
}
247247
}

0 commit comments

Comments
 (0)