diff --git a/owasp-suppressions.xml b/owasp-suppressions.xml index 1244aa6db..5a92a2ecb 100644 --- a/owasp-suppressions.xml +++ b/owasp-suppressions.xml @@ -106,4 +106,13 @@ ^pkg:maven/io\.netty/netty.*@.*$ CVE-2023-44487 + + + ^pkg:maven/io\.grpc/grpc\-.*@.*$ + CVE-2023-44487 + \ No newline at end of file diff --git a/semantic-convention-utils/src/main/java/org/hypertrace/semantic/convention/utils/http/HttpSemanticConventionUtils.java b/semantic-convention-utils/src/main/java/org/hypertrace/semantic/convention/utils/http/HttpSemanticConventionUtils.java index 21a86b251..222bebf9a 100644 --- a/semantic-convention-utils/src/main/java/org/hypertrace/semantic/convention/utils/http/HttpSemanticConventionUtils.java +++ b/semantic-convention-utils/src/main/java/org/hypertrace/semantic/convention/utils/http/HttpSemanticConventionUtils.java @@ -459,7 +459,7 @@ public static Optional getHttpHost(Event event) { try { return Optional.ofNullable(getNormalizedUrl(url.get()).getAuthority()); } catch (MalformedURLException | URISyntaxException e) { - LOGGER.warn( + LOGGER.debug( "On extracting httpHost, received an invalid URL: {}, {}", url.get(), e.getMessage()); } } @@ -478,7 +478,7 @@ public static Optional getHttpPath(Event event) { } return Optional.of(removeTrailingSlash(pathVal)); } catch (MalformedURLException | URISyntaxException e) { - LOGGER.warn( + LOGGER.debug( "On extracting httpPath, received an invalid URL: {}, {}", url.get(), e.getMessage()); } } @@ -528,7 +528,7 @@ public static Optional getHttpScheme(Event event) { try { scheme = Optional.of(getNormalizedUrl(url.get()).getProtocol()); } catch (MalformedURLException | URISyntaxException e) { - LOGGER.warn( + LOGGER.debug( "On extracting httpScheme, received an invalid URL: {}, {}", url.get(), e.getMessage()); } } @@ -593,7 +593,7 @@ private static Optional getHttpSchemeFromRawAttributes( return Optional.of(scheme); } } catch (Exception e) { - LOGGER.warn( + LOGGER.debug( "On extracting scheme, received an invalid origin header: {}, {}", origin, e.getMessage()); @@ -671,7 +671,7 @@ public static Optional getHttpQueryString(Event event) { try { return Optional.ofNullable(getNormalizedUrl(url.get()).getQuery()); } catch (MalformedURLException | URISyntaxException e) { - LOGGER.warn( + LOGGER.debug( "On extracting httpQueryString, received an invalid URL: {}, {}", url.get(), e.getMessage()); @@ -855,7 +855,7 @@ static Optional getPathFromUrlObject(String urlPath) { URL url = getNormalizedUrl(urlPath); return Optional.of(url.getPath()); } catch (MalformedURLException | URISyntaxException e) { - LOGGER.warn( + LOGGER.debug( "On extracting httpResponseStatusCode, received invalid URL path : {}, {}", urlPath, e.getMessage());