Skip to content

Commit

Permalink
GMP doc: GET_NOTES: use type for RESULT
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmundell authored and a-h-abdelsalam committed Sep 4, 2024
1 parent 24f3a29 commit 3abb6eb
Showing 1 changed file with 1 addition and 108 deletions.
109 changes: 1 addition & 108 deletions src/schema_formats/XML/GMP.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -1046,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 3abb6eb

Please sign in to comment.