mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
Singleton set literal fix
Fixing auto-code scanning recommendation
This commit is contained in:
@@ -25,7 +25,7 @@ predicate isUnsafeClientSideAzureStorageEncryptionViaAttributes(Call call, AttrN
|
||||
|
|
||||
s1 in ["key_encryption_key", "key_resolver_function"] and
|
||||
s2 in ["ContainerClient", "BlobClient", "BlobServiceClient"] and
|
||||
s3 in ["upload_blob"] and
|
||||
s3 = "upload_blob" and
|
||||
n = API::moduleImport("azure").getMember("storage").getMember("blob").getMember(s2).getAMember() and
|
||||
startingNode = n.getACall().getReturn().getAValueReachableFromSource().asExpr().getAFlowNode() and
|
||||
startingNode.strictlyReaches(ctrlFlowNode) and
|
||||
|
||||
Reference in New Issue
Block a user