[Openvas-commits] r9371 - in trunk/openvas-manager: . doc src/schema_formats/HTML src/schema_formats/RNC src/schema_formats/XML
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue Nov 9 18:01:55 CET 2010
Author: mattm
Date: 2010-11-09 18:01:53 +0100 (Tue, 09 Nov 2010)
New Revision: 9371
Modified:
trunk/openvas-manager/ChangeLog
trunk/openvas-manager/doc/omp.html
trunk/openvas-manager/doc/omp.rnc
trunk/openvas-manager/src/schema_formats/HTML/rnc.xsl
trunk/openvas-manager/src/schema_formats/RNC/rnc.xsl
trunk/openvas-manager/src/schema_formats/XML/OMP.xml
Log:
* src/schema_formats/HTML/HTML.xsl (type [details]): Add RNC heading.
Print type RNC as a type instead of as an element.
* src/schema_formats/HTML/rnc.xsl, src/schema_formats/RNC/rnc.xsl: Work
around RNC restrictions on treating element text as data when element
contains other elements.
* src/schema_formats/XML/OMP.xml: Remove GET_TASKS elements left over from
sample.
* doc/omp.html, doc/omp.rnc: Update from source.
Modified: trunk/openvas-manager/ChangeLog
===================================================================
--- trunk/openvas-manager/ChangeLog 2010-11-09 14:57:29 UTC (rev 9370)
+++ trunk/openvas-manager/ChangeLog 2010-11-09 17:01:53 UTC (rev 9371)
@@ -3,6 +3,20 @@
* src/schema_formats/HTML/HTML.xsl (type [details]): Add RNC heading.
Print type RNC as a type instead of as an element.
+ * src/schema_formats/HTML/rnc.xsl, src/schema_formats/RNC/rnc.xsl: Work
+ around RNC restrictions on treating element text as data when element
+ contains other elements.
+
+ * src/schema_formats/XML/OMP.xml: Remove GET_TASKS elements left over from
+ sample.
+
+ * doc/omp.html, doc/omp.rnc: Update from source.
+
+2010-11-09 Matthew Mundell <matthew.mundell at greenbone.net>
+
+ * src/schema_formats/HTML/HTML.xsl (type [details]): Add RNC heading.
+ Print type RNC as a type instead of as an element.
+
* src/schema_formats/HTML/rnc.xsl: Normalise space as in RNC version.
Remove rare wrap to match RNC version.
Modified: trunk/openvas-manager/doc/omp.html
===================================================================
--- trunk/openvas-manager/doc/omp.html 2010-11-09 14:57:29 UTC (rev 9370)
+++ trunk/openvas-manager/doc/omp.html 2010-11-09 17:01:53 UTC (rev 9371)
@@ -24,11 +24,11 @@
</tr>
<tr id="index">
<td id="index"><a href="#type_boolean">boolean</a></td>
-<td id="index"><div style="margin-left: 15px;">A true of false value.</div></td>
+<td id="index"><div style="margin-left: 15px;">A true or false value.</div></td>
</tr>
<tr id="index">
<td id="index"><a href="#type_boolean_atoi">boolean_atoi</a></td>
-<td id="index"><div style="margin-left: 15px;">A true of false value, after conversion to an integer.</div></td>
+<td id="index"><div style="margin-left: 15px;">A true or false value, after conversion to an integer.</div></td>
</tr>
<tr id="index">
<td id="index"><a href="#type_ctime">ctime</a></td>
@@ -63,6 +63,10 @@
<td id="index"><div style="margin-left: 15px;">A task run status.</div></td>
</tr>
<tr id="index">
+<td id="index"><a href="#type_task_trend">task_trend</a></td>
+<td id="index"><div style="margin-left: 15px;">The trend of results for a task.</div></td>
+</tr>
+<tr id="index">
<td id="index"><a href="#type_threat">threat</a></td>
<td id="index"><div style="margin-left: 15px;">A threat level.</div></td>
</tr>
@@ -74,6 +78,10 @@
<td id="index"><a href="#type_uuid">uuid</a></td>
<td id="index"><div style="margin-left: 15px;">A Universally Unique Identifier (UUID).</div></td>
</tr>
+<tr id="index">
+<td id="index"><a href="#type_uuid_or_empty">uuid_or_empty</a></td>
+<td id="index"><div style="margin-left: 15px;">A Universally Unique Identifier (UUID), or the empty string.</div></td>
+</tr>
</table>
<h2 id="command_summary">2 Summary of Commands</h2>
<table id="index">
@@ -143,7 +151,7 @@
</tr>
<tr id="index">
<td id="index"><a href="#command_delete_override">delete_override</a></td>
-<td id="index"><div style="margin-left: 15px;">Delete a override.</div></td>
+<td id="index"><div style="margin-left: 15px;">Delete an override.</div></td>
</tr>
<tr id="index">
<td id="index"><a href="#command_delete_report">delete_report</a></td>
@@ -222,6 +230,18 @@
<td id="index"><div style="margin-left: 15px;">Get all system reports.</div></td>
</tr>
<tr id="index">
+<td id="index"><a href="#command_get_target_locators">get_target_locators</a></td>
+<td id="index"><div style="margin-left: 15px;">Get configured target locators.</div></td>
+</tr>
+<tr id="index">
+<td id="index"><a href="#command_get_targets">get_targets</a></td>
+<td id="index"><div style="margin-left: 15px;">Get all targets.</div></td>
+</tr>
+<tr id="index">
+<td id="index"><a href="#command_get_tasks">get_tasks</a></td>
+<td id="index"><div style="margin-left: 15px;">Get all tasks.</div></td>
+</tr>
+<tr id="index">
<td id="index"><a href="#command_get_version">get_version</a></td>
<td id="index"><div style="margin-left: 15px;">Get the OpenVAS Manager Protocol version.</div></td>
</tr>
@@ -284,47 +304,35 @@
Data Type <tt>base64</tt>
</h3></div>
<p>In short: Base64 encoded data.</p>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;"><pre>base64
- = element base64
- {
- xsd:base64Binary
-
- }
+<h4>3.1.1 RNC</h4>
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;"><pre>base64 = xsd:base64Binary
</pre></div>
</div>
<div>
<div><h3 id="type_boolean">3.2
Data Type <tt>boolean</tt>
</h3></div>
-<p>In short: A true of false value.</p>
+<p>In short: A true or false value.</p>
<p>
Zero is false, anything else is true. As a result, the empty string is
considered true.
</p>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;"><pre>boolean
- = element boolean
- {
- text
-
- }
+<h4>3.2.1 RNC</h4>
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;"><pre>boolean = text
</pre></div>
</div>
<div>
<div><h3 id="type_boolean_atoi">3.3
Data Type <tt>boolean_atoi</tt>
</h3></div>
-<p>In short: A true of false value, after conversion to an integer.</p>
+<p>In short: A true or false value, after conversion to an integer.</p>
<p>
Zero is false, anything else is true. The value is first converted to
an integer, as by the C `atoi' routine. This means that an empty string
is considered false.
</p>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;"><pre>boolean_atoi
- = element boolean_atoi
- {
- text
-
- }
+<h4>3.3.1 RNC</h4>
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;"><pre>boolean_atoi = text
</pre></div>
</div>
<div>
@@ -335,12 +343,8 @@
<p>
An example string in this format is "Wed Jun 30 21:49:08 1993\n".
</p>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;"><pre>ctime
- = element ctime
- {
- text
-
- }
+<h4>3.4.1 RNC</h4>
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;"><pre>ctime = text
</pre></div>
</div>
<div>
@@ -348,12 +352,8 @@
Data Type <tt>integer</tt>
</h3></div>
<p>In short: An integer.</p>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;"><pre>integer
- = element integer
- {
- xsd:integer
-
- }
+<h4>3.5.1 RNC</h4>
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;"><pre>integer = xsd:integer
</pre></div>
</div>
<div>
@@ -361,12 +361,8 @@
Data Type <tt>levels</tt>
</h3></div>
<p>In short: A string that may include the characters h, m, l, g and d.</p>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;"><pre>levels
- = element levels
- {
- xsd:token { pattern = "h?m?l?g?d?" }
-
- }
+<h4>3.6.1 RNC</h4>
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;"><pre>levels = xsd:token { pattern = "h?m?l?g?d?" }
</pre></div>
</div>
<div>
@@ -378,12 +374,8 @@
Typically this is the name of one of the manager resources, like a
task or target.
</p>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;"><pre>name
- = element name
- {
- xsd:string
-
- }
+<h4>3.7.1 RNC</h4>
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;"><pre>name = xsd:string
</pre></div>
</div>
<div>
@@ -391,12 +383,8 @@
Data Type <tt>oid</tt>
</h3></div>
<p>In short: An Object Identifier (OID)..</p>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;"><pre>oid
- = element oid
- {
- xsd:token { pattern = "[0-9\.]{1,80}" }
-
- }
+<h4>3.8.1 RNC</h4>
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;"><pre>oid = xsd:token { pattern = "[0-9\.]{1,80}" }
</pre></div>
</div>
<div>
@@ -408,12 +396,8 @@
The string "descending" denotes descending order, anything else means
ascending.
</p>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;"><pre>sort_order
- = element sort_order
- {
- text
-
- }
+<h4>3.9.1 RNC</h4>
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;"><pre>sort_order = text
</pre></div>
</div>
<div>
@@ -421,12 +405,8 @@
Data Type <tt>status</tt>
</h3></div>
<p>In short: The success or failure status of a command.</p>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;"><pre>status
- = element status
- {
- xsd:token { pattern = "200|201|202|400|401|403|404|409|500|503" }
-
- }
+<h4>3.10.1 RNC</h4>
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;"><pre>status = xsd:token { pattern = "200|201|202|400|401|403|404|409|500|503" }
</pre></div>
</div>
<div>
@@ -434,54 +414,56 @@
Data Type <tt>task_status</tt>
</h3></div>
<p>In short: A task run status.</p>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;"><pre>task_status
- = element task_status
- {
- xsd:token { pattern = "Delete Requested|Done|New|Pause Requested|Paused|Requested|Resume R↵
-equested|Running|Stop Requested|Stopped|Internal Error" }
-
- }
+<h4>3.11.1 RNC</h4>
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;"><pre>task_status = xsd:token { pattern = "Delete Requested|Done|New|Pause Requested|Paused|Requ↵
+ested|Resume Requested|Running|Stop Requested|Stopped|Internal Error" }
</pre></div>
</div>
<div>
-<div><h3 id="type_threat">3.12
+<div><h3 id="type_task_trend">3.12
+ Data Type <tt>task_trend</tt>
+</h3></div>
+<p>In short: The trend of results for a task.</p>
+<h4>3.12.1 RNC</h4>
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;"><pre>task_trend = xsd:token { pattern = "up|down|more|less|same" }
+</pre></div>
+</div>
+<div>
+<div><h3 id="type_threat">3.13
Data Type <tt>threat</tt>
</h3></div>
<p>In short: A threat level.</p>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;"><pre>threat
- = element threat
- {
- xsd:token { pattern = "High|Medium|Low|Log|Debug" }
-
- }
+<h4>3.13.1 RNC</h4>
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;"><pre>threat = xsd:token { pattern = "High|Medium|Low|Log|Debug" }
</pre></div>
</div>
<div>
-<div><h3 id="type_time_unit">3.13
+<div><h3 id="type_time_unit">3.14
Data Type <tt>time_unit</tt>
</h3></div>
<p>In short: A unit of time.</p>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;"><pre>time_unit
- = element time_unit
- {
- xsd:token { pattern = "second|minute|hour|day|week|month|year|decade" }
-
- }
+<h4>3.14.1 RNC</h4>
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;"><pre>time_unit = xsd:token { pattern = "second|minute|hour|day|week|month|year|decade" }
</pre></div>
</div>
<div>
-<div><h3 id="type_uuid">3.14
+<div><h3 id="type_uuid">3.15
Data Type <tt>uuid</tt>
</h3></div>
<p>In short: A Universally Unique Identifier (UUID).</p>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;"><pre>uuid
- = element uuid
- {
- xsd:token { pattern = "[0-9abcdefABCDEF\-]{1,40}" }
-
- }
+<h4>3.15.1 RNC</h4>
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;"><pre>uuid = xsd:token { pattern = "[0-9abcdefABCDEF\-]{1,40}" }
</pre></div>
</div>
+<div>
+<div><h3 id="type_uuid_or_empty">3.16
+ Data Type <tt>uuid_or_empty</tt>
+</h3></div>
+<p>In short: A Universally Unique Identifier (UUID), or the empty string.</p>
+<h4>3.16.1 RNC</h4>
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;"><pre>uuid_or_empty = xsd:token { pattern = "[0-9abcdefABCDEF\-]{0,40}" }
+</pre></div>
+</div>
<h2 id="command_details">4 Command Details</h2>
<div>
<div><h3 id="command_authenticate">4.1
@@ -530,19 +512,17 @@
</li>
</ul>
<h4>4.1.2 RNC</h4>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
<i>Command</i><div style="margin-left: 5%"><pre>authenticate
= element authenticate
{
- ""
- & authenticate_credentials
+ authenticate_credentials
}
authenticate_credentials
= element credentials
{
- ""
- & authenticate_credentials_username
+ authenticate_credentials_username
& authenticate_credentials_password
}
@@ -550,21 +530,18 @@
= element username
{
text
-
}
authenticate_credentials_password
= element password
{
text
-
}
</pre></div>
<i>Response</i><div style="margin-left: 5%"><pre>authenticate_response
= element authenticate_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
}
</pre></div>
@@ -573,8 +550,8 @@
<div style="margin-left: 5%; margin-right: 5%;">
<i>Client</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <authenticate>
<credentials>
- <username>sallysally</username>
- <password>secretsecret</password>
+ <username>sally</username>
+ <password>secret</password>
</credentials>
</authenticate>
</pre></div>
@@ -586,8 +563,8 @@
<div style="margin-left: 5%; margin-right: 5%;">
<i>Client</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <authenticate>
<credentials>
- <username>sallysally</username>
- <password>secrtesecrte</password>
+ <username>sally</username>
+ <password>secrte</password>
</credentials>
</authenticate>
</pre></div>
@@ -626,19 +603,17 @@
</li>
</ul>
<h4>4.2.2 RNC</h4>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
<i>Command</i><div style="margin-left: 5%"><pre>commands
= element commands
{
- ""
- & command*
+ command*
}
</pre></div>
<i>Response</i><div style="margin-left: 5%"><pre>commands_response
= element commands_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& response*
}
@@ -706,12 +681,11 @@
</li>
</ul>
<h4>4.3.2 RNC</h4>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
<i>Command</i><div style="margin-left: 5%"><pre>create_agent
= element create_agent
{
- ""
- & create_agent_installer
+ create_agent_installer
& create_agent_name
& create_agent_comment?
& create_agent_howto_install?
@@ -721,7 +695,7 @@
create_agent_installer
= element installer
{
- base64
+ text # RNC limitation: base64
& create_agent_installer_signature
}
@@ -741,7 +715,6 @@
= element comment
{
text
-
}
create_agent_howto_install
@@ -759,8 +732,7 @@
<i>Response</i><div style="margin-left: 5%"><pre>create_agent_response
= element create_agent_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& attribute id { uuid }
}
@@ -771,9 +743,9 @@
<i>Client</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <create_agent>
<installer>
asdf3235saf3kjBVF...
- <signature>iEYEABECAAYFA...iEYEABECAAYFA...</signature>
+ <signature>iEYEABECAAYFA...</signature>
</installer>
- <name>SLADSLAD</name>
+ <name>SLAD</name>
</create_agent>
</pre></div>
<i>Manager</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <create_agent_response status="201"
@@ -832,7 +804,7 @@
</li>
<li>
<<b>rcfile</b>>
- <div style="margin-left: 15px; display: inline;">A openvasrc style file that defines the config.</div>
+ <div style="margin-left: 15px; display: inline;">An openvasrc style file that defines the config.</div>
<ul style="list-style: none"></ul>
</li>
</ul>
@@ -862,12 +834,11 @@
</li>
</ul>
<h4>4.4.2 RNC</h4>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
<i>Command</i><div style="margin-left: 5%"><pre>create_config
= element create_config
{
- ""
- & create_config_comment?
+ create_config_comment?
& ( create_config_copy
| get_configs_response
| create_config_rcfile )
@@ -878,7 +849,6 @@
= element comment
{
text
-
}
create_config_copy
@@ -902,8 +872,7 @@
<i>Response</i><div style="margin-left: 5%"><pre>create_config_response
= element create_config_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& attribute id { uuid }
}
@@ -912,8 +881,8 @@
<h4>4.4.1 Example: Copy a config</h4>
<div style="margin-left: 5%; margin-right: 5%;">
<i>Client</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <create_config>
- <copy>daba56c8-73ec-11df-a475-002264764ceadaba56c8-73ec-11df-a475-002264764cea</copy>
- <name>FullFull</name>
+ <copy>daba56c8-73ec-11df-a475-002264764cea</copy>
+ <name>Full</name>
</create_config>
</pre></div>
<i>Manager</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <create_config_response status="201"
@@ -924,8 +893,8 @@
<h4>4.4.1 Example: Create a config from an RC file</h4>
<div style="margin-left: 5%; margin-right: 5%;">
<i>Client</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <create_config>
- <rcfile>asdf3235saf3kjBVF...asdf3235saf3kjBVF...</rcfile>
- <name>FullFull</name>
+ <rcfile>asdf3235saf3kjBVF...</rcfile>
+ <name>Full</name>
</create_config>
</pre></div>
<i>Manager</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <create_config_response status="201"
@@ -938,7 +907,7 @@
<i>Client</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <create_config>
<get_configs_response>
<config id="daba56c8-73ec-11df-a475-002264764cea">
- <name>Full and fastFull and fast</name>
+ <name>Full and fast</name>
...
</config>
</get_configs_response>
@@ -1032,12 +1001,11 @@
</li>
</ul>
<h4>4.5.2 RNC</h4>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
<i>Command</i><div style="margin-left: 5%"><pre>create_escalator
= element create_escalator
{
- ""
- & create_escalator_name
+ create_escalator_name
& create_escalator_comment?
& create_escalator_condition
& create_escalator_event
@@ -1054,14 +1022,12 @@
= element comment
{
text
-
}
create_escalator_condition
= element condition
{
text
-
& create_escalator_condition_data*
}
@@ -1069,7 +1035,6 @@
= element data
{
text
-
& create_escalator_condition_data_name
}
@@ -1077,14 +1042,12 @@
= element name
{
text
-
}
create_escalator_event
= element event
{
text
-
& create_escalator_event_data*
}
@@ -1092,7 +1055,6 @@
= element data
{
text
-
& create_escalator_event_data_name
}
@@ -1100,14 +1062,12 @@
= element name
{
text
-
}
create_escalator_method
= element method
{
text
-
& create_escalator_method_data*
}
@@ -1115,7 +1075,6 @@
= element data
{
text
-
& create_escalator_method_data_name
}
@@ -1123,14 +1082,12 @@
= element name
{
text
-
}
</pre></div>
<i>Response</i><div style="margin-left: 5%"><pre>create_escalator_response
= element create_escalator_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& attribute id { uuid }
}
@@ -1139,30 +1096,30 @@
<h4>4.5.1 Example: Create an escalator</h4>
<div style="margin-left: 5%; margin-right: 5%;">
<i>Client</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <create_escalator>
- <name>emergencyemergency</name>
+ <name>emergency</name>
<condition>
Threat level at least
<data>
High
- <name>levellevel</name>
+ <name>level</name>
</data>
</condition>
<event>
Task run status changed
<data>
Done
- <name>statusstatus</name>
+ <name>status</name>
</data>
</event>
<method>
Email
<data>
sally at example.org
- <name>to_addressto_address</name>
+ <name>to_address</name>
</data>
<data>
bob at example.org
- <name>from_addressfrom_address</name>
+ <name>from_address</name>
</data>
</method>
</create_escalator>
@@ -1231,12 +1188,11 @@
</li>
</ul>
<h4>4.6.2 RNC</h4>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
<i>Command</i><div style="margin-left: 5%"><pre>create_lsc_credential
= element create_lsc_credential
{
- ""
- & create_lsc_credential_name
+ create_lsc_credential_name
& create_lsc_credential_comment?
& create_lsc_credential_login
& create_lsc_credential_password?
@@ -1252,28 +1208,24 @@
= element comment
{
text
-
}
create_lsc_credential_login
= element login
{
text
-
}
create_lsc_credential_password
= element password
{
text
-
}
</pre></div>
<i>Response</i><div style="margin-left: 5%"><pre>create_lsc_credential_response
= element create_lsc_credential_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& attribute id { uuid }
}
@@ -1282,10 +1234,10 @@
<h4>4.6.1 Example: Create an LSC credential</h4>
<div style="margin-left: 5%; margin-right: 5%;">
<i>Client</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <create_lsc_credential>
- <name>cluster sallycluster sally</name>
- <login>sallysally</login>
- <password>secretsecret</password>
- <comment>Sally's login to the cluster.Sally's login to the cluster.</comment>
+ <name>cluster sally</name>
+ <login>sally</login>
+ <password>secret</password>
+ <comment>Sally's login to the cluster.</comment>
</create_lsc_credential>
</pre></div>
<i>Manager</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <create_lsc_credential_response status="201"
@@ -1375,12 +1327,11 @@
</li>
</ul>
<h4>4.7.2 RNC</h4>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
<i>Command</i><div style="margin-left: 5%"><pre>create_note
= element create_note
{
- ""
- & create_note_text
+ create_note_text
& create_note_nvt
& create_note_comment?
& create_note_hosts?
@@ -1394,49 +1345,42 @@
= element text
{
text
-
}
create_note_nvt
= element nvt
{
- ""
- & attribute oid { oid }
+ attribute oid { oid }
}
create_note_comment
= element comment
{
text
-
}
create_note_hosts
= element hosts
{
text
-
}
create_note_port
= element port
{
text
-
}
create_note_result
= element result
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
}
create_note_task
= element task
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
}
create_note_threat
@@ -1448,8 +1392,7 @@
<i>Response</i><div style="margin-left: 5%"><pre>create_note_response
= element create_note_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& attribute id { uuid }
}
@@ -1458,9 +1401,9 @@
<h4>4.7.1 Example: Create a note</h4>
<div style="margin-left: 5%; margin-right: 5%;">
<i>Client</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <create_note>
- <text>This issue should be resolved after the upgrade.This issue should be resolved after the upgrade.</text>
- <nvt>1.3.6.1.4.1.25623.1.0.103301.3.6.1.4.1.25623.1.0.10330</nvt>
- <result>254cd3ef-bbe1-4d58-859d-21b8d0c046c6254cd3ef-bbe1-4d58-859d-21b8d0c046c6</result>
+ <text>This issue should be resolved after the upgrade.</text>
+ <nvt>1.3.6.1.4.1.25623.1.0.10330</nvt>
+ <result>254cd3ef-bbe1-4d58-859d-21b8d0c046c6</result>
</create_note>
</pre></div>
<i>Manager</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <create_note_response status="202"
@@ -1555,12 +1498,11 @@
</li>
</ul>
<h4>4.8.2 RNC</h4>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
<i>Command</i><div style="margin-left: 5%"><pre>create_override
= element create_override
{
- ""
- & create_override_text
+ create_override_text
& create_override_nvt
& create_override_comment?
& create_override_hosts?
@@ -1575,28 +1517,24 @@
= element text
{
text
-
}
create_override_nvt
= element nvt
{
- ""
- & attribute oid { oid }
+ attribute oid { oid }
}
create_override_comment
= element comment
{
text
-
}
create_override_hosts
= element hosts
{
text
-
}
create_override_new_threat
@@ -1609,21 +1547,18 @@
= element port
{
text
-
}
create_override_result
= element result
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
}
create_override_task
= element task
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
}
create_override_threat
@@ -1635,8 +1570,7 @@
<i>Response</i><div style="margin-left: 5%"><pre>create_override_response
= element create_override_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& attribute id { uuid }
}
@@ -1645,10 +1579,10 @@
<h4>4.8.1 Example: Create an override</h4>
<div style="margin-left: 5%; margin-right: 5%;">
<i>Client</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <create_override>
- <text>This is actually of little concern.This is actually of little concern.</text>
- <nvt>1.3.6.1.4.1.25623.1.0.103301.3.6.1.4.1.25623.1.0.10330</nvt>
- <new_threat>LowLow</new_threat>
- <result>254cd3ef-bbe1-4d58-859d-21b8d0c046c6254cd3ef-bbe1-4d58-859d-21b8d0c046c6</result>
+ <text>This is actually of little concern.</text>
+ <nvt>1.3.6.1.4.1.25623.1.0.10330</nvt>
+ <new_threat>Low</new_threat>
+ <result>254cd3ef-bbe1-4d58-859d-21b8d0c046c6</result>
</create_override>
</pre></div>
<i>Manager</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <create_override_response status="201"
@@ -1743,12 +1677,11 @@
</li>
</ul>
<h4>4.9.2 RNC</h4>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
<i>Command</i><div style="margin-left: 5%"><pre>create_schedule
= element create_schedule
{
- ""
- & create_schedule_name
+ create_schedule_name
& create_schedule_comment?
& create_schedule_first_time
& create_schedule_duration
@@ -1765,14 +1698,12 @@
= element comment
{
text
-
}
create_schedule_first_time
= element first_time
{
- ""
- & create_schedule_first_time_minute
+ create_schedule_first_time_minute
& create_schedule_first_time_hour
& create_schedule_first_time_day_of_month
& create_schedule_first_time_month
@@ -1812,8 +1743,7 @@
create_schedule_duration
= element duration
{
- ""
- & create_schedule_duration_unit
+ create_schedule_duration_unit
}
create_schedule_duration_unit
@@ -1825,8 +1755,7 @@
create_schedule_period
= element period
{
- ""
- & create_schedule_period_unit
+ create_schedule_period_unit
}
create_schedule_period_unit
@@ -1838,8 +1767,7 @@
<i>Response</i><div style="margin-left: 5%"><pre>create_schedule_response
= element create_schedule_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& attribute id { uuid }
}
@@ -1848,21 +1776,21 @@
<h4>4.9.1 Example: Create a schedule</h4>
<div style="margin-left: 5%; margin-right: 5%;">
<i>Client</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <create_schedule>
- <name>Every nightEvery night</name>
+ <name>Every night</name>
<first_time>
- <day_of_month>11</day_of_month>
- <hour>00</hour>
- <minute>00</minute>
- <month>11</month>
- <year>20112011</year>
+ <day_of_month>1</day_of_month>
+ <hour>0</hour>
+ <minute>0</minute>
+ <month>1</month>
+ <year>2011</year>
</first_time>
<duration>
3
- <unit>hourhour</unit>
+ <unit>hour</unit>
</duration>
<period>
1
- <unit>dayday</unit>
+ <unit>day</unit>
</period>
</create_schedule>
</pre></div>
@@ -1947,12 +1875,11 @@
</li>
</ul>
<h4>4.10.2 RNC</h4>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
<i>Command</i><div style="margin-left: 5%"><pre>create_target
= element create_target
{
- ""
- & create_target_name
+ create_target_name
& create_target_comment?
& create_target_hosts
& create_target_lsc_credential
@@ -1969,28 +1896,24 @@
= element comment
{
text
-
}
create_target_hosts
= element hosts
{
text
-
}
create_target_lsc_credential
= element lsc_credential
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
}
create_target_target_locator
= element target_locator
{
- ""
- & create_target_target_locator_username?
+ create_target_target_locator_username?
& create_target_target_locator_password?
}
@@ -1998,21 +1921,18 @@
= element username
{
text
-
}
create_target_target_locator_password
= element password
{
text
-
}
</pre></div>
<i>Response</i><div style="margin-left: 5%"><pre>create_target_response
= element create_target_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& attribute id { uuid }
}
@@ -2022,8 +1942,8 @@
<div style="margin-left: 5%; margin-right: 5%;">
<i>Client</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <create_target>
<create_target>
- <name>All GNU/Linux machinesAll GNU/Linux machines</name>
- <hosts>192.168.1.0/24192.168.1.0/24</hosts>
+ <name>All GNU/Linux machines</name>
+ <hosts>192.168.1.0/24</hosts>
</create_target>
</create_target>
</pre></div>
@@ -2117,12 +2037,11 @@
</li>
</ul>
<h4>4.11.2 RNC</h4>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
<i>Command</i><div style="margin-left: 5%"><pre>create_task
= element create_task
{
- ""
- & create_task_name
+ create_task_name
& create_task_comment?
& create_task_config
& create_task_target
@@ -2141,35 +2060,30 @@
= element comment
{
text
-
}
create_task_config
= element config
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
}
create_task_target
= element target
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
}
create_task_escalator
= element escalator
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
}
create_task_schedule
= element schedule
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
}
create_task_rcfile
@@ -2181,8 +2095,7 @@
<i>Response</i><div style="margin-left: 5%"><pre>create_task_response
= element create_task_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& attribute id { uuid }
}
@@ -2191,8 +2104,8 @@
<h4>4.11.1 Example: Create a task, giving a host list</h4>
<div style="margin-left: 5%; margin-right: 5%;">
<i>Client</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <create_task>
- <name>Scan WebserverScan Webserver</name>
- <comment>Hourly scan of the webserverHourly scan of the webserver</comment>
+ <name>Scan Webserver</name>
+ <comment>Hourly scan of the webserver</comment>
<config id="daba56c8-73ec-11df-a475-002264764cea"/>
<target id="b493b7a8-7489-11df-a3ec-002264764cea"/>
</create_task>
@@ -2238,19 +2151,17 @@
</li>
</ul>
<h4>4.12.2 RNC</h4>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
<i>Command</i><div style="margin-left: 5%"><pre>delete_agent
= element delete_agent
{
- ""
- & attribute agent_id { uuid }
+ attribute agent_id { uuid }
}
</pre></div>
<i>Response</i><div style="margin-left: 5%"><pre>delete_agent_response
= element delete_agent_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
}
</pre></div>
@@ -2299,19 +2210,17 @@
</li>
</ul>
<h4>4.13.2 RNC</h4>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
<i>Command</i><div style="margin-left: 5%"><pre>delete_config
= element delete_config
{
- ""
- & attribute config_id { uuid }
+ attribute config_id { uuid }
}
</pre></div>
<i>Response</i><div style="margin-left: 5%"><pre>delete_config_response
= element delete_config_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
}
</pre></div>
@@ -2361,19 +2270,17 @@
</li>
</ul>
<h4>4.14.2 RNC</h4>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
<i>Command</i><div style="margin-left: 5%"><pre>delete_escalator
= element delete_escalator
{
- ""
- & attribute escalator_id { uuid }
+ attribute escalator_id { uuid }
}
</pre></div>
<i>Response</i><div style="margin-left: 5%"><pre>delete_escalator_response
= element delete_escalator_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
}
</pre></div>
@@ -2423,19 +2330,17 @@
</li>
</ul>
<h4>4.15.2 RNC</h4>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
<i>Command</i><div style="margin-left: 5%"><pre>delete_lsc_credential
= element delete_lsc_credential
{
- ""
- & attribute lsc_credential_id { uuid }
+ attribute lsc_credential_id { uuid }
}
</pre></div>
<i>Response</i><div style="margin-left: 5%"><pre>delete_lsc_credential_response
= element delete_lsc_credential_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
}
</pre></div>
@@ -2484,19 +2389,17 @@
</li>
</ul>
<h4>4.16.2 RNC</h4>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
<i>Command</i><div style="margin-left: 5%"><pre>delete_note
= element delete_note
{
- ""
- & attribute note_id { uuid }
+ attribute note_id { uuid }
}
</pre></div>
<i>Response</i><div style="margin-left: 5%"><pre>delete_note_response
= element delete_note_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
}
</pre></div>
@@ -2514,7 +2417,7 @@
<div><h3 id="command_delete_override">4.17
Command <tt>delete_override</tt>
</h3></div>
-<p>In short: Delete a override.</p>
+<p>In short: Delete an override.</p>
<p>
The client uses the delete_override command to delete an existing override.
</p>
@@ -2545,24 +2448,22 @@
</li>
</ul>
<h4>4.17.2 RNC</h4>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
<i>Command</i><div style="margin-left: 5%"><pre>delete_override
= element delete_override
{
- ""
- & attribute override_id { uuid }
+ attribute override_id { uuid }
}
</pre></div>
<i>Response</i><div style="margin-left: 5%"><pre>delete_override_response
= element delete_override_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
}
</pre></div>
</div>
-<h4>4.17.1 Example: Delete a override</h4>
+<h4>4.17.1 Example: Delete an override</h4>
<div style="margin-left: 5%; margin-right: 5%;">
<i>Client</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <delete_override override_id="267a3405-e84a-47da-97b2-5fa0d2e8995e"/>
</pre></div>
@@ -2606,19 +2507,17 @@
</li>
</ul>
<h4>4.18.2 RNC</h4>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
<i>Command</i><div style="margin-left: 5%"><pre>delete_report
= element delete_report
{
- ""
- & attribute report_id { uuid }
+ attribute report_id { uuid }
}
</pre></div>
<i>Response</i><div style="margin-left: 5%"><pre>delete_report_response
= element delete_report_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
}
</pre></div>
@@ -2667,19 +2566,17 @@
</li>
</ul>
<h4>4.19.2 RNC</h4>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
<i>Command</i><div style="margin-left: 5%"><pre>delete_schedule
= element delete_schedule
{
- ""
- & attribute schedule_id { uuid }
+ attribute schedule_id { uuid }
}
</pre></div>
<i>Response</i><div style="margin-left: 5%"><pre>delete_schedule_response
= element delete_schedule_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
}
</pre></div>
@@ -2728,19 +2625,17 @@
</li>
</ul>
<h4>4.20.2 RNC</h4>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
<i>Command</i><div style="margin-left: 5%"><pre>delete_target
= element delete_target
{
- ""
- & attribute target_id { uuid }
+ attribute target_id { uuid }
}
</pre></div>
<i>Response</i><div style="margin-left: 5%"><pre>delete_target_response
= element delete_target_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
}
</pre></div>
@@ -2790,19 +2685,17 @@
</li>
</ul>
<h4>4.21.2 RNC</h4>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
<i>Command</i><div style="margin-left: 5%"><pre>delete_task
= element delete_task
{
- ""
- & attribute task_id { uuid }
+ attribute task_id { uuid }
}
</pre></div>
<i>Response</i><div style="margin-left: 5%"><pre>delete_task_response
= element delete_task_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
}
</pre></div>
@@ -2913,12 +2806,11 @@
</li>
</ul>
<h4>4.22.2 RNC</h4>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
<i>Command</i><div style="margin-left: 5%"><pre>get_agents
= element get_agents
{
- ""
- & attribute agent_id { uuid }?
+ attribute agent_id { uuid }?
& attribute format { xsd:token { pattern = "installer|howto_install|howto_use" } }?
& attribute sort_order { sort_order }?
& attribute sort_field { text }?
@@ -2927,8 +2819,7 @@
<i>Response</i><div style="margin-left: 5%"><pre>get_agents_response
= element get_agents_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& get_agents_response_agent*
}
@@ -2936,8 +2827,7 @@
get_agents_response_agent
= element agent
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
& get_agents_response_agent_name
& get_agents_response_agent_comment
& get_agents_response_agent_in_use
@@ -2955,7 +2845,6 @@
= element comment
{
text
-
}
get_agents_response_agent_in_use
@@ -2967,8 +2856,7 @@
get_agents_response_agent_installer
= element installer
{
- ""
- & get_agents_response_agent_installer_trust
+ get_agents_response_agent_installer_trust
}
get_agents_response_agent_installer_trust
@@ -2980,7 +2868,7 @@
get_agents_response_agent_package
= element package
{
- base64
+ text # RNC limitation: base64
& get_agents_response_agent_package_filename
}
@@ -2988,7 +2876,6 @@
= element filename
{
text
-
}
</pre></div>
</div>
@@ -2999,11 +2886,11 @@
<i>Manager</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <get_agents_response status="200"
status_text="OK">
<agent id="c33864a9-d3fd-44b3-8717-972bfb01dfcf">
- <name>Custom Scan AgentCustom Scan Agent</name>
- <comment>Custom agent for use on the Web servers.Custom agent for use on the Web servers.</comment>
- <in_use>11</in_use>
+ <name>Custom Scan Agent</name>
+ <comment>Custom agent for use on the Web servers.</comment>
+ <in_use>1</in_use>
<installer>
- <trust>yesyes</trust>
+ <trust>yes</trust>
</installer>
</agent>
...
@@ -3017,11 +2904,11 @@
<i>Manager</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <get_agents_response status="200"
status_text="OK">
<agent id="c33864a9-d3fd-44b3-8717-972bfb01dfcf">
- <name>Custom Scan AgentCustom Scan Agent</name>
- <comment>Custom agent for use on the Web servers.Custom agent for use on the Web servers.</comment>
- <in_use>11</in_use>
+ <name>Custom Scan Agent</name>
+ <comment>Custom agent for use on the Web servers.</comment>
+ <in_use>1</in_use>
<installer>
- <trust>yesyes</trust>
+ <trust>yes</trust>
</installer>
</agent>
</get_agents_response>
@@ -3035,12 +2922,12 @@
<i>Manager</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <get_agents_response status="200"
status_text="OK">
<agent id="c33864a9-d3fd-44b3-8717-972bfb01dfcf">
- <name>Custom Scan AgentCustom Scan Agent</name>
- <comment>Custom agent for use on the Web servers.Custom agent for use on the Web servers.</comment>
- <in_use>11</in_use>
+ <name>Custom Scan Agent</name>
+ <comment>Custom agent for use on the Web servers.</comment>
+ <in_use>1</in_use>
<package format="installer">
CgoKCgoKCgoKCgoKCSAgI...
- <filename>agent.debagent.deb</filename>
+ <filename>agent.deb</filename>
</package>
</agent>
</get_agents_response>
@@ -3222,12 +3109,11 @@
</li>
</ul>
<h4>4.23.2 RNC</h4>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
<i>Command</i><div style="margin-left: 5%"><pre>get_configs
= element get_configs
{
- ""
- & attribute config_id { uuid }?
+ attribute config_id { uuid }?
& attribute families { boolean }?
& attribute preferences { boolean }?
& attribute sort_order { sort_order }?
@@ -3237,8 +3123,7 @@
<i>Response</i><div style="margin-left: 5%"><pre>get_configs_response
= element get_configs_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& get_configs_response_config*
}
@@ -3246,8 +3131,7 @@
get_configs_response_config
= element config
{
- ""
- & get_configs_response_config_name
+ get_configs_response_config_name
& get_configs_response_config_comment
& get_configs_response_config_family_count
& get_configs_response_config_nvt_count
@@ -3267,14 +3151,12 @@
= element comment
{
text
-
}
get_configs_response_config_family_count
= element family_count
{
- integer
-
+ text # RNC limitation: integer
& get_configs_response_config_family_count_growing
}
@@ -3287,8 +3169,7 @@
get_configs_response_config_nvt_count
= element nvt_count
{
- integer
-
+ text # RNC limitation: integer
& get_configs_response_config_nvt_count_growing
}
@@ -3307,15 +3188,13 @@
get_configs_response_config_tasks
= element tasks
{
- ""
- & get_configs_response_config_tasks_task*
+ get_configs_response_config_tasks_task*
}
get_configs_response_config_tasks_task
= element task
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
& get_configs_response_config_tasks_task_name
}
@@ -3328,15 +3207,13 @@
get_configs_response_config_families
= element families
{
- ""
- & get_configs_response_config_families_family*
+ get_configs_response_config_families_family*
}
get_configs_response_config_families_family
= element family
{
- ""
- & get_configs_response_config_families_family_name
+ get_configs_response_config_families_family_name
& get_configs_response_config_families_family_nvt_count
& get_configs_response_config_families_family_max_nvt_count
& get_configs_response_config_families_family_growing
@@ -3369,15 +3246,13 @@
get_configs_response_config_preferences
= element preferences
{
- ""
- & get_configs_response_config_preferences_preference*
+ get_configs_response_config_preferences_preference*
}
get_configs_response_config_preferences_preference
= element preference
{
- ""
- & get_configs_response_config_preferences_preference_nvt
+ get_configs_response_config_preferences_preference_nvt
& get_configs_response_config_preferences_preference_name
& get_configs_response_config_preferences_preference_type
& get_configs_response_config_preferences_preference_value
@@ -3386,8 +3261,7 @@
get_configs_response_config_preferences_preference_nvt
= element nvt
{
- ""
- & attribute oid { oid }
+ attribute oid { oid }
& get_configs_response_config_preferences_preference_nvt_name
}
@@ -3407,14 +3281,12 @@
= element type
{
text
-
}
get_configs_response_config_preferences_preference_value
= element value
{
text
-
}
</pre></div>
</div>
@@ -3425,22 +3297,22 @@
<i>Manager</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <get_configs_response status="200"
status_text="OK">
<config id="daba56c8-73ec-11df-a475-002264764cea">
- <name>Full and fastFull and fast</name>
+ <name>Full and fast</name>
<comment>
All NVT's; optimized by using previously collected information.
</comment>
<family_count>
4
- <growing>11</growing>
+ <growing>1</growing>
</family_count>
<nvt_count>
12
- <growing>11</growing>
+ <growing>1</growing>
</nvt_count>
- <in_use>11</in_use>
+ <in_use>1</in_use>
<tasks>
<task id="13bb418a-4220-4575-b35b-ec398bff7417">
- <name>Web ServersWeb Servers</name>
+ <name>Web Servers</name>
</task>
...
</tasks>
@@ -3458,42 +3330,42 @@
<i>Manager</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <get_configs_response status="200"
status_text="OK">
<config id="daba56c8-73ec-11df-a475-002264764cea">
- <name>Full and fastFull and fast</name>
+ <name>Full and fast</name>
<comment>
All NVT's; optimized by using previously collected information.
</comment>
<family_count>
4
- <growing>11</growing>
+ <growing>1</growing>
</family_count>
<nvt_count>
12
- <growing>11</growing>
+ <growing>1</growing>
</nvt_count>
- <in_use>11</in_use>
+ <in_use>1</in_use>
<tasks>
<task id="13bb418a-4220-4575-b35b-ec398bff7417">
- <name>Web ServersWeb Servers</name>
+ <name>Web Servers</name>
</task>
...
</tasks>
<families>
<family>
- <name>CredentialsCredentials</name>
- <nvt_count>88</nvt_count>
- <max_nvt_count>88</max_nvt_count>
- <growing>11</growing>
+ <name>Credentials</name>
+ <nvt_count>8</nvt_count>
+ <max_nvt_count>8</max_nvt_count>
+ <growing>1</growing>
</family>
...
</families>
<preferences>
<preference>
<nvt oid="1.3.6.1.4.1.25623.1.0.10330">
- <name>ServicesServices</name>
+ <name>Services</name>
</nvt>
- <name>Network connection timeout :Network connection timeout :</name>
- <type>entryentry</type>
- <value>55</value>
+ <name>Network connection timeout :</name>
+ <type>entry</type>
+ <value>5</value>
</preference>
...
</preferences>
@@ -3566,19 +3438,17 @@
</li>
</ul>
<h4>4.24.2 RNC</h4>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
<i>Command</i><div style="margin-left: 5%"><pre>get_dependencies
= element get_dependencies
{
- ""
- & attribute nvt_oid { oid }?
+ attribute nvt_oid { oid }?
}
</pre></div>
<i>Response</i><div style="margin-left: 5%"><pre>get_dependencies_response
= element get_dependencies_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& get_dependencies_response_nvt*
}
@@ -3586,8 +3456,7 @@
get_dependencies_response_nvt
= element nvt
{
- ""
- & attribute oid { oid }
+ attribute oid { oid }
& get_dependencies_response_nvt_name
& get_dependencies_response_nvt_requires
}
@@ -3601,15 +3470,13 @@
get_dependencies_response_nvt_requires
= element requires
{
- ""
- & get_dependencies_response_nvt_requires_nvt*
+ get_dependencies_response_nvt_requires_nvt*
}
get_dependencies_response_nvt_requires_nvt
= element nvt
{
- ""
- & attribute oid { oid }
+ attribute oid { oid }
& get_dependencies_response_nvt_requires_nvt_name
}
@@ -3627,10 +3494,10 @@
<i>Manager</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <get_dependencies_response status="200"
status_text="OK">
<nvt oid="1.3.6.1.4.1.25623.1.0.114664">
- <name>Dependency TestDependency Test</name>
+ <name>Dependency Test</name>
<requires>
<nvt oid="1.3.6.1.4.1.25623.1.0.114663">
- <name>File Upload TestFile Upload Test</name>
+ <name>File Upload Test</name>
</nvt>
</requires>
</nvt>
@@ -3645,10 +3512,10 @@
<i>Manager</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <get_dependencies_response status="200"
status_text="OK">
<nvt oid="1.3.6.1.4.1.25623.1.0.114664">
- <name>Dependency TestDependency Test</name>
+ <name>Dependency Test</name>
<requires>
<nvt oid="1.3.6.1.4.1.25623.1.0.114663">
- <name>File Upload TestFile Upload Test</name>
+ <name>File Upload Test</name>
</nvt>
</requires>
</nvt>
@@ -3758,12 +3625,11 @@
</li>
</ul>
<h4>4.25.2 RNC</h4>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
<i>Command</i><div style="margin-left: 5%"><pre>get_escalators
= element get_escalators
{
- ""
- & attribute escalator_id { uuid }?
+ attribute escalator_id { uuid }?
& attribute sort_order { sort_order }?
& attribute sort_field { text }?
}
@@ -3771,8 +3637,7 @@
<i>Response</i><div style="margin-left: 5%"><pre>get_escalators_response
= element get_escalators_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& get_escalators_response_escalator*
}
@@ -3780,8 +3645,7 @@
get_escalators_response_escalator
= element escalator
{
- ""
- & get_escalators_response_escalator_name
+ get_escalators_response_escalator_name
& get_escalators_response_escalator_comment
& get_escalators_response_escalator_in_use
& get_escalators_response_escalator_condition
@@ -3799,7 +3663,6 @@
= element comment
{
text
-
}
get_escalators_response_escalator_in_use
@@ -3812,7 +3675,6 @@
= element condition
{
text
-
& get_escalators_response_escalator_condition_data*
}
@@ -3820,7 +3682,6 @@
= element data
{
text
-
& get_escalators_response_escalator_condition_data_name
}
@@ -3828,14 +3689,12 @@
= element name
{
text
-
}
get_escalators_response_escalator_event
= element event
{
text
-
& get_escalators_response_escalator_event_data*
}
@@ -3843,7 +3702,6 @@
= element data
{
text
-
& get_escalators_response_escalator_event_data_name
}
@@ -3851,14 +3709,12 @@
= element name
{
text
-
}
get_escalators_response_escalator_method
= element method
{
text
-
& get_escalators_response_escalator_method_data*
}
@@ -3866,7 +3722,6 @@
= element data
{
text
-
& get_escalators_response_escalator_method_data_name
}
@@ -3874,7 +3729,6 @@
= element name
{
text
-
}
</pre></div>
</div>
@@ -3885,36 +3739,36 @@
<i>Manager</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <get_escalators_response status="200"
status_text="OK">
<escalator id="6181e65d-8ba0-4937-9c44-8f2b10b0def7">
- <name>Team alertTeam alert</name>
+ <name>Team alert</name>
<comment/>
- <in_use>11</in_use>
+ <in_use>1</in_use>
<condition>
Threat level at least
<data>
High
- <name>levellevel</name>
+ <name>level</name>
</data>
</condition>
<event>
Task run status changed
<data>
Done
- <name>statusstatus</name>
+ <name>status</name>
</data>
</event>
<method>
Email
<data>
team at example.org
- <name>to_addressto_address</name>
+ <name>to_address</name>
</data>
<data>
admin at example.org
- <name>from_addressfrom_address</name>
+ <name>from_address</name>
</data>
<data>
0
- <name>noticenotice</name>
+ <name>notice</name>
</data>
</method>
</escalator>
@@ -4033,12 +3887,11 @@
</li>
</ul>
<h4>4.26.2 RNC</h4>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
<i>Command</i><div style="margin-left: 5%"><pre>get_lsc_credentials
= element get_lsc_credentials
{
- ""
- & attribute lsc_credential_id { uuid }?
+ attribute lsc_credential_id { uuid }?
& attribute format { xsd:token { pattern = "key|rpm|deb|exe" } }?
& attribute sort_order { sort_order }?
& attribute sort_field { text }?
@@ -4047,8 +3900,7 @@
<i>Response</i><div style="margin-left: 5%"><pre>get_lsc_credentials_response
= element get_lsc_credentials_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& get_lsc_credentials_response_lsc_credential*
}
@@ -4056,8 +3908,7 @@
get_lsc_credentials_response_lsc_credential
= element lsc_credential
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
& get_lsc_credentials_response_lsc_credential_name
& get_lsc_credentials_response_lsc_credential_login
& get_lsc_credentials_response_lsc_credential_comment
@@ -4084,7 +3935,6 @@
= element comment
{
text
-
}
get_lsc_credentials_response_lsc_credential_in_use
@@ -4102,15 +3952,13 @@
get_lsc_credentials_response_lsc_credential_targets
= element targets
{
- ""
- & get_lsc_credentials_response_lsc_credential_targets_target*
+ get_lsc_credentials_response_lsc_credential_targets_target*
}
get_lsc_credentials_response_lsc_credential_targets_target
= element target
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
& get_lsc_credentials_response_lsc_credential_targets_target_name
}
@@ -4124,14 +3972,12 @@
= element public_key
{
text
-
}
get_lsc_credentials_response_lsc_credential_package
= element package
{
base64
-
& attribute format { xsd:token { pattern = "rpm|deb|exe" } }
}
</pre></div>
@@ -4143,22 +3989,22 @@
<i>Manager</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <get_lsc_credentials_response status="200"
status_text="OK">
<lsc_credential id="c33864a9-d3fd-44b3-8717-972bfb01dfcf">
- <name>sallysally</name>
- <login>sallysally</login>
+ <name>sally</name>
+ <login>sally</login>
<comment/>
- <in_use>00</in_use>
- <type>gengen</type>
+ <in_use>0</in_use>
+ <type>gen</type>
<targets/>
</lsc_credential>
<lsc_credential id="8e305b0b-260d-450d-91a8-dadf0b144e15">
- <name>bobbob</name>
- <login>bobbob</login>
- <comment>Bob on the web server.Bob on the web server.</comment>
- <in_use>11</in_use>
- <type>passpass</type>
+ <name>bob</name>
+ <login>bob</login>
+ <comment>Bob on the web server.</comment>
+ <in_use>1</in_use>
+ <type>pass</type>
<targets>
<target id="1f28d970-17ef-4c69-ba8a-13827059f2b9">
- <name>Web serverWeb server</name>
+ <name>Web server</name>
</target>
</targets>
</lsc_credential>
@@ -4174,14 +4020,14 @@
<i>Manager</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <get_lsc_credentials_response status="200"
status_text="OK">
<lsc_credential id="8e305b0b-260d-450d-91a8-dadf0b144e15">
- <name>bobbob</name>
- <login>bobbob</login>
- <comment>Bob on the web server.Bob on the web server.</comment>
- <in_use>11</in_use>
- <type>passpass</type>
+ <name>bob</name>
+ <login>bob</login>
+ <comment>Bob on the web server.</comment>
+ <in_use>1</in_use>
+ <type>pass</type>
<targets>
<target id="1f28d970-17ef-4c69-ba8a-13827059f2b9">
- <name>Web serverWeb server</name>
+ <name>Web server</name>
</target>
</targets>
<public_key>
@@ -4199,17 +4045,17 @@
<i>Manager</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <get_lsc_credentials_response status="200"
status_text="OK">
<lsc_credential id="8e305b0b-260d-450d-91a8-dadf0b144e15">
- <name>bobbob</name>
- <login>bobbob</login>
- <comment>Bob on the web server.Bob on the web server.</comment>
- <in_use>11</in_use>
- <type>passpass</type>
+ <name>bob</name>
+ <login>bob</login>
+ <comment>Bob on the web server.</comment>
+ <in_use>1</in_use>
+ <type>pass</type>
<targets>
<target id="1f28d970-17ef-4c69-ba8a-13827059f2b9">
- <name>Web serverWeb server</name>
+ <name>Web server</name>
</target>
</targets>
- <package format="deb">ITxhcmNoPgpk...DmvF0AKAAACg==ITxhcmNoPgpk...DmvF0AKAAACg==</package>
+ <package format="deb">ITxhcmNoPgpk...DmvF0AKAAACg==</package>
</lsc_credential>
</get_lsc_credentials_response>
</pre></div>
@@ -4391,12 +4237,11 @@
</li>
</ul>
<h4>4.27.2 RNC</h4>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
<i>Command</i><div style="margin-left: 5%"><pre>get_notes
= element get_notes
{
- ""
- & attribute note_id { uuid }?
+ attribute note_id { uuid }?
& attribute nvt_oid { oid }?
& attribute task_id { uuid }?
& attribute details { boolean }?
@@ -4408,8 +4253,7 @@
<i>Response</i><div style="margin-left: 5%"><pre>get_notes_response
= element get_notes_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& get_notes_response_note*
}
@@ -4417,8 +4261,7 @@
get_notes_response_note
= element note
{
- ""
- & get_notes_response_note_nvt
+ get_notes_response_note_nvt
& get_notes_response_note_text
& get_notes_response_note_orphan
& ( get_notes_response_note_creation_time
@@ -4433,8 +4276,7 @@
get_notes_response_note_nvt
= element nvt
{
- ""
- & attribute oid { oid }
+ attribute oid { oid }
& get_notes_response_note_nvt_name
}
@@ -4448,7 +4290,6 @@
= element text
{
text
-
& attribute excerpt { boolean }
}
@@ -4474,14 +4315,12 @@
= element hosts
{
text
-
}
get_notes_response_note_port
= element port
{
text
-
}
get_notes_response_note_threat
@@ -4493,15 +4332,13 @@
get_notes_response_note_task
= element task
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
}
get_notes_response_note_result
= element result
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
& get_notes_response_note_result_subnet
& get_notes_response_note_result_host
& get_notes_response_note_result_port
@@ -4514,28 +4351,24 @@
= element subnet
{
text
-
}
get_notes_response_note_result_host
= element host
{
text
-
}
get_notes_response_note_result_port
= element port
{
text
-
}
get_notes_response_note_result_nvt
= element nvt
{
- ""
- & attribute oid { oid }
+ attribute oid { oid }
& get_notes_response_note_result_nvt_name
& get_notes_response_note_result_nvt_cvss_base
& get_notes_response_note_result_nvt_risk_factor
@@ -4551,14 +4384,12 @@
= element cvss_base
{
text
-
}
get_notes_response_note_result_nvt_risk_factor
= element risk_factor
{
text
-
}
get_notes_response_note_result_threat
@@ -4571,7 +4402,6 @@
= element description
{
text
-
}
</pre></div>
</div>
@@ -4583,10 +4413,10 @@
status_text="OK">
<note id="b76b81a7-9df8-42df-afff-baa9d4620128">
<nvt oid="1.3.6.1.4.1.25623.1.0.75">
- <name>Test NVT: long linesTest NVT: long lines</name>
+ <name>Test NVT: long lines</name>
</nvt>
- <text excerpt="0">This is the full text of the note.This is the full text of the note.</text>
- <orphan>11</orphan>
+ <text excerpt="0">This is the full text of the note.</text>
+ <orphan>1</orphan>
</note>
...
</get_notes_response>
@@ -4602,29 +4432,29 @@
status_text="OK">
<note id="7f618bbb-4664-419e-9bbf-367d93954cb0">
<nvt oid="1.3.6.1.4.1.25623.1.0.77">
- <name>Test NVT: control chars in report resultTest NVT: control chars in report result</name>
+ <name>Test NVT: control chars in report result</name>
</nvt>
- <creation_time>Sun Jun 27 08:49:46 2010Sun Jun 27 08:49:46 2010</creation_time>
- <modification_time>Sun Jun 27 08:49:46 2010Sun Jun 27 08:49:46 2010</modification_time>
- <text>note fixed to resultnote fixed to result</text>
- <hosts>127.0.0.1127.0.0.1</hosts>
- <port>general/tcpgeneral/tcp</port>
- <threat>MediumMedium</threat>
+ <creation_time>Sun Jun 27 08:49:46 2010</creation_time>
+ <modification_time>Sun Jun 27 08:49:46 2010</modification_time>
+ <text>note fixed to result</text>
+ <hosts>127.0.0.1</hosts>
+ <port>general/tcp</port>
+ <threat>Medium</threat>
<task id="40b236a9-2b0f-4813-b8c7-bc2b98d9d7e4">
- <name>testtest</name>
+ <name>test</name>
</task>
- <orphan>00</orphan>
+ <orphan>0</orphan>
<result id="0c95e6b3-1100-4dfd-88f1-4bed1fad29de">
- <subnet>127.0.0.1127.0.0.1</subnet>
- <host>127.0.0.1127.0.0.1</host>
- <port>general/tcpgeneral/tcp</port>
+ <subnet>127.0.0.1</subnet>
+ <host>127.0.0.1</host>
+ <port>general/tcp</port>
<nvt oid="1.3.6.1.4.1.25623.1.0.77">
- <name>Test NVT: control chars in report resultTest NVT: control chars in report result</name>
+ <name>Test NVT: control chars in report result</name>
<cvss_base/>
<risk_factor/>
</nvt>
- <threat>MediumMedium</threat>
- <description>Warning with control char between fullstops: . .Warning with control char between fullstops: . .</description>
+ <threat>Medium</threat>
+ <description>Warning with control char between fullstops: . .</description>
</result>
</note>
...
@@ -4842,12 +4672,11 @@
</li>
</ul>
<h4>4.28.2 RNC</h4>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
<i>Command</i><div style="margin-left: 5%"><pre>get_nvts
= element get_nvts
{
- ""
- & attribute nvt_oid { oid }
+ attribute nvt_oid { oid }
& attribute details { boolean }?
& attribute preferences { boolean }?
& attribute preference_count { boolean }?
@@ -4861,8 +4690,7 @@
<i>Response</i><div style="margin-left: 5%"><pre>get_nvts_response
= element get_nvts_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& get_nvts_response_nvt
}
@@ -4870,8 +4698,7 @@
get_nvts_response_nvt
= element nvt
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
& get_nvts_response_nvt_name
& get_nvts_response_nvt_checksum
& ( get_nvts_response_nvt_category
@@ -4902,112 +4729,96 @@
= element category
{
text
-
}
get_nvts_response_nvt_copyright
= element copyright
{
text
-
}
get_nvts_response_nvt_description
= element description
{
text
-
}
get_nvts_response_nvt_summary
= element summary
{
text
-
}
get_nvts_response_nvt_family
= element family
{
text
-
}
get_nvts_response_nvt_version
= element version
{
text
-
}
get_nvts_response_nvt_cvss_base
= element cvss_base
{
text
-
}
get_nvts_response_nvt_risk_factor
= element risk_factor
{
text
-
}
get_nvts_response_nvt_cve_id
= element cve_id
{
text
-
}
get_nvts_response_nvt_bugtraq_id
= element bugtraq_id
{
text
-
}
get_nvts_response_nvt_xrefs
= element xrefs
{
text
-
}
get_nvts_response_nvt_fingerprints
= element fingerprints
{
text
-
}
get_nvts_response_nvt_tags
= element tags
{
text
-
}
get_nvts_response_nvt_preference_count
= element preference_count
{
text
-
}
get_nvts_response_nvt_timeout
= element timeout
{
text
-
}
get_nvts_response_nvt_checksum
= element checksum
{
text
-
& get_nvts_response_nvt_checksum_algorithm
}
@@ -5015,14 +4826,12 @@
= element algorithm
{
text
-
}
get_nvts_response_nvt_preferences
= element preferences
{
text
-
& get_nvts_response_nvt_preferences_timeout
& get_nvts_response_nvt_preferences_preference*
}
@@ -5031,14 +4840,12 @@
= element timeout
{
text
-
}
get_nvts_response_nvt_preferences_preference
= element preference
{
- ""
- & get_nvts_response_nvt_preferences_preference_nvt
+ get_nvts_response_nvt_preferences_preference_nvt
& get_nvts_response_nvt_preferences_preference_name
& get_nvts_response_nvt_preferences_preference_type
& get_nvts_response_nvt_preferences_preference_value
@@ -5054,21 +4861,18 @@
= element name
{
text
-
}
get_nvts_response_nvt_preferences_preference_type
= element type
{
text
-
}
get_nvts_response_nvt_preferences_preference_value
= element value
{
text
-
}
</pre></div>
</div>
@@ -5082,45 +4886,45 @@
<i>Manager</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <get_nvts_response status="200"
status_text="OK">
<nvt oid="1.3.6.1.4.1.25623.1.7.13005">
- <name>ServicesServices</name>
- <category>ServicesServices</category>
- <copyright>GNU GPL v2GNU GPL v2</copyright>
+ <name>Services</name>
+ <category>Services</category>
+ <copyright>GNU GPL v2</copyright>
<description>
This script attepts to detects with service is running on which port.
</description>
- <summary>Find what is listening on which portFind what is listening on which port</summary>
- <family>Service detectionService detection</family>
- <version>$Revision: 1852 $$Revision: 1852 $</version>
+ <summary>Find what is listening on which port</summary>
+ <family>Service detection</family>
+ <version>$Revision: 1852 $</version>
<cvss_base/>
- <risk_factor>NoneNone</risk_factor>
- <cve_id>NOCVENOCVE</cve_id>
- <bugtraq_id>NOBIDNOBID</bugtraq_id>
- <xrefs>NOXREFNOXREF</xrefs>
- <fingerprints>NOSIGNKEYSNOSIGNKEYS</fingerprints>
- <tags>NOTAGNOTAG</tags>
- <preference_count>-1-1</preference_count>
+ <risk_factor>None</risk_factor>
+ <cve_id>NOCVE</cve_id>
+ <bugtraq_id>NOBID</bugtraq_id>
+ <xrefs>NOXREF</xrefs>
+ <fingerprints>NOSIGNKEYS</fingerprints>
+ <tags>NOTAG</tags>
+ <preference_count>-1</preference_count>
<timeout/>
<checksum>
2397586ea5cd3a69f953836f7be9ef7b
- <algorithm>md5md5</algorithm>
+ <algorithm>md5</algorithm>
</checksum>
<preferences>
<timeout/>
<preference>
<nvt oid="1.3.6.1.4.1.25623.1.0.10330">
- <name>ServicesServices</name>
+ <name>Services</name>
</nvt>
- <name>Network connection timeout :Network connection timeout :</name>
- <type>entryentry</type>
- <value>55</value>
+ <name>Network connection timeout :</name>
+ <type>entry</type>
+ <value>5</value>
</preference>
...
</preferences>
</nvt>
<nvt oid="1.3.6.1.4.1.25623.1.7.13006">
- <name>FooBar 21FooBar 21</name>
- <category>ServicesServices</category>
- <copyright>GNU GPL v2GNU GPL v2</copyright>
+ <name>FooBar 21</name>
+ <category>Services</category>
+ <copyright>GNU GPL v2</copyright>
<description>
This script detects whether the FooBar 2.1 XSS vulnerability is present.
</description>
@@ -5137,10 +4941,10 @@
<i>Manager</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <get_nvts_response status="200"
status_text="OK">
<nvt oid="1.3.6.1.4.1.25623.1.0.10330">
- <name>ServicesServices</name>
+ <name>Services</name>
<checksum>
2397586ea5cd3a69f953836f7be9ef7b
- <algorithm>md5md5</algorithm>
+ <algorithm>md5</algorithm>
</checksum>
</nvt>
</get_nvts_response>
@@ -5197,19 +5001,17 @@
</li>
</ul>
<h4>4.29.2 RNC</h4>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
<i>Command</i><div style="margin-left: 5%"><pre>get_nvt_families
= element get_nvt_families
{
- ""
- & attribute sort_order { sort_order }?
+ attribute sort_order { sort_order }?
}
</pre></div>
<i>Response</i><div style="margin-left: 5%"><pre>get_nvt_families_response
= element get_nvt_families_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& get_nvt_families_response_families
}
@@ -5217,15 +5019,13 @@
get_nvt_families_response_families
= element families
{
- ""
- & get_nvt_families_response_families_family*
+ get_nvt_families_response_families_family*
}
get_nvt_families_response_families_family
= element family
{
- ""
- & get_nvt_families_response_families_family_name
+ get_nvt_families_response_families_family_name
& get_nvt_families_response_families_family_max_nvt_count
}
@@ -5250,12 +5050,12 @@
status_text="OK">
<families>
<family>
- <name>CredentialsCredentials</name>
- <max_nvt_count>88</max_nvt_count>
+ <name>Credentials</name>
+ <max_nvt_count>8</max_nvt_count>
</family>
<family>
- <name>Port scannersPort scanners</name>
- <max_nvt_count>1212</max_nvt_count>
+ <name>Port scanners</name>
+ <max_nvt_count>12</max_nvt_count>
</family>
...
</families>
@@ -5317,19 +5117,17 @@
</li>
</ul>
<h4>4.30.2 RNC</h4>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
<i>Command</i><div style="margin-left: 5%"><pre>get_nvt_feed_checksum
= element get_nvt_feed_checksum
{
- ""
- & attribute algorithm { text }?
+ attribute algorithm { text }?
}
</pre></div>
<i>Response</i><div style="margin-left: 5%"><pre>get_nvt_feed_checksum_response
= element get_nvt_feed_checksum_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& get_nvt_feed_checksum_response_checksum
}
@@ -5337,7 +5135,7 @@
get_nvt_feed_checksum_response_checksum
= element checksum
{
- base64
+ text # RNC limitation: base64
& attribute algorithm { text }
}
</pre></div>
@@ -5348,7 +5146,7 @@
</pre></div>
<i>Manager</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <get_nvt_feed_checksum_response status="200"
status_text="OK">
- <checksum algorithm="md5">931db829a06b9a440a2ecaeb68c03715931db829a06b9a440a2ecaeb68c03715</checksum>
+ <checksum algorithm="md5">931db829a06b9a440a2ecaeb68c03715</checksum>
</get_nvt_feed_checksum_response>
</pre></div>
</div>
@@ -5534,12 +5332,11 @@
</li>
</ul>
<h4>4.31.2 RNC</h4>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
<i>Command</i><div style="margin-left: 5%"><pre>get_overrides
= element get_overrides
{
- ""
- & attribute override_id { uuid }?
+ attribute override_id { uuid }?
& attribute nvt_oid { oid }?
& attribute task_id { uuid }?
& attribute details { boolean }?
@@ -5551,8 +5348,7 @@
<i>Response</i><div style="margin-left: 5%"><pre>get_overrides_response
= element get_overrides_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& get_overrides_response_override*
}
@@ -5560,8 +5356,7 @@
get_overrides_response_override
= element override
{
- ""
- & get_overrides_response_override_nvt
+ get_overrides_response_override_nvt
& get_overrides_response_override_text
& get_overrides_response_override_threat
& get_overrides_response_override_new_threat
@@ -5577,8 +5372,7 @@
get_overrides_response_override_nvt
= element nvt
{
- ""
- & attribute oid { oid }
+ attribute oid { oid }
& get_overrides_response_override_nvt_name
}
@@ -5592,7 +5386,6 @@
= element text
{
text
-
& attribute excerpt { boolean }
}
@@ -5630,28 +5423,24 @@
= element hosts
{
text
-
}
get_overrides_response_override_port
= element port
{
text
-
}
get_overrides_response_override_task
= element task
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
}
get_overrides_response_override_result
= element result
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
& get_overrides_response_override_result_subnet
& get_overrides_response_override_result_host
& get_overrides_response_override_result_port
@@ -5664,28 +5453,24 @@
= element subnet
{
text
-
}
get_overrides_response_override_result_host
= element host
{
text
-
}
get_overrides_response_override_result_port
= element port
{
text
-
}
get_overrides_response_override_result_nvt
= element nvt
{
- ""
- & attribute oid { oid }
+ attribute oid { oid }
& get_overrides_response_override_result_nvt_name
& get_overrides_response_override_result_nvt_cvss_base
& get_overrides_response_override_result_nvt_risk_factor
@@ -5701,14 +5486,12 @@
= element cvss_base
{
text
-
}
get_overrides_response_override_result_nvt_risk_factor
= element risk_factor
{
text
-
}
get_overrides_response_override_result_threat
@@ -5721,7 +5504,6 @@
= element description
{
text
-
}
</pre></div>
</div>
@@ -5733,12 +5515,12 @@
status_text="OK">
<override id="b76b81a7-9df8-42df-afff-baa9d4620128">
<nvt oid="1.3.6.1.4.1.25623.1.0.75">
- <name>Test NVT: long linesTest NVT: long lines</name>
+ <name>Test NVT: long lines</name>
</nvt>
- <text excerpt="0">This is the full text of the override.This is the full text of the override.</text>
- <threat>HighHigh</threat>
- <new_threat>LogLog</new_threat>
- <orphan>11</orphan>
+ <text excerpt="0">This is the full text of the override.</text>
+ <threat>High</threat>
+ <new_threat>Log</new_threat>
+ <orphan>1</orphan>
</override>
...
</get_overrides_response>
@@ -5753,19 +5535,19 @@
status_text="OK">
<override id="7f618bbb-4664-419e-9bbf-367d93954cb0">
<nvt oid="1.3.6.1.4.1.25623.1.0.77">
- <name>Test NVT: control chars in report resultTest NVT: control chars in report result</name>
+ <name>Test NVT: control chars in report result</name>
</nvt>
- <creation_time>Sun Jun 27 08:49:46 2010Sun Jun 27 08:49:46 2010</creation_time>
- <modification_time>Sun Jun 27 08:49:46 2010Sun Jun 27 08:49:46 2010</modification_time>
- <text>override fixed to resultoverride fixed to result</text>
- <hosts>127.0.0.1127.0.0.1</hosts>
- <port>general/tcpgeneral/tcp</port>
- <threat>MediumMedium</threat>
- <new_threat>LowLow</new_threat>
+ <creation_time>Sun Jun 27 08:49:46 2010</creation_time>
+ <modification_time>Sun Jun 27 08:49:46 2010</modification_time>
+ <text>override fixed to result</text>
+ <hosts>127.0.0.1</hosts>
+ <port>general/tcp</port>
+ <threat>Medium</threat>
+ <new_threat>Low</new_threat>
<task id="40b236a9-2b0f-4813-b8c7-bc2b98d9d7e4">
- <name>testtest</name>
+ <name>test</name>
</task>
- <orphan>00</orphan>
+ <orphan>0</orphan>
<result id="0c95e6b3-1100-4dfd-88f1-4bed1fad29de"/>
</override>
...
@@ -5859,12 +5641,11 @@
</li>
</ul>
<h4>4.32.2 RNC</h4>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
<i>Command</i><div style="margin-left: 5%"><pre>get_preferences
= element get_preferences
{
- ""
- & attribute nvt_oid { oid }?
+ attribute nvt_oid { oid }?
& attribute config_id { uuid }?
& attribute preference { text }?
}
@@ -5872,8 +5653,7 @@
<i>Response</i><div style="margin-left: 5%"><pre>get_preferences_response
= element get_preferences_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& get_preferences_response_preference*
}
@@ -5881,8 +5661,7 @@
get_preferences_response_preference
= element preference
{
- ""
- & get_preferences_response_preference_nvt?
+ get_preferences_response_preference_nvt?
& get_preferences_response_preference_name
& get_preferences_response_preference_type?
& get_preferences_response_preference_value
@@ -5891,8 +5670,7 @@
get_preferences_response_preference_nvt
= element nvt
{
- ""
- & attribute oid { oid }
+ attribute oid { oid }
& get_preferences_response_preference_nvt_name
}
@@ -5912,14 +5690,12 @@
= element type
{
text
-
}
get_preferences_response_preference_value
= element value
{
text
-
}
</pre></div>
</div>
@@ -5930,8 +5706,8 @@
<i>Manager</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <get_preferences_response status="200"
status_text="OK">
<preference>
- <name>Services[entry]:Network connection timeout :Services[entry]:Network connection timeout :</name>
- <value>55</value>
+ <name>Services[entry]:Network connection timeout :</name>
+ <value>5</value>
</preference>
...
</get_preferences_response>
@@ -5944,8 +5720,8 @@
<i>Manager</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <get_preferences_response status="200"
status_text="OK">
<preference>
- <name>Services[entry]:Network connection timeout :Services[entry]:Network connection timeout :</name>
- <value>55</value>
+ <name>Services[entry]:Network connection timeout :</name>
+ <value>5</value>
</preference>
...
</get_preferences_response>
@@ -5959,11 +5735,11 @@
status_text="OK">
<preference>
<nvt oid="1.3.6.1.4.1.25623.1.0.10330">
- <name>ServicesServices</name>
+ <name>Services</name>
</nvt>
- <name>Network connection timeout :Network connection timeout :</name>
- <type>entryentry</type>
- <value>55</value>
+ <name>Network connection timeout :</name>
+ <type>entry</type>
+ <value>5</value>
</preference>
...
</get_preferences_response>
@@ -5977,11 +5753,11 @@
<i>Manager</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <get_preferences nvt_oid="1.3.6.1.4.1.25623.1.0.10330">
<preference>
<nvt oid="1.3.6.1.4.1.25623.1.0.10330">
- <name>ServicesServices</name>
+ <name>Services</name>
</nvt>
- <name>Network connection timeout :Network connection timeout :</name>
- <type>entryentry</type>
- <value>55</value>
+ <name>Network connection timeout :</name>
+ <type>entry</type>
+ <value>5</value>
</preference>
</get_preferences>
</pre></div>
@@ -6136,7 +5912,8 @@
</li>
<li>
<<b>min_cvss_base</b>>
- <ul style="list-style: none"></ul>
+ <div style="margin-left: 15px; display: inline;">Minimum CVSS base if in effect, else empty string.</div>
+<ul style="list-style: none"></ul>
</li>
<li>
<<b>filter</b>>
@@ -6328,12 +6105,11 @@
</li>
</ul>
<h4>4.33.2 RNC</h4>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
<i>Command</i><div style="margin-left: 5%"><pre>get_reports
= element get_reports
{
- ""
- & attribute report_id { uuid }?
+ attribute report_id { uuid }?
& attribute format { text }?
& attribute first_result { integer }?
& attribute max_results { integer }?
@@ -6352,8 +6128,7 @@
<i>Response</i><div style="margin-left: 5%"><pre>get_reports_response
= element get_reports_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& get_reports_response_report*
}
@@ -6361,7 +6136,7 @@
get_reports_response_report
= element report
{
- base64
+ text # RNC limitation: base64
& attribute id { uuid }
& ( get_reports_response_report_sort
& get_reports_response_report_filters
@@ -6379,15 +6154,13 @@
get_reports_response_report_sort
= element sort
{
- ""
- & get_reports_response_report_sort_field
+ get_reports_response_report_sort_field
}
get_reports_response_report_sort_field
= element field
{
text
-
& get_reports_response_report_sort_field_order
}
@@ -6400,7 +6173,7 @@
get_reports_response_report_filters
= element filters
{
- levels
+ text # RNC limitation: levels
& get_reports_response_report_filters_phrase
& get_reports_response_report_filters_notes
& get_reports_response_report_filters_overrides
@@ -6440,11 +6213,10 @@
xsd:token { pattern = "0|1" }
}
-get_reports_response_report_filters_minimum_cvss_base
- = element minimum_cvss_base
+get_reports_response_report_filters_min_cvss_base
+ = element min_cvss_base
{
text
-
}
get_reports_response_report_filters_filter
@@ -6462,7 +6234,7 @@
get_reports_response_report_result_count
= element result_count
{
- integer
+ text # RNC limitation: integer
& get_reports_response_report_result_count_filtered
& get_reports_response_report_result_count_debug
& get_reports_response_report_result_count_hole
@@ -6510,8 +6282,7 @@
get_reports_response_report_task
= element task
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
& get_reports_response_report_task_name
}
@@ -6524,8 +6295,7 @@
get_reports_response_report_ports
= element ports
{
- ""
- & attribute start { integer }
+ attribute start { integer }
& attribute max { integer }
& get_reports_response_report_ports_port*
}
@@ -6534,7 +6304,6 @@
= element port
{
text
-
& get_reports_response_report_ports_port_host
& get_reports_response_report_ports_port_threat
}
@@ -6543,7 +6312,6 @@
= element host
{
text
-
}
get_reports_response_report_ports_port_threat
@@ -6555,8 +6323,7 @@
get_reports_response_report_results
= element results
{
- ""
- & attribute start { integer }
+ attribute start { integer }
& attribute max { integer }
& get_reports_response_report_results_result*
}
@@ -6564,8 +6331,7 @@
get_reports_response_report_results_result
= element result
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
& get_reports_response_report_results_result_subnet
& get_reports_response_report_results_result_host
& get_reports_response_report_results_result_port
@@ -6578,28 +6344,24 @@
= element subnet
{
text
-
}
get_reports_response_report_results_result_host
= element host
{
text
-
}
get_reports_response_report_results_result_port
= element port
{
text
-
}
get_reports_response_report_results_result_nvt
= element nvt
{
- ""
- & attribute oid { oid }
+ attribute oid { oid }
& get_reports_response_report_results_result_nvt_name
& get_reports_response_report_results_result_nvt_cvss_base
& get_reports_response_report_results_result_nvt_risk_factor
@@ -6633,7 +6395,6 @@
= element description
{
text
-
}
get_reports_response_report_scan_start
@@ -6645,7 +6406,7 @@
get_reports_response_report_host_start
= element host_start
{
- ctime
+ text # RNC limitation: ctime
& get_reports_response_report_host_start_host
}
@@ -6653,13 +6414,12 @@
= element host
{
text
-
}
get_reports_response_report_host_end
= element host_end
{
- ctime
+ text # RNC limitation: ctime
& get_reports_response_report_host_end_host
}
@@ -6667,7 +6427,6 @@
= element host
{
text
-
}
get_reports_response_report_scan_end
@@ -6684,9 +6443,7 @@
</pre></div>
<i>Manager</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <get_reports_response status="200"
status_text="OK">
- <report id="267a3405-e84a-47da-97b2-5fa0d2e8995e">hsisn3qaVFhkjFRG4...
- hsisn3qaVFhkjFRG4...
- </report>
+ <report id="267a3405-e84a-47da-97b2-5fa0d2e8995e">hsisn3qaVFhkjFRG4...</report>
</get_reports_response>
</pre></div>
</div>
@@ -6700,71 +6457,71 @@
<sort>
<field>
type
- <order>descendingdescending</order>
+ <order>descending</order>
</field>
</sort>
<filters>
hmlgd
<phrase/>
- <notes>00</notes>
- <overrides>00</overrides>
- <apply_overrides>00</apply_overrides>
- <result_hosts_only>11</result_hosts_only>
+ <notes>0</notes>
+ <overrides>0</overrides>
+ <apply_overrides>0</apply_overrides>
+ <result_hosts_only>1</result_hosts_only>
<min_cvss_base/>
- <filter>HighHigh</filter>
- <filter>MediumMedium</filter>
- <filter>LowLow</filter>
- <filter>LogLog</filter>
- <filter>DebugDebug</filter>
+ <filter>High</filter>
+ <filter>Medium</filter>
+ <filter>Low</filter>
+ <filter>Log</filter>
+ <filter>Debug</filter>
</filters>
- <scan_run_status>DoneDone</scan_run_status>
+ <scan_run_status>Done</scan_run_status>
<result_count>
10
- <filtered>1010</filtered>
- <debug>00</debug>
- <hole>00</hole>
- <info>77</info>
- <log>00</log>
- <warning>33</warning>
+ <filtered>10</filtered>
+ <debug>0</debug>
+ <hole>0</hole>
+ <info>7</info>
+ <log>0</log>
+ <warning>3</warning>
</result_count>
<task id="13bb418a-4220-4575-b35b-ec398bff7417">
- <name>dik mmdik mm</name>
+ <name>dik mm</name>
</task>
<ports start="1"
max="-1">
<port>
general/tcp
- <host>127.0.1.1127.0.1.1</host>
- <threat>MediumMedium</threat>
+ <host>127.0.1.1</host>
+ <threat>Medium</threat>
</port>
...
</ports>
<results start="1"
max="-1">
<result id="634f7a2e-8ca1-43b7-b6d7-0d4841449508">
- <subnet>127.0.1.1127.0.1.1</subnet>
- <host>127.0.1.1127.0.1.1</host>
- <port>general/tcpgeneral/tcp</port>
+ <subnet>127.0.1.1</subnet>
+ <host>127.0.1.1</host>
+ <port>general/tcp</port>
<nvt oid="1.3.6.1.4.1.25623.1.0.74">
- <name>Test NVT: fields with ISO-8859-1 chars ()Test NVT: fields with ISO-8859-1 chars ()</name>
- <cvss_base>5.05.0</cvss_base>
- <risk_factor>MediumMedium</risk_factor>
+ <name>Test NVT: fields with ISO-8859-1 chars ()</name>
+ <cvss_base>5.0</cvss_base>
+ <risk_factor>Medium</risk_factor>
</nvt>
- <threat>MediumMedium</threat>
- <description>Test with umlaut Warning Port 0.Test with umlaut Warning Port 0.</description>
+ <threat>Medium</threat>
+ <description>Test with umlaut Warning Port 0.</description>
</result>
...
</results>
- <scan_start>Mon Feb 1 19:11:21 2010Mon Feb 1 19:11:21 2010</scan_start>
+ <scan_start>Mon Feb 1 19:11:21 2010</scan_start>
<host_start>
Mon Feb 1 19:11:21 2010
- <host>127.0.1.1127.0.1.1</host>
+ <host>127.0.1.1</host>
</host_start>
<host_end>
Mon Feb 1 19:11:52 2010
- <host>127.0.1.1127.0.1.1</host>
+ <host>127.0.1.1</host>
</host_end>
- <scan_end>Mon Feb 1 19:11:52 2010Mon Feb 1 19:11:52 2010</scan_end>
+ <scan_end>Mon Feb 1 19:11:52 2010</scan_end>
</report>
</get_reports_response>
</pre></div>
@@ -6976,12 +6733,11 @@
</li>
</ul>
<h4>4.34.2 RNC</h4>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
<i>Command</i><div style="margin-left: 5%"><pre>get_results
= element get_results
{
- ""
- & attribute result_id { uuid }?
+ attribute result_id { uuid }?
& attribute task_id { uuid }?
& attribute notes { boolean }?
& attribute note_details { boolean }?
@@ -6993,8 +6749,7 @@
<i>Response</i><div style="margin-left: 5%"><pre>get_results_response
= element get_results_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& get_results_response_results
}
@@ -7002,15 +6757,13 @@
get_results_response_results
= element results
{
- ""
- & get_results_response_results_result*
+ get_results_response_results_result*
}
get_results_response_results_result
= element result
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
& get_results_response_results_result_subnet
& get_results_response_results_result_host
& get_results_response_results_result_port
@@ -7025,28 +6778,24 @@
= element subnet
{
text
-
}
get_results_response_results_result_host
= element host
{
text
-
}
get_results_response_results_result_port
= element port
{
text
-
}
get_results_response_results_result_nvt
= element nvt
{
- ""
- & attribute oid { oid }
+ attribute oid { oid }
& get_results_response_results_result_nvt_name
& get_results_response_results_result_nvt_cvss_base
& get_results_response_results_result_nvt_risk_factor
@@ -7080,21 +6829,18 @@
= element description
{
text
-
}
get_results_response_results_result_notes
= element notes
{
- ""
- & get_results_response_results_result_notes_note*
+ get_results_response_results_result_notes_note*
}
get_results_response_results_result_notes_note
= element note
{
- ""
- & get_results_response_results_result_notes_note_nvt
+ get_results_response_results_result_notes_note_nvt
& get_results_response_results_result_notes_note_text
& get_results_response_results_result_notes_note_orphan
}
@@ -7102,8 +6848,7 @@
get_results_response_results_result_notes_note_nvt
= element nvt
{
- ""
- & attribute oid { oid }
+ attribute oid { oid }
& get_results_response_results_result_notes_note_nvt_name
}
@@ -7117,7 +6862,6 @@
= element text
{
text
-
& attribute excerpt { boolean }
}
@@ -7130,15 +6874,13 @@
get_results_response_results_result_overrides
= element overrides
{
- ""
- & get_results_response_results_result_overrides_override*
+ get_results_response_results_result_overrides_override*
}
get_results_response_results_result_overrides_override
= element override
{
- ""
- & get_results_response_results_result_overrides_override_nvt
+ get_results_response_results_result_overrides_override_nvt
& get_results_response_results_result_overrides_override_text
& get_results_response_results_result_overrides_override_threat
& get_results_response_results_result_overrides_override_new_threat
@@ -7148,8 +6890,7 @@
get_results_response_results_result_overrides_override_nvt
= element nvt
{
- ""
- & attribute oid { oid }
+ attribute oid { oid }
& get_results_response_results_result_overrides_override_nvt_name
}
@@ -7163,7 +6904,6 @@
= element text
{
text
-
& attribute excerpt { boolean }
}
@@ -7194,16 +6934,16 @@
status_text="OK">
<results>
<result id="634f7a2e-8ca1-43b7-b6d7-0d4841449508">
- <subnet>127.0.1.1127.0.1.1</subnet>
- <host>127.0.1.1127.0.1.1</host>
- <port>general/tcpgeneral/tcp</port>
+ <subnet>127.0.1.1</subnet>
+ <host>127.0.1.1</host>
+ <port>general/tcp</port>
<nvt oid="1.3.6.1.4.1.25623.1.0.74">
- <name>Test NVT: fields with ISO-8859-1 charsTest NVT: fields with ISO-8859-1 chars</name>
- <cvss_base>5.05.0</cvss_base>
- <risk_factor>MediumMedium</risk_factor>
+ <name>Test NVT: fields with ISO-8859-1 chars</name>
+ <cvss_base>5.0</cvss_base>
+ <risk_factor>Medium</risk_factor>
</nvt>
- <threat>MediumMedium</threat>
- <description>Test with umlaut.Test with umlaut.</description>
+ <threat>Medium</threat>
+ <description>Test with umlaut.</description>
</result>
...
</results>
@@ -7221,26 +6961,26 @@
status_text="OK">
<results>
<result id="cac9e7c8-c726-49fd-a710-5f99079ab93e">
- <subnet>127.0.0.1127.0.0.1</subnet>
- <host>127.0.0.1127.0.0.1</host>
- <port>general/tcpgeneral/tcp</port>
+ <subnet>127.0.0.1</subnet>
+ <host>127.0.0.1</host>
+ <port>general/tcp</port>
<nvt oid="1.3.6.1.4.1.25623.1.0.75">
- <name>Test NVT: long linesTest NVT: long lines</name>
- <cvss_base>99</cvss_base>
- <risk_factor>HighHigh</risk_factor>
+ <name>Test NVT: long lines</name>
+ <cvss_base>9</cvss_base>
+ <risk_factor>High</risk_factor>
</nvt>
- <threat>HighHigh</threat>
- <description>Test with very long warning.Test with very long warning.</description>
- <original_threat>MediumMedium</original_threat>
+ <threat>High</threat>
+ <description>Test with very long warning.</description>
+ <original_threat>Medium</original_threat>
<notes/>
<overrides>
<override id="b0832812-75f1-45eb-b676-99c6e6bf2b24">
<nvt oid="1.3.6.1.4.1.25623.1.0.75">
- <name>Test NVT: long linesTest NVT: long lines</name>
+ <name>Test NVT: long lines</name>
</nvt>
- <text excerpt="0">Test overrideTest override</text>
- <new_threat>HighHigh</new_threat>
- <orphan>00</orphan>
+ <text excerpt="0">Test override</text>
+ <new_threat>High</new_threat>
+ <orphan>0</orphan>
</override>
</overrides>
</result>
@@ -7365,12 +7105,11 @@
</li>
</ul>
<h4>4.35.2 RNC</h4>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
<i>Command</i><div style="margin-left: 5%"><pre>get_schedules
= element get_schedules
{
- ""
- & attribute schedule_id { uuid }?
+ attribute schedule_id { uuid }?
& attribute details { boolean }?
& attribute sort_order { sort_order }?
& attribute sort_field { text }?
@@ -7379,8 +7118,7 @@
<i>Response</i><div style="margin-left: 5%"><pre>get_schedules_response
= element get_schedules_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& get_schedules_response_schedule
}
@@ -7388,8 +7126,7 @@
get_schedules_response_schedule
= element schedule
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
& get_schedules_response_schedule_name
& ( get_schedules_response_schedule_comment
& get_schedules_response_schedule_first_time
@@ -7411,7 +7148,6 @@
= element comment
{
text
-
}
get_schedules_response_schedule_first_time
@@ -7453,15 +7189,13 @@
get_schedules_response_schedule_tasks
= element tasks
{
- ""
- & get_schedules_response_schedule_tasks_task*
+ get_schedules_response_schedule_tasks_task*
}
get_schedules_response_schedule_tasks_task
= element task
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
& get_schedules_response_schedule_tasks_task_name
}
@@ -7479,7 +7213,7 @@
<i>Manager</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <get_schedules_response status="200"
status_text="OK">
<schedule id="c33864a9-d3fd-44b3-8717-972bfb01dfcf">
- <name>OvernightOvernight</name>
+ <name>Overnight</name>
</schedule>
...
</get_schedules_response>
@@ -7493,17 +7227,17 @@
<i>Manager</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <get_schedules_response status="200"
status_text="OK">
<schedule id="c33864a9-d3fd-44b3-8717-972bfb01dfcf">
- <name>OvernightOvernight</name>
- <comment>3 hours, starting at 12h00.3 hours, starting at 12h00.</comment>
- <first_time>Tue Jun 29 00:00:00 2010Tue Jun 29 00:00:00 2010</first_time>
- <next_time>Tue Jun 29 00:00:00 2010Tue Jun 29 00:00:00 2010</next_time>
- <period>8640086400</period>
- <period_months>00</period_months>
- <duration>1080010800</duration>
- <in_use>11</in_use>
+ <name>Overnight</name>
+ <comment>3 hours, starting at 12h00.</comment>
+ <first_time>Tue Jun 29 00:00:00 2010</first_time>
+ <next_time>Tue Jun 29 00:00:00 2010</next_time>
+ <period>86400</period>
+ <period_months>0</period_months>
+ <duration>10800</duration>
+ <in_use>1</in_use>
<tasks>
<task id="d4daf4c4-25c7-40ac-87d3-38e489f34330">
- <name>kkkk</name>
+ <name>kk</name>
</task>
</tasks>
</schedule>
@@ -7582,12 +7316,11 @@
</li>
</ul>
<h4>4.36.2 RNC</h4>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
<i>Command</i><div style="margin-left: 5%"><pre>get_system_reports
= element get_system_reports
{
- ""
- & attribute name { text }?
+ attribute name { text }?
& attribute duration { integer }?
& attribute brief { boolean }?
}
@@ -7595,8 +7328,7 @@
<i>Response</i><div style="margin-left: 5%"><pre>get_system_reports_response
= element get_system_reports_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& get_system_reports_response_system_report*
}
@@ -7604,8 +7336,7 @@
get_system_reports_response_system_report
= element system_report
{
- ""
- & get_system_reports_response_system_report_name
+ get_system_reports_response_system_report_name
& get_system_reports_response_system_report_title
& get_system_reports_response_system_report_report?
}
@@ -7620,13 +7351,12 @@
= element title
{
text
-
}
get_system_reports_response_system_report_report
= element report
{
- base64
+ text # RNC limitation: base64
& attribute format { "png" }
& attribute duration { integer }
}
@@ -7639,16 +7369,16 @@
<i>Manager</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <get_system_reports_response status="200"
status_text="OK">
<system_report>
- <name>procproc</name>
- <title>ProcessesProcesses</title>
+ <name>proc</name>
+ <title>Processes</title>
</system_report>
<system_report>
- <name>loadload</name>
- <title>System LoadSystem Load</title>
+ <name>load</name>
+ <title>System Load</title>
</system_report>
<system_report>
- <name>cpu_0cpu_0</name>
- <title>CPU Usage: CPU 0CPU Usage: CPU 0</title>
+ <name>cpu_0</name>
+ <title>CPU Usage: CPU 0</title>
</system_report>
...
</get_system_reports_response>
@@ -7661,8 +7391,8 @@
<i>Manager</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <get_system_reports_response status="200"
status_text="OK">
<system_report>
- <name>procproc</name>
- <title>ProcessesProcesses</title>
+ <name>proc</name>
+ <title>Processes</title>
<report format="png"
duration="86400">
iVBORw0KGgoAAAANSUhEUgAAArkAAAE...2bEdAAAAAElFTkSuQmCC
@@ -7673,11 +7403,1399 @@
</div>
</div>
<div>
-<div><h3 id="command_get_version">4.37
+<div><h3 id="command_get_target_locators">4.37
+ Command <tt>get_target_locators</tt>
+</h3></div>
+<p>In short: Get configured target locators.</p>
+<p>
+ The client uses the get_target_locators command to get target locators.
+ </p>
+<h4>4.37.1 Structure</h4>
+<ul style="list-style: none">
+<li>
+<i>Command</i><ul style="list-style: none"><i>Empty single element.</i></ul>
+</li>
+<li style="margin-top: 15px;">
+<i>Response</i><ul style="list-style: none">
+<li>
+ @<b>status</b>
+ (<a href="#type_status">status</a>)
+ </li>
+<li>
+ @<b>status_text</b>
+ (text)
+ </li>
+<li>
+ <<b>target_locator</b>>
+ *<ul style="list-style: none"><li>
+ <<b>name</b>>
+ <div style="margin-left: 15px; display: inline;">The name of the target locator.</div>
+<ul style="list-style: none"></ul>
+</li></ul>
+</li>
+</ul>
+</li>
+</ul>
+<h4>4.37.2 RNC</h4>
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<i>Command</i><div style="margin-left: 5%"><pre>get_target_locators
+ = element get_target_locators
+ {
+ ""
+ }
+</pre></div>
+<i>Response</i><div style="margin-left: 5%"><pre>get_target_locators_response
+ = element get_target_locators_response
+ {
+ attribute status { status }
+ & attribute status_text { text }
+ & get_target_locators_response_target_locator*
+ }
+
+get_target_locators_response_target_locator
+ = element target_locator
+ {
+ get_target_locators_response_target_locator_name
+ }
+
+get_target_locators_response_target_locator_name
+ = element name
+ {
+ name
+ }
+</pre></div>
+</div>
+<h4>4.37.1 Example: Get target locators</h4>
+<div style="margin-left: 5%; margin-right: 5%;">
+<i>Client</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <get_target_locators/>
+</pre></div>
+<i>Manager</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <get_target_locators_response status="200"
+ status_text="OK">
+ <target_locator>
+ <name>ldap</name>
+ </target_locator>
+ ...
+ </get_target_locators_response>
+</pre></div>
+</div>
+</div>
+<div>
+<div><h3 id="command_get_targets">4.38
+ Command <tt>get_targets</tt>
+</h3></div>
+<p>In short: Get all targets.</p>
+<p>
+ The client uses the get_targets command to get target information.
+ </p>
+<h4>4.38.1 Structure</h4>
+<ul style="list-style: none">
+<li>
+<i>Command</i><ul style="list-style: none">
+<li>
+ @<b>target_id</b>
+ (<a href="#type_uuid">uuid</a>)
+ ID of single target to get.
+ </li>
+<li>
+ @<b>tasks</b>
+ (<a href="#type_boolean">boolean</a>)
+ Whether to include list of tasks that use the target.
+ </li>
+<li>
+ @<b>sort_order</b>
+ (<a href="#type_sort_order">sort_order</a>)
+ </li>
+<li>
+ @<b>sort_field</b>
+ (text)
+ </li>
+</ul>
+</li>
+<li style="margin-top: 15px;">
+<i>Response</i><ul style="list-style: none">
+<li>
+ @<b>status</b>
+ (<a href="#type_status">status</a>)
+ </li>
+<li>
+ @<b>status_text</b>
+ (text)
+ </li>
+<li>
+ <<b>target</b>>
+ *<ul style="list-style: none">
+<li>
+ <<b>name</b>>
+ <div style="margin-left: 15px; display: inline;">The name of the target.</div>
+<ul style="list-style: none"></ul>
+</li>
+<li>
+ <<b>comment</b>>
+ <div style="margin-left: 15px; display: inline;">The comment on the target.</div>
+<ul style="list-style: none"></ul>
+</li>
+<li>
+ <<b>hosts</b>>
+ <div style="margin-left: 15px; display: inline;">A list of hosts.</div>
+<ul style="list-style: none"></ul>
+</li>
+<li>
+ <<b>max_hosts</b>>
+ <div style="margin-left: 15px; display: inline;">The maximum number of hosts defined by the target.</div>
+<ul style="list-style: none"></ul>
+</li>
+<li>
+ <<b>in_use</b>>
+ <div style="margin-left: 15px; display: inline;">Whether any tasks are using the target.</div>
+<ul style="list-style: none"></ul>
+</li>
+<li>
+ <<b>lsc_credential</b>>
+ <ul style="list-style: none">
+<li>
+ @<b>id</b>
+ (<a href="#type_uuid_or_empty">uuid_or_empty</a>)
+ </li>
+<li>
+ <<b>name</b>>
+ <div style="margin-left: 15px; display: inline;">The name of the LSC credential.</div>
+<ul style="list-style: none"></ul>
+</li>
+</ul>
+</li>
+<li>
+ <<b>tasks</b>>
+ ?<div style="margin-left: 15px; display: inline;">All tasks using the target.</div>
+<ul style="list-style: none"><li>
+ <<b>task</b>>
+ *<ul style="list-style: none">
+<li>
+ @<b>id</b>
+ (<a href="#type_uuid">uuid</a>)
+ </li>
+<li>
+ <<b>name</b>>
+ <div style="margin-left: 15px; display: inline;">The name of the task.</div>
+<ul style="list-style: none"></ul>
+</li>
+</ul>
+</li></ul>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<h4>4.38.2 RNC</h4>
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<i>Command</i><div style="margin-left: 5%"><pre>get_targets
+ = element get_targets
+ {
+ attribute target_id { uuid }?
+ & attribute tasks { boolean }?
+ & attribute sort_order { sort_order }?
+ & attribute sort_field { text }?
+ }
+</pre></div>
+<i>Response</i><div style="margin-left: 5%"><pre>get_targets_response
+ = element get_targets_response
+ {
+ attribute status { status }
+ & attribute status_text { text }
+ & get_targets_response_target*
+ }
+
+get_targets_response_target
+ = element target
+ {
+ get_targets_response_target_name
+ & get_targets_response_target_comment
+ & get_targets_response_target_hosts
+ & get_targets_response_target_max_hosts
+ & get_targets_response_target_in_use
+ & get_targets_response_target_lsc_credential
+ & get_targets_response_target_tasks?
+ }
+
+get_targets_response_target_name
+ = element name
+ {
+ name
+ }
+
+get_targets_response_target_comment
+ = element comment
+ {
+ text
+ }
+
+get_targets_response_target_hosts
+ = element hosts
+ {
+ text
+ }
+
+get_targets_response_target_max_hosts
+ = element max_hosts
+ {
+ integer
+ }
+
+get_targets_response_target_in_use
+ = element in_use
+ {
+ boolean
+ }
+
+get_targets_response_target_lsc_credential
+ = element lsc_credential
+ {
+ attribute id { uuid_or_empty }
+ & get_targets_response_target_lsc_credential_name
+ }
+
+get_targets_response_target_lsc_credential_name
+ = element name
+ {
+ name
+ }
+
+get_targets_response_target_tasks
+ = element tasks
+ {
+ get_targets_response_target_tasks_task*
+ }
+
+get_targets_response_target_tasks_task
+ = element task
+ {
+ attribute id { uuid }
+ & get_targets_response_target_tasks_task_name
+ }
+
+get_targets_response_target_tasks_task_name
+ = element name
+ {
+ name
+ }
+</pre></div>
+</div>
+<h4>4.38.1 Example: Get all targets</h4>
+<div style="margin-left: 5%; margin-right: 5%;">
+<i>Client</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <get_targets/>
+</pre></div>
+<i>Manager</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <get_targets_response status="200"
+ status_text="OK">
+ <target id="b493b7a8-7489-11df-a3ec-002264764cea">
+ <name>Localhost</name>
+ <hosts>localhost</hosts>
+ <max_hosts>1</max_hosts>
+ <comment/>
+ <in_use>7</in_use>
+ <lsc_credential id="">
+ <name/>
+ </lsc_credential>
+ </target>
+ ...
+ </get_targets_response>
+</pre></div>
+</div>
+<h4>4.38.1 Example: Get a single target, including tasks using the target</h4>
+<div style="margin-left: 5%; margin-right: 5%;">
+<i>Client</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <get_targets target_id="c33864a9-d3fd-44b3-8717-972bfb01dfcf"
+ tasks="1"/>
+</pre></div>
+<i>Manager</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <get_targets_response status="200"
+ status_text="OK">
+ <target id="1f28d970-17ef-4c69-ba8a-13827059f2b9">
+ <name>dik</name>
+ <hosts>dik.example.org</hosts>
+ <max_hosts>1</max_hosts>
+ <comment>dik mm</comment>
+ <in_use>4</in_use>
+ <lsc_credential id="58ff2793-2dc7-43fe-85f9-20bfac5a87e4">
+ <name>mm</name>
+ </lsc_credential>
+ <tasks>
+ <task id="13bb418a-4220-4575-b35b-ec398bff7417">
+ <name>dik mm</name>
+ </task>
+ ...
+ </tasks>
+ </target>
+ </get_targets_response>
+</pre></div>
+</div>
+</div>
+<div>
+<div><h3 id="command_get_tasks">4.39
+ Command <tt>get_tasks</tt>
+</h3></div>
+<p>In short: Get all tasks.</p>
+<p>
+ The client uses the get_tasks command to get task information.
+ </p>
+<p>
+ As a convenience for clients the response includes a task count and
+ the values of the sort order, sort field and apply overrides flag
+ that the manager applied when selecting the tasks.
+ </p>
+<h4>4.39.1 Structure</h4>
+<ul style="list-style: none">
+<li>
+<i>Command</i><ul style="list-style: none">
+<li>
+ @<b>task_id</b>
+ (<a href="#type_uuid">uuid</a>)
+ ID of single task to get.
+ </li>
+<li>
+ @<b>details</b>
+ (<a href="#type_boolean">boolean</a>)
+ Whether to include full task details.
+ </li>
+<li>
+ @<b>rcfile</b>
+ (<a href="#type_boolean">boolean</a>)
+ Whether to include task RC file (for openvas-client).
+ </li>
+<li>
+ @<b>apply_overrides</b>
+ (<a href="#type_boolean">boolean</a>)
+ Whether to override result threat levels.
+ </li>
+<li>
+ @<b>sort_order</b>
+ (<a href="#type_sort_order">sort_order</a>)
+ </li>
+<li>
+ @<b>sort_field</b>
+ (text)
+ </li>
+</ul>
+</li>
+<li style="margin-top: 15px;">
+<i>Response</i><ul style="list-style: none">
+<li>
+ @<b>status</b>
+ (<a href="#type_status">status</a>)
+ </li>
+<li>
+ @<b>status_text</b>
+ (text)
+ </li>
+<li>
+ <<b>task_count</b>>
+ <ul style="list-style: none"></ul>
+</li>
+<li>
+ <<b>sort</b>>
+ <ul style="list-style: none"><li>
+ <<b>field</b>>
+ *<ul style="list-style: none"><li>
+ <<b>order</b>>
+ <ul style="list-style: none"></ul>
+</li></ul>
+</li></ul>
+</li>
+<li>
+ <<b>apply_overrides</b>>
+ <ul style="list-style: none"></ul>
+</li>
+<li>
+ <<b>task</b>>
+ *<ul style="list-style: none">
+<li>
+ <<b>name</b>>
+ <div style="margin-left: 15px; display: inline;">The name of the task.</div>
+<ul style="list-style: none"></ul>
+</li>
+<li>
+ <<b>comment</b>>
+ <div style="margin-left: 15px; display: inline;">The comment on the task.</div>
+<ul style="list-style: none"></ul>
+</li>
+<li>
+ <<b>status</b>>
+ <div style="margin-left: 15px; display: inline;">The run status of the task.</div>
+<ul style="list-style: none"></ul>
+</li>
+<li>
+ <<b>progress</b>>
+ <div style="margin-left: 15px; display: inline;">The percentage of the task that is complete.</div>
+<ul style="list-style: none"><li>
+ <<b>host_progress</b>>
+ *<div style="margin-left: 15px; display: inline;">Percentage complete for a particular host.</div>
+<ul style="list-style: none"><li>
+ <<b>host</b>>
+ <ul style="list-style: none"></ul>
+</li></ul>
+</li></ul>
+</li>
+<li>
+ <<b>config</b>>
+ <div style="margin-left: 15px; display: inline;">The scan configuration used by the task.</div>
+<ul style="list-style: none">
+<li>
+ @<b>id</b>
+ (<a href="#type_uuid">uuid</a>)
+ </li>
+<li>
+ <<b>name</b>>
+ <div style="margin-left: 15px; display: inline;">The name of the config.</div>
+<ul style="list-style: none"></ul>
+</li>
+</ul>
+</li>
+<li>
+ <<b>target</b>>
+ <div style="margin-left: 15px; display: inline;">The hosts scanned by the task.</div>
+<ul style="list-style: none">
+<li>
+ @<b>id</b>
+ (<a href="#type_uuid">uuid</a>)
+ </li>
+<li>
+ <<b>name</b>>
+ <div style="margin-left: 15px; display: inline;">The name of the target.</div>
+<ul style="list-style: none"></ul>
+</li>
+</ul>
+</li>
+<li>
+ <<b>escalator</b>>
+ <div style="margin-left: 15px; display: inline;">An escalator that applies to the task.</div>
+<ul style="list-style: none">
+<li>
+ @<b>id</b>
+ (<a href="#type_uuid_or_empty">uuid_or_empty</a>)
+ </li>
+<li>
+ <<b>name</b>>
+ <div style="margin-left: 15px; display: inline;">The name of the escalator.</div>
+<ul style="list-style: none"></ul>
+</li>
+</ul>
+</li>
+<li>
+ <<b>schedule</b>>
+ <div style="margin-left: 15px; display: inline;">When the task will run.</div>
+<ul style="list-style: none">
+<li>
+ @<b>id</b>
+ (<a href="#type_uuid_or_empty">uuid_or_empty</a>)
+ </li>
+<li>
+ <<b>name</b>>
+ <div style="margin-left: 15px; display: inline;">The name of the schedule.</div>
+<ul style="list-style: none"></ul>
+</li>
+</ul>
+</li>
+<li>
+ <<b>result_count</b>>
+ <div style="margin-left: 15px; display: inline;">Result count across all scans.</div>
+<ul style="list-style: none">
+<li>
+ <<b>debug</b>>
+ <ul style="list-style: none"></ul>
+</li>
+<li>
+ <<b>log</b>>
+ <ul style="list-style: none"></ul>
+</li>
+<li>
+ <<b>info</b>>
+ <ul style="list-style: none"></ul>
+</li>
+<li>
+ <<b>warning</b>>
+ <ul style="list-style: none"></ul>
+</li>
+<li>
+ <<b>hole</b>>
+ <ul style="list-style: none"></ul>
+</li>
+</ul>
+</li>
+<li>
+ <<b>report_count</b>>
+ <div style="margin-left: 15px; display: inline;">Number of reports.</div>
+<ul style="list-style: none"><li>
+ <<b>finished</b>>
+ <div style="margin-left: 15px; display: inline;">Number of reports where the scan completed.</div>
+<ul style="list-style: none"></ul>
+</li></ul>
+</li>
+<li>
+ <<b>trend</b>>
+ <ul style="list-style: none"></ul>
+</li>
+<li>
+ <<b>first_report</b>>
+ ?<ul style="list-style: none"><li>
+ <<b>report</b>>
+ <ul style="list-style: none">
+<li>
+ @<b>id</b>
+ (<a href="#type_uuid">uuid</a>)
+ </li>
+<li>
+ <<b>timestamp</b>>
+ <ul style="list-style: none"></ul>
+</li>
+<li>
+ <<b>result_count</b>>
+ <div style="margin-left: 15px; display: inline;">Result counts for this report.</div>
+<ul style="list-style: none">
+<li>
+ <<b>debug</b>>
+ <ul style="list-style: none"></ul>
+</li>
+<li>
+ <<b>log</b>>
+ <ul style="list-style: none"></ul>
+</li>
+<li>
+ <<b>info</b>>
+ <ul style="list-style: none"></ul>
+</li>
+<li>
+ <<b>warning</b>>
+ <ul style="list-style: none"></ul>
+</li>
+<li>
+ <<b>hole</b>>
+ <ul style="list-style: none"></ul>
+</li>
+</ul>
+</li>
+</ul>
+</li></ul>
+</li>
+<li>
+ <<b>last_report</b>>
+ ?<ul style="list-style: none"><li>
+ <<b>report</b>>
+ <ul style="list-style: none">
+<li>
+ @<b>id</b>
+ (<a href="#type_uuid">uuid</a>)
+ </li>
+<li>
+ <<b>timestamp</b>>
+ <ul style="list-style: none"></ul>
+</li>
+<li>
+ <<b>result_count</b>>
+ <div style="margin-left: 15px; display: inline;">Result counts for this report.</div>
+<ul style="list-style: none">
+<li>
+ <<b>debug</b>>
+ <ul style="list-style: none"></ul>
+</li>
+<li>
+ <<b>log</b>>
+ <ul style="list-style: none"></ul>
+</li>
+<li>
+ <<b>info</b>>
+ <ul style="list-style: none"></ul>
+</li>
+<li>
+ <<b>warning</b>>
+ <ul style="list-style: none"></ul>
+</li>
+<li>
+ <<b>hole</b>>
+ <ul style="list-style: none"></ul>
+</li>
+</ul>
+</li>
+</ul>
+</li></ul>
+</li>
+<li>
+ <<b>second_last_report</b>>
+ ?<ul style="list-style: none"><li>
+ <<b>report</b>>
+ <ul style="list-style: none">
+<li>
+ @<b>id</b>
+ (<a href="#type_uuid">uuid</a>)
+ </li>
+<li>
+ <<b>timestamp</b>>
+ <ul style="list-style: none"></ul>
+</li>
+<li>
+ <<b>result_count</b>>
+ <div style="margin-left: 15px; display: inline;">Result counts for this report.</div>
+<ul style="list-style: none">
+<li>
+ <<b>debug</b>>
+ <ul style="list-style: none"></ul>
+</li>
+<li>
+ <<b>log</b>>
+ <ul style="list-style: none"></ul>
+</li>
+<li>
+ <<b>info</b>>
+ <ul style="list-style: none"></ul>
+</li>
+<li>
+ <<b>warning</b>>
+ <ul style="list-style: none"></ul>
+</li>
+<li>
+ <<b>hole</b>>
+ <ul style="list-style: none"></ul>
+</li>
+</ul>
+</li>
+</ul>
+</li></ul>
+</li>
+<li>
+ <<b>rcfile</b>>
+ ?<ul style="list-style: none"></ul>
+</li>
+<li>
+ <<b>reports</b>>
+ *<ul style="list-style: none"><li>
+ <<b>report</b>>
+ *<ul style="list-style: none">
+<li>
+ @<b>id</b>
+ (<a href="#type_uuid">uuid</a>)
+ </li>
+<li>
+ <<b>timestamp</b>>
+ <ul style="list-style: none"></ul>
+</li>
+<li>
+ <<b>scan_run_status</b>>
+ <div style="margin-left: 15px; display: inline;">Run status of task scan.</div>
+<ul style="list-style: none"></ul>
+</li>
+<li>
+ <<b>result_count</b>>
+ <div style="margin-left: 15px; display: inline;">Result counts for this report.</div>
+<ul style="list-style: none">
+<li>
+ <<b>debug</b>>
+ <ul style="list-style: none"></ul>
+</li>
+<li>
+ <<b>log</b>>
+ <ul style="list-style: none"></ul>
+</li>
+<li>
+ <<b>info</b>>
+ <ul style="list-style: none"></ul>
+</li>
+<li>
+ <<b>warning</b>>
+ <ul style="list-style: none"></ul>
+</li>
+<li>
+ <<b>hole</b>>
+ <ul style="list-style: none"></ul>
+</li>
+</ul>
+</li>
+</ul>
+</li></ul>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<h4>4.39.2 RNC</h4>
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<i>Command</i><div style="margin-left: 5%"><pre>get_tasks
+ = element get_tasks
+ {
+ attribute task_id { uuid }?
+ & attribute details { boolean }?
+ & attribute rcfile { boolean }?
+ & attribute apply_overrides { boolean }?
+ & attribute sort_order { sort_order }?
+ & attribute sort_field { text }?
+ }
+</pre></div>
+<i>Response</i><div style="margin-left: 5%"><pre>get_tasks_response
+ = element get_tasks_response
+ {
+ attribute status { status }
+ & attribute status_text { text }
+ & get_tasks_response_task_count
+ & get_tasks_response_sort
+ & get_tasks_response_apply_overrides
+ & get_tasks_response_task*
+ }
+
+get_tasks_response_task_count
+ = element task_count
+ {
+ integer
+ }
+
+get_tasks_response_sort
+ = element sort
+ {
+ get_tasks_response_sort_field*
+ }
+
+get_tasks_response_sort_field
+ = element field
+ {
+ text
+ & get_tasks_response_sort_field_order
+ }
+
+get_tasks_response_sort_field_order
+ = element order
+ {
+ xsd:token { pattern = "ascending|descending" }
+ }
+
+get_tasks_response_apply_overrides
+ = element apply_overrides
+ {
+ xsd:token { pattern = "0|1" }
+ }
+
+get_tasks_response_task
+ = element task
+ {
+ get_tasks_response_task_name
+ & get_tasks_response_task_comment
+ & get_tasks_response_task_status
+ & get_tasks_response_task_progress
+ & get_tasks_response_task_config
+ & get_tasks_response_task_target
+ & get_tasks_response_task_escalator
+ & get_tasks_response_task_schedule
+ & get_tasks_response_task_result_count
+ & get_tasks_response_task_report_count
+ & get_tasks_response_task_trend
+ & get_tasks_response_task_first_report?
+ & get_tasks_response_task_last_report?
+ & get_tasks_response_task_second_last_report?
+ & get_tasks_response_task_rcfile?
+ & get_tasks_response_task_reports*
+ }
+
+get_tasks_response_task_name
+ = element name
+ {
+ name
+ }
+
+get_tasks_response_task_comment
+ = element comment
+ {
+ text
+ }
+
+get_tasks_response_task_status
+ = element status
+ {
+ task_status
+ }
+
+get_tasks_response_task_progress
+ = element progress
+ {
+ text # RNC limitation: integer
+ & get_tasks_response_task_progress_host_progress*
+ }
+
+get_tasks_response_task_progress_host_progress
+ = element host_progress
+ {
+ text # RNC limitation: integer
+ & get_tasks_response_task_progress_host_progress_host
+ }
+
+get_tasks_response_task_progress_host_progress_host
+ = element host
+ {
+ text
+ }
+
+get_tasks_response_task_config
+ = element config
+ {
+ attribute id { uuid }
+ & get_tasks_response_task_config_name
+ }
+
+get_tasks_response_task_config_name
+ = element name
+ {
+ name
+ }
+
+get_tasks_response_task_target
+ = element target
+ {
+ attribute id { uuid }
+ & get_tasks_response_task_target_name
+ }
+
+get_tasks_response_task_target_name
+ = element name
+ {
+ name
+ }
+
+get_tasks_response_task_escalator
+ = element escalator
+ {
+ attribute id { uuid_or_empty }
+ & get_tasks_response_task_escalator_name
+ }
+
+get_tasks_response_task_escalator_name
+ = element name
+ {
+ name
+ }
+
+get_tasks_response_task_schedule
+ = element schedule
+ {
+ attribute id { uuid_or_empty }
+ & get_tasks_response_task_schedule_name
+ }
+
+get_tasks_response_task_schedule_name
+ = element name
+ {
+ name
+ }
+
+get_tasks_response_task_result_count
+ = element result_count
+ {
+ get_tasks_response_task_result_count_debug
+ & get_tasks_response_task_result_count_log
+ & get_tasks_response_task_result_count_info
+ & get_tasks_response_task_result_count_warning
+ & get_tasks_response_task_result_count_hole
+ }
+
+get_tasks_response_task_result_count_debug
+ = element debug
+ {
+ integer
+ }
+
+get_tasks_response_task_result_count_log
+ = element log
+ {
+ integer
+ }
+
+get_tasks_response_task_result_count_info
+ = element info
+ {
+ integer
+ }
+
+get_tasks_response_task_result_count_warning
+ = element warning
+ {
+ integer
+ }
+
+get_tasks_response_task_result_count_hole
+ = element hole
+ {
+ integer
+ }
+
+get_tasks_response_task_report_count
+ = element report_count
+ {
+ text # RNC limitation: integer
+ & get_tasks_response_task_report_count_finished
+ }
+
+get_tasks_response_task_report_count_finished
+ = element finished
+ {
+ integer
+ }
+
+get_tasks_response_task_trend
+ = element trend
+ {
+ task_trend
+ }
+
+get_tasks_response_task_first_report
+ = element first_report
+ {
+ get_tasks_response_task_first_report_report
+ }
+
+get_tasks_response_task_first_report_report
+ = element report
+ {
+ attribute id { uuid }
+ & get_tasks_response_task_first_report_report_timestamp
+ & get_tasks_response_task_first_report_report_result_count
+ }
+
+get_tasks_response_task_first_report_report_timestamp
+ = element timestamp
+ {
+ ctime
+ }
+
+get_tasks_response_task_first_report_report_result_count
+ = element result_count
+ {
+ get_tasks_response_task_first_report_report_result_count_debug
+ & get_tasks_response_task_first_report_report_result_count_log
+ & get_tasks_response_task_first_report_report_result_count_info
+ & get_tasks_response_task_first_report_report_result_count_warning
+ & get_tasks_response_task_first_report_report_result_count_hole
+ }
+
+get_tasks_response_task_first_report_report_result_count_debug
+ = element debug
+ {
+ integer
+ }
+
+get_tasks_response_task_first_report_report_result_count_log
+ = element log
+ {
+ integer
+ }
+
+get_tasks_response_task_first_report_report_result_count_info
+ = element info
+ {
+ integer
+ }
+
+get_tasks_response_task_first_report_report_result_count_warning
+ = element warning
+ {
+ integer
+ }
+
+get_tasks_response_task_first_report_report_result_count_hole
+ = element hole
+ {
+ integer
+ }
+
+get_tasks_response_task_last_report
+ = element last_report
+ {
+ get_tasks_response_task_last_report_report
+ }
+
+get_tasks_response_task_last_report_report
+ = element report
+ {
+ attribute id { uuid }
+ & get_tasks_response_task_last_report_report_timestamp
+ & get_tasks_response_task_last_report_report_result_count
+ }
+
+get_tasks_response_task_last_report_report_timestamp
+ = element timestamp
+ {
+ ctime
+ }
+
+get_tasks_response_task_last_report_report_result_count
+ = element result_count
+ {
+ get_tasks_response_task_last_report_report_result_count_debug
+ & get_tasks_response_task_last_report_report_result_count_log
+ & get_tasks_response_task_last_report_report_result_count_info
+ & get_tasks_response_task_last_report_report_result_count_warning
+ & get_tasks_response_task_last_report_report_result_count_hole
+ }
+
+get_tasks_response_task_last_report_report_result_count_debug
+ = element debug
+ {
+ integer
+ }
+
+get_tasks_response_task_last_report_report_result_count_log
+ = element log
+ {
+ integer
+ }
+
+get_tasks_response_task_last_report_report_result_count_info
+ = element info
+ {
+ integer
+ }
+
+get_tasks_response_task_last_report_report_result_count_warning
+ = element warning
+ {
+ integer
+ }
+
+get_tasks_response_task_last_report_report_result_count_hole
+ = element hole
+ {
+ integer
+ }
+
+get_tasks_response_task_second_last_report
+ = element second_last_report
+ {
+ get_tasks_response_task_second_last_report_report
+ }
+
+get_tasks_response_task_second_last_report_report
+ = element report
+ {
+ attribute id { uuid }
+ & get_tasks_response_task_second_last_report_report_timestamp
+ & get_tasks_response_task_second_last_report_report_result_count
+ }
+
+get_tasks_response_task_second_last_report_report_timestamp
+ = element timestamp
+ {
+ ctime
+ }
+
+get_tasks_response_task_second_last_report_report_result_count
+ = element result_count
+ {
+ get_tasks_response_task_second_last_report_report_result_count_debug
+ & get_tasks_response_task_second_last_report_report_result_count_log
+ & get_tasks_response_task_second_last_report_report_result_count_info
+ & get_tasks_response_task_second_last_report_report_result_count_warning
+ & get_tasks_response_task_second_last_report_report_result_count_hole
+ }
+
+get_tasks_response_task_second_last_report_report_result_count_debug
+ = element debug
+ {
+ integer
+ }
+
+get_tasks_response_task_second_last_report_report_result_count_log
+ = element log
+ {
+ integer
+ }
+
+get_tasks_response_task_second_last_report_report_result_count_info
+ = element info
+ {
+ integer
+ }
+
+get_tasks_response_task_second_last_report_report_result_count_warning
+ = element warning
+ {
+ integer
+ }
+
+get_tasks_response_task_second_last_report_report_result_count_hole
+ = element hole
+ {
+ integer
+ }
+
+get_tasks_response_task_rcfile
+ = element rcfile
+ {
+ base64
+ }
+
+get_tasks_response_task_reports
+ = element reports
+ {
+ get_tasks_response_task_reports_report*
+ }
+
+get_tasks_response_task_reports_report
+ = element report
+ {
+ attribute id { uuid }
+ & get_tasks_response_task_reports_report_timestamp
+ & get_tasks_response_task_reports_report_scan_run_status
+ & get_tasks_response_task_reports_report_result_count
+ }
+
+get_tasks_response_task_reports_report_timestamp
+ = element timestamp
+ {
+ ctime
+ }
+
+get_tasks_response_task_reports_report_scan_run_status
+ = element scan_run_status
+ {
+ task_status
+ }
+
+get_tasks_response_task_reports_report_result_count
+ = element result_count
+ {
+ get_tasks_response_task_reports_report_result_count_debug
+ & get_tasks_response_task_reports_report_result_count_log
+ & get_tasks_response_task_reports_report_result_count_info
+ & get_tasks_response_task_reports_report_result_count_warning
+ & get_tasks_response_task_reports_report_result_count_hole
+ }
+
+get_tasks_response_task_reports_report_result_count_debug
+ = element debug
+ {
+ integer
+ }
+
+get_tasks_response_task_reports_report_result_count_log
+ = element log
+ {
+ integer
+ }
+
+get_tasks_response_task_reports_report_result_count_info
+ = element info
+ {
+ integer
+ }
+
+get_tasks_response_task_reports_report_result_count_warning
+ = element warning
+ {
+ integer
+ }
+
+get_tasks_response_task_reports_report_result_count_hole
+ = element hole
+ {
+ integer
+ }
+</pre></div>
+</div>
+<h4>4.39.1 Example: Get all tasks</h4>
+<div style="margin-left: 5%; margin-right: 5%;">
+<i>Client</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <get_tasks/>
+</pre></div>
+<i>Manager</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <get_tasks_response status="200"
+ status_text="OK">
+ <task_count>2</task_count>
+ <sort>
+ <field>
+ ROWID
+ <order>ascending</order>
+ </field>
+ </sort>
+ <apply_overrides>0</apply_overrides>
+ <task id="254cd3ef-bbe1-4d58-859d-21b8d0c046c6">
+ <name>Scan Webserver</name>
+ <comment>Scan of the web server.</comment>
+ <status>Done</status>
+ <progress>-1</progress>
+ <config id="daba56c8-73ec-11df-a475-002264764cea">
+ <name>Full and fast</name>
+ </config>
+ <escalator id="">
+ <name/>
+ </escalator>
+ <target id="1f28d970-17ef-4c69-ba8a-13827059f2b9">
+ <name>dik</name>
+ </target>
+ <schedule id="">
+ <name/>
+ <next_time>over</next_time>
+ </schedule>
+ <result_count>
+ <debug>0</debug>
+ <log>0</log>
+ <info>14</info>
+ <warning>0</warning>
+ <hole>6</hole>
+ </result_count>
+ <report_count>
+ 2
+ <finished>2</finished>
+ </report_count>
+ <trend/>
+ <first_report>
+ <report id="f0fdf522-276d-4893-9274-fb8699dc2270">
+ <timestamp>Mon Feb 1 19:11:20 2010</timestamp>
+ <result_count>
+ <debug>0</debug>
+ <hole>0</hole>
+ <info>7</info>
+ <log>0</log>
+ <warning>3</warning>
+ </result_count>
+ </report>
+ </first_report>
+ <last_report>
+ <report id="f0fdf522-276d-4893-9274-fb8699dc2270">
+ <timestamp>Mon Feb 1 19:11:20 2010</timestamp>
+ <result_count>
+ <debug>0</debug>
+ <hole>0</hole>
+ <info>7</info>
+ <log>0</log>
+ <warning>3</warning>
+ </result_count>
+ </report>
+ </last_report>
+ <second_last_report>
+ <report id="f0fdf522-276d-4893-9274-fb8699dc2270">
+ <timestamp>Mon Feb 1 19:11:20 2010</timestamp>
+ <result_count>
+ <debug>0</debug>
+ <hole>0</hole>
+ <info>7</info>
+ <log>0</log>
+ <warning>3</warning>
+ </result_count>
+ </report>
+ </second_last_report>
+ </task>
+ <task id="f14747d3-a4d7-4e79-99bb-a0a1276cb78c">
+ <name>Scan Mailserver</name>
+ ...
+ </task>
+ </get_tasks_response>
+</pre></div>
+</div>
+<h4>4.39.1 Example: Get a single task, including all reports</h4>
+<div style="margin-left: 5%; margin-right: 5%;">
+<i>Client</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <get_tasks task_id="f14747d3-a4d7-4e79-99bb-a0a1276cb78c"
+ details="1"/>
+</pre></div>
+<i>Manager</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <get_tasks_response status="200"
+ status_text="OK">
+ <task_count>1</task_count>
+ <sort>
+ <field>
+ ROWID
+ <order>ascending</order>
+ </field>
+ </sort>
+ <apply_overrides>0</apply_overrides>
+ <task id="13bb418a-4220-4575-b35b-ec398bff7417">
+ <name>Scan Mailserver</name>
+ <comment>Scan of the web server.</comment>
+ <status>Done</status>
+ <progress>-1</progress>
+ <config id="daba56c8-73ec-11df-a475-002264764cea">
+ <name>Full and fast</name>
+ </config>
+ <escalator id="">
+ <name/>
+ </escalator>
+ <target id="1f28d970-17ef-4c69-ba8a-13827059f2b9">
+ <name>dik</name>
+ </target>
+ <schedule id="">
+ <name/>
+ <next_time>over</next_time>
+ </schedule>
+ <result_count>
+ <debug>0</debug>
+ <log>0</log>
+ <info>14</info>
+ <warning>0</warning>
+ <hole>6</hole>
+ </result_count>
+ <report_count>
+ 2
+ <finished>2</finished>
+ </report_count>
+ <trend/>
+ <first_report>
+ <report id="f0fdf522-276d-4893-9274-fb8699dc2270">
+ <timestamp>Mon Feb 1 19:11:20 2010</timestamp>
+ <result_count>
+ <debug>0</debug>
+ <hole>0</hole>
+ <info>7</info>
+ <log>0</log>
+ <warning>3</warning>
+ </result_count>
+ </report>
+ </first_report>
+ <last_report>
+ <report id="2688e6c7-db29-4505-80f1-0fd4a09e1011">
+ <timestamp>Mon Feb 1 19:11:20 2010</timestamp>
+ <result_count>
+ <debug>0</debug>
+ <hole>0</hole>
+ <info>7</info>
+ <log>0</log>
+ <warning>3</warning>
+ </result_count>
+ </report>
+ </last_report>
+ <second_last_report>
+ <report id="f0fdf522-276d-4893-9274-fb8699dc2270">
+ <timestamp>Mon Feb 1 19:11:20 2010</timestamp>
+ <result_count>
+ <debug>0</debug>
+ <hole>0</hole>
+ <info>7</info>
+ <log>0</log>
+ <warning>3</warning>
+ </result_count>
+ </report>
+ </second_last_report>
+ <reports>
+ <report id="f0fdf522-276d-4893-9274-fb8699dc2270">
+ <timestamp>Mon Feb 1 18:51:38 2010</timestamp>
+ <scan_run_status>Done</scan_run_status>
+ <result_count>
+ <debug>0</debug>
+ <hole>0</hole>
+ <info>7</info>
+ <log>0</log>
+ <warning>3</warning>
+ </result_count>
+ </report>
+ <report id="2688e6c7-db29-4505-80f1-0fd4a09e1011">
+ <timestamp>Mon Feb 1 19:11:20 2010</timestamp>
+ <scan_run_status>Done</scan_run_status>
+ <result_count>
+ <debug>0</debug>
+ <hole>0</hole>
+ <info>7</info>
+ <log>0</log>
+ <warning>3</warning>
+ </result_count>
+ </report>
+ </reports>
+ </task>
+ </get_tasks_response>
+</pre></div>
+</div>
+</div>
+<div>
+<div><h3 id="command_get_version">4.40
Command <tt>get_version</tt>
</h3></div>
<p>In short: Get the OpenVAS Manager Protocol version.</p>
-<h4>4.37.1 Structure</h4>
+<h4>4.40.1 Structure</h4>
<ul style="list-style: none">
<li>
<i>Command</i><ul style="list-style: none"><i>Empty single element.</i></ul>
@@ -7699,8 +8817,8 @@
</ul>
</li>
</ul>
-<h4>4.37.2 RNC</h4>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<h4>4.40.2 RNC</h4>
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
<i>Command</i><div style="margin-left: 5%"><pre>get_version
= element get_version
{
@@ -7710,8 +8828,7 @@
<i>Response</i><div style="margin-left: 5%"><pre>get_version_response
= element get_version_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& get_version_response_version
}
@@ -7720,27 +8837,26 @@
= element version
{
text
-
}
</pre></div>
</div>
-<h4>4.37.1 Example: Get the version</h4>
+<h4>4.40.1 Example: Get the version</h4>
<div style="margin-left: 5%; margin-right: 5%;">
<i>Client</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <get_version/>
</pre></div>
<i>Manager</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <get_version_response status="200"
status_text="OK">
- <version>1.01.0</version>
+ <version>1.0</version>
</get_version_response>
</pre></div>
</div>
</div>
<div>
-<div><h3 id="command_help">4.38
+<div><h3 id="command_help">4.41
Command <tt>help</tt>
</h3></div>
<p>In short: Get the help text.</p>
-<h4>4.38.1 Structure</h4>
+<h4>4.41.1 Structure</h4>
<ul style="list-style: none">
<li>
<i>Command</i><ul style="list-style: none"><i>Empty single element.</i></ul>
@@ -7758,8 +8874,8 @@
</ul>
</li>
</ul>
-<h4>4.38.2 RNC</h4>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<h4>4.41.2 RNC</h4>
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
<i>Command</i><div style="margin-left: 5%"><pre>help
= element help
{
@@ -7769,15 +8885,14 @@
<i>Response</i><div style="margin-left: 5%"><pre>help_response
= element help_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
}
</pre></div>
</div>
</div>
<div>
-<div><h3 id="command_modify_config">4.39
+<div><h3 id="command_modify_config">4.42
Command <tt>modify_config</tt>
</h3></div>
<p>In short: Update an existing config.</p>
@@ -7828,7 +8943,7 @@
apply the changes to the config and will reply with a response code indicating
success.
</p>
-<h4>4.39.1 Structure</h4>
+<h4>4.42.1 Structure</h4>
<ul style="list-style: none">
<li>
<i>Command</i><ul style="list-style: none">
@@ -7925,13 +9040,12 @@
</ul>
</li>
</ul>
-<h4>4.39.2 RNC</h4>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<h4>4.42.2 RNC</h4>
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
<i>Command</i><div style="margin-left: 5%"><pre>modify_config
= element modify_config
{
- ""
- & attribute config_id { uuid }
+ attribute config_id { uuid }
& ( modify_config_preference
| modify_config_family_selection
| modify_config_nvt_selection )
@@ -7940,8 +9054,7 @@
modify_config_preference
= element preference
{
- ""
- & modify_config_preference_name
+ modify_config_preference_name
& modify_config_preference_nvt?
& modify_config_preference_value?
}
@@ -7955,8 +9068,7 @@
modify_config_preference_nvt
= element nvt
{
- ""
- & attribute oid { oid }
+ attribute oid { oid }
}
modify_config_preference_value
@@ -7968,8 +9080,7 @@
modify_config_family_selection
= element family_selection
{
- ""
- & modify_config_family_selection_growing?
+ modify_config_family_selection_growing?
& modify_config_family_selection_family*
}
@@ -7982,8 +9093,7 @@
modify_config_family_selection_family
= element family
{
- ""
- & modify_config_family_selection_family_all?
+ modify_config_family_selection_family_all?
& modify_config_family_selection_family_growing?
& modify_config_family_selection_family_name
}
@@ -8009,8 +9119,7 @@
modify_config_nvt_selection
= element nvt_selection
{
- ""
- & modify_config_nvt_selection_family
+ modify_config_nvt_selection_family
& modify_config_nvt_selection_nvt*
}
@@ -8023,26 +9132,24 @@
modify_config_nvt_selection_nvt
= element nvt
{
- ""
- & attribute oid { oid }
+ attribute oid { oid }
}
</pre></div>
<i>Response</i><div style="margin-left: 5%"><pre>modify_config_response
= element modify_config_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
}
</pre></div>
</div>
-<h4>4.39.1 Example: Modify a config preference</h4>
+<h4>4.42.1 Example: Modify a config preference</h4>
<div style="margin-left: 5%; margin-right: 5%;">
<i>Client</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <modify_config config_id="254cd3ef-bbe1-4d58-859d-21b8d0c046c6">
<preference>
<nvt oid="1.3.6.1.4.1.25623.1.0.14259"/>
- <name>Nmap (NASL wrapper)[checkbox]:UDP port scanNmap (NASL wrapper)[checkbox]:UDP port scan</name>
- <value>eWVzeWVz</value>
+ <name>Nmap (NASL wrapper)[checkbox]:UDP port scan</name>
+ <value>eWVz</value>
</preference>
</modify_config>
</pre></div>
@@ -8050,7 +9157,7 @@
status_text="OK"/>
</pre></div>
</div>
-<h4>4.39.1 Example: Modify the families that a config selects</h4>
+<h4>4.42.1 Example: Modify the families that a config selects</h4>
<p>
The outer "growing" element sets the config to add any new families
that arrive.
@@ -8064,11 +9171,11 @@
<div style="margin-left: 5%; margin-right: 5%;">
<i>Client</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <modify_config config_id="254cd3ef-bbe1-4d58-859d-21b8d0c046c6">
<family_selection>
- <growing>11</growing>
+ <growing>1</growing>
<family>
- <name>Debian Local Security ChecksDebian Local Security Checks</name>
- <all>11</all>
- <growing>11</growing>
+ <name>Debian Local Security Checks</name>
+ <all>1</all>
+ <growing>1</growing>
</family>
</family_selection>
</modify_config>
@@ -8077,11 +9184,11 @@
status_text="OK"/>
</pre></div>
</div>
-<h4>4.39.1 Example: Modify the NVTs that a config selects in a particular family</h4>
+<h4>4.42.1 Example: Modify the NVTs that a config selects in a particular family</h4>
<div style="margin-left: 5%; margin-right: 5%;">
<i>Client</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <modify_config config_id="254cd3ef-bbe1-4d58-859d-21b8d0c046c6">
<nvt_selection>
- <family>Debian Local Security ChecksDebian Local Security Checks</family>
+ <family>Debian Local Security Checks</family>
<nvt oid="1.3.6.1.4.1.25623.1.0.53797"/>
<nvt oid="1.3.6.1.4.1.25623.1.0.63272"/>
<nvt oid="1.3.6.1.4.1.25623.1.0.55615"/>
@@ -8095,7 +9202,7 @@
</div>
</div>
<div>
-<div><h3 id="command_modify_note">4.40
+<div><h3 id="command_modify_note">4.43
Command <tt>modify_note</tt>
</h3></div>
<p>In short: Modify an existing note.</p>
@@ -8106,7 +9213,7 @@
If an optional element is left out, the existing value will be
cleared, generalising that constraint.
</p>
-<h4>4.40.1 Structure</h4>
+<h4>4.43.1 Structure</h4>
<ul style="list-style: none">
<li>
<i>Command</i><ul style="list-style: none">
@@ -8166,13 +9273,12 @@
</ul>
</li>
</ul>
-<h4>4.40.2 RNC</h4>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<h4>4.43.2 RNC</h4>
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
<i>Command</i><div style="margin-left: 5%"><pre>modify_note
= element modify_note
{
- ""
- & attribute note_id { uuid }
+ attribute note_id { uuid }
& modify_note_hosts?
& modify_note_port?
& modify_note_result?
@@ -8185,21 +9291,18 @@
= element hosts
{
text
-
}
modify_note_port
= element port
{
text
-
}
modify_note_text
= element text
{
text
-
}
modify_note_threat
@@ -8211,30 +9314,27 @@
modify_note_task
= element task
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
}
modify_note_result
= element result
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
}
</pre></div>
<i>Response</i><div style="margin-left: 5%"><pre>modify_note_response
= element modify_note_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
}
</pre></div>
</div>
-<h4>4.40.1 Example: Modify the text and result of a note</h4>
+<h4>4.43.1 Example: Modify the text and result of a note</h4>
<div style="margin-left: 5%; margin-right: 5%;">
<i>Client</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <modify_note note_id="254cd3ef-bbe1-4d58-859d-21b8d0c046c6">
- <text>This issue should be resolved after the upgrade.This issue should be resolved after the upgrade.</text>
+ <text>This issue should be resolved after the upgrade.</text>
<result result_id="254cd3ef-bbe1-4d58-859d-21b8d0c046c"/>
</modify_note>
</pre></div>
@@ -8244,7 +9344,7 @@
</div>
</div>
<div>
-<div><h3 id="command_modify_override">4.41
+<div><h3 id="command_modify_override">4.44
Command <tt>modify_override</tt>
</h3></div>
<p>In short: Modify an existing override.</p>
@@ -8256,7 +9356,7 @@
If an optional element is left out, the existing value will be
cleared, generalising that constraint.
</p>
-<h4>4.41.1 Structure</h4>
+<h4>4.44.1 Structure</h4>
<ul style="list-style: none">
<li>
<i>Command</i><ul style="list-style: none">
@@ -8321,13 +9421,12 @@
</ul>
</li>
</ul>
-<h4>4.41.2 RNC</h4>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<h4>4.44.2 RNC</h4>
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
<i>Command</i><div style="margin-left: 5%"><pre>modify_override
= element modify_override
{
- ""
- & attribute override_id { uuid }
+ attribute override_id { uuid }
& modify_override_hosts?
& modify_override_new_threat?
& modify_override_port?
@@ -8341,7 +9440,6 @@
= element hosts
{
text
-
}
modify_override_new_threat
@@ -8354,14 +9452,12 @@
= element port
{
text
-
}
modify_override_text
= element text
{
text
-
}
modify_override_threat
@@ -8373,31 +9469,28 @@
modify_override_task
= element task
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
}
modify_override_result
= element result
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
}
</pre></div>
<i>Response</i><div style="margin-left: 5%"><pre>modify_override_response
= element modify_override_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
}
</pre></div>
</div>
-<h4>4.41.1 Example: Set the override threat to Low</h4>
+<h4>4.44.1 Example: Set the override threat to Low</h4>
<div style="margin-left: 5%; margin-right: 5%;">
<i>Client</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <modify_override override_id="254cd3ef-bbe1-4d58-859d-21b8d0c046c6">
- <text>This issue is less important in our setup.This issue is less important in our setup.</text>
- <new_threat>LowLow</new_threat>
+ <text>This issue is less important in our setup.</text>
+ <new_threat>Low</new_threat>
</modify_override>
</pre></div>
<i>Manager</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <modify_override_response status="200"
@@ -8406,7 +9499,7 @@
</div>
</div>
<div>
-<div><h3 id="command_modify_report">4.42
+<div><h3 id="command_modify_report">4.45
Command <tt>modify_report</tt>
</h3></div>
<p>In short: Modify an existing report.</p>
@@ -8414,7 +9507,7 @@
The client uses the modify_report command to change an existing
report.
</p>
-<h4>4.42.1 Structure</h4>
+<h4>4.45.1 Structure</h4>
<ul style="list-style: none">
<li>
<i>Command</i><ul style="list-style: none">
@@ -8443,13 +9536,12 @@
</ul>
</li>
</ul>
-<h4>4.42.2 RNC</h4>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<h4>4.45.2 RNC</h4>
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
<i>Command</i><div style="margin-left: 5%"><pre>modify_report
= element modify_report
{
- ""
- & attribute report_id { uuid }
+ attribute report_id { uuid }
& modify_report_comment
}
@@ -8457,22 +9549,20 @@
= element comment
{
text
-
}
</pre></div>
<i>Response</i><div style="margin-left: 5%"><pre>modify_report_response
= element modify_report_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
}
</pre></div>
</div>
-<h4>4.42.1 Example: Modify a report comment</h4>
+<h4>4.45.1 Example: Modify a report comment</h4>
<div style="margin-left: 5%; margin-right: 5%;">
<i>Client</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <modify_report report_id="254cd3ef-bbe1-4d58-859d-21b8d0c046c6">
- <comment>Monthly scan of the webserver.Monthly scan of the webserver.</comment>
+ <comment>Monthly scan of the webserver.</comment>
</modify_report>
</pre></div>
<i>Manager</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <modify_report_response status="200"
@@ -8481,7 +9571,7 @@
</div>
</div>
<div>
-<div><h3 id="command_modify_task">4.43
+<div><h3 id="command_modify_task">4.46
Command <tt>modify_task</tt>
</h3></div>
<p>In short: Modify an existing task.</p>
@@ -8489,7 +9579,7 @@
The client uses the modify_task command to change an existing
task.
</p>
-<h4>4.43.1 Structure</h4>
+<h4>4.46.1 Structure</h4>
<ul style="list-style: none">
<li>
<i>Command</i><ul style="list-style: none">
@@ -8562,13 +9652,12 @@
</ul>
</li>
</ul>
-<h4>4.43.2 RNC</h4>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<h4>4.46.2 RNC</h4>
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
<i>Command</i><div style="margin-left: 5%"><pre>modify_task
= element modify_task
{
- ""
- & attribute task_id { uuid }
+ attribute task_id { uuid }
& ( modify_task_comment
| modify_task_escalator
| modify_task_name
@@ -8581,14 +9670,12 @@
= element comment
{
text
-
}
modify_task_escalator
= element escalator
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
}
modify_task_name
@@ -8606,14 +9693,13 @@
modify_task_schedule
= element schedule
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
}
modify_task_file
= element file
{
- base64
+ text # RNC limitation: base64
& attribute name { text }
& attribute action { xsd:token { pattern = "update|remove" } }
}
@@ -8621,16 +9707,15 @@
<i>Response</i><div style="margin-left: 5%"><pre>modify_task_response
= element modify_task_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
}
</pre></div>
</div>
-<h4>4.43.1 Example: Modify a task comment</h4>
+<h4>4.46.1 Example: Modify a task comment</h4>
<div style="margin-left: 5%; margin-right: 5%;">
<i>Client</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <modify_task task_id="254cd3ef-bbe1-4d58-859d-21b8d0c046c6">
- <comment>Monthly scan of the webserver.Monthly scan of the webserver.</comment>
+ <comment>Monthly scan of the webserver.</comment>
</modify_task>
</pre></div>
<i>Manager</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <modify_task_response status="200"
@@ -8639,14 +9724,14 @@
</div>
</div>
<div>
-<div><h3 id="command_pause_task">4.44
+<div><h3 id="command_pause_task">4.47
Command <tt>pause_task</tt>
</h3></div>
<p>In short: Pause a running task.</p>
<p>
The client uses the pause_task command to manually pause a running task.
</p>
-<h4>4.44.1 Structure</h4>
+<h4>4.47.1 Structure</h4>
<ul style="list-style: none">
<li>
<i>Command</i><ul style="list-style: none"><li>
@@ -8667,25 +9752,23 @@
</ul>
</li>
</ul>
-<h4>4.44.2 RNC</h4>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<h4>4.47.2 RNC</h4>
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
<i>Command</i><div style="margin-left: 5%"><pre>pause_task
= element pause_task
{
- ""
- & attribute task_id { uuid }
+ attribute task_id { uuid }
}
</pre></div>
<i>Response</i><div style="margin-left: 5%"><pre>pause_task_response
= element pause_task_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
}
</pre></div>
</div>
-<h4>4.44.1 Example: Pause a running task</h4>
+<h4>4.47.1 Example: Pause a running task</h4>
<div style="margin-left: 5%; margin-right: 5%;">
<i>Client</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <pause_task task_id="267a3405-e84a-47da-97b2-5fa0d2e8995e"/>
</pre></div>
@@ -8695,7 +9778,7 @@
</div>
</div>
<div>
-<div><h3 id="command_resume_or_start_task">4.45
+<div><h3 id="command_resume_or_start_task">4.48
Command <tt>resume_or_start_task</tt>
</h3></div>
<p>In short: Resume task if stopped, else start task.</p>
@@ -8704,7 +9787,7 @@
an existing task, ensuring that the task will resume from its
previous position if the task is in the Stopped state.
</p>
-<h4>4.45.1 Structure</h4>
+<h4>4.48.1 Structure</h4>
<ul style="list-style: none">
<li>
<i>Command</i><ul style="list-style: none"><li>
@@ -8725,25 +9808,23 @@
</ul>
</li>
</ul>
-<h4>4.45.2 RNC</h4>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<h4>4.48.2 RNC</h4>
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
<i>Command</i><div style="margin-left: 5%"><pre>resume_or_start_task
= element resume_or_start_task
{
- ""
- & attribute task_id { uuid }
+ attribute task_id { uuid }
}
</pre></div>
<i>Response</i><div style="margin-left: 5%"><pre>resume_or_start_task_response
= element resume_or_start_task_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
}
</pre></div>
</div>
-<h4>4.45.1 Example: Resume a running task</h4>
+<h4>4.48.1 Example: Resume a running task</h4>
<div style="margin-left: 5%; margin-right: 5%;">
<i>Client</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <resume_or_start_task task_id="267a3405-e84a-47da-97b2-5fa0d2e8995e"/>
</pre></div>
@@ -8753,7 +9834,7 @@
</div>
</div>
<div>
-<div><h3 id="command_resume_paused_task">4.46
+<div><h3 id="command_resume_paused_task">4.49
Command <tt>resume_paused_task</tt>
</h3></div>
<p>In short: Resume a paused task.</p>
@@ -8761,7 +9842,7 @@
The client uses the resume_paused_task command to manually resume a
paused task.
</p>
-<h4>4.46.1 Structure</h4>
+<h4>4.49.1 Structure</h4>
<ul style="list-style: none">
<li>
<i>Command</i><ul style="list-style: none"><li>
@@ -8782,25 +9863,23 @@
</ul>
</li>
</ul>
-<h4>4.46.2 RNC</h4>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<h4>4.49.2 RNC</h4>
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
<i>Command</i><div style="margin-left: 5%"><pre>resume_paused_task
= element resume_paused_task
{
- ""
- & attribute task_id { uuid }
+ attribute task_id { uuid }
}
</pre></div>
<i>Response</i><div style="margin-left: 5%"><pre>resume_paused_task_response
= element resume_paused_task_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
}
</pre></div>
</div>
-<h4>4.46.1 Example: Resume a paused task</h4>
+<h4>4.49.1 Example: Resume a paused task</h4>
<div style="margin-left: 5%; margin-right: 5%;">
<i>Client</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <resume_paused_task task_id="267a3405-e84a-47da-97b2-5fa0d2e8995e"/>
</pre></div>
@@ -8810,7 +9889,7 @@
</div>
</div>
<div>
-<div><h3 id="command_resume_stopped_task">4.47
+<div><h3 id="command_resume_stopped_task">4.50
Command <tt>resume_stopped_task</tt>
</h3></div>
<p>In short: Resume a stopped task.</p>
@@ -8818,7 +9897,7 @@
The client uses the resume_stopped_task command to manually resume a
stopped task.
</p>
-<h4>4.47.1 Structure</h4>
+<h4>4.50.1 Structure</h4>
<ul style="list-style: none">
<li>
<i>Command</i><ul style="list-style: none"><li>
@@ -8839,25 +9918,23 @@
</ul>
</li>
</ul>
-<h4>4.47.2 RNC</h4>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<h4>4.50.2 RNC</h4>
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
<i>Command</i><div style="margin-left: 5%"><pre>resume_stopped_task
= element resume_stopped_task
{
- ""
- & attribute task_id { uuid }
+ attribute task_id { uuid }
}
</pre></div>
<i>Response</i><div style="margin-left: 5%"><pre>resume_stopped_task_response
= element resume_stopped_task_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
}
</pre></div>
</div>
-<h4>4.47.1 Example: Resume a stopped task</h4>
+<h4>4.50.1 Example: Resume a stopped task</h4>
<div style="margin-left: 5%; margin-right: 5%;">
<i>Client</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <resume_stopped_task task_id="267a3405-e84a-47da-97b2-5fa0d2e8995e"/>
</pre></div>
@@ -8867,7 +9944,7 @@
</div>
</div>
<div>
-<div><h3 id="command_start_task">4.48
+<div><h3 id="command_start_task">4.51
Command <tt>start_task</tt>
</h3></div>
<p>In short: Manually start an existing task.</p>
@@ -8875,7 +9952,7 @@
The client uses the start_task command to manually start an
existing task.
</p>
-<h4>4.48.1 Structure</h4>
+<h4>4.51.1 Structure</h4>
<ul style="list-style: none">
<li>
<i>Command</i><ul style="list-style: none"><li>
@@ -8896,25 +9973,23 @@
</ul>
</li>
</ul>
-<h4>4.48.2 RNC</h4>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<h4>4.51.2 RNC</h4>
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
<i>Command</i><div style="margin-left: 5%"><pre>start_task
= element start_task
{
- ""
- & attribute task_id { uuid }
+ attribute task_id { uuid }
}
</pre></div>
<i>Response</i><div style="margin-left: 5%"><pre>start_task_response
= element start_task_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
}
</pre></div>
</div>
-<h4>4.48.1 Example: Start a task</h4>
+<h4>4.51.1 Example: Start a task</h4>
<div style="margin-left: 5%; margin-right: 5%;">
<i>Client</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <start_task task_id="267a3405-e84a-47da-97b2-5fa0d2e8995e"/>
</pre></div>
@@ -8924,7 +9999,7 @@
</div>
</div>
<div>
-<div><h3 id="command_stop_task">4.49
+<div><h3 id="command_stop_task">4.52
Command <tt>stop_task</tt>
</h3></div>
<p>In short: Stop a running task.</p>
@@ -8932,7 +10007,7 @@
The client uses the stop_task command to manually stop a
running task.
</p>
-<h4>4.49.1 Structure</h4>
+<h4>4.52.1 Structure</h4>
<ul style="list-style: none">
<li>
<i>Command</i><ul style="list-style: none"><li>
@@ -8953,25 +10028,23 @@
</ul>
</li>
</ul>
-<h4>4.49.2 RNC</h4>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<h4>4.52.2 RNC</h4>
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
<i>Command</i><div style="margin-left: 5%"><pre>stop_task
= element stop_task
{
- ""
- & attribute task_id { uuid }
+ attribute task_id { uuid }
}
</pre></div>
<i>Response</i><div style="margin-left: 5%"><pre>stop_task_response
= element stop_task_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
}
</pre></div>
</div>
-<h4>4.49.1 Example: Stop a running task</h4>
+<h4>4.52.1 Example: Stop a running task</h4>
<div style="margin-left: 5%; margin-right: 5%;">
<i>Client</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <stop_task task_id="267a3405-e84a-47da-97b2-5fa0d2e8995e"/>
</pre></div>
@@ -8981,7 +10054,7 @@
</div>
</div>
<div>
-<div><h3 id="command_test_escalator">4.50
+<div><h3 id="command_test_escalator">4.53
Command <tt>test_escalator</tt>
</h3></div>
<p>In short: Run an escalator.</p>
@@ -8989,7 +10062,7 @@
The client uses the test_escalator command to invoke a test run of
an escalator.
</p>
-<h4>4.50.1 Structure</h4>
+<h4>4.53.1 Structure</h4>
<ul style="list-style: none">
<li>
<i>Command</i><ul style="list-style: none"><li>
@@ -9010,25 +10083,23 @@
</ul>
</li>
</ul>
-<h4>4.50.2 RNC</h4>
-<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
+<h4>4.53.2 RNC</h4>
+<div style="border: 1px solid; padding:10px; width: 85%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
<i>Command</i><div style="margin-left: 5%"><pre>test_escalator
= element test_escalator
{
- ""
- & attribute task_id { uuid }
+ attribute task_id { uuid }
}
</pre></div>
<i>Response</i><div style="margin-left: 5%"><pre>test_escalator_response
= element test_escalator_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
}
</pre></div>
</div>
-<h4>4.50.1 Example: Test an escalator</h4>
+<h4>4.53.1 Example: Test an escalator</h4>
<div style="margin-left: 5%; margin-right: 5%;">
<i>Client</i><div style="margin-left: 2%; margin-right: 2%;"><pre> <test_escalator escalator_id="97390ade-e075-11df-9973-002264764cea"/>
</pre></div>
Modified: trunk/openvas-manager/doc/omp.rnc
===================================================================
--- trunk/openvas-manager/doc/omp.rnc 2010-11-09 14:57:29 UTC (rev 9370)
+++ trunk/openvas-manager/doc/omp.rnc 2010-11-09 17:01:53 UTC (rev 9371)
@@ -45,6 +45,9 @@
| get_results
| get_schedules
| get_system_reports
+ | get_target_locators
+ | get_targets
+ | get_tasks
| get_version
| help
| modify_config
@@ -97,6 +100,9 @@
| get_results_response
| get_schedules_response
| get_system_reports_response
+ | get_target_locators_response
+ | get_targets_response
+ | get_tasks_response
| get_version_response
| help_response
| modify_config_response
@@ -116,9 +122,9 @@
# Base64 encoded data.
base64 = xsd:base64Binary
-# A true of false value.
+# A true or false value.
boolean = text
-# A true of false value, after conversion to an integer.
+# A true or false value, after conversion to an integer.
boolean_atoi = text
# A date and time, in the C `ctime' format.
ctime = text
@@ -135,15 +141,17 @@
# The success or failure status of a command.
status = xsd:token { pattern = "200|201|202|400|401|403|404|409|500|503" }
# A task run status.
-task_status =
- xsd:token { pattern = "Delete Requested|Done|New|Pause Requested|Paused|Requested|Resume Requested|Running|Stop Requested|Stopped|Internal Error" }
-
+task_status = xsd:token { pattern = "Delete Requested|Done|New|Pause Requested|Paused|Requested|Resume Requested|Running|Stop Requested|Stopped|Internal Error" }
+# The trend of results for a task.
+task_trend = xsd:token { pattern = "up|down|more|less|same" }
# A threat level.
threat = xsd:token { pattern = "High|Medium|Low|Log|Debug" }
# A unit of time.
time_unit = xsd:token { pattern = "second|minute|hour|day|week|month|year|decade" }
# A Universally Unique Identifier (UUID).
uuid = xsd:token { pattern = "[0-9abcdefABCDEF\-]{1,40}" }
+# A Universally Unique Identifier (UUID), or the empty string.
+uuid_or_empty = xsd:token { pattern = "[0-9abcdefABCDEF\-]{0,40}" }
### Commands
@@ -154,15 +162,13 @@
authenticate
= element authenticate
{
- ""
- & authenticate_credentials
+ authenticate_credentials
}
authenticate_credentials
= element credentials
{
- ""
- & authenticate_credentials_username
+ authenticate_credentials_username
& authenticate_credentials_password
}
@@ -187,8 +193,7 @@
commands
= element commands
{
- ""
- & command*
+ command*
}
## Command create_agent
@@ -198,8 +203,7 @@
create_agent
= element create_agent
{
- ""
- & create_agent_installer
+ create_agent_installer
& create_agent_name
& create_agent_comment?
& create_agent_howto_install?
@@ -210,7 +214,7 @@
create_agent_installer
= element installer
{
- base64
+ text # RNC limitation: base64
& create_agent_installer_signature
}
@@ -256,8 +260,7 @@
create_config
= element create_config
{
- ""
- & create_config_comment?
+ create_config_comment?
& ( create_config_copy
| get_configs_response
| create_config_rcfile )
@@ -278,7 +281,7 @@
uuid
}
-# A openvasrc style file that defines the config.
+# An openvasrc style file that defines the config.
create_config_rcfile
= element rcfile
{
@@ -299,8 +302,7 @@
create_escalator
= element create_escalator
{
- ""
- & create_escalator_name
+ create_escalator_name
& create_escalator_comment?
& create_escalator_condition
& create_escalator_event
@@ -397,8 +399,7 @@
create_lsc_credential
= element create_lsc_credential
{
- ""
- & create_lsc_credential_name
+ create_lsc_credential_name
& create_lsc_credential_comment?
& create_lsc_credential_login
& create_lsc_credential_password?
@@ -439,8 +440,7 @@
create_note
= element create_note
{
- ""
- & create_note_text
+ create_note_text
& create_note_nvt
& create_note_comment?
& create_note_hosts?
@@ -461,8 +461,7 @@
create_note_nvt
= element nvt
{
- ""
- & attribute oid { oid }
+ attribute oid { oid }
}
# A comment on the note.
@@ -490,16 +489,14 @@
create_note_result
= element result
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
}
# Task to which note applies.
create_note_task
= element task
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
}
# Threat level to which note applies.
@@ -516,8 +513,7 @@
create_override
= element create_override
{
- ""
- & create_override_text
+ create_override_text
& create_override_nvt
& create_override_comment?
& create_override_hosts?
@@ -539,8 +535,7 @@
create_override_nvt
= element nvt
{
- ""
- & attribute oid { oid }
+ attribute oid { oid }
}
# A comment on the override.
@@ -575,16 +570,14 @@
create_override_result
= element result
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
}
# Task to which override applies.
create_override_task
= element task
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
}
# Threat level to which override applies.
@@ -601,8 +594,7 @@
create_schedule
= element create_schedule
{
- ""
- & create_schedule_name
+ create_schedule_name
& create_schedule_comment?
& create_schedule_first_time
& create_schedule_duration
@@ -627,8 +619,7 @@
create_schedule_first_time
= element first_time
{
- ""
- & create_schedule_first_time_minute
+ create_schedule_first_time_minute
& create_schedule_first_time_hour
& create_schedule_first_time_day_of_month
& create_schedule_first_time_month
@@ -669,8 +660,7 @@
create_schedule_duration
= element duration
{
- ""
- & create_schedule_duration_unit
+ create_schedule_duration_unit
}
# Duration time unit.
@@ -684,8 +674,7 @@
create_schedule_period
= element period
{
- ""
- & create_schedule_period_unit
+ create_schedule_period_unit
}
# Period time unit.
@@ -702,8 +691,7 @@
create_target
= element create_target
{
- ""
- & create_target_name
+ create_target_name
& create_target_comment?
& create_target_hosts
& create_target_lsc_credential
@@ -735,16 +723,14 @@
create_target_lsc_credential
= element lsc_credential
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
}
# Target locator (for example, for LDAP).
create_target_target_locator
= element target_locator
{
- ""
- & create_target_target_locator_username?
+ create_target_target_locator_username?
& create_target_target_locator_password?
}
@@ -769,8 +755,7 @@
create_task
= element create_task
{
- ""
- & create_task_name
+ create_task_name
& create_task_comment?
& create_task_config
& create_task_target
@@ -797,32 +782,28 @@
create_task_config
= element config
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
}
# The hosts scanned by the task.
create_task_target
= element target
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
}
# An escalator that applies to the task.
create_task_escalator
= element escalator
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
}
# When the task will run.
create_task_schedule
= element schedule
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
}
# An openvasrc style file defining the task.
@@ -839,8 +820,7 @@
delete_agent
= element delete_agent
{
- ""
- & attribute agent_id { uuid }
+ attribute agent_id { uuid }
}
## Command delete_config
@@ -850,8 +830,7 @@
delete_config
= element delete_config
{
- ""
- & attribute config_id { uuid }
+ attribute config_id { uuid }
}
## Command delete_escalator
@@ -861,8 +840,7 @@
delete_escalator
= element delete_escalator
{
- ""
- & attribute escalator_id { uuid }
+ attribute escalator_id { uuid }
}
## Command delete_lsc_credential
@@ -872,8 +850,7 @@
delete_lsc_credential
= element delete_lsc_credential
{
- ""
- & attribute lsc_credential_id { uuid }
+ attribute lsc_credential_id { uuid }
}
## Command delete_note
@@ -883,19 +860,17 @@
delete_note
= element delete_note
{
- ""
- & attribute note_id { uuid }
+ attribute note_id { uuid }
}
## Command delete_override
##
-## Delete a override.
+## Delete an override.
delete_override
= element delete_override
{
- ""
- & attribute override_id { uuid }
+ attribute override_id { uuid }
}
## Command delete_report
@@ -905,8 +880,7 @@
delete_report
= element delete_report
{
- ""
- & attribute report_id { uuid }
+ attribute report_id { uuid }
}
## Command delete_schedule
@@ -916,8 +890,7 @@
delete_schedule
= element delete_schedule
{
- ""
- & attribute schedule_id { uuid }
+ attribute schedule_id { uuid }
}
## Command delete_target
@@ -927,8 +900,7 @@
delete_target
= element delete_target
{
- ""
- & attribute target_id { uuid }
+ attribute target_id { uuid }
}
## Command delete_task
@@ -938,8 +910,7 @@
delete_task
= element delete_task
{
- ""
- & attribute task_id { uuid }
+ attribute task_id { uuid }
}
## Command get_agents
@@ -949,8 +920,7 @@
get_agents
= element get_agents
{
- ""
- & # ID of single agent to get.
+ # ID of single agent to get.
attribute agent_id { uuid }?
& attribute format { xsd:token { pattern = "installer|howto_install|howto_use" } }?
& attribute sort_order { sort_order }?
@@ -964,8 +934,7 @@
get_configs
= element get_configs
{
- ""
- & # ID of single config to get.
+ # ID of single config to get.
attribute config_id { uuid }?
& attribute families { boolean }?
& attribute preferences { boolean }?
@@ -980,8 +949,7 @@
get_dependencies
= element get_dependencies
{
- ""
- & # ID of single NVT for which to get dependencies.
+ # ID of single NVT for which to get dependencies.
attribute nvt_oid { oid }?
}
@@ -992,8 +960,7 @@
get_escalators
= element get_escalators
{
- ""
- & # ID of single escalator to get.
+ # ID of single escalator to get.
attribute escalator_id { uuid }?
& attribute sort_order { sort_order }?
& attribute sort_field { text }?
@@ -1006,8 +973,7 @@
get_lsc_credentials
= element get_lsc_credentials
{
- ""
- & # ID of single LSC credential to get.
+ # ID of single LSC credential to get.
attribute lsc_credential_id { uuid }?
& attribute format { xsd:token { pattern = "key|rpm|deb|exe" } }?
& attribute sort_order { sort_order }?
@@ -1021,8 +987,7 @@
get_notes
= element get_notes
{
- ""
- & # ID of single note to get.
+ # ID of single note to get.
attribute note_id { uuid }?
& attribute nvt_oid { oid }?
& attribute task_id { uuid }?
@@ -1039,8 +1004,7 @@
get_nvts
= element get_nvts
{
- ""
- & # Single NVT to get.
+ # Single NVT to get.
attribute nvt_oid { oid }
& # Whether to include full details.
attribute details { boolean }?
@@ -1065,8 +1029,7 @@
get_nvt_families
= element get_nvt_families
{
- ""
- & attribute sort_order { sort_order }?
+ attribute sort_order { sort_order }?
}
## Command get_nvt_feed_checksum
@@ -1076,8 +1039,7 @@
get_nvt_feed_checksum
= element get_nvt_feed_checksum
{
- ""
- & attribute algorithm { text }?
+ attribute algorithm { text }?
}
## Command get_overrides
@@ -1087,8 +1049,7 @@
get_overrides
= element get_overrides
{
- ""
- & # ID of single override to get.
+ # ID of single override to get.
attribute override_id { uuid }?
& attribute nvt_oid { oid }?
& attribute task_id { uuid }?
@@ -1105,8 +1066,7 @@
get_preferences
= element get_preferences
{
- ""
- & attribute nvt_oid { oid }?
+ attribute nvt_oid { oid }?
& # ID of config of which to show preference values.
attribute config_id { uuid }?
& # The name of a particular preference to get.
@@ -1120,8 +1080,7 @@
get_reports
= element get_reports
{
- ""
- & # ID of single report to get.
+ # ID of single report to get.
attribute report_id { uuid }?
& # Required report format.
attribute format { text }?
@@ -1156,8 +1115,7 @@
get_results
= element get_results
{
- ""
- & # ID of single result to get.
+ # ID of single result to get.
attribute result_id { uuid }?
& # ID of task for note and override handling.
attribute task_id { uuid }?
@@ -1180,8 +1138,7 @@
get_schedules
= element get_schedules
{
- ""
- & # ID of single schedule to get.
+ # ID of single schedule to get.
attribute schedule_id { uuid }?
& # Whether to include full schedule details.
attribute details { boolean }?
@@ -1196,17 +1153,58 @@
get_system_reports
= element get_system_reports
{
- ""
- & # A string describing the required report.
+ # A string describing the required report.
attribute name { text }?
- & #
- The number of seconds into the past that the report should include
- .
+ & # The number of seconds into the past that the report should include.
attribute duration { integer }?
& # Whether to include the actual reports.
attribute brief { boolean }?
}
+## Command get_target_locators
+##
+## Get configured target locators.
+
+get_target_locators
+ = element get_target_locators
+ {
+ ""
+ }
+
+## Command get_targets
+##
+## Get all targets.
+
+get_targets
+ = element get_targets
+ {
+ # ID of single target to get.
+ attribute target_id { uuid }?
+ & # Whether to include list of tasks that use the target.
+ attribute tasks { boolean }?
+ & attribute sort_order { sort_order }?
+ & attribute sort_field { text }?
+ }
+
+## Command get_tasks
+##
+## Get all tasks.
+
+get_tasks
+ = element get_tasks
+ {
+ # ID of single task to get.
+ attribute task_id { uuid }?
+ & # Whether to include full task details.
+ attribute details { boolean }?
+ & # Whether to include task RC file (for openvas-client).
+ attribute rcfile { boolean }?
+ & # Whether to override result threat levels.
+ attribute apply_overrides { boolean }?
+ & attribute sort_order { sort_order }?
+ & attribute sort_field { text }?
+ }
+
## Command get_version
##
## Get the OpenVAS Manager Protocol version.
@@ -1234,8 +1232,7 @@
modify_config
= element modify_config
{
- ""
- & # ID of config to modify.
+ # ID of config to modify.
attribute config_id { uuid }
& ( modify_config_preference
| modify_config_family_selection
@@ -1245,8 +1242,7 @@
modify_config_preference
= element preference
{
- ""
- & modify_config_preference_name
+ modify_config_preference_name
& modify_config_preference_nvt?
& modify_config_preference_value?
}
@@ -1262,8 +1258,7 @@
modify_config_preference_nvt
= element nvt
{
- ""
- & attribute oid { oid }
+ attribute oid { oid }
}
# New value for preference.
@@ -1276,8 +1271,7 @@
modify_config_family_selection
= element family_selection
{
- ""
- & modify_config_family_selection_growing?
+ modify_config_family_selection_growing?
& modify_config_family_selection_family*
}
@@ -1291,8 +1285,7 @@
modify_config_family_selection_family
= element family
{
- ""
- & modify_config_family_selection_family_all?
+ modify_config_family_selection_family_all?
& modify_config_family_selection_family_growing?
& modify_config_family_selection_family_name
}
@@ -1320,8 +1313,7 @@
modify_config_nvt_selection
= element nvt_selection
{
- ""
- & modify_config_nvt_selection_family
+ modify_config_nvt_selection_family
& modify_config_nvt_selection_nvt*
}
@@ -1335,8 +1327,7 @@
modify_config_nvt_selection_nvt
= element nvt
{
- ""
- & attribute oid { oid }
+ attribute oid { oid }
}
## Command modify_note
@@ -1346,8 +1337,7 @@
modify_note
= element modify_note
{
- ""
- & # ID of note to modify.
+ # ID of note to modify.
attribute note_id { uuid }
& modify_note_hosts?
& modify_note_port?
@@ -1389,16 +1379,14 @@
modify_note_task
= element task
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
}
# Result to which note applies.
modify_note_result
= element result
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
}
## Command modify_override
@@ -1408,8 +1396,7 @@
modify_override
= element modify_override
{
- ""
- & # ID of override to modify.
+ # ID of override to modify.
attribute override_id { uuid }
& modify_override_hosts?
& modify_override_new_threat?
@@ -1459,16 +1446,14 @@
modify_override_task
= element task
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
}
# Result to which override applies.
modify_override_result
= element result
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
}
## Command modify_report
@@ -1478,8 +1463,7 @@
modify_report
= element modify_report
{
- ""
- & # ID of report to modify.
+ # ID of report to modify.
attribute report_id { uuid }
& modify_report_comment
}
@@ -1498,8 +1482,7 @@
modify_task
= element modify_task
{
- ""
- & # ID of task to modify.
+ # ID of task to modify.
attribute task_id { uuid }
& ( modify_task_comment
| modify_task_escalator
@@ -1520,8 +1503,7 @@
modify_task_escalator
= element escalator
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
}
# The name of the task.
@@ -1542,15 +1524,14 @@
modify_task_schedule
= element schedule
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
}
# File to attach to task.
modify_task_file
= element file
{
- base64
+ text # RNC limitation: base64
& attribute name { text }
& attribute action { xsd:token { pattern = "update|remove" } }
}
@@ -1562,8 +1543,7 @@
pause_task
= element pause_task
{
- ""
- & attribute task_id { uuid }
+ attribute task_id { uuid }
}
## Command resume_or_start_task
@@ -1573,8 +1553,7 @@
resume_or_start_task
= element resume_or_start_task
{
- ""
- & attribute task_id { uuid }
+ attribute task_id { uuid }
}
## Command resume_paused_task
@@ -1584,8 +1563,7 @@
resume_paused_task
= element resume_paused_task
{
- ""
- & attribute task_id { uuid }
+ attribute task_id { uuid }
}
## Command resume_stopped_task
@@ -1595,8 +1573,7 @@
resume_stopped_task
= element resume_stopped_task
{
- ""
- & attribute task_id { uuid }
+ attribute task_id { uuid }
}
## Command start_task
@@ -1606,8 +1583,7 @@
start_task
= element start_task
{
- ""
- & attribute task_id { uuid }
+ attribute task_id { uuid }
}
## Command stop_task
@@ -1617,8 +1593,7 @@
stop_task
= element stop_task
{
- ""
- & attribute task_id { uuid }
+ attribute task_id { uuid }
}
## Command test_escalator
@@ -1628,8 +1603,7 @@
test_escalator
= element test_escalator
{
- ""
- & attribute task_id { uuid }
+ attribute task_id { uuid }
}
### Responses
@@ -1639,8 +1613,7 @@
authenticate_response
= element authenticate_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
}
@@ -1649,8 +1622,7 @@
commands_response
= element commands_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& response*
}
@@ -1660,8 +1632,7 @@
create_agent_response
= element create_agent_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& attribute id { uuid }
}
@@ -1671,8 +1642,7 @@
create_config_response
= element create_config_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& attribute id { uuid }
}
@@ -1682,8 +1652,7 @@
create_escalator_response
= element create_escalator_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& attribute id { uuid }
}
@@ -1693,8 +1662,7 @@
create_lsc_credential_response
= element create_lsc_credential_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& attribute id { uuid }
}
@@ -1704,8 +1672,7 @@
create_note_response
= element create_note_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& attribute id { uuid }
}
@@ -1715,8 +1682,7 @@
create_override_response
= element create_override_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& attribute id { uuid }
}
@@ -1726,8 +1692,7 @@
create_schedule_response
= element create_schedule_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& attribute id { uuid }
}
@@ -1737,8 +1702,7 @@
create_target_response
= element create_target_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& attribute id { uuid }
}
@@ -1748,8 +1712,7 @@
create_task_response
= element create_task_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& attribute id { uuid }
}
@@ -1759,8 +1722,7 @@
delete_agent_response
= element delete_agent_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
}
@@ -1769,8 +1731,7 @@
delete_config_response
= element delete_config_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
}
@@ -1779,8 +1740,7 @@
delete_escalator_response
= element delete_escalator_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
}
@@ -1789,8 +1749,7 @@
delete_lsc_credential_response
= element delete_lsc_credential_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
}
@@ -1799,8 +1758,7 @@
delete_note_response
= element delete_note_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
}
@@ -1809,8 +1767,7 @@
delete_override_response
= element delete_override_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
}
@@ -1819,8 +1776,7 @@
delete_report_response
= element delete_report_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
}
@@ -1829,8 +1785,7 @@
delete_schedule_response
= element delete_schedule_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
}
@@ -1839,8 +1794,7 @@
delete_target_response
= element delete_target_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
}
@@ -1849,8 +1803,7 @@
delete_task_response
= element delete_task_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
}
@@ -1859,8 +1812,7 @@
get_agents_response
= element get_agents_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& get_agents_response_agent*
}
@@ -1868,8 +1820,7 @@
get_agents_response_agent
= element agent
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
& get_agents_response_agent_name
& get_agents_response_agent_comment
& get_agents_response_agent_in_use
@@ -1901,8 +1852,7 @@
get_agents_response_agent_installer
= element installer
{
- ""
- & get_agents_response_agent_installer_trust
+ get_agents_response_agent_installer_trust
}
# Whether signature verification succeeded.
@@ -1916,7 +1866,7 @@
get_agents_response_agent_package
= element package
{
- base64
+ text # RNC limitation: base64
& get_agents_response_agent_package_filename
}
@@ -1932,8 +1882,7 @@
get_configs_response
= element get_configs_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& get_configs_response_config*
}
@@ -1941,8 +1890,7 @@
get_configs_response_config
= element config
{
- ""
- & get_configs_response_config_name
+ get_configs_response_config_name
& get_configs_response_config_comment
& get_configs_response_config_family_count
& get_configs_response_config_nvt_count
@@ -1970,14 +1918,11 @@
get_configs_response_config_family_count
= element family_count
{
- integer
+ text # RNC limitation: integer
& get_configs_response_config_family_count_growing
}
-#
- Whether new families are automatically added to the
- config
- .
+# Whether new families are automatically added to the config.
get_configs_response_config_family_count_growing
= element growing
{
@@ -1988,13 +1933,11 @@
get_configs_response_config_nvt_count
= element nvt_count
{
- integer
+ text # RNC limitation: integer
& get_configs_response_config_nvt_count_growing
}
-#
- Whether new NVTs are automatically added to the config
- .
+# Whether new NVTs are automatically added to the config.
get_configs_response_config_nvt_count_growing
= element growing
{
@@ -2012,15 +1955,13 @@
get_configs_response_config_tasks
= element tasks
{
- ""
- & get_configs_response_config_tasks_task*
+ get_configs_response_config_tasks_task*
}
get_configs_response_config_tasks_task
= element task
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
& get_configs_response_config_tasks_task_name
}
@@ -2035,15 +1976,13 @@
get_configs_response_config_families
= element families
{
- ""
- & get_configs_response_config_families_family*
+ get_configs_response_config_families_family*
}
get_configs_response_config_families_family
= element family
{
- ""
- & get_configs_response_config_families_family_name
+ get_configs_response_config_families_family_name
& get_configs_response_config_families_family_nvt_count
& get_configs_response_config_families_family_max_nvt_count
& get_configs_response_config_families_family_growing
@@ -2070,9 +2009,7 @@
integer
}
-#
- Whether new NVTs in the family are automatically added to the selection
- .
+# Whether new NVTs in the family are automatically added to the selection.
get_configs_response_config_families_family_growing
= element growing
{
@@ -2083,15 +2020,13 @@
get_configs_response_config_preferences
= element preferences
{
- ""
- & get_configs_response_config_preferences_preference*
+ get_configs_response_config_preferences_preference*
}
get_configs_response_config_preferences_preference
= element preference
{
- ""
- & get_configs_response_config_preferences_preference_nvt
+ get_configs_response_config_preferences_preference_nvt
& get_configs_response_config_preferences_preference_name
& get_configs_response_config_preferences_preference_type
& get_configs_response_config_preferences_preference_value
@@ -2101,8 +2036,7 @@
get_configs_response_config_preferences_preference_nvt
= element nvt
{
- ""
- & attribute oid { oid }
+ attribute oid { oid }
& get_configs_response_config_preferences_preference_nvt_name
}
@@ -2139,8 +2073,7 @@
get_dependencies_response
= element get_dependencies_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& get_dependencies_response_nvt*
}
@@ -2148,8 +2081,7 @@
get_dependencies_response_nvt
= element nvt
{
- ""
- & attribute oid { oid }
+ attribute oid { oid }
& get_dependencies_response_nvt_name
& get_dependencies_response_nvt_requires
}
@@ -2164,15 +2096,13 @@
get_dependencies_response_nvt_requires
= element requires
{
- ""
- & get_dependencies_response_nvt_requires_nvt*
+ get_dependencies_response_nvt_requires_nvt*
}
get_dependencies_response_nvt_requires_nvt
= element nvt
{
- ""
- & attribute oid { oid }
+ attribute oid { oid }
& get_dependencies_response_nvt_requires_nvt_name
}
@@ -2188,8 +2118,7 @@
get_escalators_response
= element get_escalators_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& get_escalators_response_escalator*
}
@@ -2197,8 +2126,7 @@
get_escalators_response_escalator
= element escalator
{
- ""
- & get_escalators_response_escalator_name
+ get_escalators_response_escalator_name
& get_escalators_response_escalator_comment
& get_escalators_response_escalator_in_use
& get_escalators_response_escalator_condition
@@ -2301,8 +2229,7 @@
get_lsc_credentials_response
= element get_lsc_credentials_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& get_lsc_credentials_response_lsc_credential*
}
@@ -2310,8 +2237,7 @@
get_lsc_credentials_response_lsc_credential
= element lsc_credential
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
& get_lsc_credentials_response_lsc_credential_name
& get_lsc_credentials_response_lsc_credential_login
& get_lsc_credentials_response_lsc_credential_comment
@@ -2361,15 +2287,13 @@
get_lsc_credentials_response_lsc_credential_targets
= element targets
{
- ""
- & get_lsc_credentials_response_lsc_credential_targets_target*
+ get_lsc_credentials_response_lsc_credential_targets_target*
}
get_lsc_credentials_response_lsc_credential_targets_target
= element target
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
& get_lsc_credentials_response_lsc_credential_targets_target_name
}
@@ -2398,8 +2322,7 @@
get_notes_response
= element get_notes_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& get_notes_response_note*
}
@@ -2407,8 +2330,7 @@
get_notes_response_note
= element note
{
- ""
- & get_notes_response_note_nvt
+ get_notes_response_note_nvt
& get_notes_response_note_text
& get_notes_response_note_orphan
& ( get_notes_response_note_creation_time
@@ -2423,8 +2345,7 @@
get_notes_response_note_nvt
= element nvt
{
- ""
- & attribute oid { oid }
+ attribute oid { oid }
& get_notes_response_note_nvt_name
}
@@ -2486,16 +2407,14 @@
get_notes_response_note_task
= element task
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
}
# Result to which note applies.
get_notes_response_note_result
= element result
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
& get_notes_response_note_result_subnet
& get_notes_response_note_result_host
& get_notes_response_note_result_port
@@ -2525,8 +2444,7 @@
get_notes_response_note_result_nvt
= element nvt
{
- ""
- & attribute oid { oid }
+ attribute oid { oid }
& get_notes_response_note_result_nvt_name
& get_notes_response_note_result_nvt_cvss_base
& get_notes_response_note_result_nvt_risk_factor
@@ -2567,8 +2485,7 @@
get_nvts_response
= element get_nvts_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& get_nvts_response_nvt
}
@@ -2576,8 +2493,7 @@
get_nvts_response_nvt
= element nvt
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
& get_nvts_response_nvt_name
& get_nvts_response_nvt_checksum
& ( get_nvts_response_nvt_category
@@ -2725,8 +2641,7 @@
get_nvts_response_nvt_preferences_preference
= element preference
{
- ""
- & get_nvts_response_nvt_preferences_preference_nvt
+ get_nvts_response_nvt_preferences_preference_nvt
& get_nvts_response_nvt_preferences_preference_name
& get_nvts_response_nvt_preferences_preference_type
& get_nvts_response_nvt_preferences_preference_value
@@ -2761,8 +2676,7 @@
get_nvt_families_response
= element get_nvt_families_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& get_nvt_families_response_families
}
@@ -2770,15 +2684,13 @@
get_nvt_families_response_families
= element families
{
- ""
- & get_nvt_families_response_families_family*
+ get_nvt_families_response_families_family*
}
get_nvt_families_response_families_family
= element family
{
- ""
- & get_nvt_families_response_families_family_name
+ get_nvt_families_response_families_family_name
& get_nvt_families_response_families_family_max_nvt_count
}
@@ -2801,8 +2713,7 @@
get_nvt_feed_checksum_response
= element get_nvt_feed_checksum_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& get_nvt_feed_checksum_response_checksum
}
@@ -2810,7 +2721,7 @@
get_nvt_feed_checksum_response_checksum
= element checksum
{
- base64
+ text # RNC limitation: base64
& attribute algorithm { text }
}
@@ -2819,8 +2730,7 @@
get_overrides_response
= element get_overrides_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& get_overrides_response_override*
}
@@ -2828,8 +2738,7 @@
get_overrides_response_override
= element override
{
- ""
- & get_overrides_response_override_nvt
+ get_overrides_response_override_nvt
& get_overrides_response_override_text
& get_overrides_response_override_threat
& get_overrides_response_override_new_threat
@@ -2845,8 +2754,7 @@
get_overrides_response_override_nvt
= element nvt
{
- ""
- & attribute oid { oid }
+ attribute oid { oid }
& get_overrides_response_override_nvt_name
}
@@ -2915,16 +2823,14 @@
get_overrides_response_override_task
= element task
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
}
# Result to which override applies.
get_overrides_response_override_result
= element result
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
& get_overrides_response_override_result_subnet
& get_overrides_response_override_result_host
& get_overrides_response_override_result_port
@@ -2954,8 +2860,7 @@
get_overrides_response_override_result_nvt
= element nvt
{
- ""
- & attribute oid { oid }
+ attribute oid { oid }
& get_overrides_response_override_result_nvt_name
& get_overrides_response_override_result_nvt_cvss_base
& get_overrides_response_override_result_nvt_risk_factor
@@ -2996,8 +2901,7 @@
get_preferences_response
= element get_preferences_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& get_preferences_response_preference*
}
@@ -3005,8 +2909,7 @@
get_preferences_response_preference
= element preference
{
- ""
- & get_preferences_response_preference_nvt?
+ get_preferences_response_preference_nvt?
& get_preferences_response_preference_name
& get_preferences_response_preference_type?
& get_preferences_response_preference_value
@@ -3016,8 +2919,7 @@
get_preferences_response_preference_nvt
= element nvt
{
- ""
- & attribute oid { oid }
+ attribute oid { oid }
& get_preferences_response_preference_nvt_name
}
@@ -3054,8 +2956,7 @@
get_reports_response
= element get_reports_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& get_reports_response_report*
}
@@ -3063,7 +2964,7 @@
get_reports_response_report
= element report
{
- base64
+ text # RNC limitation: base64
& attribute id { uuid }
& ( get_reports_response_report_sort
& get_reports_response_report_filters
@@ -3082,8 +2983,7 @@
get_reports_response_report_sort
= element sort
{
- ""
- & get_reports_response_report_sort_field
+ get_reports_response_report_sort_field
}
# Sort field.
@@ -3105,7 +3005,7 @@
get_reports_response_report_filters
= element filters
{
- levels
+ text # RNC limitation: levels
& get_reports_response_report_filters_phrase
& get_reports_response_report_filters_notes
& get_reports_response_report_filters_overrides
@@ -3143,9 +3043,7 @@
xsd:token { pattern = "0|1" }
}
-#
- Whether only those hosts that have results are included
- .
+# Whether only those hosts that have results are included.
get_reports_response_report_filters_result_hosts_only
= element result_hosts_only
{
@@ -3153,8 +3051,8 @@
}
# Minimum CVSS base if in effect, else empty string.
-get_reports_response_report_filters_minimum_cvss_base
- = element minimum_cvss_base
+get_reports_response_report_filters_min_cvss_base
+ = element min_cvss_base
{
text
}
@@ -3177,7 +3075,7 @@
get_reports_response_report_result_count
= element result_count
{
- integer
+ text # RNC limitation: integer
& get_reports_response_report_result_count_filtered
& get_reports_response_report_result_count_debug
& get_reports_response_report_result_count_hole
@@ -3193,50 +3091,35 @@
integer
}
-#
- Number of results of scanner message type "debug" (threat level
- Debug)
- .
+# Number of results of scanner message type "debug" (threat level Debug).
get_reports_response_report_result_count_debug
= element debug
{
integer
}
-#
- Number of results of scanner message type "hole" (threat level
- High)
- .
+# Number of results of scanner message type "hole" (threat level High).
get_reports_response_report_result_count_hole
= element hole
{
integer
}
-#
- Number of results of scanner message type "info" (threat level
- Low)
- .
+# Number of results of scanner message type "info" (threat level Low).
get_reports_response_report_result_count_info
= element info
{
integer
}
-#
- Number of results of scanner message type "log" (threat level
- Log)
- .
+# Number of results of scanner message type "log" (threat level Log).
get_reports_response_report_result_count_log
= element log
{
integer
}
-#
- Number of results of scanner message type "warning" (threat level
- Medium)
- .
+# Number of results of scanner message type "warning" (threat level Medium).
get_reports_response_report_result_count_warning
= element warning
{
@@ -3246,8 +3129,7 @@
get_reports_response_report_task
= element task
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
& get_reports_response_report_task_name
}
@@ -3261,8 +3143,7 @@
get_reports_response_report_ports
= element ports
{
- ""
- & attribute start { integer }
+ attribute start { integer }
& attribute max { integer }
& get_reports_response_report_ports_port*
}
@@ -3290,8 +3171,7 @@
get_reports_response_report_results
= element results
{
- ""
- & attribute start { integer }
+ attribute start { integer }
& attribute max { integer }
& get_reports_response_report_results_result*
}
@@ -3299,8 +3179,7 @@
get_reports_response_report_results_result
= element result
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
& get_reports_response_report_results_result_subnet
& get_reports_response_report_results_result_host
& get_reports_response_report_results_result_port
@@ -3331,8 +3210,7 @@
get_reports_response_report_results_result_nvt
= element nvt
{
- ""
- & attribute oid { oid }
+ attribute oid { oid }
& get_reports_response_report_results_result_nvt_name
& get_reports_response_report_results_result_nvt_cvss_base
& get_reports_response_report_results_result_nvt_risk_factor
@@ -3383,7 +3261,7 @@
get_reports_response_report_host_start
= element host_start
{
- ctime
+ text # RNC limitation: ctime
& get_reports_response_report_host_start_host
}
@@ -3397,7 +3275,7 @@
get_reports_response_report_host_end
= element host_end
{
- ctime
+ text # RNC limitation: ctime
& get_reports_response_report_host_end_host
}
@@ -3419,8 +3297,7 @@
get_results_response
= element get_results_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& get_results_response_results
}
@@ -3428,15 +3305,13 @@
get_results_response_results
= element results
{
- ""
- & get_results_response_results_result*
+ get_results_response_results_result*
}
get_results_response_results_result
= element result
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
& get_results_response_results_result_subnet
& get_results_response_results_result_host
& get_results_response_results_result_port
@@ -3469,8 +3344,7 @@
get_results_response_results_result_nvt
= element nvt
{
- ""
- & attribute oid { oid }
+ attribute oid { oid }
& get_results_response_results_result_nvt_name
& get_results_response_results_result_nvt_cvss_base
& get_results_response_results_result_nvt_risk_factor
@@ -3514,15 +3388,13 @@
get_results_response_results_result_notes
= element notes
{
- ""
- & get_results_response_results_result_notes_note*
+ get_results_response_results_result_notes_note*
}
get_results_response_results_result_notes_note
= element note
{
- ""
- & get_results_response_results_result_notes_note_nvt
+ get_results_response_results_result_notes_note_nvt
& get_results_response_results_result_notes_note_text
& get_results_response_results_result_notes_note_orphan
}
@@ -3530,8 +3402,7 @@
get_results_response_results_result_notes_note_nvt
= element nvt
{
- ""
- & attribute oid { oid }
+ attribute oid { oid }
& get_results_response_results_result_notes_note_nvt_name
}
@@ -3560,15 +3431,13 @@
get_results_response_results_result_overrides
= element overrides
{
- ""
- & get_results_response_results_result_overrides_override*
+ get_results_response_results_result_overrides_override*
}
get_results_response_results_result_overrides_override
= element override
{
- ""
- & get_results_response_results_result_overrides_override_nvt
+ get_results_response_results_result_overrides_override_nvt
& get_results_response_results_result_overrides_override_text
& get_results_response_results_result_overrides_override_threat
& get_results_response_results_result_overrides_override_new_threat
@@ -3578,8 +3447,7 @@
get_results_response_results_result_overrides_override_nvt
= element nvt
{
- ""
- & attribute oid { oid }
+ attribute oid { oid }
& get_results_response_results_result_overrides_override_nvt_name
}
@@ -3623,8 +3491,7 @@
get_schedules_response
= element get_schedules_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& get_schedules_response_schedule
}
@@ -3632,8 +3499,7 @@
get_schedules_response_schedule
= element schedule
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
& get_schedules_response_schedule_name
& ( get_schedules_response_schedule_comment
& get_schedules_response_schedule_first_time
@@ -3704,15 +3570,13 @@
get_schedules_response_schedule_tasks
= element tasks
{
- ""
- & get_schedules_response_schedule_tasks_task*
+ get_schedules_response_schedule_tasks_task*
}
get_schedules_response_schedule_tasks_task
= element task
{
- ""
- & attribute id { uuid }
+ attribute id { uuid }
& get_schedules_response_schedule_tasks_task_name
}
@@ -3728,8 +3592,7 @@
get_system_reports_response
= element get_system_reports_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& get_system_reports_response_system_report*
}
@@ -3737,8 +3600,7 @@
get_system_reports_response_system_report
= element system_report
{
- ""
- & get_system_reports_response_system_report_name
+ get_system_reports_response_system_report_name
& get_system_reports_response_system_report_title
& get_system_reports_response_system_report_report?
}
@@ -3760,18 +3622,620 @@
get_system_reports_response_system_report_report
= element report
{
- base64
+ text # RNC limitation: base64
& attribute format { "png" }
& attribute duration { integer }
}
+## Response to get_target_locators
+
+get_target_locators_response
+ = element get_target_locators_response
+ {
+ attribute status { status }
+ & attribute status_text { text }
+ & get_target_locators_response_target_locator*
+ }
+
+get_target_locators_response_target_locator
+ = element target_locator
+ {
+ get_target_locators_response_target_locator_name
+ }
+
+# The name of the target locator.
+get_target_locators_response_target_locator_name
+ = element name
+ {
+ name
+ }
+
+## Response to get_targets
+
+get_targets_response
+ = element get_targets_response
+ {
+ attribute status { status }
+ & attribute status_text { text }
+ & get_targets_response_target*
+ }
+
+get_targets_response_target
+ = element target
+ {
+ get_targets_response_target_name
+ & get_targets_response_target_comment
+ & get_targets_response_target_hosts
+ & get_targets_response_target_max_hosts
+ & get_targets_response_target_in_use
+ & get_targets_response_target_lsc_credential
+ & get_targets_response_target_tasks?
+ }
+
+# The name of the target.
+get_targets_response_target_name
+ = element name
+ {
+ name
+ }
+
+# The comment on the target.
+get_targets_response_target_comment
+ = element comment
+ {
+ text
+ }
+
+# A list of hosts.
+get_targets_response_target_hosts
+ = element hosts
+ {
+ text
+ }
+
+# The maximum number of hosts defined by the target.
+get_targets_response_target_max_hosts
+ = element max_hosts
+ {
+ integer
+ }
+
+# Whether any tasks are using the target.
+get_targets_response_target_in_use
+ = element in_use
+ {
+ boolean
+ }
+
+get_targets_response_target_lsc_credential
+ = element lsc_credential
+ {
+ attribute id { uuid_or_empty }
+ & get_targets_response_target_lsc_credential_name
+ }
+
+# The name of the LSC credential.
+get_targets_response_target_lsc_credential_name
+ = element name
+ {
+ name
+ }
+
+# All tasks using the target.
+get_targets_response_target_tasks
+ = element tasks
+ {
+ get_targets_response_target_tasks_task*
+ }
+
+get_targets_response_target_tasks_task
+ = element task
+ {
+ attribute id { uuid }
+ & get_targets_response_target_tasks_task_name
+ }
+
+# The name of the task.
+get_targets_response_target_tasks_task_name
+ = element name
+ {
+ name
+ }
+
+## Response to get_tasks
+
+get_tasks_response
+ = element get_tasks_response
+ {
+ attribute status { status }
+ & attribute status_text { text }
+ & get_tasks_response_task_count
+ & get_tasks_response_sort
+ & get_tasks_response_apply_overrides
+ & get_tasks_response_task*
+ }
+
+get_tasks_response_task_count
+ = element task_count
+ {
+ integer
+ }
+
+get_tasks_response_sort
+ = element sort
+ {
+ get_tasks_response_sort_field*
+ }
+
+get_tasks_response_sort_field
+ = element field
+ {
+ text
+ & get_tasks_response_sort_field_order
+ }
+
+get_tasks_response_sort_field_order
+ = element order
+ {
+ xsd:token { pattern = "ascending|descending" }
+ }
+
+get_tasks_response_apply_overrides
+ = element apply_overrides
+ {
+ xsd:token { pattern = "0|1" }
+ }
+
+get_tasks_response_task
+ = element task
+ {
+ get_tasks_response_task_name
+ & get_tasks_response_task_comment
+ & get_tasks_response_task_status
+ & get_tasks_response_task_progress
+ & get_tasks_response_task_config
+ & get_tasks_response_task_target
+ & get_tasks_response_task_escalator
+ & get_tasks_response_task_schedule
+ & get_tasks_response_task_result_count
+ & get_tasks_response_task_report_count
+ & get_tasks_response_task_trend
+ & get_tasks_response_task_first_report?
+ & get_tasks_response_task_last_report?
+ & get_tasks_response_task_second_last_report?
+ & get_tasks_response_task_rcfile?
+ & get_tasks_response_task_reports*
+ }
+
+# The name of the task.
+get_tasks_response_task_name
+ = element name
+ {
+ name
+ }
+
+# The comment on the task.
+get_tasks_response_task_comment
+ = element comment
+ {
+ text
+ }
+
+# The run status of the task.
+get_tasks_response_task_status
+ = element status
+ {
+ task_status
+ }
+
+# The percentage of the task that is complete.
+get_tasks_response_task_progress
+ = element progress
+ {
+ text # RNC limitation: integer
+ & get_tasks_response_task_progress_host_progress*
+ }
+
+# Percentage complete for a particular host.
+get_tasks_response_task_progress_host_progress
+ = element host_progress
+ {
+ text # RNC limitation: integer
+ & get_tasks_response_task_progress_host_progress_host
+ }
+
+get_tasks_response_task_progress_host_progress_host
+ = element host
+ {
+ text
+ }
+
+# The scan configuration used by the task.
+get_tasks_response_task_config
+ = element config
+ {
+ attribute id { uuid }
+ & get_tasks_response_task_config_name
+ }
+
+# The name of the config.
+get_tasks_response_task_config_name
+ = element name
+ {
+ name
+ }
+
+# The hosts scanned by the task.
+get_tasks_response_task_target
+ = element target
+ {
+ attribute id { uuid }
+ & get_tasks_response_task_target_name
+ }
+
+# The name of the target.
+get_tasks_response_task_target_name
+ = element name
+ {
+ name
+ }
+
+# An escalator that applies to the task.
+get_tasks_response_task_escalator
+ = element escalator
+ {
+ attribute id { uuid_or_empty }
+ & get_tasks_response_task_escalator_name
+ }
+
+# The name of the escalator.
+get_tasks_response_task_escalator_name
+ = element name
+ {
+ name
+ }
+
+# When the task will run.
+get_tasks_response_task_schedule
+ = element schedule
+ {
+ attribute id { uuid_or_empty }
+ & get_tasks_response_task_schedule_name
+ }
+
+# The name of the schedule.
+get_tasks_response_task_schedule_name
+ = element name
+ {
+ name
+ }
+
+# Result count across all scans.
+get_tasks_response_task_result_count
+ = element result_count
+ {
+ get_tasks_response_task_result_count_debug
+ & get_tasks_response_task_result_count_log
+ & get_tasks_response_task_result_count_info
+ & get_tasks_response_task_result_count_warning
+ & get_tasks_response_task_result_count_hole
+ }
+
+get_tasks_response_task_result_count_debug
+ = element debug
+ {
+ integer
+ }
+
+get_tasks_response_task_result_count_log
+ = element log
+ {
+ integer
+ }
+
+get_tasks_response_task_result_count_info
+ = element info
+ {
+ integer
+ }
+
+get_tasks_response_task_result_count_warning
+ = element warning
+ {
+ integer
+ }
+
+get_tasks_response_task_result_count_hole
+ = element hole
+ {
+ integer
+ }
+
+# Number of reports.
+get_tasks_response_task_report_count
+ = element report_count
+ {
+ text # RNC limitation: integer
+ & get_tasks_response_task_report_count_finished
+ }
+
+# Number of reports where the scan completed.
+get_tasks_response_task_report_count_finished
+ = element finished
+ {
+ integer
+ }
+
+get_tasks_response_task_trend
+ = element trend
+ {
+ task_trend
+ }
+
+get_tasks_response_task_first_report
+ = element first_report
+ {
+ get_tasks_response_task_first_report_report
+ }
+
+get_tasks_response_task_first_report_report
+ = element report
+ {
+ attribute id { uuid }
+ & get_tasks_response_task_first_report_report_timestamp
+ & get_tasks_response_task_first_report_report_result_count
+ }
+
+get_tasks_response_task_first_report_report_timestamp
+ = element timestamp
+ {
+ ctime
+ }
+
+# Result counts for this report.
+get_tasks_response_task_first_report_report_result_count
+ = element result_count
+ {
+ get_tasks_response_task_first_report_report_result_count_debug
+ & get_tasks_response_task_first_report_report_result_count_log
+ & get_tasks_response_task_first_report_report_result_count_info
+ & get_tasks_response_task_first_report_report_result_count_warning
+ & get_tasks_response_task_first_report_report_result_count_hole
+ }
+
+get_tasks_response_task_first_report_report_result_count_debug
+ = element debug
+ {
+ integer
+ }
+
+get_tasks_response_task_first_report_report_result_count_log
+ = element log
+ {
+ integer
+ }
+
+get_tasks_response_task_first_report_report_result_count_info
+ = element info
+ {
+ integer
+ }
+
+get_tasks_response_task_first_report_report_result_count_warning
+ = element warning
+ {
+ integer
+ }
+
+get_tasks_response_task_first_report_report_result_count_hole
+ = element hole
+ {
+ integer
+ }
+
+get_tasks_response_task_last_report
+ = element last_report
+ {
+ get_tasks_response_task_last_report_report
+ }
+
+get_tasks_response_task_last_report_report
+ = element report
+ {
+ attribute id { uuid }
+ & get_tasks_response_task_last_report_report_timestamp
+ & get_tasks_response_task_last_report_report_result_count
+ }
+
+get_tasks_response_task_last_report_report_timestamp
+ = element timestamp
+ {
+ ctime
+ }
+
+# Result counts for this report.
+get_tasks_response_task_last_report_report_result_count
+ = element result_count
+ {
+ get_tasks_response_task_last_report_report_result_count_debug
+ & get_tasks_response_task_last_report_report_result_count_log
+ & get_tasks_response_task_last_report_report_result_count_info
+ & get_tasks_response_task_last_report_report_result_count_warning
+ & get_tasks_response_task_last_report_report_result_count_hole
+ }
+
+get_tasks_response_task_last_report_report_result_count_debug
+ = element debug
+ {
+ integer
+ }
+
+get_tasks_response_task_last_report_report_result_count_log
+ = element log
+ {
+ integer
+ }
+
+get_tasks_response_task_last_report_report_result_count_info
+ = element info
+ {
+ integer
+ }
+
+get_tasks_response_task_last_report_report_result_count_warning
+ = element warning
+ {
+ integer
+ }
+
+get_tasks_response_task_last_report_report_result_count_hole
+ = element hole
+ {
+ integer
+ }
+
+get_tasks_response_task_second_last_report
+ = element second_last_report
+ {
+ get_tasks_response_task_second_last_report_report
+ }
+
+get_tasks_response_task_second_last_report_report
+ = element report
+ {
+ attribute id { uuid }
+ & get_tasks_response_task_second_last_report_report_timestamp
+ & get_tasks_response_task_second_last_report_report_result_count
+ }
+
+get_tasks_response_task_second_last_report_report_timestamp
+ = element timestamp
+ {
+ ctime
+ }
+
+# Result counts for this report.
+get_tasks_response_task_second_last_report_report_result_count
+ = element result_count
+ {
+ get_tasks_response_task_second_last_report_report_result_count_debug
+ & get_tasks_response_task_second_last_report_report_result_count_log
+ & get_tasks_response_task_second_last_report_report_result_count_info
+ & get_tasks_response_task_second_last_report_report_result_count_warning
+ & get_tasks_response_task_second_last_report_report_result_count_hole
+ }
+
+get_tasks_response_task_second_last_report_report_result_count_debug
+ = element debug
+ {
+ integer
+ }
+
+get_tasks_response_task_second_last_report_report_result_count_log
+ = element log
+ {
+ integer
+ }
+
+get_tasks_response_task_second_last_report_report_result_count_info
+ = element info
+ {
+ integer
+ }
+
+get_tasks_response_task_second_last_report_report_result_count_warning
+ = element warning
+ {
+ integer
+ }
+
+get_tasks_response_task_second_last_report_report_result_count_hole
+ = element hole
+ {
+ integer
+ }
+
+get_tasks_response_task_rcfile
+ = element rcfile
+ {
+ base64
+ }
+
+get_tasks_response_task_reports
+ = element reports
+ {
+ get_tasks_response_task_reports_report*
+ }
+
+get_tasks_response_task_reports_report
+ = element report
+ {
+ attribute id { uuid }
+ & get_tasks_response_task_reports_report_timestamp
+ & get_tasks_response_task_reports_report_scan_run_status
+ & get_tasks_response_task_reports_report_result_count
+ }
+
+get_tasks_response_task_reports_report_timestamp
+ = element timestamp
+ {
+ ctime
+ }
+
+# Run status of task scan.
+get_tasks_response_task_reports_report_scan_run_status
+ = element scan_run_status
+ {
+ task_status
+ }
+
+# Result counts for this report.
+get_tasks_response_task_reports_report_result_count
+ = element result_count
+ {
+ get_tasks_response_task_reports_report_result_count_debug
+ & get_tasks_response_task_reports_report_result_count_log
+ & get_tasks_response_task_reports_report_result_count_info
+ & get_tasks_response_task_reports_report_result_count_warning
+ & get_tasks_response_task_reports_report_result_count_hole
+ }
+
+get_tasks_response_task_reports_report_result_count_debug
+ = element debug
+ {
+ integer
+ }
+
+get_tasks_response_task_reports_report_result_count_log
+ = element log
+ {
+ integer
+ }
+
+get_tasks_response_task_reports_report_result_count_info
+ = element info
+ {
+ integer
+ }
+
+get_tasks_response_task_reports_report_result_count_warning
+ = element warning
+ {
+ integer
+ }
+
+get_tasks_response_task_reports_report_result_count_hole
+ = element hole
+ {
+ integer
+ }
+
## Response to get_version
get_version_response
= element get_version_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
& get_version_response_version
}
@@ -3787,8 +4251,7 @@
help_response
= element help_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
}
@@ -3797,8 +4260,7 @@
modify_config_response
= element modify_config_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
}
@@ -3807,8 +4269,7 @@
modify_note_response
= element modify_note_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
}
@@ -3817,8 +4278,7 @@
modify_override_response
= element modify_override_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
}
@@ -3827,8 +4287,7 @@
modify_report_response
= element modify_report_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
}
@@ -3837,8 +4296,7 @@
modify_task_response
= element modify_task_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
}
@@ -3847,8 +4305,7 @@
pause_task_response
= element pause_task_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
}
@@ -3857,8 +4314,7 @@
resume_or_start_task_response
= element resume_or_start_task_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
}
@@ -3867,8 +4323,7 @@
resume_paused_task_response
= element resume_paused_task_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
}
@@ -3877,8 +4332,7 @@
resume_stopped_task_response
= element resume_stopped_task_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
}
@@ -3887,8 +4341,7 @@
start_task_response
= element start_task_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
}
@@ -3897,8 +4350,7 @@
stop_task_response
= element stop_task_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
}
@@ -3907,7 +4359,6 @@
test_escalator_response
= element test_escalator_response
{
- ""
- & attribute status { status }
+ attribute status { status }
& attribute status_text { text }
}
Modified: trunk/openvas-manager/src/schema_formats/HTML/rnc.xsl
===================================================================
--- trunk/openvas-manager/src/schema_formats/HTML/rnc.xsl 2010-11-09 14:57:29 UTC (rev 9370)
+++ trunk/openvas-manager/src/schema_formats/HTML/rnc.xsl 2010-11-09 17:01:53 UTC (rev 9371)
@@ -274,10 +274,12 @@
<xsl:template name="pattern" match="pattern">
<xsl:param name="parent-name"/>
<xsl:choose>
- <xsl:when test="(count (t) = 0) and (string-length (normalize-space (text ())) = 0)">
+ <xsl:when test="(count (*) = 0) and (string-length (normalize-space (text ())) = 0)">
<xsl:text> ""</xsl:text>
<xsl:call-template name="newline"/>
</xsl:when>
+ <xsl:when test="(count (t) = 0) and (string-length (normalize-space (text ())) = 0)">
+ </xsl:when>
<xsl:when test="count (t) = 0">
<xsl:text> </xsl:text>
<xsl:value-of select="normalize-space (text())"/>
@@ -286,17 +288,30 @@
<xsl:otherwise>
<xsl:text> </xsl:text>
<!-- There should be only one t. -->
+ <xsl:choose>
+ <xsl:when test="(count (*[name()!='t']) = 0)">
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>text # RNC limitation: </xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
<xsl:for-each select="t">
<xsl:call-template name="t"/>
<xsl:call-template name="newline"/>
</xsl:for-each>
</xsl:otherwise>
</xsl:choose>
+ <xsl:variable
+ name="empty"
+ select="(count (t) = 0) and (string-length (normalize-space (text ())) = 0)"/>
<xsl:for-each select="*[name()!='t']">
<xsl:choose>
<xsl:when test="preceding-sibling::*">
<xsl:text> & </xsl:text>
</xsl:when>
+ <xsl:when test="$empty">
+ <xsl:text> </xsl:text>
+ </xsl:when>
<xsl:otherwise>
<xsl:text> & </xsl:text>
</xsl:otherwise>
Modified: trunk/openvas-manager/src/schema_formats/RNC/rnc.xsl
===================================================================
--- trunk/openvas-manager/src/schema_formats/RNC/rnc.xsl 2010-11-09 14:57:29 UTC (rev 9370)
+++ trunk/openvas-manager/src/schema_formats/RNC/rnc.xsl 2010-11-09 17:01:53 UTC (rev 9371)
@@ -274,10 +274,12 @@
<xsl:template name="pattern" match="pattern">
<xsl:param name="parent-name"/>
<xsl:choose>
- <xsl:when test="(count (t) = 0) and (string-length (normalize-space (text ())) = 0)">
+ <xsl:when test="(count (*) = 0) and (string-length (normalize-space (text ())) = 0)">
<xsl:text> ""</xsl:text>
<xsl:call-template name="newline"/>
</xsl:when>
+ <xsl:when test="(count (t) = 0) and (string-length (normalize-space (text ())) = 0)">
+ </xsl:when>
<xsl:when test="count (t) = 0">
<xsl:text> </xsl:text>
<xsl:value-of select="normalize-space (text())"/>
@@ -286,17 +288,30 @@
<xsl:otherwise>
<xsl:text> </xsl:text>
<!-- There should be only one t. -->
+ <xsl:choose>
+ <xsl:when test="(count (*[name()!='t']) = 0)">
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>text # RNC limitation: </xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
<xsl:for-each select="t">
<xsl:call-template name="t"/>
<xsl:call-template name="newline"/>
</xsl:for-each>
</xsl:otherwise>
</xsl:choose>
+ <xsl:variable
+ name="empty"
+ select="(count (t) = 0) and (string-length (normalize-space (text ())) = 0)"/>
<xsl:for-each select="*[name()!='t']">
<xsl:choose>
<xsl:when test="preceding-sibling::*">
<xsl:text> & </xsl:text>
</xsl:when>
+ <xsl:when test="$empty">
+ <xsl:text> </xsl:text>
+ </xsl:when>
<xsl:otherwise>
<xsl:text> & </xsl:text>
</xsl:otherwise>
Modified: trunk/openvas-manager/src/schema_formats/XML/OMP.xml
===================================================================
--- trunk/openvas-manager/src/schema_formats/XML/OMP.xml 2010-11-09 14:57:29 UTC (rev 9370)
+++ trunk/openvas-manager/src/schema_formats/XML/OMP.xml 2010-11-09 17:01:53 UTC (rev 9371)
@@ -5768,50 +5768,6 @@
</ele>
</ele>
</ele>
-
-
- <ele>
- <name>lsc_credential</name>
- <pattern>
- <attrib>
- <name>id</name>
- <comment>
- A UUID if there is a credential, otherwise the empty string
- </comment>
- <type>uuid_or_empty</type>
- <required>1</required>
- </attrib>
- <e>name</e>
- </pattern>
- <ele>
- <name>name</name>
- <summary>The name of the LSC credential</summary>
- <pattern><t>name</t></pattern>
- </ele>
- </ele>
- <ele>
- <name>tasks</name>
- <summary>All tasks using the task</summary>
- <pattern>
- <any><e>task</e></any>
- </pattern>
- <ele>
- <name>task</name>
- <pattern>
- <attrib>
- <name>id</name>
- <type>uuid</type>
- <required>1</required>
- </attrib>
- <e>name</e>
- </pattern>
- <ele>
- <name>name</name>
- <summary>The name of the task</summary>
- <pattern><t>name</t></pattern>
- </ele>
- </ele>
- </ele>
</ele>
</response>
<example>
More information about the Openvas-commits
mailing list