Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Fix Snowflake Netty code scanning alert (#71309)

Cam Saulafc8eb428ee0
diff --git a/modules/drivers/snowflake/deps.edn b/modules/drivers/snowflake/deps.edn
index 63d4d2303f4..7ff3fc63955 100644
--- a/modules/drivers/snowflake/deps.edn
+++ b/modules/drivers/snowflake/deps.edn
@@ -3,6 +3,11 @@
:deps
{net.snowflake/snowflake-jdbc-thin {:mvn/version "4.0.1"
- :exclusions [io.grpc/grpc-netty-shaded]}
+ :exclusions [io.grpc/grpc-netty-shaded
+ ;; This will already get excluded automatically by the build tools
+ ;; since it's a top-level dep in `/deps.edn` but adding the
+ ;; exclusion here will (hopefully?) prevent code scanning alerts
+ ;; from complaining about it as well.
+ io.netty/netty-codec-http]}
;; drop when snowflake update driver to the one without the vulnerabilities
io.grpc/grpc-netty-shaded {:mvn/version "1.77.0"}}}