Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GMP doc: update GET_NOTES #2267

Merged
merged 3 commits into from
Sep 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading