From ba5817abbf440e49fa28d0e4938ba6fb80e83da1 Mon Sep 17 00:00:00 2001 From: Matt Mundell Date: Mon, 22 Jul 2024 18:40:48 +0200 Subject: [PATCH 1/3] GMP doc: GET_NOTES: 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 438f60f0f..e74d5fd83 100644 --- a/src/schema_formats/XML/GMP.xml.in +++ b/src/schema_formats/XML/GMP.xml.in @@ -1019,7 +1019,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 24f3a2925164e7f61f2bb556f91df3abba2a51d9 Mon Sep 17 00:00:00 2001 From: Matt Mundell Date: Mon, 22 Jul 2024 18:42:13 +0200 Subject: [PATCH 2/3] GMP doc: GET_NOTES: 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 e74d5fd83..427d24af3 100644 --- a/src/schema_formats/XML/GMP.xml.in +++ b/src/schema_formats/XML/GMP.xml.in @@ -846,7 +846,7 @@ along with this program. If not, see . port severity task - end_time + end_time result From 3abb6eb0ab61054b3791083acf94eba26436cb7c Mon Sep 17 00:00:00 2001 From: Matt Mundell Date: Mon, 22 Jul 2024 19:00:29 +0200 Subject: [PATCH 3/3] GMP doc: GET_NOTES: 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 427d24af3..569c40b80 100644 --- a/src/schema_formats/XML/GMP.xml.in +++ b/src/schema_formats/XML/GMP.xml.in @@ -1046,114 +1046,7 @@ along with this program. If not, see . result Result to which note applies - - - id - uuid - 1 - - host - port - nvt - severity - threat - 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 info of the NVT - severities - - - cve - CVE value associated with the NVT - text - - - - severity - - severity - - - - threat - - threat - - - - 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