github-code-scanning[bot] commented on code in PR #1777:
URL: https://github.com/apache/avro/pull/1777#discussion_r930754148
##########
lang/java/ipc-netty/src/test/java/org/apache/avro/ipc/netty/TestNettyServerWithSSL.java:
##########
@@ -27,15 +27,15 @@
import javax.net.ssl.TrustManager;
import javax.net.ssl.X509TrustManager;
-import org.junit.BeforeClass;
-
import io.netty.handler.ssl.SslHandler;
+import org.junit.jupiter.api.BeforeAll;
+
public class TestNettyServerWithSSL extends TestNettyServer {
- public static final String TEST_CERTIFICATE = "servercert.p12";
- public static final String TEST_CERTIFICATE_PASSWORD = "s3cret";
+ private static final String TEST_CERTIFICATE = "servercert.p12";
+ private static final String TEST_CERTIFICATE_PASSWORD = "s3cret";
Review Comment:
## Hard-coded credential in API call
Hard-coded value flows to [sensitive API call](1).
Hard-coded value flows to [sensitive API call](2).
[Show more
details](https://github.com/apache/avro/security/code-scanning/2821)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]