mirror of
https://github.com/github/codeql.git
synced 2025-12-18 09:43:15 +01:00
12 lines
372 B
Plaintext
12 lines
372 B
Plaintext
import codeql.ruby.AST
|
|
import codeql.ruby.security.OpenSSL
|
|
|
|
query predicate weakOpenSslCipherAlgorithms(OpenSslCipher c) { c.isWeak() }
|
|
|
|
query predicate strongOpenSslCipherAlgorithms(OpenSslCipher c) { not c.isWeak() }
|
|
|
|
query predicate missingOpenSslCipherAlgorithms(string name) {
|
|
Ciphers::isOpenSslCipher(name) and
|
|
not exists(OpenSslCipher c | c.getName() = name)
|
|
}
|