From e8d37f07d41438b5ddd7fa38a2bdcbe128b7fb57 Mon Sep 17 00:00:00 2001 From: Stephanya Casanova Date: Wed, 11 Sep 2024 16:41:55 +0200 Subject: [PATCH] [backend] add elevation_required into paylaod model --- .../java/io/openbas/rest/payload/form/PayloadCreateInput.java | 3 --- .../java/io/openbas/rest/payload/form/PayloadUpdateInput.java | 3 --- 2 files changed, 6 deletions(-) diff --git a/openbas-api/src/main/java/io/openbas/rest/payload/form/PayloadCreateInput.java b/openbas-api/src/main/java/io/openbas/rest/payload/form/PayloadCreateInput.java index acee78a04a..7083cad651 100644 --- a/openbas-api/src/main/java/io/openbas/rest/payload/form/PayloadCreateInput.java +++ b/openbas-api/src/main/java/io/openbas/rest/payload/form/PayloadCreateInput.java @@ -73,9 +73,6 @@ public class PayloadCreateInput { @JsonProperty("payload_attack_patterns") private List attackPatternsIds = new ArrayList<>(); - - @JsonProperty("payload_elevation_required") - private boolean elevationRequired; } diff --git a/openbas-api/src/main/java/io/openbas/rest/payload/form/PayloadUpdateInput.java b/openbas-api/src/main/java/io/openbas/rest/payload/form/PayloadUpdateInput.java index 572212249c..da3bb24ddc 100644 --- a/openbas-api/src/main/java/io/openbas/rest/payload/form/PayloadUpdateInput.java +++ b/openbas-api/src/main/java/io/openbas/rest/payload/form/PayloadUpdateInput.java @@ -58,9 +58,6 @@ public class PayloadUpdateInput { @JsonProperty("payload_attack_patterns") private List attackPatternsIds = new ArrayList<>(); - - @JsonProperty("payload_elevation_required") - private boolean elevationRequired; }