Skip to content

Commit

Permalink
Removed hardcoded WAF addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentinZakharov committed Sep 16, 2024
1 parent a369f7b commit 355c559
Showing 1 changed file with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -389,22 +389,6 @@ private static Collection<Address<?>> getUsedAddresses(PowerwafContext ctx) {
addressList.add(address);
}
}

// TODO: get addresses dynamically when will it be implemented in waf
addressList.add(KnownAddresses.WAF_CONTEXT_PROCESSOR);
addressList.add(KnownAddresses.HEADERS_NO_COOKIES);
addressList.add(KnownAddresses.REQUEST_QUERY);
addressList.add(KnownAddresses.REQUEST_PATH_PARAMS);
addressList.add(KnownAddresses.REQUEST_COOKIES);
addressList.add(KnownAddresses.REQUEST_BODY_RAW);
addressList.add(KnownAddresses.RESPONSE_HEADERS_NO_COOKIES);
addressList.add(KnownAddresses.RESPONSE_BODY_OBJECT);
addressList.add(KnownAddresses.GRAPHQL_SERVER_ALL_RESOLVERS);
addressList.add(KnownAddresses.DB_TYPE);
addressList.add(KnownAddresses.DB_SQL_QUERY);
addressList.add(KnownAddresses.IO_NET_URL);
addressList.add(KnownAddresses.IO_FS_FILE);

return addressList;
}

Expand Down

0 comments on commit 355c559

Please sign in to comment.