Skip to content

Commit 99cfdba

Browse files
authored
Remove warning whenever we receive an unknown WAF address (#7482)
These happens whenever we receive rules for an address that is not supported by the current version, which is bound to happen for previously released tracers. This has proved to be non-helpful so far, and confusing to customers. Other tracers are not logging this either.
1 parent b5a2351 commit 99cfdba

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

dd-java-agent/appsec/src/main/java/com/datadog/appsec/powerwaf/PowerWAFModule.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,8 +387,6 @@ private static Collection<Address<?>> getUsedAddresses(PowerwafContext ctx) {
387387
Address<?> address = KnownAddresses.forName(addrKey);
388388
if (address != null) {
389389
addressList.add(address);
390-
} else {
391-
log.warn("WAF has rule against unknown address {}", addrKey);
392390
}
393391
}
394392

0 commit comments

Comments
 (0)