Skip to content

Commit

Permalink
JSON request filter allows ids in matchexpressions
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Mar 22, 2024
1 parent 3379e9b commit f7f6c91
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/io/cryostat/JsonRequestFilter.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
public class JsonRequestFilter implements ContainerRequestFilter {

static final Set<String> disallowedFields = Set.of("id");
static final Set<String> allowedPaths = Set.of("/api/v2.2/discovery");
static final Set<String> allowedPaths =
Set.of("/api/v2.2/discovery", "/api/beta/matchexpressions");

private final ObjectMapper objectMapper = new ObjectMapper();

Expand Down

0 comments on commit f7f6c91

Please sign in to comment.