stix_schema_spy 1.3 → 1.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. checksums.yaml +4 -4
  2. data/config/1.2/stix/campaign.xsd +2 -2
  3. data/config/1.2/stix/cybox/cybox_common.xsd +2700 -2700
  4. data/config/1.2/stix/cybox/cybox_core.xsd +1145 -1145
  5. data/config/1.2/stix/cybox/cybox_default_vocabularies.xsd +5180 -5180
  6. data/config/1.2/stix/cybox/extensions/location/ciq_address_3.0.xsd +27 -27
  7. data/config/1.2/stix/cybox/extensions/platform/cpe2.3.xsd +34 -34
  8. data/config/1.2/stix/cybox/external/cpe_2.3/xml.xsd +145 -145
  9. data/config/1.2/stix/cybox/external/oasis_ciq_3.0/xlink-2003-12-31.xsd +90 -90
  10. data/config/1.2/stix/cybox/objects/API_Object.xsd +55 -55
  11. data/config/1.2/stix/cybox/objects/ARP_Cache_Object.xsd +98 -98
  12. data/config/1.2/stix/cybox/objects/AS_Object.xsd +50 -50
  13. data/config/1.2/stix/cybox/objects/Account_Object.xsd +501 -501
  14. data/config/1.2/stix/cybox/objects/Address_Object.xsd +127 -127
  15. data/config/1.2/stix/cybox/objects/Archive_File_Object.xsd +134 -134
  16. data/config/1.2/stix/cybox/objects/Artifact_Object.xsd +212 -212
  17. data/config/1.2/stix/cybox/objects/Code_Object.xsd +417 -417
  18. data/config/1.2/stix/cybox/objects/Custom_Object.xsd +42 -42
  19. data/config/1.2/stix/cybox/objects/DNS_Cache_Object.xsd +53 -53
  20. data/config/1.2/stix/cybox/objects/DNS_Query_Object.xsd +164 -164
  21. data/config/1.2/stix/cybox/objects/DNS_Record_Object.xsd +92 -92
  22. data/config/1.2/stix/cybox/objects/Device_Object.xsd +65 -65
  23. data/config/1.2/stix/cybox/objects/Disk_Object.xsd +117 -117
  24. data/config/1.2/stix/cybox/objects/Disk_Partition_Object.xsd +199 -199
  25. data/config/1.2/stix/cybox/objects/Domain_Name_Object.xsd +57 -57
  26. data/config/1.2/stix/cybox/objects/Email_Message_Object.xsd +278 -278
  27. data/config/1.2/stix/cybox/objects/File_Object.xsd +397 -397
  28. data/config/1.2/stix/cybox/objects/GUI_Dialogbox_Object.xsd +41 -41
  29. data/config/1.2/stix/cybox/objects/GUI_Object.xsd +40 -40
  30. data/config/1.2/stix/cybox/objects/GUI_Window_Object.xsd +46 -46
  31. data/config/1.2/stix/cybox/objects/HTTP_Session_Object.xsd +633 -633
  32. data/config/1.2/stix/cybox/objects/Hostname_Object.xsd +45 -45
  33. data/config/1.2/stix/cybox/objects/Image_File_Object.xsd +124 -124
  34. data/config/1.2/stix/cybox/objects/Library_Object.xsd +114 -114
  35. data/config/1.2/stix/cybox/objects/Link_Object.xsd +36 -36
  36. data/config/1.2/stix/cybox/objects/Linux_Package_Object.xsd +75 -75
  37. data/config/1.2/stix/cybox/objects/Memory_Object.xsd +141 -141
  38. data/config/1.2/stix/cybox/objects/Mutex_Object.xsd +40 -40
  39. data/config/1.2/stix/cybox/objects/Network_Connection_Object.xsd +540 -540
  40. data/config/1.2/stix/cybox/objects/Network_Flow_Object.xsd +1559 -1559
  41. data/config/1.2/stix/cybox/objects/Network_Packet_Object.xsd +2934 -2934
  42. data/config/1.2/stix/cybox/objects/Network_Route_Entry_Object.xsd +155 -155
  43. data/config/1.2/stix/cybox/objects/Network_Route_Object.xsd +93 -93
  44. data/config/1.2/stix/cybox/objects/Network_Socket_Object.xsd +529 -529
  45. data/config/1.2/stix/cybox/objects/Network_Subnet_Object.xsd +64 -64
  46. data/config/1.2/stix/cybox/objects/PDF_File_Object.xsd +595 -595
  47. data/config/1.2/stix/cybox/objects/Pipe_Object.xsd +40 -40
  48. data/config/1.2/stix/cybox/objects/Port_Object.xsd +40 -40
  49. data/config/1.2/stix/cybox/objects/Process_Object.xsd +199 -199
  50. data/config/1.2/stix/cybox/objects/Product_Object.xsd +65 -65
  51. data/config/1.2/stix/cybox/objects/SMS_Message_Object.xsd +79 -79
  52. data/config/1.2/stix/cybox/objects/Semaphore_Object.xsd +50 -50
  53. data/config/1.2/stix/cybox/objects/Socket_Address_Object.xsd +50 -50
  54. data/config/1.2/stix/cybox/objects/System_Object.xsd +410 -410
  55. data/config/1.2/stix/cybox/objects/URI_Object.xsd +62 -62
  56. data/config/1.2/stix/cybox/objects/URL_History_Object.xsd +104 -104
  57. data/config/1.2/stix/cybox/objects/Unix_File_Object.xsd +164 -164
  58. data/config/1.2/stix/cybox/objects/Unix_Network_Route_Entry_Object.xsd +56 -56
  59. data/config/1.2/stix/cybox/objects/Unix_Pipe_Object.xsd +36 -36
  60. data/config/1.2/stix/cybox/objects/Unix_Process_Object.xsd +143 -143
  61. data/config/1.2/stix/cybox/objects/Unix_User_Account_Object.xsd +78 -78
  62. data/config/1.2/stix/cybox/objects/Unix_Volume_Object.xsd +41 -41
  63. data/config/1.2/stix/cybox/objects/User_Account_Object.xsd +110 -110
  64. data/config/1.2/stix/cybox/objects/User_Session_Object.xsd +60 -60
  65. data/config/1.2/stix/cybox/objects/Volume_Object.xsd +235 -235
  66. data/config/1.2/stix/cybox/objects/Whois_Object.xsd +430 -430
  67. data/config/1.2/stix/cybox/objects/Win_Computer_Account_Object.xsd +135 -135
  68. data/config/1.2/stix/cybox/objects/Win_Critical_Section_Object.xsd +40 -40
  69. data/config/1.2/stix/cybox/objects/Win_Driver_Object.xsd +270 -270
  70. data/config/1.2/stix/cybox/objects/Win_Event_Log_Object.xsd +137 -137
  71. data/config/1.2/stix/cybox/objects/Win_Event_Object.xsd +80 -80
  72. data/config/1.2/stix/cybox/objects/Win_Executable_File_Object.xsd +1311 -1311
  73. data/config/1.2/stix/cybox/objects/Win_File_Object.xsd +269 -269
  74. data/config/1.2/stix/cybox/objects/Win_Filemapping_Object.xsd +175 -175
  75. data/config/1.2/stix/cybox/objects/Win_Handle_Object.xsd +351 -351
  76. data/config/1.2/stix/cybox/objects/Win_Hook_Object.xsd +152 -152
  77. data/config/1.2/stix/cybox/objects/Win_Kernel_Hook_Object.xsd +109 -109
  78. data/config/1.2/stix/cybox/objects/Win_Kernel_Object.xsd +128 -128
  79. data/config/1.2/stix/cybox/objects/Win_Mailslot_Object.xsd +56 -56
  80. data/config/1.2/stix/cybox/objects/Win_Memory_Page_Region_Object.xsd +198 -198
  81. data/config/1.2/stix/cybox/objects/Win_Mutex_Object.xsd +42 -42
  82. data/config/1.2/stix/cybox/objects/Win_Network_Route_Entry_Object.xsd +200 -200
  83. data/config/1.2/stix/cybox/objects/Win_Network_Share_Object.xsd +205 -205
  84. data/config/1.2/stix/cybox/objects/Win_Pipe_Object.xsd +73 -73
  85. data/config/1.2/stix/cybox/objects/Win_Prefetch_Object.xsd +113 -113
  86. data/config/1.2/stix/cybox/objects/Win_Process_Object.xsd +174 -174
  87. data/config/1.2/stix/cybox/objects/Win_Registry_Key_Object.xsd +290 -290
  88. data/config/1.2/stix/cybox/objects/Win_Semaphore_Object.xsd +42 -42
  89. data/config/1.2/stix/cybox/objects/Win_Service_Object.xsd +287 -287
  90. data/config/1.2/stix/cybox/objects/Win_System_Object.xsd +126 -126
  91. data/config/1.2/stix/cybox/objects/Win_System_Restore_Object.xsd +207 -207
  92. data/config/1.2/stix/cybox/objects/Win_Task_Object.xsd +755 -755
  93. data/config/1.2/stix/cybox/objects/Win_Thread_Object.xsd +146 -146
  94. data/config/1.2/stix/cybox/objects/Win_User_Account_Object.xsd +73 -73
  95. data/config/1.2/stix/cybox/objects/Win_Volume_Object.xsd +161 -161
  96. data/config/1.2/stix/cybox/objects/Win_Waitable_Timer_Object.xsd +90 -90
  97. data/config/1.2/stix/cybox/objects/X509_Certificate_Object.xsd +275 -275
  98. data/config/1.2/stix/data_marking.xsd +5 -5
  99. data/config/1.2/stix/exploit_target.xsd +2 -2
  100. data/config/1.2/stix/incident.xsd +1 -1
  101. data/config/1.2/stix/indicator.xsd +6 -6
  102. data/config/1.2/stix/report.xsd +6 -6
  103. data/config/1.2/stix/stix_common.xsd +22 -22
  104. data/config/1.2/stix/stix_core.xsd +7 -7
  105. data/config/1.2/stix/stix_default_vocabularies.xsd +8 -8
  106. data/config/1.2/stix/ttp.xsd +1 -1
  107. data/lib/stix_schema_spy/models/has_children.rb +3 -3
  108. data/lib/stix_schema_spy/version.rb +1 -1
  109. metadata +2 -2
@@ -1,755 +1,755 @@
1
- <?xml version='1.0' encoding='UTF-8'?>
2
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:WinTaskObj="http://cybox.mitre.org/objects#WinTaskObject-2" xmlns:cyboxCommon="http://cybox.mitre.org/common-2" xmlns:EmailMessageObj="http://cybox.mitre.org/objects#EmailMessageObject-2" targetNamespace="http://cybox.mitre.org/objects#WinTaskObject-2" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.1">
3
- <xs:annotation>
4
- <xs:documentation>This schema was originally developed by The MITRE Corporation. The CybOX XML Schema implementation is maintained by The MITRE Corporation and developed by the open CybOX Community. For more information, including how to get involved in the effort and how to submit change requests, please visit the CybOX website at http://cybox.mitre.org.</xs:documentation>
5
- <xs:appinfo>
6
- <schema>Win_Task_Object</schema>
7
- <version>2.1</version>
8
- <date>01/22/2014</date>
9
- <short_description>The following specifies the fields and types that compose this defined CybOX Object type. Each defined object is an extension of the abstract ObjectPropertiesType, defined in CybOX Common. For more information on this extension mechanism, please see the CybOX Specification. This document is intended for developers and assumes some familiarity with XML. </short_description>
10
- <terms_of_use>Copyright (c) 2012-2014, The MITRE Corporation. All rights reserved. The contents of this file are subject to the terms of the CybOX License located at http://cybox.mitre.org/about/termsofuse.html. See the CybOX License for the specific language governing permissions and limitations for use of this schema. When distributing copies of the CybOX Schema, this license header must be included.</terms_of_use>
11
- </xs:appinfo>
12
- </xs:annotation>
13
- <xs:import namespace="http://cybox.mitre.org/common-2" schemaLocation="../cybox_common.xsd"/>
14
- <xs:import namespace="http://cybox.mitre.org/objects#EmailMessageObject-2" schemaLocation="Email_Message_Object.xsd"/>
15
- <xs:element name="Windows_Task" type="WinTaskObj:WindowsTaskObjectType">
16
- <xs:annotation>
17
- <xs:documentation>The Windows_Task object is intended to characterize Windows task scheduler tasks. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381311(v=vs.85).aspx.</xs:documentation>
18
- </xs:annotation>
19
- </xs:element>
20
- <xs:complexType name="WindowsTaskObjectType" mixed="false">
21
- <xs:annotation>
22
- <xs:documentation>The WindowsTaskObjectType type is intended to characterize Windows task scheduler tasks. See Also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381311(v=vs.85).aspx.</xs:documentation>
23
- </xs:annotation>
24
- <xs:complexContent>
25
- <xs:extension base="cyboxCommon:ObjectPropertiesType">
26
- <xs:sequence>
27
- <xs:element name="Status" type="WinTaskObj:TaskStatusType" minOccurs="0">
28
- <xs:annotation>
29
- <xs:documentation>The Status field specifies the current status of the scheduled task. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381263(v=vs.85).aspx.</xs:documentation>
30
- </xs:annotation>
31
- </xs:element>
32
- <xs:element name="Priority" type="WinTaskObj:TaskPriorityType" minOccurs="0">
33
- <xs:annotation>
34
- <xs:documentation>The Priority field specifies the priority of the scheduled task. This can either be a free-form string or one the values in the TaskPriorityEnum enumeration. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381876(v=vs.85).aspx.</xs:documentation>
35
- </xs:annotation>
36
- </xs:element>
37
- <xs:element name="Name" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
38
- <xs:annotation>
39
- <xs:documentation>The Name field specifies the image name for the task.</xs:documentation>
40
- </xs:annotation>
41
- </xs:element>
42
- <xs:element name="Application_Name" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
43
- <xs:annotation>
44
- <xs:documentation>The Application_Name specifies the application name associated with the task.</xs:documentation>
45
- </xs:annotation>
46
- </xs:element>
47
- <xs:element name="Parameters" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
48
- <xs:annotation>
49
- <xs:documentation>The Parameters field specifies the command line parameters used to launch the scheduled task. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381875(v=vs.85).aspx.</xs:documentation>
50
- </xs:annotation>
51
- </xs:element>
52
- <xs:element name="Flags" type="WinTaskObj:TaskFlagType" minOccurs="0">
53
- <xs:annotation>
54
- <xs:documentation>The Flags field specifies any flags that modify the behavior of the scheduled task. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381248(v=vs.85).aspx.</xs:documentation>
55
- </xs:annotation>
56
- </xs:element>
57
- <xs:element name="Account_Name" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
58
- <xs:annotation>
59
- <xs:documentation>The Account_Name field specifies the name of the account used to run the scheduled task. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381228(v=vs.85).aspx.</xs:documentation>
60
- </xs:annotation>
61
- </xs:element>
62
- <xs:element name="Account_Run_Level" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
63
- <xs:annotation>
64
- <xs:documentation>The Account_Run_Level field specifies the permission level of the account that the task will be run at.</xs:documentation>
65
- </xs:annotation>
66
- </xs:element>
67
- <xs:element name="Account_Logon_Type" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
68
- <xs:annotation>
69
- <xs:documentation>The Account_Logon_Type field specifies the security logon method required to run the tasks associated with the account. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa383013(v=vs.85).aspx.</xs:documentation>
70
- </xs:annotation>
71
- </xs:element>
72
- <xs:element name="Creator" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
73
- <xs:annotation>
74
- <xs:documentation>The Creator field specifies the name of the creator of the scheduled task. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381235(v=vs.85).aspx.</xs:documentation>
75
- </xs:annotation>
76
- </xs:element>
77
- <xs:element name="Creation_Date" type="cyboxCommon:DateTimeObjectPropertyType" minOccurs="0">
78
- <xs:annotation>
79
- <xs:documentation>The Creation_Date field specifies the date and time that the task was registered. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa382623(v=vs.85).aspx.</xs:documentation>
80
- </xs:annotation>
81
- </xs:element>
82
- <xs:element name="Most_Recent_Run_Time" type="cyboxCommon:DateTimeObjectPropertyType" minOccurs="0">
83
- <xs:annotation>
84
- <xs:documentation>The Most_Recent_Run_Time field specifies the most recent run date/time of this scheduled task. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381254(v=vs.85).aspx.</xs:documentation>
85
- </xs:annotation>
86
- </xs:element>
87
- <xs:element name="Exit_Code" type="cyboxCommon:LongObjectPropertyType" minOccurs="0">
88
- <xs:annotation>
89
- <xs:documentation>The Exit_Code field specifies the last exit code of the scheduled task. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381245(v=vs.85).aspx.</xs:documentation>
90
- </xs:annotation>
91
- </xs:element>
92
- <xs:element name="Max_Run_Time" type="cyboxCommon:UnsignedLongObjectPropertyType" minOccurs="0">
93
- <xs:annotation>
94
- <xs:documentation>The Max_Run_Time field specifies the maximum run time of the scheduled task before terminating, in milliseconds. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381874(v=vs.85).aspx.</xs:documentation>
95
- </xs:annotation>
96
- </xs:element>
97
- <xs:element name="Next_Run_Time" type="cyboxCommon:DateTimeObjectPropertyType" minOccurs="0">
98
- <xs:annotation>
99
- <xs:documentation>The Next_Run_Time field specifies the next run date/time of the scheduled task. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381257(v=vs.85).aspx.</xs:documentation>
100
- </xs:annotation>
101
- </xs:element>
102
- <xs:element name="Action_List" type="WinTaskObj:TaskActionListType" minOccurs="0" maxOccurs="1">
103
- <xs:annotation>
104
- <xs:documentation>The Action_List field specifies a list of actions to be performed by the scheduled task.</xs:documentation>
105
- </xs:annotation>
106
- </xs:element>
107
- <xs:element name="Trigger_List" type="WinTaskObj:TriggerListType" minOccurs="0">
108
- <xs:annotation>
109
- <xs:documentation>The Trigger_List field specifies a set of triggers used by the scheduled task. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa383264(v=vs.85).aspx.</xs:documentation>
110
- </xs:annotation>
111
- </xs:element>
112
- <xs:element name="Comment" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
113
- <xs:annotation>
114
- <xs:documentation>The Comment field specifies a comment for the scheduled task. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381232(v=vs.85).aspx.</xs:documentation>
115
- </xs:annotation>
116
- </xs:element>
117
- <xs:element name="Working_Directory" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
118
- <xs:annotation>
119
- <xs:documentation>The Working_Directory field specifies the working directory for the scheduled task. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381878(v=vs.85).aspx.</xs:documentation>
120
- </xs:annotation>
121
- </xs:element>
122
- <xs:element name="Work_Item_Data" type="cyboxCommon:Base64BinaryObjectPropertyType" minOccurs="0">
123
- <xs:annotation>
124
- <xs:documentation>The Work_Item_Data field specifies application defined data associated with the scheduled task. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381271(v=vs.85).aspx.</xs:documentation>
125
- </xs:annotation>
126
- </xs:element>
127
- </xs:sequence>
128
- </xs:extension>
129
- </xs:complexContent>
130
- </xs:complexType>
131
- <xs:complexType name="TriggerListType">
132
- <xs:annotation>
133
- <xs:documentation>The TriggerListType type specifies a set of triggers associated with the scheduled task.</xs:documentation>
134
- </xs:annotation>
135
- <xs:sequence minOccurs="1" maxOccurs="1">
136
- <xs:element name="Trigger" type="WinTaskObj:TriggerType" minOccurs="1" maxOccurs="unbounded">
137
- <xs:annotation>
138
- <xs:documentation>A trigger associated with this scheduled task. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381264(v=vs.85).aspx.</xs:documentation>
139
- </xs:annotation>
140
- </xs:element>
141
- </xs:sequence>
142
- </xs:complexType>
143
- <xs:complexType name="TriggerType">
144
- <xs:annotation>
145
- <xs:documentation>The TriggerType type characterizes task triggers. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa383868(v=vs.85).aspx.</xs:documentation>
146
- </xs:annotation>
147
- <xs:sequence>
148
- <xs:element name="Trigger_Begin" type="cyboxCommon:DateTimeObjectPropertyType" minOccurs="0">
149
- <xs:annotation>
150
- <xs:documentation>The Trigger_Begin_Element specifies the date/time that the trigger is activated.</xs:documentation>
151
- </xs:annotation>
152
- </xs:element>
153
- <xs:element name="Trigger_Delay" type="cyboxCommon:DurationObjectPropertyType" minOccurs="0">
154
- <xs:annotation>
155
- <xs:documentation>The Trigger_Delay field specifies the delay that takes place between when the task is registered and when the task is started.</xs:documentation>
156
- </xs:annotation>
157
- </xs:element>
158
- <xs:element name="Trigger_End" type="cyboxCommon:DateTimeObjectPropertyType" minOccurs="0">
159
- <xs:annotation>
160
- <xs:documentation>The Trigger_End field specifies the date/time that the trigger is deactivated.</xs:documentation>
161
- </xs:annotation>
162
- </xs:element>
163
- <xs:element name="Trigger_Frequency" type="WinTaskObj:TaskTriggerFrequencyType" minOccurs="0">
164
- <xs:annotation>
165
- <xs:documentation>The Trigger_Frequency field specifies the frequency at which the trigger repeats.</xs:documentation>
166
- </xs:annotation>
167
- </xs:element>
168
- <xs:element name="Trigger_Max_Run_Time" type="cyboxCommon:DurationObjectPropertyType" minOccurs="0">
169
- <xs:annotation>
170
- <xs:documentation>The maximum amount of time that the task launched by the trigger is allowed to run. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa383868(v=vs.85).aspx.</xs:documentation>
171
- </xs:annotation>
172
- </xs:element>
173
- <xs:element name="Trigger_Session_Change_Type" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
174
- <xs:annotation>
175
- <xs:documentation>The Trigger_Session_Change_Type field specifies the type of Terminal Server session change that would trigger a task launch. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381298(v=vs.85).aspx.</xs:documentation>
176
- </xs:annotation>
177
- </xs:element>
178
- <xs:element name="Trigger_Type" type="WinTaskObj:TaskTriggerType" minOccurs="0">
179
- <xs:annotation>
180
- <xs:documentation>The Trigger_Type specifies the type of the task trigger.</xs:documentation>
181
- </xs:annotation>
182
- </xs:element>
183
- </xs:sequence>
184
- <xs:attribute name="enabled" type="xs:boolean">
185
- <xs:annotation>
186
- <xs:documentation>The enabled field specifies whether the trigger is enabled.</xs:documentation>
187
- </xs:annotation>
188
- </xs:attribute>
189
- </xs:complexType>
190
- <xs:complexType name="TaskActionListType">
191
- <xs:annotation>
192
- <xs:documentation>The TaskActionListType type specifies a list of task actions.</xs:documentation>
193
- </xs:annotation>
194
- <xs:sequence>
195
- <xs:element name="Action" type="WinTaskObj:TaskActionType" minOccurs="1" maxOccurs="unbounded">
196
- <xs:annotation>
197
- <xs:documentation>The work items performed by a task are called actions. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa383549(v=vs.85).aspx.</xs:documentation>
198
- </xs:annotation>
199
- </xs:element>
200
- </xs:sequence>
201
- </xs:complexType>
202
- <xs:complexType name="TaskActionType">
203
- <xs:annotation>
204
- <xs:documentation>The TaskActionType type characterizes scheduled task actions.</xs:documentation>
205
- </xs:annotation>
206
- <xs:sequence>
207
- <xs:element name="Action_Type" type="WinTaskObj:TaskActionTypeType" minOccurs="0">
208
- <xs:annotation>
209
- <xs:documentation>The Action_Type field specifies the type of the action. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa380596(v=vs.85).aspx.</xs:documentation>
210
- </xs:annotation>
211
- </xs:element>
212
- <xs:element name="Action_ID" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
213
- <xs:annotation>
214
- <xs:documentation>The Action_ID field specifies the user-defined identifier for the action. This identifier is used by the Task Scheduler for logging purposes. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa380590(v=vs.85).aspx.</xs:documentation>
215
- </xs:annotation>
216
- </xs:element>
217
- <xs:element name="IEmailAction" type="EmailMessageObj:EmailMessageObjectType" minOccurs="0">
218
- <xs:annotation>
219
- <xs:documentation>The IEmail_Action field specifies an action that sends an e-mail, which in this context refers to actual email message sent. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa380693(v=vs.85).aspx.</xs:documentation>
220
- </xs:annotation>
221
- </xs:element>
222
- <xs:element name="IComHandlerAction" type="WinTaskObj:IComHandlerActionType" minOccurs="0">
223
- <xs:annotation>
224
- <xs:documentation>The IComHandlerAction field specifies an action that fires a handler.</xs:documentation>
225
- </xs:annotation>
226
- </xs:element>
227
- <xs:element name="IExecAction" type="WinTaskObj:IExecActionType" minOccurs="0">
228
- <xs:annotation>
229
- <xs:documentation>The IExecAction field specifies an action that executes a command-line operation. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa380715(v=vs.85).aspx.</xs:documentation>
230
- </xs:annotation>
231
- </xs:element>
232
- <xs:element name="IShowMessageAction" type="WinTaskObj:IShowMessageActionType" minOccurs="0">
233
- <xs:annotation>
234
- <xs:documentation>The IShowMessageAction field specifies an action that shows a message box when a task is activated. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381302(v=vs.85).aspx.</xs:documentation>
235
- </xs:annotation>
236
- </xs:element>
237
- </xs:sequence>
238
- </xs:complexType>
239
- <xs:complexType name="TaskActionTypeType">
240
- <xs:annotation>
241
- <xs:documentation>The TaskActionTypeType characterizes the specific types of task actions.</xs:documentation>
242
- </xs:annotation>
243
- <xs:simpleContent>
244
- <xs:restriction base="cyboxCommon:BaseObjectPropertyType">
245
- <xs:simpleType>
246
- <xs:union memberTypes="WinTaskObj:TaskActionTypeEnum xs:string"/>
247
- </xs:simpleType>
248
- <xs:attribute name="datatype" type="cyboxCommon:DatatypeEnum" fixed="string">
249
- <xs:annotation>
250
- <xs:documentation>This attribute is optional and specifies the expected type for the value of the specified property.</xs:documentation>
251
- </xs:annotation>
252
- </xs:attribute>
253
- </xs:restriction>
254
- </xs:simpleContent>
255
- </xs:complexType>
256
- <xs:complexType name="IComHandlerActionType">
257
- <xs:annotation>
258
- <xs:documentation>The IComHandlerActionType type characterizes IComHandler actions.</xs:documentation>
259
- </xs:annotation>
260
- <xs:sequence>
261
- <xs:element name="COM_Data" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
262
- <xs:annotation>
263
- <xs:documentation>The COM_Data field specifies the data associated with the COM handler. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa380613(v=vs.85).aspx.</xs:documentation>
264
- </xs:annotation>
265
- </xs:element>
266
- <xs:element name="COM_Class_ID" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
267
- <xs:annotation>
268
- <xs:documentation>The COM_Class_ID field specifies the ID of the COM action. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa380613(v=vs.85).aspx.</xs:documentation>
269
- </xs:annotation>
270
- </xs:element>
271
- </xs:sequence>
272
- </xs:complexType>
273
- <xs:complexType name="IExecActionType">
274
- <xs:annotation>
275
- <xs:documentation>The IExecActionType type characterizes IExec actions.</xs:documentation>
276
- </xs:annotation>
277
- <xs:sequence>
278
- <xs:element name="Exec_Arguments" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
279
- <xs:annotation>
280
- <xs:documentation>The Exec_Arguments field specifies the arguments associated with the command-line operation launched by the action. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa380715(v=vs.85).aspx.</xs:documentation>
281
- </xs:annotation>
282
- </xs:element>
283
- <xs:element name="Exec_Program_Path" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
284
- <xs:annotation>
285
- <xs:documentation>The Exec_Program_Path field specifies the path to the executable file launched by the action. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa380715(v=vs.85).aspx.</xs:documentation>
286
- </xs:annotation>
287
- </xs:element>
288
- <xs:element name="Exec_Working_Directory" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
289
- <xs:annotation>
290
- <xs:documentation>The Exec_Working_Directory field specifies the directory that contains either the executable file or the files that are used by the executable file launched by the action. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa380715(v=vs.85).aspx.</xs:documentation>
291
- </xs:annotation>
292
- </xs:element>
293
- <xs:element name="Exec_Program_Hashes" type="cyboxCommon:HashListType" minOccurs="0">
294
- <xs:annotation>
295
- <xs:documentation>The Exec_Program_Element specifies the hashes of the executable file launched by the action.</xs:documentation>
296
- </xs:annotation>
297
- </xs:element>
298
- </xs:sequence>
299
- </xs:complexType>
300
- <xs:complexType name="IShowMessageActionType">
301
- <xs:annotation>
302
- <xs:documentation>The IShowMessageActionType type characterizes IShowMessage actions.</xs:documentation>
303
- </xs:annotation>
304
- <xs:sequence>
305
- <xs:element name="Show_Message_Body" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
306
- <xs:annotation>
307
- <xs:documentation>The Show_Message_Body field specifies the message text that is displayed in the body of the message box by the action. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381302(v=vs.85).aspx.</xs:documentation>
308
- </xs:annotation>
309
- </xs:element>
310
- <xs:element name="Show_Message_Title" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
311
- <xs:annotation>
312
- <xs:documentation>The Show_Message_Title field specifies the title of the message box shown by the action. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381302(v=vs.85).aspx.</xs:documentation>
313
- </xs:annotation>
314
- </xs:element>
315
- </xs:sequence>
316
- </xs:complexType>
317
- <xs:complexType name="TaskFlagType">
318
- <xs:annotation>
319
- <xs:documentation>The TaskFlagType type specifies Windows Task flag types via a union of the TaskFlagEnum type and the atomic xs:string type. Its base type is the CybOX Core BaseObjectPropertyType, for permitting complex (i.e. regular-expression based) specifications.</xs:documentation>
320
- </xs:annotation>
321
- <xs:simpleContent>
322
- <xs:restriction base="cyboxCommon:BaseObjectPropertyType">
323
- <xs:simpleType>
324
- <xs:union memberTypes="WinTaskObj:TaskFlagEnum xs:string"/>
325
- </xs:simpleType>
326
- <xs:attribute name="datatype" type="cyboxCommon:DatatypeEnum" fixed="string">
327
- <xs:annotation>
328
- <xs:documentation>This attribute is optional and specifies the expected type for the value of the specified property.</xs:documentation>
329
- </xs:annotation>
330
- </xs:attribute>
331
- </xs:restriction>
332
- </xs:simpleContent>
333
- </xs:complexType>
334
- <xs:complexType name="TaskPriorityType">
335
- <xs:annotation>
336
- <xs:documentation>The TaskPriorityType type specifies Windows Task priority types via a union of the TaskPriorityEnum type and the atomic xs:string type. Its base type is the CybOX Core BaseObjectPropertyType, for permitting complex (i.e. regular-expression based) specifications.</xs:documentation>
337
- </xs:annotation>
338
- <xs:simpleContent>
339
- <xs:restriction base="cyboxCommon:BaseObjectPropertyType">
340
- <xs:simpleType>
341
- <xs:union memberTypes="WinTaskObj:TaskPriorityEnum xs:string"/>
342
- </xs:simpleType>
343
- <xs:attribute name="datatype" type="cyboxCommon:DatatypeEnum" fixed="string">
344
- <xs:annotation>
345
- <xs:documentation>This attribute is optional and specifies the expected type for the value of the specified property.</xs:documentation>
346
- </xs:annotation>
347
- </xs:attribute>
348
- </xs:restriction>
349
- </xs:simpleContent>
350
- </xs:complexType>
351
- <xs:complexType name="TaskTriggerFrequencyType">
352
- <xs:annotation>
353
- <xs:documentation>The TaskTriggerFrequencyType type specifies Windows Task trigger frequency types via a union of the TriggerFrequencyEnum type and the atomic xs:string type. Its base type is the CybOX Core BaseObjectPropertyType, for permitting complex (i.e. regular-expression based) specifications.</xs:documentation>
354
- </xs:annotation>
355
- <xs:simpleContent>
356
- <xs:restriction base="cyboxCommon:BaseObjectPropertyType">
357
- <xs:simpleType>
358
- <xs:union memberTypes="WinTaskObj:TriggerFrequencyEnum xs:string"/>
359
- </xs:simpleType>
360
- <xs:attribute name="datatype" type="cyboxCommon:DatatypeEnum" fixed="string">
361
- <xs:annotation>
362
- <xs:documentation>This attribute is optional and specifies the expected type for the value of the specified property.</xs:documentation>
363
- </xs:annotation>
364
- </xs:attribute>
365
- </xs:restriction>
366
- </xs:simpleContent>
367
- </xs:complexType>
368
- <xs:complexType name="TaskTriggerType">
369
- <xs:annotation>
370
- <xs:documentation>The TaskTriggerType type specifies Windows Task trigger types via a union of the TriggerTypeEnum enumeration and the atomic xs:string type. Its base type is the CybOX Core BaseObjectPropertyType, for permitting complex (i.e. regular-expression based) specifications.</xs:documentation>
371
- </xs:annotation>
372
- <xs:simpleContent>
373
- <xs:restriction base="cyboxCommon:BaseObjectPropertyType">
374
- <xs:simpleType>
375
- <xs:union memberTypes="WinTaskObj:TriggerTypeEnum xs:string"/>
376
- </xs:simpleType>
377
- <xs:attribute name="datatype" type="cyboxCommon:DatatypeEnum" fixed="string">
378
- <xs:annotation>
379
- <xs:documentation>This attribute is optional and specifies the expected type for the value of the specified property.</xs:documentation>
380
- </xs:annotation>
381
- </xs:attribute>
382
- </xs:restriction>
383
- </xs:simpleContent>
384
- </xs:complexType>
385
- <xs:complexType name="TaskStatusType">
386
- <xs:annotation>
387
- <xs:documentation>The TaskStatusType type specifies Windows Task states via a union of the TaskStatusEnum type and the atomic xs:string type. Its base type is the CybOX Core BaseObjectPropertyType, for permitting complex (i.e. regular-expression based) specifications.</xs:documentation>
388
- </xs:annotation>
389
- <xs:simpleContent>
390
- <xs:restriction base="cyboxCommon:BaseObjectPropertyType">
391
- <xs:simpleType>
392
- <xs:union memberTypes="WinTaskObj:TaskStatusEnum xs:string"/>
393
- </xs:simpleType>
394
- <xs:attribute name="datatype" type="cyboxCommon:DatatypeEnum" fixed="string">
395
- <xs:annotation>
396
- <xs:documentation>This attribute is optional and specifies the expected type for the value of the specified property.</xs:documentation>
397
- </xs:annotation>
398
- </xs:attribute>
399
- </xs:restriction>
400
- </xs:simpleContent>
401
- </xs:complexType>
402
- <xs:simpleType name="TaskActionTypeEnum">
403
- <xs:annotation>
404
- <xs:documentation>An enumeration of action types. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa380596(v=vs.85).aspx.</xs:documentation>
405
- </xs:annotation>
406
- <xs:restriction base="xs:string">
407
- <xs:whiteSpace value="preserve"/>
408
- <xs:enumeration value="TASK_ACTION_EXEC">
409
- <xs:annotation>
410
- <xs:documentation>This action performs a command-line operation. For example, the action could run a script, launch an executable, or, if the name of a document is provided, find its associated application and launch the application with the document.</xs:documentation>
411
- </xs:annotation>
412
- </xs:enumeration>
413
- <xs:enumeration value="TASK_ACTION_COM_HANDLER">
414
- <xs:annotation>
415
- <xs:documentation>This action fires a handler.</xs:documentation>
416
- </xs:annotation>
417
- </xs:enumeration>
418
- <xs:enumeration value="TASK_ACTION_SEND_EMAIL">
419
- <xs:annotation>
420
- <xs:documentation>This action sends an e-mail.</xs:documentation>
421
- </xs:annotation>
422
- </xs:enumeration>
423
- <xs:enumeration value="TASK_ACTION_SHOW_MESSAGE">
424
- <xs:annotation>
425
- <xs:documentation>This action shows a message box.</xs:documentation>
426
- </xs:annotation>
427
- </xs:enumeration>
428
- </xs:restriction>
429
- </xs:simpleType>
430
- <xs:simpleType name="TaskFlagEnum">
431
- <xs:annotation>
432
- <xs:documentation>The TaskFlagEnum enumeration specifies the run flags for a task scheduler task. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381283(v=vs.85).aspx See Also: http://msdn.microsoft.com/en-us/library/microsoft.office.excel.server.addins.computecluster.taskscheduler.taskflags(v=office.12).aspx.</xs:documentation>
433
- </xs:annotation>
434
- <xs:list>
435
- <xs:simpleType>
436
- <xs:restriction base="xs:string">
437
- <xs:enumeration value="TASK_FLAG_ZERO"/>
438
- <xs:enumeration value="TASK_FLAG_INTERACTIVE">
439
- <xs:annotation>
440
- <xs:documentation>This flag is used when converting Windows NT AT service jobs into work items. The Windows NT AT service job refers to At.exe, the Windows NT command-line utility used for creating jobs for the Windows NT Schedule service. The Task Scheduler service replaces the Schedule service and is backwards compatible with it. The conversion occurs when the Task Scheduler is installed on Windows NT/Windows 2000— for example, if you install Internet Explorer 4.0, or upgrade to Windows 2000. During the setup process, the Task Scheduler installation code searches the registry for jobs created for the AT service and creates work items that will accomplish the same operation. For such converted jobs, the interactive flag is set if the work item is intended to be displayed to the user. When this flag is not set, no work items are displayed in the Tasks folder, and no user interface associated with the work item is presented to the user when the work item is executed.</xs:documentation>
441
- </xs:annotation>
442
- </xs:enumeration>
443
- <xs:enumeration value="TASK_FLAG_DELETE_WHEN_DONE">
444
- <xs:annotation>
445
- <xs:documentation>The work item will be deleted when there are no more scheduled run times.</xs:documentation>
446
- </xs:annotation>
447
- </xs:enumeration>
448
- <xs:enumeration value="TASK_FLAG_DISABLED">
449
- <xs:annotation>
450
- <xs:documentation>The work item is disabled. This is useful to temporarily prevent a work item from running at the scheduled time(s).</xs:documentation>
451
- </xs:annotation>
452
- </xs:enumeration>
453
- <xs:enumeration value="TASK_FLAG_HIDDEN">
454
- <xs:annotation>
455
- <xs:documentation>The work item created will be hidden.</xs:documentation>
456
- </xs:annotation>
457
- </xs:enumeration>
458
- <xs:enumeration value="TASK_FLAG_RUN_ONLY_IF_LOGGED_ON">
459
- <xs:annotation>
460
- <xs:documentation>The work item runs only if the user specified in IScheduledWorkItem::SetAccountInformation is logged on interactively. This flag has no effect on the work items that are set to run in the local account.</xs:documentation>
461
- </xs:annotation>
462
- </xs:enumeration>
463
- <xs:enumeration value="TASK_FLAG_START_ONLY_IF_IDLE">
464
- <xs:annotation>
465
- <xs:documentation>The work item begins only if the computer is not in use at the scheduled start time.</xs:documentation>
466
- </xs:annotation>
467
- </xs:enumeration>
468
- <xs:enumeration value="TASK_FLAG_SYSTEM_REQUIRED">
469
- <xs:annotation>
470
- <xs:documentation>The work item causes the system to be resumed, or awakened, if the system is running on battery power. This flag is supported only on systems that support resume timers.</xs:documentation>
471
- </xs:annotation>
472
- </xs:enumeration>
473
- <xs:enumeration value="TASK_FLAG_KILL_ON_IDLE_END">
474
- <xs:annotation>
475
- <xs:documentation>The work item terminates if the computer makes an idle to non-idle transition while the work item is running. The computer is not considered idle until the IdleWait triggers' time elapses with no user input. For information regarding idle triggers, see Idle Trigger.</xs:documentation>
476
- </xs:annotation>
477
- </xs:enumeration>
478
- <xs:enumeration value="TASK_FLAG_RESTART_ON_IDLE_RESUME">
479
- <xs:annotation>
480
- <xs:documentation>The work item starts again if the computer makes a non-idle to idle transition before all the work item's task_triggers elapse. (Use this flag in conjunction with TASK_FLAG_KILL_ON_IDLE_END.).</xs:documentation>
481
- </xs:annotation>
482
- </xs:enumeration>
483
- <xs:enumeration value="TASK_FLAG_DONT_START_IF_ON_BATTERIES">
484
- <xs:annotation>
485
- <xs:documentation>The work item does not start if its target computer is running on battery power.</xs:documentation>
486
- </xs:annotation>
487
- </xs:enumeration>
488
- <xs:enumeration value="TASK_FLAG_KILL_IF_GOING_ON_BATTERIES">
489
- <xs:annotation>
490
- <xs:documentation>The work item ends, and the associated application quits if the work item's target computer switches to battery power.</xs:documentation>
491
- </xs:annotation>
492
- </xs:enumeration>
493
- <xs:enumeration value="TASK_FLAG_RUN_IF_CONNECTED_TO_INTERNET">
494
- <xs:annotation>
495
- <xs:documentation>The work item runs only if there is currently a valid Internet connection.</xs:documentation>
496
- </xs:annotation>
497
- </xs:enumeration>
498
- </xs:restriction>
499
- </xs:simpleType>
500
- </xs:list>
501
- </xs:simpleType>
502
- <xs:simpleType name="TaskPriorityEnum">
503
- <xs:annotation>
504
- <xs:documentation>The TaskPriorityEnum enumeration specifies the priority levels of task scheduler tasks. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa383512(v=vs.85).aspx.</xs:documentation>
505
- </xs:annotation>
506
- <xs:restriction base="xs:string">
507
- <xs:enumeration value="HIGH_PRIORITY_CLASS">
508
- <xs:annotation>
509
- <xs:documentation>A priority class of high (1).</xs:documentation>
510
- </xs:annotation>
511
- </xs:enumeration>
512
- <xs:enumeration value="NORMAL_PRIORITY_CLASS">
513
- <xs:annotation>
514
- <xs:documentation>A priority class of normal (4-6).</xs:documentation>
515
- </xs:annotation>
516
- </xs:enumeration>
517
- <xs:enumeration value="IDLE_PRIORITY_CLASS">
518
- <xs:annotation>
519
- <xs:documentation>A priority class of idle (9-10).</xs:documentation>
520
- </xs:annotation>
521
- </xs:enumeration>
522
- <xs:enumeration value="REALTIME_PRIORITY_CLASS">
523
- <xs:annotation>
524
- <xs:documentation>A priority class of realtime (0).</xs:documentation>
525
- </xs:annotation>
526
- </xs:enumeration>
527
- <xs:enumeration value="ABOVE_NORMAL_PRIORITY_CLASS">
528
- <xs:annotation>
529
- <xs:documentation>A priority class of above normal (2-3).</xs:documentation>
530
- </xs:annotation>
531
- </xs:enumeration>
532
- <xs:enumeration value="BELOW_NORMAL_PRIORITY_CLASS">
533
- <xs:annotation>
534
- <xs:documentation>A priority class of below normal (7-8).</xs:documentation>
535
- </xs:annotation>
536
- </xs:enumeration>
537
- </xs:restriction>
538
- </xs:simpleType>
539
- <xs:simpleType name="TriggerFrequencyEnum">
540
- <xs:annotation>
541
- <xs:documentation>The TriggerFrequencyEnum enumeration defines the frequency types that a trigger may use. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa383620(v=vs.85).aspx and http://msdn.microsoft.com/en-us/library/windows/desktop/aa383987(v=vs.85).aspx.</xs:documentation>
542
- </xs:annotation>
543
- <xs:restriction base="xs:string">
544
- <xs:enumeration value="TASK_TIME_TRIGGER_ONCE">
545
- <xs:annotation>
546
- <xs:documentation>Trigger is set to run the task a single time.</xs:documentation>
547
- </xs:annotation>
548
- </xs:enumeration>
549
- <xs:enumeration value="TASK_EVENT_TRIGGER_ON_IDLE">
550
- <xs:annotation>
551
- <xs:documentation>Trigger is set to run the task if the system remains idle for the amount of time specified by the idle wait time of the task.</xs:documentation>
552
- </xs:annotation>
553
- </xs:enumeration>
554
- <xs:enumeration value="TASK_EVENT_TRIGGER_AT_SYSTEMSTART">
555
- <xs:annotation>
556
- <xs:documentation>Trigger is set to run the task at system startup.</xs:documentation>
557
- </xs:annotation>
558
- </xs:enumeration>
559
- <xs:enumeration value="TASK_EVENT_TRIGGER_AT_LOGON">
560
- <xs:annotation>
561
- <xs:documentation>Trigger is set to run the task when a user logs on.</xs:documentation>
562
- </xs:annotation>
563
- </xs:enumeration>
564
- <xs:enumeration value="TASK_TIME_TRIGGER_DAILY">
565
- <xs:annotation>
566
- <xs:documentation>Trigger is set to run the task on a daily interval.</xs:documentation>
567
- </xs:annotation>
568
- </xs:enumeration>
569
- <xs:enumeration value="TASK_TIME_TRIGGER_WEEKLY">
570
- <xs:annotation>
571
- <xs:documentation>Trigger is set to run the work item on specific days of a specific week of a specific month.</xs:documentation>
572
- </xs:annotation>
573
- </xs:enumeration>
574
- <xs:enumeration value="TASK_TIME_TRIGGER_MONTHLYDATE">
575
- <xs:annotation>
576
- <xs:documentation>Trigger is set to run the task on a specific day(s) of the month.</xs:documentation>
577
- </xs:annotation>
578
- </xs:enumeration>
579
- <xs:enumeration value="TASK_TIME_TRIGGER_MONTHLYDOW">
580
- <xs:annotation>
581
- <xs:documentation>Trigger is set to run the task on specific days, weeks, and months.</xs:documentation>
582
- </xs:annotation>
583
- </xs:enumeration>
584
- </xs:restriction>
585
- </xs:simpleType>
586
- <xs:simpleType name="TriggerTypeEnum">
587
- <xs:annotation>
588
- <xs:documentation>The TriggerFrequencyEnum enumeration defines the types of triggers associated with a task.</xs:documentation>
589
- </xs:annotation>
590
- <xs:restriction base="xs:string">
591
- <xs:enumeration value="TASK_TRIGGER_EVENT">
592
- <xs:annotation>
593
- <xs:documentation>Triggers the task when a specific system event occurs.</xs:documentation>
594
- </xs:annotation>
595
- </xs:enumeration>
596
- <xs:enumeration value="TASK_TRIGGER_TIME">
597
- <xs:annotation>
598
- <xs:documentation>Triggers the task at a specific date and time.</xs:documentation>
599
- </xs:annotation>
600
- </xs:enumeration>
601
- <xs:enumeration value="TASK_TRIGGER_IDLE">
602
- <xs:annotation>
603
- <xs:documentation>Triggers the task when the computer enters an idle state.</xs:documentation>
604
- </xs:annotation>
605
- </xs:enumeration>
606
- <xs:enumeration value="TASK_TRIGGER_REGISTRATION">
607
- <xs:annotation>
608
- <xs:documentation>Triggers the task when the task is registered or updated.</xs:documentation>
609
- </xs:annotation>
610
- </xs:enumeration>
611
- <xs:enumeration value="TASK_TRIGGER_BOOT">
612
- <xs:annotation>
613
- <xs:documentation>Triggers the task when the system is booted.</xs:documentation>
614
- </xs:annotation>
615
- </xs:enumeration>
616
- <xs:enumeration value="TASK_TRIGGER_LOGON">
617
- <xs:annotation>
618
- <xs:documentation>Triggers the task when a user logs on.</xs:documentation>
619
- </xs:annotation>
620
- </xs:enumeration>
621
- <xs:enumeration value="TASK_TRIGGER_SESSION_STATE_CHANGE">
622
- <xs:annotation>
623
- <xs:documentation>Triggers the task when a Terminal Server session changes state.</xs:documentation>
624
- </xs:annotation>
625
- </xs:enumeration>
626
- </xs:restriction>
627
- </xs:simpleType>
628
- <xs:simpleType name="TaskStatusEnum">
629
- <xs:annotation>
630
- <xs:documentation>The TaskStatusEnum enumeration specifies the possible statuses of a scheduled task. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa383604(v=vs.85).aspx See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381263(v=vs.85).aspx See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381833(v=vs.85).aspx See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa383617(v=vs.85).aspx.</xs:documentation>
631
- </xs:annotation>
632
- <xs:restriction base="xs:string">
633
- <xs:enumeration value="SCHED_S_TASK_READY">
634
- <xs:annotation>
635
- <xs:documentation>The task is ready to run at its next scheduled time.</xs:documentation>
636
- </xs:annotation>
637
- </xs:enumeration>
638
- <xs:enumeration value="SCHED_S_TASK_RUNNING">
639
- <xs:annotation>
640
- <xs:documentation>The task is currently running.</xs:documentation>
641
- </xs:annotation>
642
- </xs:enumeration>
643
- <xs:enumeration value="SCHED_S_TASK_NOT_SCHEDULED">
644
- <xs:annotation>
645
- <xs:documentation>One or more of the properties that are needed to run this task on a schedule have not been set.</xs:documentation>
646
- </xs:annotation>
647
- </xs:enumeration>
648
- <xs:enumeration value="SCHED_E_SERVICE_NOT_RUNNING">
649
- <xs:annotation>
650
- <xs:documentation>The Task Scheduler service is not running.</xs:documentation>
651
- </xs:annotation>
652
- </xs:enumeration>
653
- <xs:enumeration value="SCHED_E_UNSUPPORTED_ACCOUNT_OPTION">
654
- <xs:annotation>
655
- <xs:documentation>The task has been configured with an unsupported combination of account settings and run time options.</xs:documentation>
656
- </xs:annotation>
657
- </xs:enumeration>
658
- <xs:enumeration value="SCHED_E_UNKNOWN_OBJECT_VERSION">
659
- <xs:annotation>
660
- <xs:documentation>The task object version is either unsupported or invalid.</xs:documentation>
661
- </xs:annotation>
662
- </xs:enumeration>
663
- <xs:enumeration value="SCHED_E_NO_SECURITY_SERVICES">
664
- <xs:annotation>
665
- <xs:documentation>Task Scheduler security services are available only on Windows NT.</xs:documentation>
666
- </xs:annotation>
667
- </xs:enumeration>
668
- <xs:enumeration value="SCHED_E_ACCOUNT_DBASE_CORRUPT">
669
- <xs:annotation>
670
- <xs:documentation>Corruption was detected in the Task Scheduler security database; the database has been reset.</xs:documentation>
671
- </xs:annotation>
672
- </xs:enumeration>
673
- <xs:enumeration value="SCHED_E_ACCOUNT_NAME_NOT_FOUND">
674
- <xs:annotation>
675
- <xs:documentation>Unable to establish existence of the account specified.</xs:documentation>
676
- </xs:annotation>
677
- </xs:enumeration>
678
- <xs:enumeration value="SCHED_E_ACCOUNT_INFORMATION_NOT_SET">
679
- <xs:annotation>
680
- <xs:documentation>No account information could be found in the Task Scheduler security database for the task indicated.</xs:documentation>
681
- </xs:annotation>
682
- </xs:enumeration>
683
- <xs:enumeration value="SCHED_E_INVALID_TASK">
684
- <xs:annotation>
685
- <xs:documentation>The object is either an invalid task object or is not a task object.</xs:documentation>
686
- </xs:annotation>
687
- </xs:enumeration>
688
- <xs:enumeration value="SCHED_E_CANNOT_OPEN_TASK">
689
- <xs:annotation>
690
- <xs:documentation>The task object could not be opened.</xs:documentation>
691
- </xs:annotation>
692
- </xs:enumeration>
693
- <xs:enumeration value="SCHED_E_SERVICE_NOT_INSTALLED">
694
- <xs:annotation>
695
- <xs:documentation>The Task Scheduler service is not installed on this computer.</xs:documentation>
696
- </xs:annotation>
697
- </xs:enumeration>
698
- <xs:enumeration value="SCHED_E_TASK_NOT_RUNNING">
699
- <xs:annotation>
700
- <xs:documentation>There is no running instance of the task.</xs:documentation>
701
- </xs:annotation>
702
- </xs:enumeration>
703
- <xs:enumeration value="SCHED_E_TASK_NOT_READY">
704
- <xs:annotation>
705
- <xs:documentation>One or more of the properties required to run this task have not been set.</xs:documentation>
706
- </xs:annotation>
707
- </xs:enumeration>
708
- <xs:enumeration value="SCHED_E_TRIGGER_NOT_FOUND">
709
- <xs:annotation>
710
- <xs:documentation>A task's trigger is not found.</xs:documentation>
711
- </xs:annotation>
712
- </xs:enumeration>
713
- <xs:enumeration value="SCHED_S_EVENT_TRIGGER">
714
- <xs:annotation>
715
- <xs:documentation>Event triggers do not have set run times.</xs:documentation>
716
- </xs:annotation>
717
- </xs:enumeration>
718
- <xs:enumeration value="SCHED_S_TASK_NO_VALID_TRIGGERS">
719
- <xs:annotation>
720
- <xs:documentation>Either the task has no triggers or the existing triggers are disabled or not set.</xs:documentation>
721
- </xs:annotation>
722
- </xs:enumeration>
723
- <xs:enumeration value="SCHED_S_TASK_TERMINATED">
724
- <xs:annotation>
725
- <xs:documentation>The last run of the task was terminated by the user.</xs:documentation>
726
- </xs:annotation>
727
- </xs:enumeration>
728
- <xs:enumeration value="SCHED_S_TASK_NO_MORE_RUNS">
729
- <xs:annotation>
730
- <xs:documentation>There are no more runs scheduled for this task.</xs:documentation>
731
- </xs:annotation>
732
- </xs:enumeration>
733
- <xs:enumeration value="SCHED_S_TASK_HAS_NOT_RUN">
734
- <xs:annotation>
735
- <xs:documentation>The task has not been run. This value is returned whenever the task has not been run, even if the task is ready to be run at the next scheduled time or the task is a recurring task.</xs:documentation>
736
- </xs:annotation>
737
- </xs:enumeration>
738
- <xs:enumeration value="SCHED_S_TASK_DISABLED">
739
- <xs:annotation>
740
- <xs:documentation>The task will not run at the scheduled times because it has been disabled.</xs:documentation>
741
- </xs:annotation>
742
- </xs:enumeration>
743
- <xs:enumeration value="TASK_STATE_UNKNOWN">
744
- <xs:annotation>
745
- <xs:documentation>The state of the task is unknown.</xs:documentation>
746
- </xs:annotation>
747
- </xs:enumeration>
748
- <xs:enumeration value="TASK_STATE_QUEUED">
749
- <xs:annotation>
750
- <xs:documentation>Instances of the task are queued.</xs:documentation>
751
- </xs:annotation>
752
- </xs:enumeration>
753
- </xs:restriction>
754
- </xs:simpleType>
755
- </xs:schema>
1
+ <?xml version='1.0' encoding='UTF-8'?>
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:WinTaskObj="http://cybox.mitre.org/objects#WinTaskObject-2" xmlns:cyboxCommon="http://cybox.mitre.org/common-2" xmlns:EmailMessageObj="http://cybox.mitre.org/objects#EmailMessageObject-2" targetNamespace="http://cybox.mitre.org/objects#WinTaskObject-2" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.1">
3
+ <xs:annotation>
4
+ <xs:documentation>This schema was originally developed by The MITRE Corporation. The CybOX XML Schema implementation is maintained by The MITRE Corporation and developed by the open CybOX Community. For more information, including how to get involved in the effort and how to submit change requests, please visit the CybOX website at http://cybox.mitre.org.</xs:documentation>
5
+ <xs:appinfo>
6
+ <schema>Win_Task_Object</schema>
7
+ <version>2.1</version>
8
+ <date>01/22/2014</date>
9
+ <short_description>The following specifies the fields and types that compose this defined CybOX Object type. Each defined object is an extension of the abstract ObjectPropertiesType, defined in CybOX Common. For more information on this extension mechanism, please see the CybOX Specification. This document is intended for developers and assumes some familiarity with XML. </short_description>
10
+ <terms_of_use>Copyright (c) 2012-2014, The MITRE Corporation. All rights reserved. The contents of this file are subject to the terms of the CybOX License located at http://cybox.mitre.org/about/termsofuse.html. See the CybOX License for the specific language governing permissions and limitations for use of this schema. When distributing copies of the CybOX Schema, this license header must be included.</terms_of_use>
11
+ </xs:appinfo>
12
+ </xs:annotation>
13
+ <xs:import namespace="http://cybox.mitre.org/common-2" schemaLocation="../cybox_common.xsd"/>
14
+ <xs:import namespace="http://cybox.mitre.org/objects#EmailMessageObject-2" schemaLocation="Email_Message_Object.xsd"/>
15
+ <xs:element name="Windows_Task" type="WinTaskObj:WindowsTaskObjectType">
16
+ <xs:annotation>
17
+ <xs:documentation>The Windows_Task object is intended to characterize Windows task scheduler tasks. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381311(v=vs.85).aspx.</xs:documentation>
18
+ </xs:annotation>
19
+ </xs:element>
20
+ <xs:complexType name="WindowsTaskObjectType" mixed="false">
21
+ <xs:annotation>
22
+ <xs:documentation>The WindowsTaskObjectType type is intended to characterize Windows task scheduler tasks. See Also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381311(v=vs.85).aspx.</xs:documentation>
23
+ </xs:annotation>
24
+ <xs:complexContent>
25
+ <xs:extension base="cyboxCommon:ObjectPropertiesType">
26
+ <xs:sequence>
27
+ <xs:element name="Status" type="WinTaskObj:TaskStatusType" minOccurs="0">
28
+ <xs:annotation>
29
+ <xs:documentation>The Status field specifies the current status of the scheduled task. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381263(v=vs.85).aspx.</xs:documentation>
30
+ </xs:annotation>
31
+ </xs:element>
32
+ <xs:element name="Priority" type="WinTaskObj:TaskPriorityType" minOccurs="0">
33
+ <xs:annotation>
34
+ <xs:documentation>The Priority field specifies the priority of the scheduled task. This can either be a free-form string or one the values in the TaskPriorityEnum enumeration. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381876(v=vs.85).aspx.</xs:documentation>
35
+ </xs:annotation>
36
+ </xs:element>
37
+ <xs:element name="Name" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
38
+ <xs:annotation>
39
+ <xs:documentation>The Name field specifies the image name for the task.</xs:documentation>
40
+ </xs:annotation>
41
+ </xs:element>
42
+ <xs:element name="Application_Name" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
43
+ <xs:annotation>
44
+ <xs:documentation>The Application_Name specifies the application name associated with the task.</xs:documentation>
45
+ </xs:annotation>
46
+ </xs:element>
47
+ <xs:element name="Parameters" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
48
+ <xs:annotation>
49
+ <xs:documentation>The Parameters field specifies the command line parameters used to launch the scheduled task. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381875(v=vs.85).aspx.</xs:documentation>
50
+ </xs:annotation>
51
+ </xs:element>
52
+ <xs:element name="Flags" type="WinTaskObj:TaskFlagType" minOccurs="0">
53
+ <xs:annotation>
54
+ <xs:documentation>The Flags field specifies any flags that modify the behavior of the scheduled task. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381248(v=vs.85).aspx.</xs:documentation>
55
+ </xs:annotation>
56
+ </xs:element>
57
+ <xs:element name="Account_Name" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
58
+ <xs:annotation>
59
+ <xs:documentation>The Account_Name field specifies the name of the account used to run the scheduled task. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381228(v=vs.85).aspx.</xs:documentation>
60
+ </xs:annotation>
61
+ </xs:element>
62
+ <xs:element name="Account_Run_Level" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
63
+ <xs:annotation>
64
+ <xs:documentation>The Account_Run_Level field specifies the permission level of the account that the task will be run at.</xs:documentation>
65
+ </xs:annotation>
66
+ </xs:element>
67
+ <xs:element name="Account_Logon_Type" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
68
+ <xs:annotation>
69
+ <xs:documentation>The Account_Logon_Type field specifies the security logon method required to run the tasks associated with the account. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa383013(v=vs.85).aspx.</xs:documentation>
70
+ </xs:annotation>
71
+ </xs:element>
72
+ <xs:element name="Creator" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
73
+ <xs:annotation>
74
+ <xs:documentation>The Creator field specifies the name of the creator of the scheduled task. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381235(v=vs.85).aspx.</xs:documentation>
75
+ </xs:annotation>
76
+ </xs:element>
77
+ <xs:element name="Creation_Date" type="cyboxCommon:DateTimeObjectPropertyType" minOccurs="0">
78
+ <xs:annotation>
79
+ <xs:documentation>The Creation_Date field specifies the date and time that the task was registered. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa382623(v=vs.85).aspx.</xs:documentation>
80
+ </xs:annotation>
81
+ </xs:element>
82
+ <xs:element name="Most_Recent_Run_Time" type="cyboxCommon:DateTimeObjectPropertyType" minOccurs="0">
83
+ <xs:annotation>
84
+ <xs:documentation>The Most_Recent_Run_Time field specifies the most recent run date/time of this scheduled task. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381254(v=vs.85).aspx.</xs:documentation>
85
+ </xs:annotation>
86
+ </xs:element>
87
+ <xs:element name="Exit_Code" type="cyboxCommon:LongObjectPropertyType" minOccurs="0">
88
+ <xs:annotation>
89
+ <xs:documentation>The Exit_Code field specifies the last exit code of the scheduled task. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381245(v=vs.85).aspx.</xs:documentation>
90
+ </xs:annotation>
91
+ </xs:element>
92
+ <xs:element name="Max_Run_Time" type="cyboxCommon:UnsignedLongObjectPropertyType" minOccurs="0">
93
+ <xs:annotation>
94
+ <xs:documentation>The Max_Run_Time field specifies the maximum run time of the scheduled task before terminating, in milliseconds. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381874(v=vs.85).aspx.</xs:documentation>
95
+ </xs:annotation>
96
+ </xs:element>
97
+ <xs:element name="Next_Run_Time" type="cyboxCommon:DateTimeObjectPropertyType" minOccurs="0">
98
+ <xs:annotation>
99
+ <xs:documentation>The Next_Run_Time field specifies the next run date/time of the scheduled task. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381257(v=vs.85).aspx.</xs:documentation>
100
+ </xs:annotation>
101
+ </xs:element>
102
+ <xs:element name="Action_List" type="WinTaskObj:TaskActionListType" minOccurs="0" maxOccurs="1">
103
+ <xs:annotation>
104
+ <xs:documentation>The Action_List field specifies a list of actions to be performed by the scheduled task.</xs:documentation>
105
+ </xs:annotation>
106
+ </xs:element>
107
+ <xs:element name="Trigger_List" type="WinTaskObj:TriggerListType" minOccurs="0">
108
+ <xs:annotation>
109
+ <xs:documentation>The Trigger_List field specifies a set of triggers used by the scheduled task. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa383264(v=vs.85).aspx.</xs:documentation>
110
+ </xs:annotation>
111
+ </xs:element>
112
+ <xs:element name="Comment" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
113
+ <xs:annotation>
114
+ <xs:documentation>The Comment field specifies a comment for the scheduled task. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381232(v=vs.85).aspx.</xs:documentation>
115
+ </xs:annotation>
116
+ </xs:element>
117
+ <xs:element name="Working_Directory" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
118
+ <xs:annotation>
119
+ <xs:documentation>The Working_Directory field specifies the working directory for the scheduled task. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381878(v=vs.85).aspx.</xs:documentation>
120
+ </xs:annotation>
121
+ </xs:element>
122
+ <xs:element name="Work_Item_Data" type="cyboxCommon:Base64BinaryObjectPropertyType" minOccurs="0">
123
+ <xs:annotation>
124
+ <xs:documentation>The Work_Item_Data field specifies application defined data associated with the scheduled task. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381271(v=vs.85).aspx.</xs:documentation>
125
+ </xs:annotation>
126
+ </xs:element>
127
+ </xs:sequence>
128
+ </xs:extension>
129
+ </xs:complexContent>
130
+ </xs:complexType>
131
+ <xs:complexType name="TriggerListType">
132
+ <xs:annotation>
133
+ <xs:documentation>The TriggerListType type specifies a set of triggers associated with the scheduled task.</xs:documentation>
134
+ </xs:annotation>
135
+ <xs:sequence minOccurs="1" maxOccurs="1">
136
+ <xs:element name="Trigger" type="WinTaskObj:TriggerType" minOccurs="1" maxOccurs="unbounded">
137
+ <xs:annotation>
138
+ <xs:documentation>A trigger associated with this scheduled task. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381264(v=vs.85).aspx.</xs:documentation>
139
+ </xs:annotation>
140
+ </xs:element>
141
+ </xs:sequence>
142
+ </xs:complexType>
143
+ <xs:complexType name="TriggerType">
144
+ <xs:annotation>
145
+ <xs:documentation>The TriggerType type characterizes task triggers. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa383868(v=vs.85).aspx.</xs:documentation>
146
+ </xs:annotation>
147
+ <xs:sequence>
148
+ <xs:element name="Trigger_Begin" type="cyboxCommon:DateTimeObjectPropertyType" minOccurs="0">
149
+ <xs:annotation>
150
+ <xs:documentation>The Trigger_Begin_Element specifies the date/time that the trigger is activated.</xs:documentation>
151
+ </xs:annotation>
152
+ </xs:element>
153
+ <xs:element name="Trigger_Delay" type="cyboxCommon:DurationObjectPropertyType" minOccurs="0">
154
+ <xs:annotation>
155
+ <xs:documentation>The Trigger_Delay field specifies the delay that takes place between when the task is registered and when the task is started.</xs:documentation>
156
+ </xs:annotation>
157
+ </xs:element>
158
+ <xs:element name="Trigger_End" type="cyboxCommon:DateTimeObjectPropertyType" minOccurs="0">
159
+ <xs:annotation>
160
+ <xs:documentation>The Trigger_End field specifies the date/time that the trigger is deactivated.</xs:documentation>
161
+ </xs:annotation>
162
+ </xs:element>
163
+ <xs:element name="Trigger_Frequency" type="WinTaskObj:TaskTriggerFrequencyType" minOccurs="0">
164
+ <xs:annotation>
165
+ <xs:documentation>The Trigger_Frequency field specifies the frequency at which the trigger repeats.</xs:documentation>
166
+ </xs:annotation>
167
+ </xs:element>
168
+ <xs:element name="Trigger_Max_Run_Time" type="cyboxCommon:DurationObjectPropertyType" minOccurs="0">
169
+ <xs:annotation>
170
+ <xs:documentation>The maximum amount of time that the task launched by the trigger is allowed to run. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa383868(v=vs.85).aspx.</xs:documentation>
171
+ </xs:annotation>
172
+ </xs:element>
173
+ <xs:element name="Trigger_Session_Change_Type" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
174
+ <xs:annotation>
175
+ <xs:documentation>The Trigger_Session_Change_Type field specifies the type of Terminal Server session change that would trigger a task launch. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381298(v=vs.85).aspx.</xs:documentation>
176
+ </xs:annotation>
177
+ </xs:element>
178
+ <xs:element name="Trigger_Type" type="WinTaskObj:TaskTriggerType" minOccurs="0">
179
+ <xs:annotation>
180
+ <xs:documentation>The Trigger_Type specifies the type of the task trigger.</xs:documentation>
181
+ </xs:annotation>
182
+ </xs:element>
183
+ </xs:sequence>
184
+ <xs:attribute name="enabled" type="xs:boolean">
185
+ <xs:annotation>
186
+ <xs:documentation>The enabled field specifies whether the trigger is enabled.</xs:documentation>
187
+ </xs:annotation>
188
+ </xs:attribute>
189
+ </xs:complexType>
190
+ <xs:complexType name="TaskActionListType">
191
+ <xs:annotation>
192
+ <xs:documentation>The TaskActionListType type specifies a list of task actions.</xs:documentation>
193
+ </xs:annotation>
194
+ <xs:sequence>
195
+ <xs:element name="Action" type="WinTaskObj:TaskActionType" minOccurs="1" maxOccurs="unbounded">
196
+ <xs:annotation>
197
+ <xs:documentation>The work items performed by a task are called actions. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa383549(v=vs.85).aspx.</xs:documentation>
198
+ </xs:annotation>
199
+ </xs:element>
200
+ </xs:sequence>
201
+ </xs:complexType>
202
+ <xs:complexType name="TaskActionType">
203
+ <xs:annotation>
204
+ <xs:documentation>The TaskActionType type characterizes scheduled task actions.</xs:documentation>
205
+ </xs:annotation>
206
+ <xs:sequence>
207
+ <xs:element name="Action_Type" type="WinTaskObj:TaskActionTypeType" minOccurs="0">
208
+ <xs:annotation>
209
+ <xs:documentation>The Action_Type field specifies the type of the action. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa380596(v=vs.85).aspx.</xs:documentation>
210
+ </xs:annotation>
211
+ </xs:element>
212
+ <xs:element name="Action_ID" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
213
+ <xs:annotation>
214
+ <xs:documentation>The Action_ID field specifies the user-defined identifier for the action. This identifier is used by the Task Scheduler for logging purposes. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa380590(v=vs.85).aspx.</xs:documentation>
215
+ </xs:annotation>
216
+ </xs:element>
217
+ <xs:element name="IEmailAction" type="EmailMessageObj:EmailMessageObjectType" minOccurs="0">
218
+ <xs:annotation>
219
+ <xs:documentation>The IEmail_Action field specifies an action that sends an e-mail, which in this context refers to actual email message sent. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa380693(v=vs.85).aspx.</xs:documentation>
220
+ </xs:annotation>
221
+ </xs:element>
222
+ <xs:element name="IComHandlerAction" type="WinTaskObj:IComHandlerActionType" minOccurs="0">
223
+ <xs:annotation>
224
+ <xs:documentation>The IComHandlerAction field specifies an action that fires a handler.</xs:documentation>
225
+ </xs:annotation>
226
+ </xs:element>
227
+ <xs:element name="IExecAction" type="WinTaskObj:IExecActionType" minOccurs="0">
228
+ <xs:annotation>
229
+ <xs:documentation>The IExecAction field specifies an action that executes a command-line operation. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa380715(v=vs.85).aspx.</xs:documentation>
230
+ </xs:annotation>
231
+ </xs:element>
232
+ <xs:element name="IShowMessageAction" type="WinTaskObj:IShowMessageActionType" minOccurs="0">
233
+ <xs:annotation>
234
+ <xs:documentation>The IShowMessageAction field specifies an action that shows a message box when a task is activated. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381302(v=vs.85).aspx.</xs:documentation>
235
+ </xs:annotation>
236
+ </xs:element>
237
+ </xs:sequence>
238
+ </xs:complexType>
239
+ <xs:complexType name="TaskActionTypeType">
240
+ <xs:annotation>
241
+ <xs:documentation>The TaskActionTypeType characterizes the specific types of task actions.</xs:documentation>
242
+ </xs:annotation>
243
+ <xs:simpleContent>
244
+ <xs:restriction base="cyboxCommon:BaseObjectPropertyType">
245
+ <xs:simpleType>
246
+ <xs:union memberTypes="WinTaskObj:TaskActionTypeEnum xs:string"/>
247
+ </xs:simpleType>
248
+ <xs:attribute name="datatype" type="cyboxCommon:DatatypeEnum" fixed="string">
249
+ <xs:annotation>
250
+ <xs:documentation>This attribute is optional and specifies the expected type for the value of the specified property.</xs:documentation>
251
+ </xs:annotation>
252
+ </xs:attribute>
253
+ </xs:restriction>
254
+ </xs:simpleContent>
255
+ </xs:complexType>
256
+ <xs:complexType name="IComHandlerActionType">
257
+ <xs:annotation>
258
+ <xs:documentation>The IComHandlerActionType type characterizes IComHandler actions.</xs:documentation>
259
+ </xs:annotation>
260
+ <xs:sequence>
261
+ <xs:element name="COM_Data" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
262
+ <xs:annotation>
263
+ <xs:documentation>The COM_Data field specifies the data associated with the COM handler. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa380613(v=vs.85).aspx.</xs:documentation>
264
+ </xs:annotation>
265
+ </xs:element>
266
+ <xs:element name="COM_Class_ID" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
267
+ <xs:annotation>
268
+ <xs:documentation>The COM_Class_ID field specifies the ID of the COM action. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa380613(v=vs.85).aspx.</xs:documentation>
269
+ </xs:annotation>
270
+ </xs:element>
271
+ </xs:sequence>
272
+ </xs:complexType>
273
+ <xs:complexType name="IExecActionType">
274
+ <xs:annotation>
275
+ <xs:documentation>The IExecActionType type characterizes IExec actions.</xs:documentation>
276
+ </xs:annotation>
277
+ <xs:sequence>
278
+ <xs:element name="Exec_Arguments" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
279
+ <xs:annotation>
280
+ <xs:documentation>The Exec_Arguments field specifies the arguments associated with the command-line operation launched by the action. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa380715(v=vs.85).aspx.</xs:documentation>
281
+ </xs:annotation>
282
+ </xs:element>
283
+ <xs:element name="Exec_Program_Path" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
284
+ <xs:annotation>
285
+ <xs:documentation>The Exec_Program_Path field specifies the path to the executable file launched by the action. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa380715(v=vs.85).aspx.</xs:documentation>
286
+ </xs:annotation>
287
+ </xs:element>
288
+ <xs:element name="Exec_Working_Directory" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
289
+ <xs:annotation>
290
+ <xs:documentation>The Exec_Working_Directory field specifies the directory that contains either the executable file or the files that are used by the executable file launched by the action. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa380715(v=vs.85).aspx.</xs:documentation>
291
+ </xs:annotation>
292
+ </xs:element>
293
+ <xs:element name="Exec_Program_Hashes" type="cyboxCommon:HashListType" minOccurs="0">
294
+ <xs:annotation>
295
+ <xs:documentation>The Exec_Program_Element specifies the hashes of the executable file launched by the action.</xs:documentation>
296
+ </xs:annotation>
297
+ </xs:element>
298
+ </xs:sequence>
299
+ </xs:complexType>
300
+ <xs:complexType name="IShowMessageActionType">
301
+ <xs:annotation>
302
+ <xs:documentation>The IShowMessageActionType type characterizes IShowMessage actions.</xs:documentation>
303
+ </xs:annotation>
304
+ <xs:sequence>
305
+ <xs:element name="Show_Message_Body" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
306
+ <xs:annotation>
307
+ <xs:documentation>The Show_Message_Body field specifies the message text that is displayed in the body of the message box by the action. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381302(v=vs.85).aspx.</xs:documentation>
308
+ </xs:annotation>
309
+ </xs:element>
310
+ <xs:element name="Show_Message_Title" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
311
+ <xs:annotation>
312
+ <xs:documentation>The Show_Message_Title field specifies the title of the message box shown by the action. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381302(v=vs.85).aspx.</xs:documentation>
313
+ </xs:annotation>
314
+ </xs:element>
315
+ </xs:sequence>
316
+ </xs:complexType>
317
+ <xs:complexType name="TaskFlagType">
318
+ <xs:annotation>
319
+ <xs:documentation>The TaskFlagType type specifies Windows Task flag types via a union of the TaskFlagEnum type and the atomic xs:string type. Its base type is the CybOX Core BaseObjectPropertyType, for permitting complex (i.e. regular-expression based) specifications.</xs:documentation>
320
+ </xs:annotation>
321
+ <xs:simpleContent>
322
+ <xs:restriction base="cyboxCommon:BaseObjectPropertyType">
323
+ <xs:simpleType>
324
+ <xs:union memberTypes="WinTaskObj:TaskFlagEnum xs:string"/>
325
+ </xs:simpleType>
326
+ <xs:attribute name="datatype" type="cyboxCommon:DatatypeEnum" fixed="string">
327
+ <xs:annotation>
328
+ <xs:documentation>This attribute is optional and specifies the expected type for the value of the specified property.</xs:documentation>
329
+ </xs:annotation>
330
+ </xs:attribute>
331
+ </xs:restriction>
332
+ </xs:simpleContent>
333
+ </xs:complexType>
334
+ <xs:complexType name="TaskPriorityType">
335
+ <xs:annotation>
336
+ <xs:documentation>The TaskPriorityType type specifies Windows Task priority types via a union of the TaskPriorityEnum type and the atomic xs:string type. Its base type is the CybOX Core BaseObjectPropertyType, for permitting complex (i.e. regular-expression based) specifications.</xs:documentation>
337
+ </xs:annotation>
338
+ <xs:simpleContent>
339
+ <xs:restriction base="cyboxCommon:BaseObjectPropertyType">
340
+ <xs:simpleType>
341
+ <xs:union memberTypes="WinTaskObj:TaskPriorityEnum xs:string"/>
342
+ </xs:simpleType>
343
+ <xs:attribute name="datatype" type="cyboxCommon:DatatypeEnum" fixed="string">
344
+ <xs:annotation>
345
+ <xs:documentation>This attribute is optional and specifies the expected type for the value of the specified property.</xs:documentation>
346
+ </xs:annotation>
347
+ </xs:attribute>
348
+ </xs:restriction>
349
+ </xs:simpleContent>
350
+ </xs:complexType>
351
+ <xs:complexType name="TaskTriggerFrequencyType">
352
+ <xs:annotation>
353
+ <xs:documentation>The TaskTriggerFrequencyType type specifies Windows Task trigger frequency types via a union of the TriggerFrequencyEnum type and the atomic xs:string type. Its base type is the CybOX Core BaseObjectPropertyType, for permitting complex (i.e. regular-expression based) specifications.</xs:documentation>
354
+ </xs:annotation>
355
+ <xs:simpleContent>
356
+ <xs:restriction base="cyboxCommon:BaseObjectPropertyType">
357
+ <xs:simpleType>
358
+ <xs:union memberTypes="WinTaskObj:TriggerFrequencyEnum xs:string"/>
359
+ </xs:simpleType>
360
+ <xs:attribute name="datatype" type="cyboxCommon:DatatypeEnum" fixed="string">
361
+ <xs:annotation>
362
+ <xs:documentation>This attribute is optional and specifies the expected type for the value of the specified property.</xs:documentation>
363
+ </xs:annotation>
364
+ </xs:attribute>
365
+ </xs:restriction>
366
+ </xs:simpleContent>
367
+ </xs:complexType>
368
+ <xs:complexType name="TaskTriggerType">
369
+ <xs:annotation>
370
+ <xs:documentation>The TaskTriggerType type specifies Windows Task trigger types via a union of the TriggerTypeEnum enumeration and the atomic xs:string type. Its base type is the CybOX Core BaseObjectPropertyType, for permitting complex (i.e. regular-expression based) specifications.</xs:documentation>
371
+ </xs:annotation>
372
+ <xs:simpleContent>
373
+ <xs:restriction base="cyboxCommon:BaseObjectPropertyType">
374
+ <xs:simpleType>
375
+ <xs:union memberTypes="WinTaskObj:TriggerTypeEnum xs:string"/>
376
+ </xs:simpleType>
377
+ <xs:attribute name="datatype" type="cyboxCommon:DatatypeEnum" fixed="string">
378
+ <xs:annotation>
379
+ <xs:documentation>This attribute is optional and specifies the expected type for the value of the specified property.</xs:documentation>
380
+ </xs:annotation>
381
+ </xs:attribute>
382
+ </xs:restriction>
383
+ </xs:simpleContent>
384
+ </xs:complexType>
385
+ <xs:complexType name="TaskStatusType">
386
+ <xs:annotation>
387
+ <xs:documentation>The TaskStatusType type specifies Windows Task states via a union of the TaskStatusEnum type and the atomic xs:string type. Its base type is the CybOX Core BaseObjectPropertyType, for permitting complex (i.e. regular-expression based) specifications.</xs:documentation>
388
+ </xs:annotation>
389
+ <xs:simpleContent>
390
+ <xs:restriction base="cyboxCommon:BaseObjectPropertyType">
391
+ <xs:simpleType>
392
+ <xs:union memberTypes="WinTaskObj:TaskStatusEnum xs:string"/>
393
+ </xs:simpleType>
394
+ <xs:attribute name="datatype" type="cyboxCommon:DatatypeEnum" fixed="string">
395
+ <xs:annotation>
396
+ <xs:documentation>This attribute is optional and specifies the expected type for the value of the specified property.</xs:documentation>
397
+ </xs:annotation>
398
+ </xs:attribute>
399
+ </xs:restriction>
400
+ </xs:simpleContent>
401
+ </xs:complexType>
402
+ <xs:simpleType name="TaskActionTypeEnum">
403
+ <xs:annotation>
404
+ <xs:documentation>An enumeration of action types. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa380596(v=vs.85).aspx.</xs:documentation>
405
+ </xs:annotation>
406
+ <xs:restriction base="xs:string">
407
+ <xs:whiteSpace value="preserve"/>
408
+ <xs:enumeration value="TASK_ACTION_EXEC">
409
+ <xs:annotation>
410
+ <xs:documentation>This action performs a command-line operation. For example, the action could run a script, launch an executable, or, if the name of a document is provided, find its associated application and launch the application with the document.</xs:documentation>
411
+ </xs:annotation>
412
+ </xs:enumeration>
413
+ <xs:enumeration value="TASK_ACTION_COM_HANDLER">
414
+ <xs:annotation>
415
+ <xs:documentation>This action fires a handler.</xs:documentation>
416
+ </xs:annotation>
417
+ </xs:enumeration>
418
+ <xs:enumeration value="TASK_ACTION_SEND_EMAIL">
419
+ <xs:annotation>
420
+ <xs:documentation>This action sends an e-mail.</xs:documentation>
421
+ </xs:annotation>
422
+ </xs:enumeration>
423
+ <xs:enumeration value="TASK_ACTION_SHOW_MESSAGE">
424
+ <xs:annotation>
425
+ <xs:documentation>This action shows a message box.</xs:documentation>
426
+ </xs:annotation>
427
+ </xs:enumeration>
428
+ </xs:restriction>
429
+ </xs:simpleType>
430
+ <xs:simpleType name="TaskFlagEnum">
431
+ <xs:annotation>
432
+ <xs:documentation>The TaskFlagEnum enumeration specifies the run flags for a task scheduler task. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381283(v=vs.85).aspx See Also: http://msdn.microsoft.com/en-us/library/microsoft.office.excel.server.addins.computecluster.taskscheduler.taskflags(v=office.12).aspx.</xs:documentation>
433
+ </xs:annotation>
434
+ <xs:list>
435
+ <xs:simpleType>
436
+ <xs:restriction base="xs:string">
437
+ <xs:enumeration value="TASK_FLAG_ZERO"/>
438
+ <xs:enumeration value="TASK_FLAG_INTERACTIVE">
439
+ <xs:annotation>
440
+ <xs:documentation>This flag is used when converting Windows NT AT service jobs into work items. The Windows NT AT service job refers to At.exe, the Windows NT command-line utility used for creating jobs for the Windows NT Schedule service. The Task Scheduler service replaces the Schedule service and is backwards compatible with it. The conversion occurs when the Task Scheduler is installed on Windows NT/Windows 2000— for example, if you install Internet Explorer 4.0, or upgrade to Windows 2000. During the setup process, the Task Scheduler installation code searches the registry for jobs created for the AT service and creates work items that will accomplish the same operation. For such converted jobs, the interactive flag is set if the work item is intended to be displayed to the user. When this flag is not set, no work items are displayed in the Tasks folder, and no user interface associated with the work item is presented to the user when the work item is executed.</xs:documentation>
441
+ </xs:annotation>
442
+ </xs:enumeration>
443
+ <xs:enumeration value="TASK_FLAG_DELETE_WHEN_DONE">
444
+ <xs:annotation>
445
+ <xs:documentation>The work item will be deleted when there are no more scheduled run times.</xs:documentation>
446
+ </xs:annotation>
447
+ </xs:enumeration>
448
+ <xs:enumeration value="TASK_FLAG_DISABLED">
449
+ <xs:annotation>
450
+ <xs:documentation>The work item is disabled. This is useful to temporarily prevent a work item from running at the scheduled time(s).</xs:documentation>
451
+ </xs:annotation>
452
+ </xs:enumeration>
453
+ <xs:enumeration value="TASK_FLAG_HIDDEN">
454
+ <xs:annotation>
455
+ <xs:documentation>The work item created will be hidden.</xs:documentation>
456
+ </xs:annotation>
457
+ </xs:enumeration>
458
+ <xs:enumeration value="TASK_FLAG_RUN_ONLY_IF_LOGGED_ON">
459
+ <xs:annotation>
460
+ <xs:documentation>The work item runs only if the user specified in IScheduledWorkItem::SetAccountInformation is logged on interactively. This flag has no effect on the work items that are set to run in the local account.</xs:documentation>
461
+ </xs:annotation>
462
+ </xs:enumeration>
463
+ <xs:enumeration value="TASK_FLAG_START_ONLY_IF_IDLE">
464
+ <xs:annotation>
465
+ <xs:documentation>The work item begins only if the computer is not in use at the scheduled start time.</xs:documentation>
466
+ </xs:annotation>
467
+ </xs:enumeration>
468
+ <xs:enumeration value="TASK_FLAG_SYSTEM_REQUIRED">
469
+ <xs:annotation>
470
+ <xs:documentation>The work item causes the system to be resumed, or awakened, if the system is running on battery power. This flag is supported only on systems that support resume timers.</xs:documentation>
471
+ </xs:annotation>
472
+ </xs:enumeration>
473
+ <xs:enumeration value="TASK_FLAG_KILL_ON_IDLE_END">
474
+ <xs:annotation>
475
+ <xs:documentation>The work item terminates if the computer makes an idle to non-idle transition while the work item is running. The computer is not considered idle until the IdleWait triggers' time elapses with no user input. For information regarding idle triggers, see Idle Trigger.</xs:documentation>
476
+ </xs:annotation>
477
+ </xs:enumeration>
478
+ <xs:enumeration value="TASK_FLAG_RESTART_ON_IDLE_RESUME">
479
+ <xs:annotation>
480
+ <xs:documentation>The work item starts again if the computer makes a non-idle to idle transition before all the work item's task_triggers elapse. (Use this flag in conjunction with TASK_FLAG_KILL_ON_IDLE_END.).</xs:documentation>
481
+ </xs:annotation>
482
+ </xs:enumeration>
483
+ <xs:enumeration value="TASK_FLAG_DONT_START_IF_ON_BATTERIES">
484
+ <xs:annotation>
485
+ <xs:documentation>The work item does not start if its target computer is running on battery power.</xs:documentation>
486
+ </xs:annotation>
487
+ </xs:enumeration>
488
+ <xs:enumeration value="TASK_FLAG_KILL_IF_GOING_ON_BATTERIES">
489
+ <xs:annotation>
490
+ <xs:documentation>The work item ends, and the associated application quits if the work item's target computer switches to battery power.</xs:documentation>
491
+ </xs:annotation>
492
+ </xs:enumeration>
493
+ <xs:enumeration value="TASK_FLAG_RUN_IF_CONNECTED_TO_INTERNET">
494
+ <xs:annotation>
495
+ <xs:documentation>The work item runs only if there is currently a valid Internet connection.</xs:documentation>
496
+ </xs:annotation>
497
+ </xs:enumeration>
498
+ </xs:restriction>
499
+ </xs:simpleType>
500
+ </xs:list>
501
+ </xs:simpleType>
502
+ <xs:simpleType name="TaskPriorityEnum">
503
+ <xs:annotation>
504
+ <xs:documentation>The TaskPriorityEnum enumeration specifies the priority levels of task scheduler tasks. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa383512(v=vs.85).aspx.</xs:documentation>
505
+ </xs:annotation>
506
+ <xs:restriction base="xs:string">
507
+ <xs:enumeration value="HIGH_PRIORITY_CLASS">
508
+ <xs:annotation>
509
+ <xs:documentation>A priority class of high (1).</xs:documentation>
510
+ </xs:annotation>
511
+ </xs:enumeration>
512
+ <xs:enumeration value="NORMAL_PRIORITY_CLASS">
513
+ <xs:annotation>
514
+ <xs:documentation>A priority class of normal (4-6).</xs:documentation>
515
+ </xs:annotation>
516
+ </xs:enumeration>
517
+ <xs:enumeration value="IDLE_PRIORITY_CLASS">
518
+ <xs:annotation>
519
+ <xs:documentation>A priority class of idle (9-10).</xs:documentation>
520
+ </xs:annotation>
521
+ </xs:enumeration>
522
+ <xs:enumeration value="REALTIME_PRIORITY_CLASS">
523
+ <xs:annotation>
524
+ <xs:documentation>A priority class of realtime (0).</xs:documentation>
525
+ </xs:annotation>
526
+ </xs:enumeration>
527
+ <xs:enumeration value="ABOVE_NORMAL_PRIORITY_CLASS">
528
+ <xs:annotation>
529
+ <xs:documentation>A priority class of above normal (2-3).</xs:documentation>
530
+ </xs:annotation>
531
+ </xs:enumeration>
532
+ <xs:enumeration value="BELOW_NORMAL_PRIORITY_CLASS">
533
+ <xs:annotation>
534
+ <xs:documentation>A priority class of below normal (7-8).</xs:documentation>
535
+ </xs:annotation>
536
+ </xs:enumeration>
537
+ </xs:restriction>
538
+ </xs:simpleType>
539
+ <xs:simpleType name="TriggerFrequencyEnum">
540
+ <xs:annotation>
541
+ <xs:documentation>The TriggerFrequencyEnum enumeration defines the frequency types that a trigger may use. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa383620(v=vs.85).aspx and http://msdn.microsoft.com/en-us/library/windows/desktop/aa383987(v=vs.85).aspx.</xs:documentation>
542
+ </xs:annotation>
543
+ <xs:restriction base="xs:string">
544
+ <xs:enumeration value="TASK_TIME_TRIGGER_ONCE">
545
+ <xs:annotation>
546
+ <xs:documentation>Trigger is set to run the task a single time.</xs:documentation>
547
+ </xs:annotation>
548
+ </xs:enumeration>
549
+ <xs:enumeration value="TASK_EVENT_TRIGGER_ON_IDLE">
550
+ <xs:annotation>
551
+ <xs:documentation>Trigger is set to run the task if the system remains idle for the amount of time specified by the idle wait time of the task.</xs:documentation>
552
+ </xs:annotation>
553
+ </xs:enumeration>
554
+ <xs:enumeration value="TASK_EVENT_TRIGGER_AT_SYSTEMSTART">
555
+ <xs:annotation>
556
+ <xs:documentation>Trigger is set to run the task at system startup.</xs:documentation>
557
+ </xs:annotation>
558
+ </xs:enumeration>
559
+ <xs:enumeration value="TASK_EVENT_TRIGGER_AT_LOGON">
560
+ <xs:annotation>
561
+ <xs:documentation>Trigger is set to run the task when a user logs on.</xs:documentation>
562
+ </xs:annotation>
563
+ </xs:enumeration>
564
+ <xs:enumeration value="TASK_TIME_TRIGGER_DAILY">
565
+ <xs:annotation>
566
+ <xs:documentation>Trigger is set to run the task on a daily interval.</xs:documentation>
567
+ </xs:annotation>
568
+ </xs:enumeration>
569
+ <xs:enumeration value="TASK_TIME_TRIGGER_WEEKLY">
570
+ <xs:annotation>
571
+ <xs:documentation>Trigger is set to run the work item on specific days of a specific week of a specific month.</xs:documentation>
572
+ </xs:annotation>
573
+ </xs:enumeration>
574
+ <xs:enumeration value="TASK_TIME_TRIGGER_MONTHLYDATE">
575
+ <xs:annotation>
576
+ <xs:documentation>Trigger is set to run the task on a specific day(s) of the month.</xs:documentation>
577
+ </xs:annotation>
578
+ </xs:enumeration>
579
+ <xs:enumeration value="TASK_TIME_TRIGGER_MONTHLYDOW">
580
+ <xs:annotation>
581
+ <xs:documentation>Trigger is set to run the task on specific days, weeks, and months.</xs:documentation>
582
+ </xs:annotation>
583
+ </xs:enumeration>
584
+ </xs:restriction>
585
+ </xs:simpleType>
586
+ <xs:simpleType name="TriggerTypeEnum">
587
+ <xs:annotation>
588
+ <xs:documentation>The TriggerFrequencyEnum enumeration defines the types of triggers associated with a task.</xs:documentation>
589
+ </xs:annotation>
590
+ <xs:restriction base="xs:string">
591
+ <xs:enumeration value="TASK_TRIGGER_EVENT">
592
+ <xs:annotation>
593
+ <xs:documentation>Triggers the task when a specific system event occurs.</xs:documentation>
594
+ </xs:annotation>
595
+ </xs:enumeration>
596
+ <xs:enumeration value="TASK_TRIGGER_TIME">
597
+ <xs:annotation>
598
+ <xs:documentation>Triggers the task at a specific date and time.</xs:documentation>
599
+ </xs:annotation>
600
+ </xs:enumeration>
601
+ <xs:enumeration value="TASK_TRIGGER_IDLE">
602
+ <xs:annotation>
603
+ <xs:documentation>Triggers the task when the computer enters an idle state.</xs:documentation>
604
+ </xs:annotation>
605
+ </xs:enumeration>
606
+ <xs:enumeration value="TASK_TRIGGER_REGISTRATION">
607
+ <xs:annotation>
608
+ <xs:documentation>Triggers the task when the task is registered or updated.</xs:documentation>
609
+ </xs:annotation>
610
+ </xs:enumeration>
611
+ <xs:enumeration value="TASK_TRIGGER_BOOT">
612
+ <xs:annotation>
613
+ <xs:documentation>Triggers the task when the system is booted.</xs:documentation>
614
+ </xs:annotation>
615
+ </xs:enumeration>
616
+ <xs:enumeration value="TASK_TRIGGER_LOGON">
617
+ <xs:annotation>
618
+ <xs:documentation>Triggers the task when a user logs on.</xs:documentation>
619
+ </xs:annotation>
620
+ </xs:enumeration>
621
+ <xs:enumeration value="TASK_TRIGGER_SESSION_STATE_CHANGE">
622
+ <xs:annotation>
623
+ <xs:documentation>Triggers the task when a Terminal Server session changes state.</xs:documentation>
624
+ </xs:annotation>
625
+ </xs:enumeration>
626
+ </xs:restriction>
627
+ </xs:simpleType>
628
+ <xs:simpleType name="TaskStatusEnum">
629
+ <xs:annotation>
630
+ <xs:documentation>The TaskStatusEnum enumeration specifies the possible statuses of a scheduled task. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa383604(v=vs.85).aspx See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381263(v=vs.85).aspx See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381833(v=vs.85).aspx See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa383617(v=vs.85).aspx.</xs:documentation>
631
+ </xs:annotation>
632
+ <xs:restriction base="xs:string">
633
+ <xs:enumeration value="SCHED_S_TASK_READY">
634
+ <xs:annotation>
635
+ <xs:documentation>The task is ready to run at its next scheduled time.</xs:documentation>
636
+ </xs:annotation>
637
+ </xs:enumeration>
638
+ <xs:enumeration value="SCHED_S_TASK_RUNNING">
639
+ <xs:annotation>
640
+ <xs:documentation>The task is currently running.</xs:documentation>
641
+ </xs:annotation>
642
+ </xs:enumeration>
643
+ <xs:enumeration value="SCHED_S_TASK_NOT_SCHEDULED">
644
+ <xs:annotation>
645
+ <xs:documentation>One or more of the properties that are needed to run this task on a schedule have not been set.</xs:documentation>
646
+ </xs:annotation>
647
+ </xs:enumeration>
648
+ <xs:enumeration value="SCHED_E_SERVICE_NOT_RUNNING">
649
+ <xs:annotation>
650
+ <xs:documentation>The Task Scheduler service is not running.</xs:documentation>
651
+ </xs:annotation>
652
+ </xs:enumeration>
653
+ <xs:enumeration value="SCHED_E_UNSUPPORTED_ACCOUNT_OPTION">
654
+ <xs:annotation>
655
+ <xs:documentation>The task has been configured with an unsupported combination of account settings and run time options.</xs:documentation>
656
+ </xs:annotation>
657
+ </xs:enumeration>
658
+ <xs:enumeration value="SCHED_E_UNKNOWN_OBJECT_VERSION">
659
+ <xs:annotation>
660
+ <xs:documentation>The task object version is either unsupported or invalid.</xs:documentation>
661
+ </xs:annotation>
662
+ </xs:enumeration>
663
+ <xs:enumeration value="SCHED_E_NO_SECURITY_SERVICES">
664
+ <xs:annotation>
665
+ <xs:documentation>Task Scheduler security services are available only on Windows NT.</xs:documentation>
666
+ </xs:annotation>
667
+ </xs:enumeration>
668
+ <xs:enumeration value="SCHED_E_ACCOUNT_DBASE_CORRUPT">
669
+ <xs:annotation>
670
+ <xs:documentation>Corruption was detected in the Task Scheduler security database; the database has been reset.</xs:documentation>
671
+ </xs:annotation>
672
+ </xs:enumeration>
673
+ <xs:enumeration value="SCHED_E_ACCOUNT_NAME_NOT_FOUND">
674
+ <xs:annotation>
675
+ <xs:documentation>Unable to establish existence of the account specified.</xs:documentation>
676
+ </xs:annotation>
677
+ </xs:enumeration>
678
+ <xs:enumeration value="SCHED_E_ACCOUNT_INFORMATION_NOT_SET">
679
+ <xs:annotation>
680
+ <xs:documentation>No account information could be found in the Task Scheduler security database for the task indicated.</xs:documentation>
681
+ </xs:annotation>
682
+ </xs:enumeration>
683
+ <xs:enumeration value="SCHED_E_INVALID_TASK">
684
+ <xs:annotation>
685
+ <xs:documentation>The object is either an invalid task object or is not a task object.</xs:documentation>
686
+ </xs:annotation>
687
+ </xs:enumeration>
688
+ <xs:enumeration value="SCHED_E_CANNOT_OPEN_TASK">
689
+ <xs:annotation>
690
+ <xs:documentation>The task object could not be opened.</xs:documentation>
691
+ </xs:annotation>
692
+ </xs:enumeration>
693
+ <xs:enumeration value="SCHED_E_SERVICE_NOT_INSTALLED">
694
+ <xs:annotation>
695
+ <xs:documentation>The Task Scheduler service is not installed on this computer.</xs:documentation>
696
+ </xs:annotation>
697
+ </xs:enumeration>
698
+ <xs:enumeration value="SCHED_E_TASK_NOT_RUNNING">
699
+ <xs:annotation>
700
+ <xs:documentation>There is no running instance of the task.</xs:documentation>
701
+ </xs:annotation>
702
+ </xs:enumeration>
703
+ <xs:enumeration value="SCHED_E_TASK_NOT_READY">
704
+ <xs:annotation>
705
+ <xs:documentation>One or more of the properties required to run this task have not been set.</xs:documentation>
706
+ </xs:annotation>
707
+ </xs:enumeration>
708
+ <xs:enumeration value="SCHED_E_TRIGGER_NOT_FOUND">
709
+ <xs:annotation>
710
+ <xs:documentation>A task's trigger is not found.</xs:documentation>
711
+ </xs:annotation>
712
+ </xs:enumeration>
713
+ <xs:enumeration value="SCHED_S_EVENT_TRIGGER">
714
+ <xs:annotation>
715
+ <xs:documentation>Event triggers do not have set run times.</xs:documentation>
716
+ </xs:annotation>
717
+ </xs:enumeration>
718
+ <xs:enumeration value="SCHED_S_TASK_NO_VALID_TRIGGERS">
719
+ <xs:annotation>
720
+ <xs:documentation>Either the task has no triggers or the existing triggers are disabled or not set.</xs:documentation>
721
+ </xs:annotation>
722
+ </xs:enumeration>
723
+ <xs:enumeration value="SCHED_S_TASK_TERMINATED">
724
+ <xs:annotation>
725
+ <xs:documentation>The last run of the task was terminated by the user.</xs:documentation>
726
+ </xs:annotation>
727
+ </xs:enumeration>
728
+ <xs:enumeration value="SCHED_S_TASK_NO_MORE_RUNS">
729
+ <xs:annotation>
730
+ <xs:documentation>There are no more runs scheduled for this task.</xs:documentation>
731
+ </xs:annotation>
732
+ </xs:enumeration>
733
+ <xs:enumeration value="SCHED_S_TASK_HAS_NOT_RUN">
734
+ <xs:annotation>
735
+ <xs:documentation>The task has not been run. This value is returned whenever the task has not been run, even if the task is ready to be run at the next scheduled time or the task is a recurring task.</xs:documentation>
736
+ </xs:annotation>
737
+ </xs:enumeration>
738
+ <xs:enumeration value="SCHED_S_TASK_DISABLED">
739
+ <xs:annotation>
740
+ <xs:documentation>The task will not run at the scheduled times because it has been disabled.</xs:documentation>
741
+ </xs:annotation>
742
+ </xs:enumeration>
743
+ <xs:enumeration value="TASK_STATE_UNKNOWN">
744
+ <xs:annotation>
745
+ <xs:documentation>The state of the task is unknown.</xs:documentation>
746
+ </xs:annotation>
747
+ </xs:enumeration>
748
+ <xs:enumeration value="TASK_STATE_QUEUED">
749
+ <xs:annotation>
750
+ <xs:documentation>Instances of the task are queued.</xs:documentation>
751
+ </xs:annotation>
752
+ </xs:enumeration>
753
+ </xs:restriction>
754
+ </xs:simpleType>
755
+ </xs:schema>