From bbcfc495cb705d60353bbd668ffb77551cd4bb62 Mon Sep 17 00:00:00 2001 From: Matt Mundell Date: Fri, 16 Aug 2024 12:54:00 +0200 Subject: [PATCH 1/5] GMP doc: GET_OVERRIDES: fix summary --- src/schema_formats/XML/GMP.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/schema_formats/XML/GMP.xml.in b/src/schema_formats/XML/GMP.xml.in index a1c504782..619f16e8c 100644 --- a/src/schema_formats/XML/GMP.xml.in +++ b/src/schema_formats/XML/GMP.xml.in @@ -1181,7 +1181,7 @@ along with this program. If not, see . permissions - Permissions that the current user has on the note + Permissions that the current user has on the override permission From 3cae2fb503333b1fc7b98aed0b9a7b470ae37fde Mon Sep 17 00:00:00 2001 From: Matt Mundell Date: Fri, 16 Aug 2024 12:56:42 +0200 Subject: [PATCH 2/5] GMP doc: GET_OVERRIDES: remove duplicate PERMISSIONS ref --- src/schema_formats/XML/GMP.xml.in | 1 - 1 file changed, 1 deletion(-) diff --git a/src/schema_formats/XML/GMP.xml.in b/src/schema_formats/XML/GMP.xml.in index 619f16e8c..1817e193d 100644 --- a/src/schema_formats/XML/GMP.xml.in +++ b/src/schema_formats/XML/GMP.xml.in @@ -1167,7 +1167,6 @@ along with this program. If not, see . new_threat new_severity orphan - permissions user_tags From 79699d96ab1c8e7bf3515f5c4019381ec17c125a Mon Sep 17 00:00:00 2001 From: Matt Mundell Date: Fri, 16 Aug 2024 13:11:22 +0200 Subject: [PATCH 3/5] GMP doc: GET_OVERRIDES: add NAME and TRASH to TASK --- src/schema_formats/XML/GMP.xml.in | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/schema_formats/XML/GMP.xml.in b/src/schema_formats/XML/GMP.xml.in index 1817e193d..a192e937c 100644 --- a/src/schema_formats/XML/GMP.xml.in +++ b/src/schema_formats/XML/GMP.xml.in @@ -1368,7 +1368,19 @@ along with this program. If not, see . uuid 1 + name + trash + + name + Task name + text + + + trash + Whether the task is in the trashcan + boolean + active From 9b311d3a8d6c478efb964445d89bd370bb73693b Mon Sep 17 00:00:00 2001 From: Matt Mundell Date: Fri, 16 Aug 2024 13:46:41 +0200 Subject: [PATCH 4/5] GMP doc: GET_OVERRIDES: use type for RESULT --- src/schema_formats/XML/GMP.xml.in | 109 +----------------------------- 1 file changed, 1 insertion(+), 108 deletions(-) diff --git a/src/schema_formats/XML/GMP.xml.in b/src/schema_formats/XML/GMP.xml.in index a192e937c..ed49cfe98 100644 --- a/src/schema_formats/XML/GMP.xml.in +++ b/src/schema_formats/XML/GMP.xml.in @@ -1395,114 +1395,7 @@ along with this program. If not, see . result Result to which override applies - - - id - uuid - 1 - - host - port - nvt - threat - severity - qod - description - - - host - - asset - text - - - asset - Asset linked to host - - - asset_id - uuid - 1 - - - - - - port - text - - - nvt - - - oid - oid - 1 - - name - type - cvss_base - severities - cve - - - name - name - - - type - The type of the NVT: nvt, cve, ... - text - - - cvss_base - text - - - severities - Severity score information of the NVT - severities - - - cve - CVE value associated with the NVT - text - - - - threat - - threat - - - - severity - - severity - - - - qod - The quality of detection (QoD) of the result - - value - type - - - value - The numeric QoD value - integer - - - type - The QoD type - text - - - - description - text - + result From e0453f62fe8e03548f2a9eeacbe4692376d8c14b Mon Sep 17 00:00:00 2001 From: Matt Mundell Date: Fri, 16 Aug 2024 13:54:37 +0200 Subject: [PATCH 5/5] GMP doc: GET_OVERRIDES: remove optional from END_TIME --- src/schema_formats/XML/GMP.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/schema_formats/XML/GMP.xml.in b/src/schema_formats/XML/GMP.xml.in index ed49cfe98..438f60f0f 100644 --- a/src/schema_formats/XML/GMP.xml.in +++ b/src/schema_formats/XML/GMP.xml.in @@ -1173,7 +1173,7 @@ along with this program. If not, see . hosts port task - end_time + end_time result