diff --git a/rules/java/lang/ssl_hostname_verifier.yml b/rules/java/lang/ssl_hostname_verifier.yml index 0c8447adc..7db951d30 100644 --- a/rules/java/lang/ssl_hostname_verifier.yml +++ b/rules/java/lang/ssl_hostname_verifier.yml @@ -12,20 +12,20 @@ patterns: - pattern: $.$($); filters: - either: - - variable: CALLER - detection: ssl_hostname_verifier_socket_factory - - variable: CALLER - detection: ssl_hostname_verifier_https_url_connection + - variable: CALLER + detection: ssl_hostname_verifier_socket_factory + - variable: CALLER + detection: ssl_hostname_verifier_https_url_connection - variable: METHOD values: - setHostnameVerifier - setDefaultHostnameVerifier - setSSLHostnameVerifier - either: - - variable: ALLOW_ALL_HOSTNAME_VERIFIER - detection: ssl_hostname_verifier_allow_all_hostname_verifier - - variable: ALLOW_ALL_HOSTNAME_VERIFIER - detection: ssl_hostname_verifier_allow_all_hostname_verifier_instance + - variable: ALLOW_ALL_HOSTNAME_VERIFIER + detection: ssl_hostname_verifier_allow_all_hostname_verifier + - variable: ALLOW_ALL_HOSTNAME_VERIFIER + detection: ssl_hostname_verifier_allow_all_hostname_verifier_instance - pattern: $.init($, $<_>, $<_>) filters: - variable: SSL_CONTEXT_GET_INSTANCE @@ -148,10 +148,10 @@ auxiliary: - pattern: $.getSocketFactory(); filters: - either: - - variable: CALLER - regex: \A(javax\.net\.ssl\.)?SSLContext\z - - variable: CALLER - regex: \A(org\.apache\.http\.conn\.ssl\.)?SSLSocketFactory\z + - variable: CALLER + regex: \A(javax\.net\.ssl\.)?SSLContext\z + - variable: CALLER + regex: \A(org\.apache\.http\.conn\.ssl\.)?SSLSocketFactory\z - id: ssl_hostname_verifier_https_url_connection patterns: - pattern: $;