This repository has been archived by the owner on Apr 14, 2024. It is now read-only.
forked from greenbone/gvmd
/
GMP.xml.in
27286 lines (27254 loc) · 775 KB
/
GMP.xml.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!--
Copyright (C) 2010-2019 Greenbone Networks GmbH
SPDX-License-Identifier: GPL-2.0-or-later
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-->
<!-- GMP schema with embedded documentation, in GMP. -->
<protocol>
<name>Greenbone Management Protocol</name>
<abbreviation>GMP</abbreviation>
<summary>The management protocol of the Greenbone Vulnerability Manager</summary>
<version>@GMP_VERSION@</version>
<!-- Types. -->
<type>
<name>alive_test</name>
<summary>An alive test</summary>
<pattern>
xsd:token { pattern = "ICMP, TCP Service & ARP Ping|TCP Service & ARP Ping|ICMP & ARP Ping|ICMP & TCP Service Ping|ARP Ping|TCP Service Ping|ICMP Ping|Scan Config Default" }
</pattern>
</type>
<type>
<name>base64</name>
<summary>Base64 encoded data</summary>
<pattern>xsd:base64Binary</pattern>
</type>
<type>
<name>boolean</name>
<summary>A true or false value</summary>
<description>
Zero is false, anything else is true. As a result, the empty string is
considered true.
</description>
<pattern>text</pattern>
</type>
<type>
<name>boolean_atoi</name>
<summary>A true or false value, after conversion to an integer</summary>
<description>
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.
</description>
<pattern>text</pattern>
</type>
<type>
<name>ctime</name>
<summary>A date and time, in the C `ctime' format</summary>
<description>
An example string in this format is "Wed Jun 30 21:49:08 1993\n".
</description>
<pattern>text</pattern>
</type>
<type>
<name>type_name</name>
<summary>A name of a data type</summary>
<pattern>xsd:Name</pattern>
</type>
<type>
<name>integer</name>
<summary>An integer</summary>
<pattern>xsd:integer</pattern>
</type>
<type>
<name>iso_time</name>
<summary>A date and time, in ISO 8601 format</summary>
<description>
An example string in this format is "2011-11-08T19:57:06+02:00".
</description>
<pattern>text</pattern>
</type>
<type>
<name>levels</name>
<summary>A string that may include the characters h, m, l, g and d</summary>
<pattern>xsd:token { pattern = "h?m?l?g?d?" }</pattern>
</type>
<type>
<name>name</name>
<summary>A name</summary>
<description>
Typically this is the name of one of the manager resources, like a
task or target.
</description>
<pattern>xsd:string</pattern>
</type>
<type>
<name>port</name>
<summary>A port</summary>
<pattern>xsd:token { pattern = "[0-9]{1,5}" }</pattern>
</type>
<type>
<name>port_range</name>
<summary>A comma separated list of port ranges, prefixed with "T:" for TCP and "U:" for UDP, allowing whitespace</summary>
<pattern>xsd:token { pattern = "[TU]:[0-9]{1,5}(-[0-9]{1,5})?(,\s*[TU]:[0-9]{1,5}(-[0-9]{1,5})?)*" }</pattern>
</type>
<type>
<name>user_list</name>
<summary>A space separated list of users</summary>
<pattern>text</pattern>
</type>
<type>
<name>oid</name>
<summary>An Object Identifier (OID)</summary>
<pattern>xsd:token { pattern = "[0-9\.]{1,80}" }</pattern>
</type>
<type>
<name>severity</name>
<summary>A severity score</summary>
<description>
A severity score is a decimal number between 0.0 and 10.0 (inclusive) with
one digit after the decimal point or a special negative value
(-1.0, -2.0 or -3.0).
If a single severity score defines a constraint, e.g. on whether an
override applies, for values 0.0 and lower the severity must be equal
to match while for > 0.0 the compared value must be greater or equal.
</description>
<pattern>xsd:token { pattern = "-[1-3](\.0)?|[0-9](\.[0-9])?|10(\.0)?" }</pattern>
</type>
<type>
<name>sort_order</name>
<summary>A string describing an order for sorting</summary>
<description>
The string "descending" denotes descending order, anything else means
ascending.
</description>
<pattern>text</pattern>
</type>
<type>
<name>status</name>
<summary>The success or failure status of a command</summary>
<pattern>xsd:token { pattern = "200|201|202|400|401|403|404|409|500|503" }</pattern>
</type>
<type>
<name>task_status</name>
<summary>A task run status</summary>
<pattern>
xsd:token { pattern = "Delete Requested|Done|New|Requested|Running|Stop Requested|Stopped|Interrupted" }
</pattern>
</type>
<type>
<name>task_trend</name>
<summary>The trend of results for a task</summary>
<pattern>
xsd:token { pattern = "up|down|more|less|same" }
</pattern>
</type>
<type>
<name>ticket_status</name>
<summary>A ticket status</summary>
<pattern>
xsd:token { pattern = "Open|Fixed|Fix Verified|Closed" }
</pattern>
</type>
<type>
<name>threat</name>
<summary>A threat level</summary>
<description>
Threat levels are a classification of severity scores only
supported for importing reports from OpenVAS-6 and older.
The use of these elements is deprecated as they are otherwise replaced by
severity elements, which should be used instead.
</description>
<pattern>xsd:token { pattern = "High|Medium|Low|Alarm|Log|Debug" }</pattern>
</type>
<type>
<name>time_unit</name>
<summary>A unit of time</summary>
<pattern>xsd:token { pattern = "second|minute|hour|day|week|month|year|decade" }</pattern>
</type>
<type>
<name>timezone</name>
<summary>A timezone</summary>
<description>
<p>
The format of a timezone is the same as that of the TZ environment
variable on GNU/Linux systems. That is, the same value accepted by the
tzset C function. There are three versions of the format. Note the lack
of spaces in the examples.
</p>
<p>
"std offset" defines a simple timezone. For example,
"FOO+2" defines a timezone FOO which is 2 hours behind UTC.
</p>
<p>
"std offset dst [offset],start[/time],end[/time]" defines a timezone,
including daylight savings time. For example,
"NZST-12.00:00NZDT-13:00:00,M10.1.0,M3.3.0".
</p>
<p>
":[filespec]" refers to a predefined timezone. For example,
":Africa/Johannesburg". Note that the colon is optional. Certain
acronyms are predefined, such as GB, NZ and CET.
</p>
</description>
<pattern>text</pattern>
</type>
<type>
<name>uuid</name>
<summary>A Universally Unique Identifier (UUID)</summary>
<pattern>xsd:token { pattern = "[0-9abcdefABCDEF\-]{1,40}" }</pattern>
</type>
<type>
<name>uuid_or_empty</name>
<summary>A Universally Unique Identifier (UUID), or the empty string</summary>
<pattern>xsd:token { pattern = "[0-9abcdefABCDEF\-]{0,40}" }</pattern>
</type>
<!-- Elements. -->
<element>
<name>c</name>
<summary>A reference to a command</summary>
<pattern>text</pattern>
</element>
<element>
<name>e</name>
<summary>A reference to an element</summary>
<pattern>text</pattern>
</element>
<element>
<name>r</name>
<summary>A reference to a response</summary>
<pattern>text</pattern>
</element>
<element>
<name>o</name>
<summary>An optional pattern item</summary>
<pattern>
<or>
<e>c</e>
<e>e</e>
<e>r</e>
<e>g</e>
</or>
</pattern>
</element>
<element>
<name>g</name>
<summary>A group of pattern items</summary>
<pattern>
<any><e>c</e></any>
<any><e>e</e></any>
<any><e>r</e></any>
<any><e>o</e></any>
<any><e>any</e></any>
</pattern>
</element>
<element>
<name>any</name>
<summary>Pattern item indicating "any number of"</summary>
<pattern>
<or>
<e>c</e>
<e>e</e>
<e>r</e>
<e>g</e>
</or>
</pattern>
</element>
<element>
<name>pattern</name>
<summary>The pattern element of a command or command descendant</summary>
<description>
It's actually either a 't' element, or the word "text", or "".
</description>
<pattern>
<any><e>attrib</e></any>
<any><e>c</e></any>
<any><e>e</e></any>
<any><e>r</e></any>
<any><e>o</e></any>
<any><e>g</e></any>
<any><e>any</e></any>
<o><e>t</e></o>
text
</pattern>
<ele>
<name>attrib</name>
<summary>An attribute</summary>
<pattern>
<e>name</e>
<e>type</e>
<e>required</e>
<any><e>filter_keywords</e></any>
</pattern>
<ele>
<name>name</name>
<pattern><t>type_name</t></pattern>
</ele>
<ele>
<name>type</name>
<pattern><t>type_name</t></pattern>
</ele>
<ele>
<name>required</name>
<pattern><t>boolean</t></pattern>
</ele>
<ele>
<name>filter_keywords</name>
<pattern><t>filter_keywords</t></pattern>
<summary>Optional description of filter keywords usable in the attribute</summary>
</ele>
</ele>
<ele>
<name>t</name>
<summary>The type of the text of the element</summary>
<pattern><t>type_name</t></pattern>
</ele>
</element>
<element>
<name>command_definition</name>
<summary>Definition of a command in GMP describing HELP command</summary>
<pattern>
<e>name</e>
<o><e>summary</e></o>
<o><e>description</e></o>
<or>
<g>
<e>pattern</e>
<e>response</e>
</g>
<g>
<e>type</e>
<any><e>ele</e></any>
</g>
</or>
<any><e>example</e></any>
</pattern>
<ele>
<name>name</name>
<summary>The name of the command</summary>
<description>The name must be unique</description>
<pattern><t>type_name</t></pattern>
</ele>
<ele>
<name>summary</name>
<summary>A summary of the command</summary>
<pattern>text</pattern>
</ele>
<ele>
<name>description</name>
<summary>A description of the command</summary>
<pattern>
<any><e>p</e></any>
text
</pattern>
<ele>
<name>p</name>
<summary>A paragraph</summary>
<pattern>text</pattern>
</ele>
</ele>
<ele>
<name>pattern</name>
<type>pattern</type>
</ele>
<ele>
<name>response</name>
<type>pattern</type>
</ele>
<ele>
<name>example</name>
<pattern>
<o><e>summary</e></o>
<o><e>description</e></o>
<e>request</e>
<e>response</e>
</pattern>
<ele>
<name>summary</name>
<pattern>text</pattern>
</ele>
<ele>
<name>description</name>
<pattern>text</pattern>
</ele>
<ele>
<name>request</name>
<summary>Example request</summary>
<description>This can actually contain any XML</description>
<pattern>text</pattern>
</ele>
<ele>
<name>response</name>
<summary>Response to example request</summary>
<description>This can actually contain any XML</description>
<pattern>text</pattern>
</ele>
</ele>
<ele>
<name>type</name>
<summary>The type of the element</summary>
<pattern>text</pattern>
</ele>
<ele>
<name>ele</name>
<summary>An element</summary>
<description>
<p>
This is a recursive definition.
</p>
<p>
command_definition actually includes an extra response element, but
it's convenient to use it for the elements.
</p>
</description>
<type>command_definition</type>
</ele>
</element>
<element>
<name>filter_keywords</name>
<summary>A group of filter keywords usable in an attribute or element text</summary>
<pattern>
<o><e>condition</e></o>
<any><e>column</e></any>
<any><e>option</e></any>
</pattern>
<ele>
<name>condition</name>
<pattern>text</pattern>
<summary>Description of the condition under which the group of keywords applies</summary>
</ele>
<ele>
<name>column</name>
<pattern>
<e>name</e>
<e>type</e>
<e>summary</e>
</pattern>
<summary>A column that can be used multiple times with operators and in sorting</summary>
<ele>
<name>name</name>
<pattern>name</pattern>
<summary>Name of the keyword as used in the filter</summary>
</ele>
<ele>
<name>type</name>
<pattern><t>type_name</t></pattern>
<summary>Type of the values the keyword can use</summary>
</ele>
<ele>
<name>summary</name>
<pattern>text</pattern>
<summary>Short description of the keyword</summary>
</ele>
</ele>
<ele>
<name>option</name>
<pattern>
<e>name</e>
<e>type</e>
<e>summary</e>
</pattern>
<summary>An option only applied once which cannot be used with operators or in sorting</summary>
<ele>
<name>name</name>
<pattern>name</pattern>
<summary>Name of the keyword as used in the filter</summary>
</ele>
<ele>
<name>type</name>
<pattern><t>type_name</t></pattern>
<summary>Type of the values the keyword can use</summary>
</ele>
<ele>
<name>summary</name>
<pattern>text</pattern>
<summary>Short description of the keyword</summary>
</ele>
</ele>
</element>
<element>
<name>certificate_info</name>
<summary>Info about a certificate</summary>
<pattern>
<e>time_status</e>
<e>activation_time</e>
<e>expiration_time</e>
<e>issuer</e>
<e>md5_fingerprint</e>
</pattern>
<ele>
<name>time_status</name>
<summary>
Whether the certificate is valid, expired or not active yet
</summary>
<pattern>
<t>
<alts>
<alt>expired</alt>
<alt>inactive</alt>
<alt>unknown</alt>
<alt>valid</alt>
</alts>
</t>
</pattern>
</ele>
<ele>
<name>activation_time</name>
<summary>Time before which the certificate is not valid</summary>
<pattern>text</pattern>
</ele>
<ele>
<name>expiration_time</name>
<summary>Time after which the certificate is no longer valid</summary>
<pattern>text</pattern>
</ele>
<ele>
<name>issuer</name>
<summary>DN of the issuer of the certificate</summary>
<pattern>text</pattern>
</ele>
<ele>
<name>md5_fingerprint</name>
<summary>MD5 fingerprint of the certificate</summary>
<pattern>text</pattern>
</ele>
</element>
<element>
<name>note</name>
<summary>A note</summary>
<pattern>
<attrib>
<name>id</name>
<type>uuid</type>
<required>1</required>
</attrib>
<e>permissions</e>
<e>owner</e>
<e>nvt</e>
<e>text</e>
<e>creation_time</e>
<e>modification_time</e>
<e>writable</e>
<e>in_use</e>
<e>active</e>
<e>orphan</e>
<o><e>user_tags</e></o>
<o>
<g>
<e>hosts</e>
<e>port</e>
<e>severity</e>
<e>threat</e>
<e>task</e>
<o><e>end_time</e></o>
<o><e>result</e></o>
</g>
</o>
</pattern>
<ele>
<name>permissions</name>
<summary>Permissions that the current user has on the note</summary>
<pattern>
<any><e>permission</e></any>
</pattern>
<ele>
<name>permission</name>
<pattern>
<e>name</e>
</pattern>
<ele>
<name>name</name>
<summary>The name of the permission</summary>
<pattern><t>name</t></pattern>
</ele>
</ele>
</ele>
<ele>
<name>owner</name>
<summary>Owner of the note</summary>
<pattern>
<e>name</e>
</pattern>
<ele>
<name>name</name>
<summary>The name of the owner</summary>
<pattern><t>name</t></pattern>
</ele>
</ele>
<ele>
<name>nvt</name>
<pattern>
<attrib>
<name>oid</name>
<type>oid</type>
<required>1</required>
</attrib>
<e>name</e>
<e>type</e>
</pattern>
<ele>
<name>name</name>
<pattern><t>name</t></pattern>
</ele>
<ele>
<name>type</name>
<summary>The type of the NVT: nvt, cve, ovaldef, ...</summary>
<pattern>text</pattern>
</ele>
</ele>
<ele>
<name>creation_time</name>
<summary>Date and time the note was created</summary>
<pattern><t>iso_time</t></pattern>
</ele>
<ele>
<name>modification_time</name>
<summary>Date and time the note was last modified</summary>
<pattern><t>iso_time</t></pattern>
</ele>
<ele>
<name>writable</name>
<pattern><t>boolean</t></pattern>
</ele>
<ele>
<name>in_use</name>
<pattern><t>boolean</t></pattern>
</ele>
<ele>
<name>active</name>
<summary>Whether the note is active</summary>
<pattern><t>boolean</t></pattern>
</ele>
<ele>
<name>text</name>
<summary>The text of the note</summary>
<pattern>
<attrib>
<name>excerpt</name>
<summary>Whether the content is an excerpt of the full text</summary>
<type>boolean</type>
<required>1</required>
</attrib>
text
</pattern>
</ele>
<ele>
<name>orphan</name>
<summary>Whether the note is an orphan</summary>
<pattern><t>boolean</t></pattern>
</ele>
<ele>
<name>user_tags</name>
<summary>Info on tags attached to the note</summary>
<pattern>
<e>count</e>
<any><e>tag</e></any>
</pattern>
<ele>
<name>count</name>
<summary>Number of attached tags</summary>
<pattern><t>integer</t></pattern>
</ele>
<ele>
<name>tag</name>
<summary>
Short info on an individual tag
(only if details were requested)
</summary>
<pattern>
<attrib>
<name>id</name>
<type>uuid</type>
<summary>UUID of the tag</summary>
<required>1</required>
</attrib>
<e>name</e>
<e>value</e>
<e>comment</e>
</pattern>
<ele>
<name>name</name>
<summary>Name of the tag (usually namespace:predicate)</summary>
<pattern>text</pattern>
</ele>
<ele>
<name>value</name>
<summary>Value of the tag</summary>
<pattern>text</pattern>
</ele>
<ele>
<name>comment</name>
<summary>Comment for the tag</summary>
<pattern>text</pattern>
</ele>
</ele>
</ele>
<ele>
<name>hosts</name>
<summary>A comma-separated list of hosts</summary>
<pattern>
text
</pattern>
</ele>
<ele>
<name>port</name>
<summary>Port to which note applies</summary>
<pattern>
text
</pattern>
</ele>
<ele>
<name>severity</name>
<summary>Severity to which note applies</summary>
<pattern>
<t>severity</t>
</pattern>
</ele>
<ele>
<name>threat</name>
<summary>Threat level to which note applies</summary>
<pattern>
<t>threat</t>
</pattern>
</ele>
<ele>
<name>task</name>
<summary>Task to which note applies</summary>
<pattern>
<attrib>
<name>id</name>
<type>uuid</type>
<required>1</required>
</attrib>
</pattern>
</ele>
<ele>
<name>active</name>
<summary>Whether the note is active</summary>
<pattern><t>integer</t></pattern>
</ele>
<ele>
<name>end_time</name>
<summary>End time of the note in case of limit, else empty</summary>
<pattern>text</pattern>
</ele>
<ele>
<name>result</name>
<summary>Result to which note applies</summary>
<pattern>
<attrib>
<name>id</name>
<type>uuid</type>
<required>1</required>
</attrib>
<e>host</e>
<e>port</e>
<e>nvt</e>
<e>severity</e>
<e>threat</e>
<e>qod</e>
<e>description</e>
</pattern>
<ele>
<name>host</name>
<pattern>
<e>asset</e>
text
</pattern>
<ele>
<name>asset</name>
<summary>Asset linked to host</summary>
<pattern>
<attrib>
<name>asset_id</name>
<type>uuid</type>
<required>1</required>
</attrib>
</pattern>
</ele>
</ele>
<ele>
<name>port</name>
<pattern>text</pattern>
</ele>
<ele>
<name>nvt</name>
<pattern>
<attrib>
<name>oid</name>
<type>oid</type>
<required>1</required>
</attrib>
<e>name</e>
<e>type</e>
<e>cvss_base</e>
<o><e>cve</e></o>
<o><e>bid</e></o>
</pattern>
<ele>
<name>name</name>
<pattern><t>name</t></pattern>
</ele>
<ele>
<name>type</name>
<summary>The type of the NVT: nvt, cve, ovaldef, ...</summary>
<pattern>text</pattern>
</ele>
<ele>
<name>cvss_base</name>
<pattern>text</pattern>
</ele>
<ele>
<name>cve</name>
<summary>CVE value associated with the NVT</summary>
<pattern>text</pattern>
</ele>
<ele>
<name>bid</name>
<summary>BID associated with the NVT</summary>
<pattern><t>integer</t></pattern>
</ele>
</ele>
<ele>
<name>severity</name>
<pattern>
<t>severity</t>
</pattern>
</ele>
<ele>
<name>threat</name>
<pattern>
<t>threat</t>
</pattern>
</ele>
<ele>
<name>qod</name>
<summary>The quality of detection (QoD) of the result</summary>
<pattern>
<e>value</e>
<e>type</e>
</pattern>
<ele>
<name>value</name>
<summary>The numeric QoD value</summary>
<pattern><t>integer</t></pattern>
</ele>
<ele>
<name>type</name>
<summary>The QoD type</summary>
<pattern>text</pattern>
</ele>
</ele>
<ele>
<name>description</name>
<pattern>text</pattern>
</ele>
</ele>
</element>
<element>
<name>override</name>
<summary>An override</summary>
<pattern>
<attrib>
<name>id</name>
<type>uuid</type>
<required>1</required>
</attrib>
<e>permissions</e>
<e>owner</e>
<e>nvt</e>
<e>creation_time</e>
<e>modification_time</e>
<e>writable</e>
<e>in_use</e>
<e>active</e>
<e>text</e>
<e>threat</e>
<e>severity</e>
<e>new_threat</e>
<e>new_severity</e>
<e>orphan</e>
<e>permissions</e>
<o><e>user_tags</e></o>
<o>
<g>
<e>hosts</e>
<e>port</e>
<e>task</e>
<o><e>end_time</e></o>
<o><e>result</e></o>
</g>
</o>
</pattern>
<ele>
<name>permissions</name>
<summary>Permissions that the current user has on the note</summary>
<pattern>
<any><e>permission</e></any>
</pattern>
<ele>
<name>permission</name>
<pattern>
<e>name</e>
</pattern>
<ele>
<name>name</name>
<summary>The name of the permission</summary>
<pattern><t>name</t></pattern>
</ele>
</ele>
</ele>
<ele>
<name>owner</name>
<summary>Owner of the override</summary>
<pattern>
<e>name</e>
</pattern>
<ele>
<name>name</name>
<pattern><t>name</t></pattern>
</ele>
</ele>
<ele>
<name>nvt</name>
<pattern>
<attrib>
<name>oid</name>
<type>oid</type>
<required>1</required>
</attrib>
<e>name</e>
<e>type</e>
</pattern>
<ele>
<name>name</name>
<pattern><t>name</t></pattern>
</ele>
<ele>
<name>type</name>
<summary>The type of the NVT: nvt, cve, ovaldef, ...</summary>
<pattern>text</pattern>
</ele>
</ele>
<ele>
<name>creation_time</name>
<summary>Date and time the override was created</summary>
<pattern><t>iso_time</t></pattern>
</ele>
<ele>
<name>modification_time</name>
<summary>Date and time the override was last modified</summary>
<pattern><t>iso_time</t></pattern>
</ele>
<ele>
<name>writable</name>
<pattern><t>boolean</t></pattern>
</ele>
<ele>
<name>in_use</name>
<pattern><t>boolean</t></pattern>
</ele>
<ele>
<name>active</name>
<summary>Whether the override is currently active</summary>
<pattern><t>boolean</t></pattern>
</ele>
<ele>
<name>text</name>
<summary>The text of the override</summary>
<pattern>
<attrib>
<name>excerpt</name>
<summary>Whether the contents is an excerpt of the full text</summary>
<type>boolean</type>
<required>1</required>
</attrib>
text
</pattern>
</ele>
<ele>
<name>threat</name>
<summary>
Threat level to which override applies, derived from severity
</summary>
<pattern>
<t>threat</t>
</pattern>
</ele>
<ele>
<name>severity</name>
<summary>Severity score to which override applies</summary>