Skip to content

Commit

Permalink
Merge pull request #2267 from greenbone/gmp-doc-get-notes-task
Browse files Browse the repository at this point in the history
GMP doc: update GET_NOTES
  • Loading branch information
a-h-abdelsalam authored Sep 4, 2024
2 parents 5bc9b67 + 3abb6eb commit ef40862
Showing 1 changed file with 14 additions and 109 deletions.
123 changes: 14 additions & 109 deletions src/schema_formats/XML/GMP.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -846,7 +846,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<e>port</e>
<e>severity</e>
<e>task</e>
<o><e>end_time</e></o>
<e>end_time</e>
<o><e>result</e></o>
</g>
</o>
Expand Down Expand Up @@ -1019,7 +1019,19 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<type>uuid</type>
<required>1</required>
</attrib>
<e>name</e>
<e>trash</e>
</pattern>
<ele>
<name>name</name>
<summary>Task name</summary>
<pattern>text</pattern>
</ele>
<ele>
<name>trash</name>
<summary>Whether the task is in the trashcan</summary>
<type>boolean</type>
</ele>
</ele>
<ele>
<name>active</name>
Expand All @@ -1034,114 +1046,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<ele>
<name>result</name>
<summary>Result to which note applies</summary>
<pattern>
<attrib>
<name>id</name>
<type>uuid</type>
<required>1</required>
</attrib>
<e>host</e>
<e>port</e>
<e>nvt</e>
<e>severity</e>
<e>threat</e>
<e>qod</e>
<e>description</e>
</pattern>
<ele>
<name>host</name>
<pattern>
<e>asset</e>
text
</pattern>
<ele>
<name>asset</name>
<summary>Asset linked to host</summary>
<pattern>
<attrib>
<name>asset_id</name>
<type>uuid</type>
<required>1</required>
</attrib>
</pattern>
</ele>
</ele>
<ele>
<name>port</name>
<pattern>text</pattern>
</ele>
<ele>
<name>nvt</name>
<pattern>
<attrib>
<name>oid</name>
<type>oid</type>
<required>1</required>
</attrib>
<e>name</e>
<e>type</e>
<e>cvss_base</e>
<e>severities</e>
<o><e>cve</e></o>
</pattern>
<ele>
<name>name</name>
<pattern><t>name</t></pattern>
</ele>
<ele>
<name>type</name>
<summary>The type of the NVT: nvt, cve, ...</summary>
<pattern>text</pattern>
</ele>
<ele>
<name>cvss_base</name>
<pattern>text</pattern>
</ele>
<ele>
<name>severities</name>
<summary>Severity info of the NVT</summary>
<type>severities</type>
</ele>
<ele>
<name>cve</name>
<summary>CVE value associated with the NVT</summary>
<pattern>text</pattern>
</ele>
</ele>
<ele>
<name>severity</name>
<pattern>
<t>severity</t>
</pattern>
</ele>
<ele>
<name>threat</name>
<pattern>
<t>threat</t>
</pattern>
</ele>
<ele>
<name>qod</name>
<summary>The quality of detection (QoD) of the result</summary>
<pattern>
<e>value</e>
<e>type</e>
</pattern>
<ele>
<name>value</name>
<summary>The numeric QoD value</summary>
<pattern><t>integer</t></pattern>
</ele>
<ele>
<name>type</name>
<summary>The QoD type</summary>
<pattern>text</pattern>
</ele>
</ele>
<ele>
<name>description</name>
<pattern>text</pattern>
</ele>
<type>result</type>
</ele>
</element>
<element>
Expand Down

0 comments on commit ef40862

Please sign in to comment.