github-advanced-security[bot] commented on code in PR #3037:
URL: https://github.com/apache/drill/pull/3037#discussion_r3590597313


##########
exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/StatusResources.java:
##########
@@ -97,13 +98,114 @@
     return new ImmutablePair<>("status", "Running!");
   }
 
+  /**
+   * Health-check endpoint kept for external monitors / load balancers that
+   * poll {@code /status} for a 200 + simple HTML body. The page renders
+   * "Running!" via Freemarker.
+   */
   @GET
   @Path(StatusResources.PATH_STATUS)
   @Produces(MediaType.TEXT_HTML)
   public Viewable getStatus() {
     return ViewableWithPermissions.create(authEnabled.get(), 
"/rest/status.ftl", sc, getStatusJSON());
   }
 
+  /**

Review Comment:
   ## CodeQL / Server-side request forgery
   
   Potential server-side request forgery due to a [user-provided value](1).
   
   [Show more 
details](https://github.com/apache/drill/security/code-scanning/44)



-- 
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]

Reply via email to