-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathevent-logging-v3-client-v3.2.4-WIP.xsd
3259 lines (3246 loc) · 173 KB
/
event-logging-v3-client-v3.2.4-WIP.xsd
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
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2016 Crown Copyright
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<xs:schema xmlns:evt="event-logging:3"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="event-logging:3"
elementFormDefault="qualified"
attributeFormDefault="unqualified"
version="3.2.4"
id="event-logging-v3.2.4-client">
<xs:annotation>
<xs:documentation>This schema describes the allowed element structure for event logging. Please refer to the documentation and examples for a description of how to use this schema in addition to the descriptions given for each element within this schema.</xs:documentation>
</xs:annotation>
<xs:element name="Event">
<xs:annotation>
<xs:documentation>A single event that has occurred and been recorded.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="Classification"
type="evt:ClassificationComplexType"
minOccurs="0"
maxOccurs="1">
<xs:annotation>
<xs:documentation>The classification for the event.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="EventTime" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>This element contains information about the time the event was created.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="TimeCreated"
type="evt:DateTimeSimpleType"
minOccurs="1"
maxOccurs="1">
<xs:annotation>
<xs:documentation>This element contains information about the time the event was created.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TimeSource"
type="evt:DeviceComplexType"
minOccurs="0"
maxOccurs="1">
<xs:annotation>
<xs:documentation>This is an optional element to be used to indicate the time source that the event creation time has been synchronised with. In most circumstances it is assumed that the event time has been synchronised with the corporate time service where the generating device resides so the inclusion of this element is not required.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="EventSource" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>This element details where the event came from, i.e. what generator created the event and on what device.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="System"
type="evt:SystemComplexType"
minOccurs="1"
maxOccurs="1">
<xs:annotation>
<xs:documentation>The system that generated the event. This is not the same as the generator as the generator is merely the application or component that created the event, e.g. auditd. The system describes the higher level project/service or capability that uses the generator as a component, e.g. 'Payroll System'.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Generator" type="xs:string" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>The thing that generated the event. This could be the name of an application, service or OS entity. Multiple devices may host the same generator, e.g. many copies of the same OS. The event type within the event description will describe an event that is unique to the generator, i.e. the generator is treated as a namespace for event type ids.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice minOccurs="1" maxOccurs="1">
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="Device"
type="evt:DeviceComplexType"
minOccurs="1"
maxOccurs="1">
<xs:annotation>
<xs:documentation>A description of the device that the event generator is hosted upon.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Client"
type="evt:DeviceComplexType"
minOccurs="0"
maxOccurs="1">
<xs:annotation>
<xs:documentation>In situations where an event has been created as a result of an interaction with a client device, the client should be recorded. This will be the case for web applications that are responding to input from users with active sessions. All authentication events that originate from a connected client should populate this element.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Server"
type="evt:DeviceComplexType"
minOccurs="0"
maxOccurs="1">
<xs:annotation>
<xs:documentation>In situations where an event has been created as a result of an interaction with a server device, the server should be recorded.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="Door" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>Physical access events are generated by doors. This element describes the type of door that created the event.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="Name" type="xs:string" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>The site-wide name/identifier for the door.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Description" type="xs:string" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>A user readable description of the door.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Location"
type="evt:LocationComplexType"
minOccurs="1"
maxOccurs="1">
<xs:annotation>
<xs:documentation>Describes the geographic location of the device.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SingleEntry"
type="xs:boolean"
minOccurs="1"
maxOccurs="1">
<xs:annotation>
<xs:documentation>It is assumed that doors only allow for a single authenticated person to enter at a time, e.g. in the case of turnstiles. Where single entry is true this element can be omitted as this is expected by default.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="RemoveAll" type="xs:boolean" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>This element is used to tell us to remove all access zones from the list of currently accesible zones for a user before adding a new one. This is the case whenever a user moves from one zone to another and loses all possible access to the zones they were previously in, i.e. they would need to re-authenticate to regain access rather than just pass back through the door. If not specified this element is considered to be true as most movement through a door removes access to previously accessible zones.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AddAccess" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>A list of access zones that have been added by this event assuming it is successful.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="AccessZone"
type="xs:string"
minOccurs="1"
maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>An area within a building that is accessible only via an authenticated access method, e.g. a turnstile or door with an access control system.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:choice>
<xs:element name="User"
type="evt:UserComplexType"
minOccurs="0"
maxOccurs="1">
<xs:annotation>
<xs:documentation>Where events are created as a result of a user action or within the context of a user account, the user should be recorded. To achieve this it may be necessary to map the user identifier in an application to a common user identifier when populating this element. Where an identifier exists that is unique across the organisation, such as a distinguished name (User DN) from a certificate authority or directory service, then this should be used in the <Id> element in preference to any other user identifier.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="RunAs"
type="evt:UserComplexType"
minOccurs="0"
maxOccurs="1">
<xs:annotation>
<xs:documentation>In some cases an account may switch to another account in order to run a process or perform a privileged action, e.g. use of sudo. Where this happens the <User> element should still refer to the real user and this element should indicate what the temporary user was when the event was created, e.g. root. This is also often used when a system user (processing account) executes scheduled jobs on behalf of the real user that scheduled the job. Where an identifier exists that is unique across the organisation, such as a distinguished name (User DN) from a certificate authority or directory service, then this should be used in the <Id> element in preference to any other user identifier.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Interactive"
type="xs:boolean"
minOccurs="0"
maxOccurs="1">
<xs:annotation>
<xs:documentation>Indicates whether the event was produced as a result of direct interaction, i.e. user was directly responsible for the event being created and was present at the time it was created. This element will be false where an event may have been created after the user was present, e.g. where scheduled processing is performed or an action has been queued for execution later, as is the case when some form of asynchronous processing is used. All interactive events must provide the Id for the user. Can be omitted if true as this is the default.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Data"
type="evt:DataComplexType"
minOccurs="0"
maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Any other event data that does not fit into a schema element but may be useful for the purpose of audit.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="EventDetail" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>This element describes the details of the event, i.e. what happened.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="TypeId" type="xs:string" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>A name/code/ID to uniquely identify the logical event type within the service providing the events. E.g a Windows eventId (i.e representing 'Failed logon', 'Chane password attempt', etc.) or for application logging: SaveRecord, ViewUserRecord, ViewSearchResults, etc. The granularity will depend on the application. Typically the number of unique TypeIds will be in the 10s. Note, the values of the TypeId are not meant to be globally consistent, they will only be relevant within that service providing the events.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Description" type="xs:string" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Some human readable descriptive text for the event type.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Classification"
type="evt:ClassificationComplexType"
minOccurs="0"
maxOccurs="1">
<xs:annotation>
<xs:documentation>Use of this element is deprecated and Event/Classification should be used instead</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Purpose"
type="evt:PurposeComplexType"
minOccurs="0"
maxOccurs="1">
<xs:annotation>
<xs:documentation>The purpose/justification assigned to this event for user actions that are required to be justified for reasons of corporate policy, e.g. transferring data to removable media, viewing personnel records or making a high value payment.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice minOccurs="1" maxOccurs="1">
<xs:element name="Authenticate" type="AuthenticateType" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>Used to record authentication events such as logon and logoff. All authentication events that originate from a client device should record details of the client device in the event source.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Authorise" type="AuthoriseType" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>All events related to account management such as adding and removing user and system accounts.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Search"
type="evt:SearchComplexType"
minOccurs="1"
maxOccurs="1">
<xs:annotation>
<xs:documentation>Any events related to searching for data should use this element.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Copy"
type="evt:CopyComplexType"
minOccurs="1"
maxOccurs="1">
<xs:annotation>
<xs:documentation>All events related to copying data should use this element.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Move"
type="evt:MoveComplexType"
minOccurs="1"
maxOccurs="1">
<xs:annotation>
<xs:documentation>All events related to moving data should use this element.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Create"
type="evt:ObjectOutcomeComplexType"
minOccurs="1"
maxOccurs="1">
<xs:annotation>
<xs:documentation>All events related to creating data should use this element.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="View"
type="evt:ObjectOutcomeComplexType"
minOccurs="1"
maxOccurs="1">
<xs:annotation>
<xs:documentation>All events related to viewing data should use this element. Note that viewing data is subtly different from reading data. This event is to be used when data is displayed to an end user and not for data read by an application.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Import"
type="evt:ImportComplexType"
minOccurs="1"
maxOccurs="1">
<xs:annotation>
<xs:documentation>All events related to importing data should use this element. An import could include any batch insert of data from an external source or uploading a file.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Export"
type="evt:ExportComplexType"
minOccurs="1"
maxOccurs="1">
<xs:annotation>
<xs:documentation>All events related to exporting data should use this element. An export could include activities such as downloading data from an application or generating a report.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Update" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>All events related to updating data should use this element.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="Before"
type="evt:MultiObjectComplexType"
minOccurs="0"
maxOccurs="1">
<xs:annotation>
<xs:documentation>Describes the state of one or more object properties before it was changed.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="After"
type="evt:MultiObjectComplexType"
minOccurs="1"
maxOccurs="1">
<xs:annotation>
<xs:documentation>Describes the state of one or more object properties after it was changed.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Outcome"
type="evt:OutcomeComplexType"
minOccurs="0"
maxOccurs="1">
<xs:annotation>
<xs:documentation>Used to determine if the action was successful. If omitted it is assumed that the event was successful and was permitted.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Data"
type="evt:DataComplexType"
minOccurs="0"
maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Any other event data that does not fit into a schema element but may be useful for the purpose of audit.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Delete"
type="evt:ObjectOutcomeComplexType"
minOccurs="1"
maxOccurs="1">
<xs:annotation>
<xs:documentation>All events related to deleting data should use this element.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Process" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>Whenever processes such as applications or services are started, stopped etc, this should be recorded in this element. It also covers the running of batch processes or jobs.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="Action"
type="evt:ProcessActionSimpleType"
minOccurs="1"
maxOccurs="1">
<xs:annotation>
<xs:documentation>The action that the process event is capturing, e.g. Startup, Shutdown.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Type"
type="evt:ProcessTypeSimpleType"
minOccurs="1"
maxOccurs="1">
<xs:annotation>
<xs:documentation>The type of process, e.g. Application, OS, Service.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Command" type="xs:string" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>The name of the process.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Arguments" type="xs:string" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>The process command arguments/parameters.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ProcessId" type="xs:string" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>The system identifier for the process.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ThreadId"
type="xs:positiveInteger"
minOccurs="0"
maxOccurs="1">
<xs:annotation>
<xs:documentation>The thread identifier for the process.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Rule" type="xs:string" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>The rule that was triggered when this process event happened.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Input"
type="evt:MultiObjectComplexType"
minOccurs="0"
maxOccurs="1">
<xs:annotation>
<xs:documentation>Any objects used as input to the process.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Output"
type="evt:MultiObjectComplexType"
minOccurs="0"
maxOccurs="1">
<xs:annotation>
<xs:documentation>Any objects output by the process</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Outcome"
type="evt:OutcomeComplexType"
minOccurs="0"
maxOccurs="1">
<xs:annotation>
<xs:documentation>Used to determine if the action was successful. If omitted it is assumed that the event was successful and was permitted.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Data"
type="evt:DataComplexType"
minOccurs="0"
maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Any other event data that does not fit into a schema element but may be useful for the purpose of audit.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Print" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>All events related to printing should use this element.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="Action"
type="evt:PrintActionSimpleType"
minOccurs="1"
maxOccurs="1">
<xs:annotation>
<xs:documentation>The print action that was performed, e.g. CreateJob.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PrintJob" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>Describes the print job that the event relates to.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="Document"
type="evt:DocumentComplexType"
minOccurs="1"
maxOccurs="1">
<xs:annotation>
<xs:documentation>Describes the document being printed.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Pages"
type="xs:nonNegativeInteger"
minOccurs="0"
maxOccurs="1">
<xs:annotation>
<xs:documentation>The number of pages being printed.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Size"
type="xs:nonNegativeInteger"
minOccurs="0"
maxOccurs="1">
<xs:annotation>
<xs:documentation>The size of the print job in bytes.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Submitted"
type="evt:DateTimeSimpleType"
minOccurs="0"
maxOccurs="1">
<xs:annotation>
<xs:documentation>The time that the print job was submitted.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PrintSettings" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>The printer settings that are to be used for the print job.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="PaperSize" type="xs:string" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>The paper size, e.g. A4.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Orientation"
type="evt:PrintSettingsOrientationSimpleType"
minOccurs="0"
maxOccurs="1">
<xs:annotation>
<xs:documentation>The paper orientation, e.g. Portrait, Landscape.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Colour" type="xs:boolean" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>True if printing in colour. Most printing is performed in black and white so this defaults to false and can therefore be omitted if printing in black and white.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DeviceFonts"
type="xs:boolean"
minOccurs="0"
maxOccurs="1">
<xs:annotation>
<xs:documentation>True if fonts are to be used on the printing device. Using device fonts reduces the size of the print job as no font information needs to be supplied to the printer. However, using device fonts will result in different output on different printers. Most print jobs will not use device fonts so this defaults to false and can therefore be omitted if device fonts are not being used.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Data"
type="evt:DataComplexType"
minOccurs="0"
maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Any other event data that does not fit into a schema element but may be useful for the purpose of audit.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Printer"
type="evt:DeviceComplexType"
minOccurs="0"
maxOccurs="1">
<xs:annotation>
<xs:documentation>Describes the printer to use for the print job.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Outcome"
type="evt:OutcomeComplexType"
minOccurs="0"
maxOccurs="1">
<xs:annotation>
<xs:documentation>Used to determine if the action was successful. If omitted it is assumed that the event was successful and was permitted.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Data"
type="evt:DataComplexType"
minOccurs="0"
maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Any other event data that does not fit into a schema element but may be useful for the purpose of audit.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Install"
type="evt:InstallComplexType"
minOccurs="1"
maxOccurs="1">
<xs:annotation>
<xs:documentation>Details about installation of either hardware or software.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Uninstall"
type="evt:InstallComplexType"
minOccurs="1"
maxOccurs="1">
<xs:annotation>
<xs:documentation>Details about removal of either hardware or software.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Network" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>Any events related to network traffic, filtering or access should be recorded using this element.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice minOccurs="1" maxOccurs="1">
<xs:element name="Bind"
type="evt:NetworkComplexType"
minOccurs="1"
maxOccurs="1"/>
<xs:element name="Connect"
type="evt:NetworkComplexType"
minOccurs="1"
maxOccurs="1"/>
<xs:element name="Open"
type="evt:NetworkComplexType"
minOccurs="1"
maxOccurs="1"/>
<xs:element name="Close"
type="evt:NetworkComplexType"
minOccurs="1"
maxOccurs="1"/>
<xs:element name="Send"
type="evt:NetworkComplexType"
minOccurs="1"
maxOccurs="1"/>
<xs:element name="Receive"
type="evt:NetworkComplexType"
minOccurs="1"
maxOccurs="1"/>
<xs:element name="Listen"
type="evt:NetworkComplexType"
minOccurs="1"
maxOccurs="1"/>
<xs:element name="Permit"
type="evt:NetworkComplexType"
minOccurs="1"
maxOccurs="1"/>
<xs:element name="Deny"
type="evt:NetworkComplexType"
minOccurs="1"
maxOccurs="1"/>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="AntiMalware" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>Used for all anti-malware related events.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:choice minOccurs="1" maxOccurs="1">
<xs:element name="StartScan"
type="evt:AntiMalwareComplexType"
minOccurs="1"
maxOccurs="1"/>
<xs:element name="StopScan"
type="evt:AntiMalwareComplexType"
minOccurs="1"
maxOccurs="1"/>
<xs:element name="Admin"
type="evt:AntiMalwareComplexType"
minOccurs="1"
maxOccurs="1"/>
<xs:element name="Quarantine"
type="evt:AntiMalwareThreatComplexType"
minOccurs="1"
maxOccurs="1"/>
<xs:element name="Report"
type="evt:AntiMalwareComplexType"
minOccurs="1"
maxOccurs="1"/>
<xs:element name="Email"
type="evt:AntiMalwareComplexType"
minOccurs="1"
maxOccurs="1"/>
<xs:element name="Delete"
type="evt:AntiMalwareThreatComplexType"
minOccurs="1"
maxOccurs="1"/>
<xs:element name="ScanEngineUpdated"
type="evt:AntiMalwareComplexType"
minOccurs="1"
maxOccurs="1"/>
<xs:element name="SignaturesUpdated"
type="evt:AntiMalwareComplexType"
minOccurs="1"
maxOccurs="1"/>
</xs:choice>
<xs:element name="Outcome"
type="evt:OutcomeComplexType"
minOccurs="0"
maxOccurs="1">
<xs:annotation>
<xs:documentation>Used to determine if the action was successful. If omitted it is assumed that the event was successful and was permitted.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Data"
type="evt:DataComplexType"
minOccurs="0"
maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Any other event data that does not fit into a schema element but may be useful for the purpose of audit.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Alert" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>An alert event according to the system producing the event, e.g. an event raised when an anti-malware system finds malware.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="Type"
type="evt:AlertTypeSimpleType"
minOccurs="1"
maxOccurs="1"/>
<xs:element name="Severity"
type="evt:AlertSeveritySimpleType"
minOccurs="0"
maxOccurs="1">
<xs:annotation>
<xs:documentation>The severity of the alert.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Priority"
type="evt:AlertPrioritySimpleType"
minOccurs="0"
maxOccurs="1">
<xs:annotation>
<xs:documentation>The priority of the alert.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Subject" type="xs:string" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>The name of the event or rule that fired or vulnerability or malware that has been scanned for or found.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Description" type="xs:string" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>The descriptive message for the alert.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="IDS" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Information about an IDS generated event.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="Rule" type="xs:string" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>The type of IDS event or rule that fired.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Source"
type="evt:NetworkSrcDstComplexType"
minOccurs="0"
maxOccurs="1">
<xs:annotation>
<xs:documentation>The source network device involved in the IDS event.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Destination"
type="evt:NetworkSrcDstComplexType"
minOccurs="0"
maxOccurs="1">
<xs:annotation>
<xs:documentation>The destination network device involved in the IDS event.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Payload"
type="evt:MultiObjectComplexType"
minOccurs="0"
maxOccurs="1">
<xs:annotation>
<xs:documentation>Details about the payload being transmitted between the source and destination devices.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Malware"
type="evt:AntiMalwareThreatComplexType"
minOccurs="0"
maxOccurs="1"/>
<xs:element name="Network"
type="evt:BaseNetworkComplexType"
minOccurs="0"
maxOccurs="1"/>
<xs:element name="Change" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Any events to do with monitoring the status of files should use this element.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="Action"
type="evt:ChangeActionSimpleType"
minOccurs="1"
maxOccurs="1">
<xs:annotation>
<xs:documentation>The action performed by the file monitor, e.g. StartScan, StopScan.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Before"
type="evt:MultiObjectComplexType"
minOccurs="0"
maxOccurs="1">
<xs:annotation>
<xs:documentation>Describes the last known state of the file before it was altered.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="After"
type="evt:MultiObjectComplexType"
minOccurs="0"
maxOccurs="1">
<xs:annotation>
<xs:documentation>Describes the new state of the file now it has changed.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Rule" type="xs:string" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>The file monitoring rule that was fired to generate this event.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Data"
type="evt:DataComplexType"
minOccurs="0"
maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Any other event data that does not fit into a schema element but may be useful for the purpose of audit.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Send"
type="evt:SendReceiveComplexType"
minOccurs="1"
maxOccurs="1">
<xs:annotation>
<xs:documentation>Used for send events that are at a higher level than a network/send event, e.g. sending an email</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Receive"
type="evt:SendReceiveComplexType"
minOccurs="1"
maxOccurs="1">
<xs:annotation>
<xs:documentation>Used for receive events that are at a higher level than a network/receive event, e.g. receiving an email</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Unknown" minOccurs="1" maxOccurs="1">
<xs:complexType>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="Data"
type="evt:DataComplexType"
minOccurs="0"
maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Any other event data that does not fit into a schema element but may be useful for the purpose of audit.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="EventChain" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>This element can be used to create relationships between different events. One or more events can belong to an activity and the activity can be related to a parent activity and other siblings.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="Activity"
type="evt:ActivityComplexType"
minOccurs="1"
maxOccurs="1">
<xs:annotation>
<xs:documentation>The activity that this event is related to.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Data"
type="evt:DataComplexType"
minOccurs="0"
maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Any other event data that does not fit into a schema element but may be useful for the purpose of audit. Can also be used for appending data about the event after it has been received or processed, e.g. for recording details relating to the processing of the event such as the feed name.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Events">
<xs:annotation>
<xs:documentation>The root element that contains multiple Event elements.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element ref="evt:Event" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="Version" type="evt:VersionSimpleType" use="required"/>
</xs:complexType>
</xs:element>
<xs:group name="AdvancedQueryOperatorGroup">
<xs:choice>
<xs:element name="Term"
type="evt:TermComplexType"
minOccurs="0"
maxOccurs="1">
<xs:annotation>
<xs:documentation>A list of fields to be AND together.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="And" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>All of the enclosed fields are to be treated as being AND together.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="evt:BaseAdvancedQueryOperatorComplexType"/>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="Or" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>All of the enclosed fields are to be treated as being OR together.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="evt:BaseAdvancedQueryOperatorComplexType"/>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="Not" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>The enclosed structure operators and terms are negated.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="evt:BaseAdvancedQueryOperatorComplexType"/>
</xs:complexContent>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:group>
<xs:group name="BaseObjectGroup">
<xs:sequence>
<xs:element name="Type" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="Id" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="Name" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="Description" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="Classification"
type="evt:ClassificationComplexType"
minOccurs="0"
maxOccurs="1"/>
<xs:element name="State" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="Groups"
type="evt:GroupsComplexType"
minOccurs="0"
maxOccurs="1"/>
<xs:element name="Permissions" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="Permission" minOccurs="1" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:choice minOccurs="1" maxOccurs="1">
<xs:element name="User"
type="evt:UserComplexType"
minOccurs="1"
maxOccurs="1"/>
<xs:element name="Group"
type="evt:GroupComplexType"
minOccurs="1"
maxOccurs="1"/>
</xs:choice>
<xs:element name="Allow"
type="evt:PermissionAttributeSimpleType"
minOccurs="0"
maxOccurs="unbounded"/>
<xs:element name="Deny"
type="evt:PermissionAttributeSimpleType"
minOccurs="0"
maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:group>
<xs:group name="CriteriaExtensionGroup">
<xs:sequence>
<xs:element name="DataSources" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="DataSource"
type="xs:string"
minOccurs="1"
maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Query"
type="evt:QueryComplexType"
minOccurs="0"
maxOccurs="1">
<xs:annotation>
<xs:documentation>Structure used to describe the query associated with a search event.</xs:documentation>
</xs:annotation>