From cb7426792c5e5b61f8aa6e653dbfd97d874272fb Mon Sep 17 00:00:00 2001 From: Stephanya Casanova Date: Tue, 1 Oct 2024 10:05:22 +0200 Subject: [PATCH] [backend] add exceptions for criteria --- .../java/io/openbas/rest/scenario/utils/ScenarioUtils.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/openbas-api/src/main/java/io/openbas/rest/scenario/utils/ScenarioUtils.java b/openbas-api/src/main/java/io/openbas/rest/scenario/utils/ScenarioUtils.java index b4bfd00f62..ec46d83c09 100644 --- a/openbas-api/src/main/java/io/openbas/rest/scenario/utils/ScenarioUtils.java +++ b/openbas-api/src/main/java/io/openbas/rest/scenario/utils/ScenarioUtils.java @@ -21,9 +21,11 @@ private ScenarioUtils() { } private static final String SCENARIO_RECURRENCE_FILTER = "scenario_recurrence"; + private static final String SCENARIO_KILL_CHAIN_PHASES_FILTER = "scenario_kill_chain_phases"; + private static final String SCENARIO_TAGS_FILTER = "scenario_tags"; /** - * Manage filters that are not directly managed by the generic mechanics -> scenario_kill_chain_phases + * Manage filters that are not directly managed by the generic mechanics -> scenario_recurrence, scenario_tags, scenario_kill_chain_phases */ public static Function, Specification> handleDeepFilter( @NotNull final SearchPaginationInput searchPaginationInput) {