stix_schema_spy 1.0

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 (482) hide show
  1. checksums.yaml +15 -0
  2. data/.gitignore +17 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE.txt +24 -0
  5. data/README.md +41 -0
  6. data/Rakefile +3 -0
  7. data/config/1.0.1/stix/README.md +20 -0
  8. data/config/1.0.1/stix/campaign.xsd +210 -0
  9. data/config/1.0.1/stix/course_of_action.xsd +166 -0
  10. data/config/1.0.1/stix/cybox/README.md +13 -0
  11. data/config/1.0.1/stix/cybox/cybox_common.xsd +2319 -0
  12. data/config/1.0.1/stix/cybox/cybox_core.xsd +1095 -0
  13. data/config/1.0.1/stix/cybox/cybox_default_vocabularies.xsd +3326 -0
  14. data/config/1.0.1/stix/cybox/extensions/platform/README.txt +1 -0
  15. data/config/1.0.1/stix/cybox/extensions/platform/cpe-language_2.3.xsd +234 -0
  16. data/config/1.0.1/stix/cybox/extensions/platform/cpe-naming_2.3.xsd +45 -0
  17. data/config/1.0.1/stix/cybox/extensions/platform/cpe2.3.xsd +40 -0
  18. data/config/1.0.1/stix/cybox/extensions/platform/xml.xsd +145 -0
  19. data/config/1.0.1/stix/cybox/objects/API_Object.xsd +55 -0
  20. data/config/1.0.1/stix/cybox/objects/Account_Object.xsd +50 -0
  21. data/config/1.0.1/stix/cybox/objects/Address_Object.xsd +122 -0
  22. data/config/1.0.1/stix/cybox/objects/Artifact_Object.xsd +206 -0
  23. data/config/1.0.1/stix/cybox/objects/Code_Object.xsd +417 -0
  24. data/config/1.0.1/stix/cybox/objects/Custom_Object.xsd +43 -0
  25. data/config/1.0.1/stix/cybox/objects/DNS_Cache_Object.xsd +53 -0
  26. data/config/1.0.1/stix/cybox/objects/DNS_Query_Object.xsd +159 -0
  27. data/config/1.0.1/stix/cybox/objects/DNS_Record_Object.xsd +87 -0
  28. data/config/1.0.1/stix/cybox/objects/Device_Object.xsd +55 -0
  29. data/config/1.0.1/stix/cybox/objects/Disk_Object.xsd +117 -0
  30. data/config/1.0.1/stix/cybox/objects/Disk_Partition_Object.xsd +199 -0
  31. data/config/1.0.1/stix/cybox/objects/Email_Message_Object.xsd +273 -0
  32. data/config/1.0.1/stix/cybox/objects/File_Object.xsd +359 -0
  33. data/config/1.0.1/stix/cybox/objects/GUI_Dialogbox_Object.xsd +41 -0
  34. data/config/1.0.1/stix/cybox/objects/GUI_Object.xsd +40 -0
  35. data/config/1.0.1/stix/cybox/objects/GUI_Window_Object.xsd +46 -0
  36. data/config/1.0.1/stix/cybox/objects/HTTP_Session_Object.xsd +623 -0
  37. data/config/1.0.1/stix/cybox/objects/Library_Object.xsd +114 -0
  38. data/config/1.0.1/stix/cybox/objects/Link_Object.xsd +36 -0
  39. data/config/1.0.1/stix/cybox/objects/Linux_Package_Object.xsd +119 -0
  40. data/config/1.0.1/stix/cybox/objects/Memory_Object.xsd +70 -0
  41. data/config/1.0.1/stix/cybox/objects/Mutex_Object.xsd +40 -0
  42. data/config/1.0.1/stix/cybox/objects/Network_Connection_Object.xsd +609 -0
  43. data/config/1.0.1/stix/cybox/objects/Network_Flow_Object.xsd +1559 -0
  44. data/config/1.0.1/stix/cybox/objects/Network_Packet_Object.xsd +2948 -0
  45. data/config/1.0.1/stix/cybox/objects/Network_Route_Entry_Object.xsd +155 -0
  46. data/config/1.0.1/stix/cybox/objects/Network_Route_Object.xsd +93 -0
  47. data/config/1.0.1/stix/cybox/objects/Network_Socket_Object.xsd +524 -0
  48. data/config/1.0.1/stix/cybox/objects/Network_Subnet_Object.xsd +64 -0
  49. data/config/1.0.1/stix/cybox/objects/PDF_File_Object.xsd +601 -0
  50. data/config/1.0.1/stix/cybox/objects/Pipe_Object.xsd +40 -0
  51. data/config/1.0.1/stix/cybox/objects/Port_Object.xsd +74 -0
  52. data/config/1.0.1/stix/cybox/objects/Process_Object.xsd +197 -0
  53. data/config/1.0.1/stix/cybox/objects/Product_Object.xsd +60 -0
  54. data/config/1.0.1/stix/cybox/objects/Semaphore_Object.xsd +50 -0
  55. data/config/1.0.1/stix/cybox/objects/Socket_Address_Object.xsd +42 -0
  56. data/config/1.0.1/stix/cybox/objects/System_Object.xsd +409 -0
  57. data/config/1.0.1/stix/cybox/objects/URI_Object.xsd +62 -0
  58. data/config/1.0.1/stix/cybox/objects/Unix_File_Object.xsd +164 -0
  59. data/config/1.0.1/stix/cybox/objects/Unix_Network_Route_Entry_Object.xsd +56 -0
  60. data/config/1.0.1/stix/cybox/objects/Unix_Pipe_Object.xsd +36 -0
  61. data/config/1.0.1/stix/cybox/objects/Unix_Process_Object.xsd +143 -0
  62. data/config/1.0.1/stix/cybox/objects/Unix_User_Account_Object.xsd +78 -0
  63. data/config/1.0.1/stix/cybox/objects/Unix_Volume_Object.xsd +41 -0
  64. data/config/1.0.1/stix/cybox/objects/User_Account_Object.xsd +110 -0
  65. data/config/1.0.1/stix/cybox/objects/User_Session_Object.xsd +60 -0
  66. data/config/1.0.1/stix/cybox/objects/Volume_Object.xsd +235 -0
  67. data/config/1.0.1/stix/cybox/objects/Whois_Object.xsd +456 -0
  68. data/config/1.0.1/stix/cybox/objects/Win_Computer_Account_Object.xsd +135 -0
  69. data/config/1.0.1/stix/cybox/objects/Win_Critical_Section_Object.xsd +40 -0
  70. data/config/1.0.1/stix/cybox/objects/Win_Driver_Object.xsd +269 -0
  71. data/config/1.0.1/stix/cybox/objects/Win_Event_Log_Object.xsd +137 -0
  72. data/config/1.0.1/stix/cybox/objects/Win_Event_Object.xsd +80 -0
  73. data/config/1.0.1/stix/cybox/objects/Win_Executable_File_Object.xsd +1333 -0
  74. data/config/1.0.1/stix/cybox/objects/Win_File_Object.xsd +269 -0
  75. data/config/1.0.1/stix/cybox/objects/Win_Handle_Object.xsd +186 -0
  76. data/config/1.0.1/stix/cybox/objects/Win_Kernel_Hook_Object.xsd +109 -0
  77. data/config/1.0.1/stix/cybox/objects/Win_Kernel_Object.xsd +128 -0
  78. data/config/1.0.1/stix/cybox/objects/Win_Mailslot_Object.xsd +56 -0
  79. data/config/1.0.1/stix/cybox/objects/Win_Memory_Page_Region_Object.xsd +198 -0
  80. data/config/1.0.1/stix/cybox/objects/Win_Mutex_Object.xsd +42 -0
  81. data/config/1.0.1/stix/cybox/objects/Win_Network_Route_Entry_Object.xsd +200 -0
  82. data/config/1.0.1/stix/cybox/objects/Win_Network_Share_Object.xsd +205 -0
  83. data/config/1.0.1/stix/cybox/objects/Win_Pipe_Object.xsd +73 -0
  84. data/config/1.0.1/stix/cybox/objects/Win_Prefetch_Object.xsd +113 -0
  85. data/config/1.0.1/stix/cybox/objects/Win_Process_Object.xsd +167 -0
  86. data/config/1.0.1/stix/cybox/objects/Win_Registry_Key_Object.xsd +290 -0
  87. data/config/1.0.1/stix/cybox/objects/Win_Semaphore_Object.xsd +42 -0
  88. data/config/1.0.1/stix/cybox/objects/Win_Service_Object.xsd +287 -0
  89. data/config/1.0.1/stix/cybox/objects/Win_System_Object.xsd +126 -0
  90. data/config/1.0.1/stix/cybox/objects/Win_System_Restore_Object.xsd +199 -0
  91. data/config/1.0.1/stix/cybox/objects/Win_Task_Object.xsd +755 -0
  92. data/config/1.0.1/stix/cybox/objects/Win_Thread_Object.xsd +146 -0
  93. data/config/1.0.1/stix/cybox/objects/Win_User_Account_Object.xsd +73 -0
  94. data/config/1.0.1/stix/cybox/objects/Win_Volume_Object.xsd +161 -0
  95. data/config/1.0.1/stix/cybox/objects/Win_Waitable_Timer_Object.xsd +90 -0
  96. data/config/1.0.1/stix/cybox/objects/X509_Certificate_Object.xsd +270 -0
  97. data/config/1.0.1/stix/data_marking.xsd +92 -0
  98. data/config/1.0.1/stix/exploit_target.xsd +224 -0
  99. data/config/1.0.1/stix/extensions/address/ciq_address_3.0.xsd +27 -0
  100. data/config/1.0.1/stix/extensions/address/readme.txt +1 -0
  101. data/config/1.0.1/stix/extensions/attack_pattern/capec_2.6.1.xsd +31 -0
  102. data/config/1.0.1/stix/extensions/attack_pattern/readme.txt +1 -0
  103. data/config/1.0.1/stix/extensions/identity/ciq_identity_3.0.xsd +108 -0
  104. data/config/1.0.1/stix/extensions/identity/readme.txt +1 -0
  105. data/config/1.0.1/stix/extensions/malware/maec_4.0.1.xsd +31 -0
  106. data/config/1.0.1/stix/extensions/malware/readme.txt +1 -0
  107. data/config/1.0.1/stix/extensions/marking/simple_marking.xsd +30 -0
  108. data/config/1.0.1/stix/extensions/marking/tlp.xsd +39 -0
  109. data/config/1.0.1/stix/extensions/structured_coa/generic.xsd +46 -0
  110. data/config/1.0.1/stix/extensions/test_mechanism/generic.xsd +46 -0
  111. data/config/1.0.1/stix/extensions/test_mechanism/open_ioc_2010.xsd +32 -0
  112. data/config/1.0.1/stix/extensions/test_mechanism/oval_5.10.xsd +37 -0
  113. data/config/1.0.1/stix/extensions/test_mechanism/snort.xsd +36 -0
  114. data/config/1.0.1/stix/extensions/test_mechanism/yara.xsd +36 -0
  115. data/config/1.0.1/stix/extensions/vulnerability/cvrf_1.1.xsd +33 -0
  116. data/config/1.0.1/stix/extensions/vulnerability/readme.txt +1 -0
  117. data/config/1.0.1/stix/external/capec_2.6.1/ap_schema_v2.6.1.xsd +3618 -0
  118. data/config/1.0.1/stix/external/cvrf_1.1/common.xsd +176 -0
  119. data/config/1.0.1/stix/external/cvrf_1.1/cpe-language_2.2a.xsd +182 -0
  120. data/config/1.0.1/stix/external/cvrf_1.1/cvrf.xsd +487 -0
  121. data/config/1.0.1/stix/external/cvrf_1.1/cvss-v2_0.9.xsd +415 -0
  122. data/config/1.0.1/stix/external/cvrf_1.1/dc.xsd +118 -0
  123. data/config/1.0.1/stix/external/cvrf_1.1/prod.xsd +292 -0
  124. data/config/1.0.1/stix/external/cvrf_1.1/scap-core_0.9.xsd +170 -0
  125. data/config/1.0.1/stix/external/cvrf_1.1/vuln.xsd +631 -0
  126. data/config/1.0.1/stix/external/cvrf_1.1/xml.xsd +287 -0
  127. data/config/1.0.1/stix/external/maec_4.0.1/maec_bundle_schema.xsd +1139 -0
  128. data/config/1.0.1/stix/external/maec_4.0.1/maec_package_schema.xsd +938 -0
  129. data/config/1.0.1/stix/external/maec_4.0.1/metadataSharing.xsd +1712 -0
  130. data/config/1.0.1/stix/external/oasis_ciq_3.0/CommonTypes.xsd +104 -0
  131. data/config/1.0.1/stix/external/oasis_ciq_3.0/xAL-types.xsd +511 -0
  132. data/config/1.0.1/stix/external/oasis_ciq_3.0/xAL.xsd +672 -0
  133. data/config/1.0.1/stix/external/oasis_ciq_3.0/xNAL-types.xsd +36 -0
  134. data/config/1.0.1/stix/external/oasis_ciq_3.0/xNAL.xsd +126 -0
  135. data/config/1.0.1/stix/external/oasis_ciq_3.0/xNL-types.xsd +222 -0
  136. data/config/1.0.1/stix/external/oasis_ciq_3.0/xNL.xsd +284 -0
  137. data/config/1.0.1/stix/external/oasis_ciq_3.0/xPIL-types.xsd +854 -0
  138. data/config/1.0.1/stix/external/oasis_ciq_3.0/xPIL.xsd +1621 -0
  139. data/config/1.0.1/stix/external/oasis_ciq_3.0/xlink-2003-12-31.xsd +90 -0
  140. data/config/1.0.1/stix/external/open_ioc_2010/ioc-TR.xsd +25 -0
  141. data/config/1.0.1/stix/external/open_ioc_2010/ioc.xsd +105 -0
  142. data/config/1.0.1/stix/external/oval_5.10/oval-common-schema.xsd +781 -0
  143. data/config/1.0.1/stix/external/oval_5.10/oval-definitions-schema.xsd +1608 -0
  144. data/config/1.0.1/stix/external/oval_5.10/oval-variables-schema.xsd +84 -0
  145. data/config/1.0.1/stix/external/oval_5.10/xmldsig-core-schema.xsd +309 -0
  146. data/config/1.0.1/stix/incident.xsd +787 -0
  147. data/config/1.0.1/stix/indicator.xsd +310 -0
  148. data/config/1.0.1/stix/stix_common.xsd +762 -0
  149. data/config/1.0.1/stix/stix_core.xsd +218 -0
  150. data/config/1.0.1/stix/stix_default_vocabularies.xsd +1684 -0
  151. data/config/1.0.1/stix/threat_actor.xsd +174 -0
  152. data/config/1.0.1/stix/ttp.xsd +341 -0
  153. data/config/1.0/stix/campaign.xsd +209 -0
  154. data/config/1.0/stix/course_of_action.xsd +165 -0
  155. data/config/1.0/stix/cybox/cybox_common.xsd +2319 -0
  156. data/config/1.0/stix/cybox/cybox_core.xsd +1090 -0
  157. data/config/1.0/stix/cybox/cybox_default_vocabularies.xsd +3106 -0
  158. data/config/1.0/stix/cybox/extensions/platform/README.txt +1 -0
  159. data/config/1.0/stix/cybox/extensions/platform/cpe2.3.xsd +40 -0
  160. data/config/1.0/stix/cybox/objects/API_Object.xsd +55 -0
  161. data/config/1.0/stix/cybox/objects/Account_Object.xsd +50 -0
  162. data/config/1.0/stix/cybox/objects/Address_Object.xsd +122 -0
  163. data/config/1.0/stix/cybox/objects/Artifact_Object.xsd +206 -0
  164. data/config/1.0/stix/cybox/objects/Code_Object.xsd +417 -0
  165. data/config/1.0/stix/cybox/objects/Custom_Object.xsd +43 -0
  166. data/config/1.0/stix/cybox/objects/DNS_Cache_Object.xsd +53 -0
  167. data/config/1.0/stix/cybox/objects/DNS_Query_Object.xsd +159 -0
  168. data/config/1.0/stix/cybox/objects/DNS_Record_Object.xsd +87 -0
  169. data/config/1.0/stix/cybox/objects/Device_Object.xsd +55 -0
  170. data/config/1.0/stix/cybox/objects/Disk_Object.xsd +117 -0
  171. data/config/1.0/stix/cybox/objects/Disk_Partition_Object.xsd +199 -0
  172. data/config/1.0/stix/cybox/objects/Email_Message_Object.xsd +273 -0
  173. data/config/1.0/stix/cybox/objects/File_Object.xsd +359 -0
  174. data/config/1.0/stix/cybox/objects/GUI_Dialogbox_Object.xsd +41 -0
  175. data/config/1.0/stix/cybox/objects/GUI_Object.xsd +40 -0
  176. data/config/1.0/stix/cybox/objects/GUI_Window_Object.xsd +46 -0
  177. data/config/1.0/stix/cybox/objects/HTTP_Session_Object.xsd +623 -0
  178. data/config/1.0/stix/cybox/objects/Library_Object.xsd +114 -0
  179. data/config/1.0/stix/cybox/objects/Link_Object.xsd +24 -0
  180. data/config/1.0/stix/cybox/objects/Linux_Package_Object.xsd +119 -0
  181. data/config/1.0/stix/cybox/objects/Memory_Object.xsd +70 -0
  182. data/config/1.0/stix/cybox/objects/Mutex_Object.xsd +40 -0
  183. data/config/1.0/stix/cybox/objects/Network_Connection_Object.xsd +609 -0
  184. data/config/1.0/stix/cybox/objects/Network_Flow_Object.xsd +1559 -0
  185. data/config/1.0/stix/cybox/objects/Network_Packet_Object.xsd +2948 -0
  186. data/config/1.0/stix/cybox/objects/Network_Route_Entry_Object.xsd +155 -0
  187. data/config/1.0/stix/cybox/objects/Network_Route_Object.xsd +93 -0
  188. data/config/1.0/stix/cybox/objects/Network_Socket_Object.xsd +524 -0
  189. data/config/1.0/stix/cybox/objects/Network_Subnet_Object.xsd +64 -0
  190. data/config/1.0/stix/cybox/objects/PDF_File_Object.xsd +601 -0
  191. data/config/1.0/stix/cybox/objects/Pipe_Object.xsd +40 -0
  192. data/config/1.0/stix/cybox/objects/Port_Object.xsd +74 -0
  193. data/config/1.0/stix/cybox/objects/Process_Object.xsd +197 -0
  194. data/config/1.0/stix/cybox/objects/Product_Object.xsd +60 -0
  195. data/config/1.0/stix/cybox/objects/Semaphore_Object.xsd +50 -0
  196. data/config/1.0/stix/cybox/objects/Socket_Address_Object.xsd +42 -0
  197. data/config/1.0/stix/cybox/objects/System_Object.xsd +409 -0
  198. data/config/1.0/stix/cybox/objects/URI_Object.xsd +62 -0
  199. data/config/1.0/stix/cybox/objects/Unix_File_Object.xsd +164 -0
  200. data/config/1.0/stix/cybox/objects/Unix_Network_Route_Entry_Object.xsd +56 -0
  201. data/config/1.0/stix/cybox/objects/Unix_Pipe_Object.xsd +36 -0
  202. data/config/1.0/stix/cybox/objects/Unix_Process_Object.xsd +143 -0
  203. data/config/1.0/stix/cybox/objects/Unix_User_Account_Object.xsd +78 -0
  204. data/config/1.0/stix/cybox/objects/Unix_Volume_Object.xsd +41 -0
  205. data/config/1.0/stix/cybox/objects/User_Account_Object.xsd +110 -0
  206. data/config/1.0/stix/cybox/objects/User_Session_Object.xsd +60 -0
  207. data/config/1.0/stix/cybox/objects/Volume_Object.xsd +235 -0
  208. data/config/1.0/stix/cybox/objects/Whois_Object.xsd +456 -0
  209. data/config/1.0/stix/cybox/objects/Win_Computer_Account_Object.xsd +135 -0
  210. data/config/1.0/stix/cybox/objects/Win_Critical_Section_Object.xsd +40 -0
  211. data/config/1.0/stix/cybox/objects/Win_Driver_Object.xsd +269 -0
  212. data/config/1.0/stix/cybox/objects/Win_Event_Log_Object.xsd +137 -0
  213. data/config/1.0/stix/cybox/objects/Win_Event_Object.xsd +80 -0
  214. data/config/1.0/stix/cybox/objects/Win_Executable_File_Object.xsd +1333 -0
  215. data/config/1.0/stix/cybox/objects/Win_File_Object.xsd +269 -0
  216. data/config/1.0/stix/cybox/objects/Win_Handle_Object.xsd +186 -0
  217. data/config/1.0/stix/cybox/objects/Win_Kernel_Hook_Object.xsd +109 -0
  218. data/config/1.0/stix/cybox/objects/Win_Kernel_Object.xsd +128 -0
  219. data/config/1.0/stix/cybox/objects/Win_Mailslot_Object.xsd +56 -0
  220. data/config/1.0/stix/cybox/objects/Win_Memory_Page_Region_Object.xsd +198 -0
  221. data/config/1.0/stix/cybox/objects/Win_Mutex_Object.xsd +42 -0
  222. data/config/1.0/stix/cybox/objects/Win_Network_Route_Entry_Object.xsd +200 -0
  223. data/config/1.0/stix/cybox/objects/Win_Network_Share_Object.xsd +205 -0
  224. data/config/1.0/stix/cybox/objects/Win_Pipe_Object.xsd +73 -0
  225. data/config/1.0/stix/cybox/objects/Win_Prefetch_Object.xsd +113 -0
  226. data/config/1.0/stix/cybox/objects/Win_Process_Object.xsd +167 -0
  227. data/config/1.0/stix/cybox/objects/Win_Registry_Key_Object.xsd +290 -0
  228. data/config/1.0/stix/cybox/objects/Win_Semaphore_Object.xsd +42 -0
  229. data/config/1.0/stix/cybox/objects/Win_Service_Object.xsd +287 -0
  230. data/config/1.0/stix/cybox/objects/Win_System_Object.xsd +126 -0
  231. data/config/1.0/stix/cybox/objects/Win_System_Restore_Object.xsd +199 -0
  232. data/config/1.0/stix/cybox/objects/Win_Task_Object.xsd +755 -0
  233. data/config/1.0/stix/cybox/objects/Win_Thread_Object.xsd +146 -0
  234. data/config/1.0/stix/cybox/objects/Win_User_Account_Object.xsd +73 -0
  235. data/config/1.0/stix/cybox/objects/Win_Volume_Object.xsd +161 -0
  236. data/config/1.0/stix/cybox/objects/Win_Waitable_Timer_Object.xsd +90 -0
  237. data/config/1.0/stix/cybox/objects/X509_Certificate_Object.xsd +270 -0
  238. data/config/1.0/stix/data_marking.xsd +92 -0
  239. data/config/1.0/stix/exploit_target.xsd +223 -0
  240. data/config/1.0/stix/extensions/address/ciq_address_3.0.xsd +27 -0
  241. data/config/1.0/stix/extensions/address/readme.txt +1 -0
  242. data/config/1.0/stix/extensions/attack_pattern/capec_2.5.xsd +31 -0
  243. data/config/1.0/stix/extensions/identity/ciq_identity_3.0.xsd +108 -0
  244. data/config/1.0/stix/extensions/identity/readme.txt +1 -0
  245. data/config/1.0/stix/extensions/malware/maec_4.0.xsd +32 -0
  246. data/config/1.0/stix/extensions/malware/readme.txt +3 -0
  247. data/config/1.0/stix/extensions/marking/simple_marking.xsd +30 -0
  248. data/config/1.0/stix/extensions/marking/tlp.xsd +39 -0
  249. data/config/1.0/stix/extensions/structured_coa/generic.xsd +46 -0
  250. data/config/1.0/stix/extensions/test_mechanism/generic.xsd +46 -0
  251. data/config/1.0/stix/extensions/test_mechanism/open_ioc_2010.xsd +32 -0
  252. data/config/1.0/stix/extensions/test_mechanism/oval_5.10.xsd +37 -0
  253. data/config/1.0/stix/extensions/test_mechanism/snort.xsd +36 -0
  254. data/config/1.0/stix/extensions/test_mechanism/yara.xsd +36 -0
  255. data/config/1.0/stix/extensions/vulnerability/cvrf_1.1.xsd +33 -0
  256. data/config/1.0/stix/extensions/vulnerability/readme.txt +1 -0
  257. data/config/1.0/stix/external/capec_2.5/ap_schema_v2.5.xsd +2671 -0
  258. data/config/1.0/stix/external/cvrf_1.1/common.xsd +176 -0
  259. data/config/1.0/stix/external/cvrf_1.1/cpe-language_2.2a.xsd +182 -0
  260. data/config/1.0/stix/external/cvrf_1.1/cvrf.xsd +487 -0
  261. data/config/1.0/stix/external/cvrf_1.1/cvss-v2_0.9.xsd +415 -0
  262. data/config/1.0/stix/external/cvrf_1.1/dc.xsd +118 -0
  263. data/config/1.0/stix/external/cvrf_1.1/prod.xsd +292 -0
  264. data/config/1.0/stix/external/cvrf_1.1/scap-core_0.9.xsd +170 -0
  265. data/config/1.0/stix/external/cvrf_1.1/vuln.xsd +631 -0
  266. data/config/1.0/stix/external/cvrf_1.1/xml.xsd +287 -0
  267. data/config/1.0/stix/external/oasis_ciq_3.0/CommonTypes.xsd +104 -0
  268. data/config/1.0/stix/external/oasis_ciq_3.0/xAL-types.xsd +511 -0
  269. data/config/1.0/stix/external/oasis_ciq_3.0/xAL.xsd +672 -0
  270. data/config/1.0/stix/external/oasis_ciq_3.0/xNAL-types.xsd +36 -0
  271. data/config/1.0/stix/external/oasis_ciq_3.0/xNAL.xsd +126 -0
  272. data/config/1.0/stix/external/oasis_ciq_3.0/xNL-types.xsd +222 -0
  273. data/config/1.0/stix/external/oasis_ciq_3.0/xNL.xsd +284 -0
  274. data/config/1.0/stix/external/oasis_ciq_3.0/xPIL-types.xsd +854 -0
  275. data/config/1.0/stix/external/oasis_ciq_3.0/xPIL.xsd +1621 -0
  276. data/config/1.0/stix/external/oasis_ciq_3.0/xlink-2003-12-31.xsd +90 -0
  277. data/config/1.0/stix/external/open_ioc_2010/ioc-TR.xsd +25 -0
  278. data/config/1.0/stix/external/open_ioc_2010/ioc.xsd +105 -0
  279. data/config/1.0/stix/external/oval_5.10/oval-common-schema.xsd +781 -0
  280. data/config/1.0/stix/external/oval_5.10/oval-definitions-schema.xsd +1608 -0
  281. data/config/1.0/stix/external/oval_5.10/oval-variables-schema.xsd +84 -0
  282. data/config/1.0/stix/external/oval_5.10/xmldsig-core-schema.xsd +309 -0
  283. data/config/1.0/stix/incident.xsd +786 -0
  284. data/config/1.0/stix/indicator.xsd +309 -0
  285. data/config/1.0/stix/stix_common.xsd +762 -0
  286. data/config/1.0/stix/stix_core.xsd +217 -0
  287. data/config/1.0/stix/stix_default_vocabularies.xsd +1578 -0
  288. data/config/1.0/stix/threat_actor.xsd +173 -0
  289. data/config/1.0/stix/ttp.xsd +340 -0
  290. data/config/1.1/stix/campaign.xsd +223 -0
  291. data/config/1.1/stix/course_of_action.xsd +190 -0
  292. data/config/1.1/stix/cybox/cybox_common.xsd +2700 -0
  293. data/config/1.1/stix/cybox/cybox_core.xsd +1145 -0
  294. data/config/1.1/stix/cybox/cybox_default_vocabularies.xsd +5180 -0
  295. data/config/1.1/stix/cybox/extensions/location/ciq_address_3.0.xsd +27 -0
  296. data/config/1.1/stix/cybox/extensions/platform/README.txt +1 -0
  297. data/config/1.1/stix/cybox/extensions/platform/cpe2.3.xsd +34 -0
  298. data/config/1.1/stix/cybox/external/cpe_2.3/cpe-language_2.3.xsd +234 -0
  299. data/config/1.1/stix/cybox/external/cpe_2.3/cpe-naming_2.3.xsd +45 -0
  300. data/config/1.1/stix/cybox/external/cpe_2.3/xml.xsd +145 -0
  301. data/config/1.1/stix/cybox/external/oasis_ciq_3.0/CommonTypes.xsd +104 -0
  302. data/config/1.1/stix/cybox/external/oasis_ciq_3.0/xAL-types.xsd +511 -0
  303. data/config/1.1/stix/cybox/external/oasis_ciq_3.0/xAL.xsd +672 -0
  304. data/config/1.1/stix/cybox/external/oasis_ciq_3.0/xNAL-types.xsd +36 -0
  305. data/config/1.1/stix/cybox/external/oasis_ciq_3.0/xNAL.xsd +126 -0
  306. data/config/1.1/stix/cybox/external/oasis_ciq_3.0/xNL-types.xsd +222 -0
  307. data/config/1.1/stix/cybox/external/oasis_ciq_3.0/xNL.xsd +284 -0
  308. data/config/1.1/stix/cybox/external/oasis_ciq_3.0/xPIL-types.xsd +854 -0
  309. data/config/1.1/stix/cybox/external/oasis_ciq_3.0/xPIL.xsd +1621 -0
  310. data/config/1.1/stix/cybox/external/oasis_ciq_3.0/xlink-2003-12-31.xsd +90 -0
  311. data/config/1.1/stix/cybox/objects/API_Object.xsd +55 -0
  312. data/config/1.1/stix/cybox/objects/ARP_Cache_Object.xsd +98 -0
  313. data/config/1.1/stix/cybox/objects/AS_Object.xsd +50 -0
  314. data/config/1.1/stix/cybox/objects/Account_Object.xsd +501 -0
  315. data/config/1.1/stix/cybox/objects/Address_Object.xsd +127 -0
  316. data/config/1.1/stix/cybox/objects/Archive_File_Object.xsd +134 -0
  317. data/config/1.1/stix/cybox/objects/Artifact_Object.xsd +212 -0
  318. data/config/1.1/stix/cybox/objects/Code_Object.xsd +417 -0
  319. data/config/1.1/stix/cybox/objects/Custom_Object.xsd +42 -0
  320. data/config/1.1/stix/cybox/objects/DNS_Cache_Object.xsd +53 -0
  321. data/config/1.1/stix/cybox/objects/DNS_Query_Object.xsd +164 -0
  322. data/config/1.1/stix/cybox/objects/DNS_Record_Object.xsd +92 -0
  323. data/config/1.1/stix/cybox/objects/Device_Object.xsd +65 -0
  324. data/config/1.1/stix/cybox/objects/Disk_Object.xsd +117 -0
  325. data/config/1.1/stix/cybox/objects/Disk_Partition_Object.xsd +199 -0
  326. data/config/1.1/stix/cybox/objects/Domain_Name_Object.xsd +57 -0
  327. data/config/1.1/stix/cybox/objects/Email_Message_Object.xsd +278 -0
  328. data/config/1.1/stix/cybox/objects/File_Object.xsd +397 -0
  329. data/config/1.1/stix/cybox/objects/GUI_Dialogbox_Object.xsd +41 -0
  330. data/config/1.1/stix/cybox/objects/GUI_Object.xsd +40 -0
  331. data/config/1.1/stix/cybox/objects/GUI_Window_Object.xsd +46 -0
  332. data/config/1.1/stix/cybox/objects/HTTP_Session_Object.xsd +633 -0
  333. data/config/1.1/stix/cybox/objects/Hostname_Object.xsd +45 -0
  334. data/config/1.1/stix/cybox/objects/Image_File_Object.xsd +124 -0
  335. data/config/1.1/stix/cybox/objects/Library_Object.xsd +114 -0
  336. data/config/1.1/stix/cybox/objects/Link_Object.xsd +36 -0
  337. data/config/1.1/stix/cybox/objects/Linux_Package_Object.xsd +75 -0
  338. data/config/1.1/stix/cybox/objects/Memory_Object.xsd +141 -0
  339. data/config/1.1/stix/cybox/objects/Mutex_Object.xsd +40 -0
  340. data/config/1.1/stix/cybox/objects/Network_Connection_Object.xsd +540 -0
  341. data/config/1.1/stix/cybox/objects/Network_Flow_Object.xsd +1559 -0
  342. data/config/1.1/stix/cybox/objects/Network_Packet_Object.xsd +2934 -0
  343. data/config/1.1/stix/cybox/objects/Network_Route_Entry_Object.xsd +155 -0
  344. data/config/1.1/stix/cybox/objects/Network_Route_Object.xsd +93 -0
  345. data/config/1.1/stix/cybox/objects/Network_Socket_Object.xsd +529 -0
  346. data/config/1.1/stix/cybox/objects/Network_Subnet_Object.xsd +64 -0
  347. data/config/1.1/stix/cybox/objects/PDF_File_Object.xsd +595 -0
  348. data/config/1.1/stix/cybox/objects/Pipe_Object.xsd +40 -0
  349. data/config/1.1/stix/cybox/objects/Port_Object.xsd +40 -0
  350. data/config/1.1/stix/cybox/objects/Process_Object.xsd +199 -0
  351. data/config/1.1/stix/cybox/objects/Product_Object.xsd +65 -0
  352. data/config/1.1/stix/cybox/objects/SMS_Message_Object.xsd +79 -0
  353. data/config/1.1/stix/cybox/objects/Semaphore_Object.xsd +50 -0
  354. data/config/1.1/stix/cybox/objects/Socket_Address_Object.xsd +50 -0
  355. data/config/1.1/stix/cybox/objects/System_Object.xsd +410 -0
  356. data/config/1.1/stix/cybox/objects/URI_Object.xsd +62 -0
  357. data/config/1.1/stix/cybox/objects/URL_History_Object.xsd +104 -0
  358. data/config/1.1/stix/cybox/objects/Unix_File_Object.xsd +164 -0
  359. data/config/1.1/stix/cybox/objects/Unix_Network_Route_Entry_Object.xsd +56 -0
  360. data/config/1.1/stix/cybox/objects/Unix_Pipe_Object.xsd +36 -0
  361. data/config/1.1/stix/cybox/objects/Unix_Process_Object.xsd +143 -0
  362. data/config/1.1/stix/cybox/objects/Unix_User_Account_Object.xsd +78 -0
  363. data/config/1.1/stix/cybox/objects/Unix_Volume_Object.xsd +41 -0
  364. data/config/1.1/stix/cybox/objects/User_Account_Object.xsd +110 -0
  365. data/config/1.1/stix/cybox/objects/User_Session_Object.xsd +60 -0
  366. data/config/1.1/stix/cybox/objects/Volume_Object.xsd +235 -0
  367. data/config/1.1/stix/cybox/objects/Whois_Object.xsd +430 -0
  368. data/config/1.1/stix/cybox/objects/Win_Computer_Account_Object.xsd +135 -0
  369. data/config/1.1/stix/cybox/objects/Win_Critical_Section_Object.xsd +40 -0
  370. data/config/1.1/stix/cybox/objects/Win_Driver_Object.xsd +270 -0
  371. data/config/1.1/stix/cybox/objects/Win_Event_Log_Object.xsd +137 -0
  372. data/config/1.1/stix/cybox/objects/Win_Event_Object.xsd +80 -0
  373. data/config/1.1/stix/cybox/objects/Win_Executable_File_Object.xsd +1311 -0
  374. data/config/1.1/stix/cybox/objects/Win_File_Object.xsd +269 -0
  375. data/config/1.1/stix/cybox/objects/Win_Filemapping_Object.xsd +175 -0
  376. data/config/1.1/stix/cybox/objects/Win_Handle_Object.xsd +351 -0
  377. data/config/1.1/stix/cybox/objects/Win_Hook_Object.xsd +152 -0
  378. data/config/1.1/stix/cybox/objects/Win_Kernel_Hook_Object.xsd +109 -0
  379. data/config/1.1/stix/cybox/objects/Win_Kernel_Object.xsd +128 -0
  380. data/config/1.1/stix/cybox/objects/Win_Mailslot_Object.xsd +56 -0
  381. data/config/1.1/stix/cybox/objects/Win_Memory_Page_Region_Object.xsd +198 -0
  382. data/config/1.1/stix/cybox/objects/Win_Mutex_Object.xsd +42 -0
  383. data/config/1.1/stix/cybox/objects/Win_Network_Route_Entry_Object.xsd +200 -0
  384. data/config/1.1/stix/cybox/objects/Win_Network_Share_Object.xsd +205 -0
  385. data/config/1.1/stix/cybox/objects/Win_Pipe_Object.xsd +73 -0
  386. data/config/1.1/stix/cybox/objects/Win_Prefetch_Object.xsd +113 -0
  387. data/config/1.1/stix/cybox/objects/Win_Process_Object.xsd +174 -0
  388. data/config/1.1/stix/cybox/objects/Win_Registry_Key_Object.xsd +290 -0
  389. data/config/1.1/stix/cybox/objects/Win_Semaphore_Object.xsd +42 -0
  390. data/config/1.1/stix/cybox/objects/Win_Service_Object.xsd +287 -0
  391. data/config/1.1/stix/cybox/objects/Win_System_Object.xsd +126 -0
  392. data/config/1.1/stix/cybox/objects/Win_System_Restore_Object.xsd +207 -0
  393. data/config/1.1/stix/cybox/objects/Win_Task_Object.xsd +755 -0
  394. data/config/1.1/stix/cybox/objects/Win_Thread_Object.xsd +146 -0
  395. data/config/1.1/stix/cybox/objects/Win_User_Account_Object.xsd +73 -0
  396. data/config/1.1/stix/cybox/objects/Win_Volume_Object.xsd +161 -0
  397. data/config/1.1/stix/cybox/objects/Win_Waitable_Timer_Object.xsd +90 -0
  398. data/config/1.1/stix/cybox/objects/X509_Certificate_Object.xsd +275 -0
  399. data/config/1.1/stix/data_marking.xsd +96 -0
  400. data/config/1.1/stix/exploit_target.xsd +323 -0
  401. data/config/1.1/stix/extensions/address/ciq_3.0_address.xsd +27 -0
  402. data/config/1.1/stix/extensions/address/readme.txt +1 -0
  403. data/config/1.1/stix/extensions/attack_pattern/capec_2.7_attack_pattern.xsd +31 -0
  404. data/config/1.1/stix/extensions/attack_pattern/readme.txt +1 -0
  405. data/config/1.1/stix/extensions/identity/ciq_3.0_identity.xsd +113 -0
  406. data/config/1.1/stix/extensions/identity/readme.txt +1 -0
  407. data/config/1.1/stix/extensions/malware/maec_4.1_malware.xsd +31 -0
  408. data/config/1.1/stix/extensions/malware/readme.txt +1 -0
  409. data/config/1.1/stix/extensions/marking/simple_marking.xsd +31 -0
  410. data/config/1.1/stix/extensions/marking/terms_of_use_marking.xsd +31 -0
  411. data/config/1.1/stix/extensions/marking/tlp_marking.xsd +40 -0
  412. data/config/1.1/stix/extensions/structured_coa/generic_structured_coa.xsd +46 -0
  413. data/config/1.1/stix/extensions/test_mechanism/generic_test_mechanism.xsd +46 -0
  414. data/config/1.1/stix/extensions/test_mechanism/open_ioc_2010_test_mechanism.xsd +32 -0
  415. data/config/1.1/stix/extensions/test_mechanism/oval_5.10_test_mechanism.xsd +37 -0
  416. data/config/1.1/stix/extensions/test_mechanism/snort_test_mechanism.xsd +56 -0
  417. data/config/1.1/stix/extensions/test_mechanism/yara_test_mechanism.xsd +36 -0
  418. data/config/1.1/stix/extensions/vulnerability/cvrf_1.1_vulnerability.xsd +33 -0
  419. data/config/1.1/stix/extensions/vulnerability/readme.txt +1 -0
  420. data/config/1.1/stix/external/capec_2.7/ap_schema_v2.7.xsd +3618 -0
  421. data/config/1.1/stix/external/cvrf_1.1/common.xsd +176 -0
  422. data/config/1.1/stix/external/cvrf_1.1/cpe-language_2.2a.xsd +182 -0
  423. data/config/1.1/stix/external/cvrf_1.1/cvrf.xsd +487 -0
  424. data/config/1.1/stix/external/cvrf_1.1/cvss-v2_0.9.xsd +415 -0
  425. data/config/1.1/stix/external/cvrf_1.1/dc.xsd +118 -0
  426. data/config/1.1/stix/external/cvrf_1.1/prod.xsd +292 -0
  427. data/config/1.1/stix/external/cvrf_1.1/scap-core_0.9.xsd +170 -0
  428. data/config/1.1/stix/external/cvrf_1.1/vuln.xsd +631 -0
  429. data/config/1.1/stix/external/cvrf_1.1/xml.xsd +287 -0
  430. data/config/1.1/stix/external/maec_4.1/maec_bundle_schema.xsd +1228 -0
  431. data/config/1.1/stix/external/maec_4.1/maec_container_schema.xsd +62 -0
  432. data/config/1.1/stix/external/maec_4.1/maec_default_vocabularies.xsd +5325 -0
  433. data/config/1.1/stix/external/maec_4.1/maec_package_schema.xsd +1095 -0
  434. data/config/1.1/stix/external/maec_4.1/metadataSharing.xsd +1712 -0
  435. data/config/1.1/stix/external/oasis_ciq_3.0/CommonTypes.xsd +104 -0
  436. data/config/1.1/stix/external/oasis_ciq_3.0/xAL-types.xsd +511 -0
  437. data/config/1.1/stix/external/oasis_ciq_3.0/xAL.xsd +672 -0
  438. data/config/1.1/stix/external/oasis_ciq_3.0/xNAL-types.xsd +36 -0
  439. data/config/1.1/stix/external/oasis_ciq_3.0/xNAL.xsd +126 -0
  440. data/config/1.1/stix/external/oasis_ciq_3.0/xNL-types.xsd +222 -0
  441. data/config/1.1/stix/external/oasis_ciq_3.0/xNL.xsd +284 -0
  442. data/config/1.1/stix/external/oasis_ciq_3.0/xPIL-types.xsd +854 -0
  443. data/config/1.1/stix/external/oasis_ciq_3.0/xPIL.xsd +1621 -0
  444. data/config/1.1/stix/external/oasis_ciq_3.0/xlink-2003-12-31.xsd +90 -0
  445. data/config/1.1/stix/external/open_ioc_2010/ioc-TR.xsd +25 -0
  446. data/config/1.1/stix/external/open_ioc_2010/ioc.xsd +105 -0
  447. data/config/1.1/stix/external/oval_5.10/oval-common-schema.xsd +781 -0
  448. data/config/1.1/stix/external/oval_5.10/oval-definitions-schema.xsd +1608 -0
  449. data/config/1.1/stix/external/oval_5.10/oval-variables-schema.xsd +84 -0
  450. data/config/1.1/stix/external/oval_5.10/xmldsig-core-schema.xsd +309 -0
  451. data/config/1.1/stix/incident.xsd +759 -0
  452. data/config/1.1/stix/indicator.xsd +367 -0
  453. data/config/1.1/stix/stix_common.xsd +932 -0
  454. data/config/1.1/stix/stix_core.xsd +253 -0
  455. data/config/1.1/stix/stix_default_vocabularies.xsd +2015 -0
  456. data/config/1.1/stix/threat_actor.xsd +181 -0
  457. data/config/1.1/stix/ttp.xsd +429 -0
  458. data/config/1.1/uber_schema.xsd +149 -0
  459. data/config/mappings.json +30 -0
  460. data/lib/stix_schema_spy.rb +18 -0
  461. data/lib/stix_schema_spy/models/attribute.rb +20 -0
  462. data/lib/stix_schema_spy/models/complex_type.rb +50 -0
  463. data/lib/stix_schema_spy/models/element.rb +26 -0
  464. data/lib/stix_schema_spy/models/external_type.rb +48 -0
  465. data/lib/stix_schema_spy/models/has_children.rb +83 -0
  466. data/lib/stix_schema_spy/models/node.rb +71 -0
  467. data/lib/stix_schema_spy/models/schema.rb +217 -0
  468. data/lib/stix_schema_spy/models/simple_type.rb +47 -0
  469. data/lib/stix_schema_spy/models/special_field.rb +21 -0
  470. data/lib/stix_schema_spy/models/type.rb +106 -0
  471. data/lib/stix_schema_spy/util/schema_naming.rb +106 -0
  472. data/lib/stix_schema_spy/util/tasks.rb +69 -0
  473. data/lib/stix_schema_spy/version.rb +3 -0
  474. data/spec/lib/schema_naming_spec.rb +190 -0
  475. data/spec/models/complex_type_spec.rb +68 -0
  476. data/spec/models/node_spec.rb +47 -0
  477. data/spec/models/schema_spec.rb +63 -0
  478. data/spec/models/simple_type_spec.rb +38 -0
  479. data/spec/models/type_spec.rb +43 -0
  480. data/spec/spec_helper.rb +8 -0
  481. data/stix_schema_spy.gemspec +27 -0
  482. metadata +602 -0
@@ -0,0 +1,309 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:indicator="http://stix.mitre.org/Indicator-2" xmlns:cybox="http://cybox.mitre.org/cybox-2" xmlns:stixCommon="http://stix.mitre.org/common-1" xmlns:marking="http://data-marking.mitre.org/Marking-1" targetNamespace="http://stix.mitre.org/Indicator-2" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.0" xml:lang="English">
3
+ <xs:annotation>
4
+ <xs:documentation>This schema was originally developed by The MITRE Corporation. The STIX XML Schema implementation is maintained by The MITRE Corporation and developed by the open STIX Community. For more information, including how to get involved in the effort and how to submit change requests, please visit the STIX website at http://stix.mitre.org. </xs:documentation>
5
+ <xs:appinfo>
6
+ <schema>STIX Indicator</schema>
7
+ <version>2.0</version>
8
+ <date>04/08/2013 9:00:00 AM</date>
9
+ <short_description>Structured Threat Information eXpression (STIX) - Indicator - Schematic implementation for the Indicator construct within the STIX structured cyber threat expression language architecture.</short_description>
10
+ <terms_of_use>Copyright (c) 2012-2013, The MITRE Corporation. All rights reserved. The contents of this file are subject to the terms of the STIX License located at http://stix.mitre.org/about/termsofuse.html. See the STIX License for the specific language governing permissions and limitations for use of this schema. When distributing copies of the STIX Schema, this license header must be included. </terms_of_use>
11
+ </xs:appinfo>
12
+ </xs:annotation>
13
+ <xs:import namespace="http://cybox.mitre.org/cybox-2" schemaLocation="cybox/cybox_core.xsd"/>
14
+ <xs:import namespace="http://stix.mitre.org/common-1" schemaLocation="stix_common.xsd"/>
15
+ <xs:import namespace="http://data-marking.mitre.org/Marking-1" schemaLocation="data_marking.xsd"/>
16
+ <xs:element name="Indicator" type="indicator:IndicatorType"/>
17
+ <xs:complexType name="IndicatorType">
18
+ <xs:annotation>
19
+ <xs:documentation>The IndicatorType characterizes a cyber threat indicator made up of a pattern identifying certain observable conditions as well as contextual information about the patterns meaning, how and when it should be acted on, etc. </xs:documentation>
20
+ </xs:annotation>
21
+ <xs:complexContent>
22
+ <xs:extension base="stixCommon:IndicatorBaseType">
23
+ <xs:sequence>
24
+ <xs:element name="Title" type="xs:string" minOccurs="0">
25
+ <xs:annotation>
26
+ <xs:documentation>The Title field provides a simple title for this Indicator.</xs:documentation>
27
+ </xs:annotation>
28
+ </xs:element>
29
+ <xs:element name="Type" type="stixCommon:ControlledVocabularyStringType" minOccurs="0">
30
+ <xs:annotation>
31
+ <xs:documentation>
32
+ Specifies the type for this Indicator.
33
+
34
+ This field is implemented through the xsi:type controlled vocabulary extension mechanism. The default vocabulary type is IndicatorTypeVocabularyType in the http://stix.mitre.org/default_vocabularies-1 namespace. This type is defined in the stix_default_vocabularies.xsd file or at the URL http://stix.mitre.org/XMLSchema/default_vocabularies/1.0.0/stix_default_vocabularies.xsd .
35
+
36
+ Users may also define their own vocabulary using the type extension mechanism, specify a vocabulary name and reference using the attributes, or simply use this as a string field.
37
+ </xs:documentation>
38
+ </xs:annotation>
39
+ </xs:element>
40
+ <xs:element name="Alternative_ID" type="xs:string" minOccurs="0" maxOccurs="unbounded">
41
+ <xs:annotation>
42
+ <xs:documentation>Specifies an alternative identifier (or alias) for the cyber threat Indicator.</xs:documentation>
43
+ </xs:annotation>
44
+ </xs:element>
45
+ <xs:element name="Description" type="stixCommon:StructuredTextType" minOccurs="0">
46
+ <xs:annotation>
47
+ <xs:documentation>Specifies a description for this Indicator.</xs:documentation>
48
+ </xs:annotation>
49
+ </xs:element>
50
+ <xs:element name="Valid_Time_Position" type="indicator:ValidTimeType" minOccurs="0" maxOccurs="unbounded">
51
+ <xs:annotation>
52
+ <xs:documentation>Specifies the time window for which this Indicator is valid.</xs:documentation>
53
+ </xs:annotation>
54
+ </xs:element>
55
+ <xs:choice>
56
+ <xs:annotation>
57
+ <xs:documentation>Content creators should either create a "simple indicator" containing one observable, or a "composite indicator" containing multiple indicators.</xs:documentation>
58
+ </xs:annotation>
59
+ <xs:element name="Observable" type="cybox:ObservableType" minOccurs="0">
60
+ <xs:annotation>
61
+ <xs:documentation>Specifies a relevant cyber observable for this Indicator.</xs:documentation>
62
+ </xs:annotation>
63
+ </xs:element>
64
+ <xs:element name="Composite_Indicator_Expression" type="indicator:CompositeIndicatorExpressionType" minOccurs="0">
65
+ <xs:annotation>
66
+ <xs:documentation>Specifies a multipartite composite Indicator.</xs:documentation>
67
+ </xs:annotation>
68
+ </xs:element>
69
+ </xs:choice>
70
+ <xs:element name="Indicated_TTP" type="stixCommon:RelatedTTPType" minOccurs="0" maxOccurs="unbounded">
71
+ <xs:annotation>
72
+ <xs:documentation>Specifies the relevant TTP indicated by this Indicator.</xs:documentation>
73
+ </xs:annotation>
74
+ </xs:element>
75
+ <xs:element name="Kill_Chain_Phases" type="stixCommon:KillChainPhasesReferenceType" minOccurs="0">
76
+ <xs:annotation>
77
+ <xs:documentation>Specifies relevant kill chain phases indicated by this Indicator.</xs:documentation>
78
+ </xs:annotation>
79
+ </xs:element>
80
+ <xs:element name="Test_Mechanisms" type="indicator:TestMechanismsType" minOccurs="0">
81
+ <xs:annotation>
82
+ <xs:documentation>The TestMechanisms field specifies Test Mechanisms effective at identifying the cyber Observables specified in this cyber threat Indicator.</xs:documentation>
83
+ </xs:annotation>
84
+ </xs:element>
85
+ <xs:element name="Likely_Impact" type="stixCommon:StatementType" minOccurs="0">
86
+ <xs:annotation>
87
+ <xs:documentation>Specifies the likely potential impact within the relevant context if this Indicator were to occur. This is typically local to an Indicator consumer and not typically shared. This field includes a Description of the likely potential impact within the relevant context if this Indicator were to occur and a Confidence held in the accuracy of this assertion. NOTE: This structure potentially still needs to be fleshed out more for structured characterization of impact. </xs:documentation>
88
+ </xs:annotation>
89
+ </xs:element>
90
+ <xs:element name="Suggested_COAs" type="indicator:SuggestedCOAsType" minOccurs="0">
91
+ <xs:annotation>
92
+ <xs:documentation>The Suggested_COAs field specifies suggested Courses of Action for this cyber threat Indicator.</xs:documentation>
93
+ </xs:annotation>
94
+ </xs:element>
95
+ <xs:element name="Handling" type="marking:MarkingType" minOccurs="0">
96
+ <xs:annotation>
97
+ <xs:documentation>Specifies the relevant handling guidance for this Indicator. The valid marking scope is the nearest IndicatorBaseType ancestor of this Handling element and all its descendants.</xs:documentation>
98
+ </xs:annotation>
99
+ </xs:element>
100
+ <xs:element name="Confidence" type="stixCommon:ConfidenceType" minOccurs="0">
101
+ <xs:annotation>
102
+ <xs:documentation>Specifies a level of confidence held in the accuracy of this Indicator.</xs:documentation>
103
+ </xs:annotation>
104
+ </xs:element>
105
+ <xs:element name="Sightings" type="indicator:SightingsType" minOccurs="0">
106
+ <xs:annotation>
107
+ <xs:documentation>Characterizes a set of sighting reports for this Indicator.</xs:documentation>
108
+ </xs:annotation>
109
+ </xs:element>
110
+ <xs:element name="Related_Indicators" type="indicator:RelatedIndicatorsType" minOccurs="0">
111
+ <xs:annotation>
112
+ <xs:documentation>The Related_Indicators field is optional and enables content producers to express a relationship between the enclosing indicator (i.e., the subject of the relationship) and a disparate indicator (i.e., the object side of the relationship).</xs:documentation>
113
+ </xs:annotation>
114
+ </xs:element>
115
+ <xs:element name="Producer" type="stixCommon:InformationSourceType" minOccurs="0">
116
+ <xs:annotation>
117
+ <xs:documentation>The Producer field details the source of this entry.</xs:documentation>
118
+ </xs:annotation>
119
+ </xs:element>
120
+ </xs:sequence>
121
+ <xs:attribute name="version" type="indicator:IndicatorVersionType" default="2.0">
122
+ <xs:annotation>
123
+ <xs:documentation>Specifies the relevant STIX-Indicator schema version for this content.</xs:documentation>
124
+ </xs:annotation>
125
+ </xs:attribute>
126
+ <xs:attribute name="negate" type="xs:boolean" default="false">
127
+ <xs:annotation>
128
+ <xs:documentation>The negate field applies when using an Indicator as a pattern and specifies the absence of the pattern.</xs:documentation>
129
+ </xs:annotation>
130
+ </xs:attribute>
131
+ </xs:extension>
132
+ </xs:complexContent>
133
+ </xs:complexType>
134
+ <xs:simpleType name="IndicatorVersionType">
135
+ <xs:annotation>
136
+ <xs:documentation>An enumeration of all versions of the Indicator type valid in the current release of STIX.</xs:documentation>
137
+ </xs:annotation>
138
+ <xs:restriction base="xs:string">
139
+ <xs:enumeration value="2.0"/>
140
+ </xs:restriction>
141
+ </xs:simpleType>
142
+ <xs:complexType name="ValidTimeType">
143
+ <xs:annotation>
144
+ <!-- NOTE: this is a very simple representation, if desired, the schema could import something more expressive like gml temporal semantics (see gml:timeposition here: http://schemas.opengis.net/gml/3.1.1/base/temporal.xsd). -->
145
+ <xs:documentation>A basic representation of a temporal window when the thing (e.g., indicator) is valid. </xs:documentation>
146
+ </xs:annotation>
147
+ <xs:sequence>
148
+ <xs:element name="Start_Time" type="xs:dateTime" minOccurs="0">
149
+ <xs:annotation>
150
+ <xs:documentation>If not present, then client should assume infinity (i.e., temporal window is only bounded by the end-time). </xs:documentation>
151
+ </xs:annotation>
152
+ </xs:element>
153
+ <xs:element name="End_Time" type="xs:dateTime" minOccurs="0">
154
+ <xs:annotation>
155
+ <xs:documentation>If not present, then client should assume infinity (i.e., temporal window is only bounded by the start-time). </xs:documentation>
156
+ </xs:annotation>
157
+ </xs:element>
158
+ </xs:sequence>
159
+ </xs:complexType>
160
+ <!-- *************************************************************************** -->
161
+ <!-- * definitions to allow for relationships (both logical boolean * -->
162
+ <!-- * combinations and custom relationships) of indicators * -->
163
+ <!-- *************************************************************************** -->
164
+ <xs:complexType name="CompositeIndicatorExpressionType">
165
+ <xs:annotation>
166
+ <xs:documentation>Type for allowing content creators to create composite indicator expressions using basic boolean logic. </xs:documentation>
167
+ </xs:annotation>
168
+ <xs:sequence>
169
+ <xs:element ref="indicator:Indicator" minOccurs="0" maxOccurs="unbounded">
170
+ <xs:annotation>
171
+ <xs:documentation>The indicator field specifies one cyber threat indicator asserting a relationship between a cyber observable and a TTP.</xs:documentation>
172
+ </xs:annotation>
173
+ </xs:element>
174
+ </xs:sequence>
175
+ <xs:attribute name="operator" type="indicator:OperatorTypeEnum" use="required">
176
+ <xs:annotation>
177
+ <xs:documentation>Specifies the logical composition operator for this composite cyber threat Indicator.</xs:documentation>
178
+ </xs:annotation>
179
+ </xs:attribute>
180
+ </xs:complexType>
181
+ <xs:simpleType name="OperatorTypeEnum">
182
+ <xs:annotation>
183
+ <xs:documentation>OperatorTypeEnum is an enumeration of valid operators.</xs:documentation>
184
+ </xs:annotation>
185
+ <xs:restriction base="xs:string">
186
+ <xs:enumeration value="AND"/>
187
+ <xs:enumeration value="OR"/>
188
+ </xs:restriction>
189
+ </xs:simpleType>
190
+ <!---->
191
+ <xs:complexType name="TestMechanismType" abstract="true">
192
+ <xs:annotation>
193
+ <xs:documentation>
194
+ The TestMechanismType specifies a non-standard Test Mechanism effective at identifying the cyber Observables specified in this cyber threat Indicator.
195
+
196
+ This type is defined as abstract and is intended to be extended to enable the expression of any structured or unstructured test mechanism. STIX provides five default options, Generic, OpenIOC, OVAL, Snort, and YARA. Additionally, those who wish to use another format may do so by using either the existing Generic test mechanism and putting the mechanism specification in the CDATA block or by defining a new extension to this type. The information for the STIX-provided extensions is:
197
+
198
+ 1. Generic: The Generic test mechanism allows for the specification of any generic test mechanism through the use of a raw CDATA section. The type is named GenericTestMechanismType and is in the http://stix.mitre.org/extensions/TestMechanism#Generic-1 namespace. The extension is defined in the file extensions/test_mechanism/generic.xsd or at the URL http://stix.mitre.org/XMLSchema/extensions/test_mechanism/generic/1.0/generic.xsd.
199
+
200
+ 2. OpenIOC: The OpenIOC test mechanism allows for the specification of an OpenIOC test by importing the OpenIOC schema. The type is named IOCTestMechanismType and is in the http://stix.mitre.org/extensions/TestMechanism#OpenIOC-1 namespace. The extension is defined in the file extensions/test_mechanism/openioc-1.0.xsd or at the URL http://stix.mitre.org/XMLSchema/extensions/test_mechanism/openioc-1.0/1.0/openioc-1.0.xsd.
201
+
202
+ 3. OVAL: The OVAL test mechanism allows for the specification of an OVAL definition through importing the OVAL schemas. The type is named OVALTestMechanismType and is in the http://stix.mitre.org/extensions/TestMechanism#OVAL-1 namespace. The extension is defined in the file extensions/test_mechanism/oval-5.10.1.xsd or at the URL http://stix.mitre.org/XMLSchema/extensions/test_mechanism/oval-5.10.1/1.0/oval-5.10.1.xsd.
203
+
204
+ 4. Snort: The Snort test mechanism allows for the specification of a snort signature through the use of a raw CDATA section. The type is named SnortTestMechanismType and is in the http://stix.mitre.org/extensions/TestMechanism#Snort-1 namespace. The extension is defined in the file extensions/test_mechanism/snort.xsd or at the URL http://stix.mitre.org/XMLSchema/extensions/test_mechanism/snort/1.0/snort.xsd.
205
+
206
+ 5. YARA: The YARA test mechanism allows for the specification of a YARA test through the use of a raw CDATA section. The type is named YaraTestMechanismType and is in the http://stix.mitre.org/extensions/TestMechanism#YARA-1 namespace. The extension is defined in the file extensions/test_mechanism/yara.xsd or at the URL http://stix.mitre.org/XMLSchema/extensions/test_mechanism/yara/1.0/yara.xsd.
207
+ </xs:documentation>
208
+ </xs:annotation>
209
+ <xs:sequence>
210
+ <xs:element name="Efficacy" type="stixCommon:StatementType" minOccurs="0">
211
+ <xs:annotation>
212
+ <xs:documentation>The Efficacy field provides an assertion of likely effectiveness of this TestMechanism to detect the targeted cyber Observables. The field includes a description of the asserted efficacy of this TestMechanism and a confidence held in the asserted efficacy of this TestMechanism to detect the targeted cyber Observables.</xs:documentation>
213
+ </xs:annotation>
214
+ </xs:element>
215
+ <xs:element name="Producer" type="stixCommon:InformationSourceType" minOccurs="0">
216
+ <xs:annotation>
217
+ <xs:documentation>The Producer field details the source of this entry.</xs:documentation>
218
+ </xs:annotation>
219
+ </xs:element>
220
+ </xs:sequence>
221
+ <xs:attribute name="id" type="xs:QName">
222
+ <xs:annotation>
223
+ <xs:documentation>Specifies a unique ID for this Test Mechanism.</xs:documentation>
224
+ </xs:annotation>
225
+ </xs:attribute>
226
+ <xs:attribute name="idref" type="xs:QName">
227
+ <xs:annotation>
228
+ <xs:documentation>Specifies a reference to the ID of a Test Mechanism specified elsewhere.</xs:documentation>
229
+ </xs:annotation>
230
+ </xs:attribute>
231
+ </xs:complexType>
232
+ <!---->
233
+ <xs:complexType name="SightingsType">
234
+ <xs:sequence>
235
+ <xs:element name="Sighting" type="indicator:SightingType" maxOccurs="unbounded">
236
+ <xs:annotation>
237
+ <xs:documentation>This field characterizes a single sighting report for this Indicator.</xs:documentation>
238
+ </xs:annotation>
239
+ </xs:element>
240
+ </xs:sequence>
241
+ <xs:attribute name="sightings_count" type="xs:integer">
242
+ <xs:annotation>
243
+ <xs:documentation>The total number of times this Indicator was reported as sighted.</xs:documentation>
244
+ </xs:annotation>
245
+ </xs:attribute>
246
+ </xs:complexType>
247
+ <xs:complexType name="SightingType">
248
+ <xs:annotation>
249
+ <xs:documentation>Describes a single sighting of an indicator.</xs:documentation>
250
+ </xs:annotation>
251
+ <xs:sequence>
252
+ <xs:element name="Source" type="stixCommon:StructuredTextType" minOccurs="0">
253
+ <xs:annotation>
254
+ <xs:documentation>This field provides a name or description of the sighting source.</xs:documentation>
255
+ </xs:annotation>
256
+ </xs:element>
257
+ <xs:element name="Reference" type="xs:anyURI" minOccurs="0">
258
+ <xs:annotation>
259
+ <xs:documentation>This field provides a formal reference to the sighting source.</xs:documentation>
260
+ </xs:annotation>
261
+ </xs:element>
262
+ <xs:element name="Confidence" type="stixCommon:ConfidenceType" minOccurs="0">
263
+ <xs:annotation>
264
+ <xs:documentation>This field provides a confidence assertion in the accuracy of this sighting.</xs:documentation>
265
+ </xs:annotation>
266
+ </xs:element>
267
+ </xs:sequence>
268
+ <xs:attribute name="timestamp" type="xs:dateTime">
269
+ <xs:annotation>
270
+ <xs:documentation>This field provides the date and time of the Indicator sighting.</xs:documentation>
271
+ </xs:annotation>
272
+ </xs:attribute>
273
+ </xs:complexType>
274
+ <xs:complexType name="RelatedIndicatorsType">
275
+ <xs:complexContent>
276
+ <xs:extension base="stixCommon:GenericRelationshipListType">
277
+ <xs:sequence>
278
+ <xs:element name="Related_Indicator" type="stixCommon:RelatedIndicatorType" maxOccurs="unbounded">
279
+ <xs:annotation>
280
+ <xs:documentation>The Related_Indicator field is optional and enables content producers to express a relationship between the enclosing indicator (i.e., the subject of the relationship) and a disparate indicator (i.e., the object side of the relationship).</xs:documentation>
281
+ </xs:annotation>
282
+ </xs:element>
283
+ </xs:sequence>
284
+ </xs:extension>
285
+ </xs:complexContent>
286
+ </xs:complexType>
287
+ <xs:complexType name="SuggestedCOAsType">
288
+ <xs:complexContent>
289
+ <xs:extension base="stixCommon:GenericRelationshipListType">
290
+ <xs:sequence>
291
+ <xs:element name="Suggested_COA" type="stixCommon:RelatedCourseOfActionType" maxOccurs="unbounded">
292
+ <xs:annotation>
293
+ <xs:documentation>The Suggested_COA field specifies a suggested Course of Action for this cyber threat Indicator.</xs:documentation>
294
+ </xs:annotation>
295
+ </xs:element>
296
+ </xs:sequence>
297
+ </xs:extension>
298
+ </xs:complexContent>
299
+ </xs:complexType>
300
+ <xs:complexType name="TestMechanismsType">
301
+ <xs:sequence>
302
+ <xs:element name="Test_Mechanism" type="indicator:TestMechanismType" maxOccurs="unbounded">
303
+ <xs:annotation>
304
+ <xs:documentation>The TestMechanism field specifies a non-standard Test Mechanism effective at identifying the cyber Observables specified in this cyber threat Indicator. This field is defined as of type TestMechanismType which is an abstract type enabling the extension and inclusion of various formats of Test Mechanism specifications.</xs:documentation>
305
+ </xs:annotation>
306
+ </xs:element>
307
+ </xs:sequence>
308
+ </xs:complexType>
309
+ </xs:schema>
@@ -0,0 +1,762 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:cyboxCommon="http://cybox.mitre.org/common-2" xmlns:cybox="http://cybox.mitre.org/cybox-2" xmlns:stixCommon="http://stix.mitre.org/common-1" targetNamespace="http://stix.mitre.org/common-1" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0" xml:lang="English">
3
+ <xs:annotation>
4
+ <xs:documentation>This schema was originally developed by The MITRE Corporation. The STIX XML Schema implementation is maintained by The MITRE Corporation and developed by the open STIX Community. For more information, including how to get involved in the effort and how to submit change requests, please visit the STIX website at http://stix.mitre.org. </xs:documentation>
5
+ <xs:appinfo>
6
+ <schema>STIX Common</schema>
7
+ <version>1.0</version>
8
+ <date>04/08/2013 9:00:00 AM</date>
9
+ <short_description>Structured Threat Information eXpression (STIX) - Common - Schematic implementation for the common types of a structured cyber threat expression language architecture.</short_description>
10
+ <terms_of_use>Copyright (c) 2012-2013, The MITRE Corporation. All rights reserved. The contents of this file are subject to the terms of the STIX License located at http://stix.mitre.org/about/termsofuse.html. See the STIX License for the specific language governing permissions and limitations for use of this schema. When distributing copies of the STIX 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/cybox_common.xsd"/>
14
+ <xs:import namespace="http://cybox.mitre.org/cybox-2" schemaLocation="cybox/cybox_core.xsd"/>
15
+ <xs:complexType name="InformationSourceType">
16
+ <xs:annotation>
17
+ <xs:documentation>The InformationSourceType details the source of a given data entry.</xs:documentation>
18
+ </xs:annotation>
19
+ <xs:sequence>
20
+ <xs:element name="Identity" type="stixCommon:IdentityType" minOccurs="0">
21
+ <xs:annotation>
22
+ <xs:documentation>
23
+ The Identity field is optional and specifies the identity of the information source.
24
+
25
+ This field is implemented through the xsi:type extension mechanism. The default type is CIQIdentity3.0InstanceType in the http://stix.mitre.org/extensions/Identity#CIQIdentity3.0-1 namespace. This type is defined in the extensions/identity/ciq_identity.xsd file or at the URL http://stix.mitre.org/XMLSchema/extensions/identity/ciq_identity/1.0/ciq_identity.xsd.
26
+
27
+ Those who wish to express a simple name may also do so by not specifying an xsi:type and using the Name field.
28
+ </xs:documentation>
29
+ </xs:annotation>
30
+ </xs:element>
31
+ <xs:element name="Contributors" type="stixCommon:ContributorsType" minOccurs="0">
32
+ <xs:annotation>
33
+ <xs:documentation>The Contributors field is optional and enables description of the individual contributors involved in this instance.</xs:documentation>
34
+ </xs:annotation>
35
+ </xs:element>
36
+ <xs:element name="Time" type="cyboxCommon:TimeType" minOccurs="0">
37
+ <xs:annotation>
38
+ <xs:documentation>The Time element is optional and enables description of various time-related attributes for this instance.</xs:documentation>
39
+ </xs:annotation>
40
+ </xs:element>
41
+ <xs:element name="Tools" type="cyboxCommon:ToolsInformationType" minOccurs="0">
42
+ <xs:annotation>
43
+ <xs:documentation>The Tools element is optional and enables description of the tools utilized for this instance.</xs:documentation>
44
+ </xs:annotation>
45
+ </xs:element>
46
+ <xs:element name="References" type="stixCommon:ReferencesType" minOccurs="0">
47
+ <xs:annotation>
48
+ <xs:documentation>The References field is optional and enables specification of references to information source material for this instance.</xs:documentation>
49
+ </xs:annotation>
50
+ </xs:element>
51
+ </xs:sequence>
52
+ </xs:complexType>
53
+ <!---->
54
+ <xs:complexType name="ConfidenceType">
55
+ <xs:annotation>
56
+ <xs:documentation>The ConfidenceType specifies a level of Confidence held in some assertion.</xs:documentation>
57
+ </xs:annotation>
58
+ <xs:sequence>
59
+ <xs:element name="Value" type="stixCommon:ControlledVocabularyStringType" minOccurs="0">
60
+ <xs:annotation>
61
+ <xs:documentation>
62
+ Specifies the level of confidence held in this direct assertion.
63
+
64
+ This field is implemented through the xsi:type controlled vocabulary extension mechanism. The default vocabulary type is HighMediumLowVocab-1.0 in the http://stix.mitre.org/default_vocabularies-1 namespace. This type is defined in the stix_default_vocabularies.xsd file or at the URL http://stix.mitre.org/XMLSchema/default_vocabularies/1.0.0/stix_default_vocabularies.xsd .
65
+
66
+ Users may also define their own vocabulary using the type extension mechanism, specify a vocabulary name and reference using the attributes, or simply use this as a string field.
67
+ </xs:documentation>
68
+ </xs:annotation>
69
+ </xs:element>
70
+ <xs:element name="Description" type="stixCommon:StructuredTextType" minOccurs="0">
71
+ <xs:annotation>
72
+ <xs:documentation>The Description field provides a description of the confidence value and how it was derived.</xs:documentation>
73
+ </xs:annotation>
74
+ </xs:element>
75
+ <xs:element name="Source" type="stixCommon:ControlledVocabularyStringType" minOccurs="0">
76
+ <xs:annotation>
77
+ <xs:documentation>
78
+ The Source field specifies the source of this confidence assertion. An optional vocabulary name and reference allows the expression of the source name in some given vocabulary context.
79
+
80
+ This field is implemented through the xsi:type controlled vocabulary extension mechanism. No default vocabulary type has been defined for STIX 1.0. Users may either define their own vocabulary using the type extension mechanism, specify a vocabulary name and reference using the attributes, or simply use this as a free string field.
81
+ </xs:documentation>
82
+ </xs:annotation>
83
+ </xs:element>
84
+ <xs:element name="Confidence_Assertion_Chain" type="stixCommon:ConfidenceAssertionChainType" minOccurs="0">
85
+ <xs:annotation>
86
+ <xs:documentation>The Confidence_Assertion_Chain field specifies a set of related confidence levels in this assertion along with who made them, when they were made and how they were made.</xs:documentation>
87
+ </xs:annotation>
88
+ </xs:element>
89
+ </xs:sequence>
90
+ <xs:attribute name="timestamp" type="xs:dateTime">
91
+ <xs:annotation>
92
+ <xs:documentation>Specifies the time of this Confidence assertion.</xs:documentation>
93
+ </xs:annotation>
94
+ </xs:attribute>
95
+ </xs:complexType>
96
+ <!---->
97
+ <xs:complexType name="ActivityType" abstract="true">
98
+ <xs:sequence>
99
+ <xs:element name="Date_Time">
100
+ <xs:annotation>
101
+ <xs:documentation>The Date_Time field specifies the date and time at which the activity occured.</xs:documentation>
102
+ </xs:annotation>
103
+ </xs:element>
104
+ <xs:element name="Description" type="stixCommon:StructuredTextType" minOccurs="0">
105
+ <xs:annotation>
106
+ <xs:documentation>The Description field provides a description of the activity.</xs:documentation>
107
+ </xs:annotation>
108
+ </xs:element>
109
+ </xs:sequence>
110
+ </xs:complexType>
111
+ <!---->
112
+ <xs:complexType name="KillChainsType">
113
+ <xs:sequence>
114
+ <xs:element name="Kill_Chain" type="stixCommon:KillChainType" maxOccurs="unbounded">
115
+ <xs:annotation>
116
+ <xs:documentation>This field specifies a single kill chain definition for reference within specific TTP entries, Indicators and elsewhere.</xs:documentation>
117
+ </xs:annotation>
118
+ </xs:element>
119
+ </xs:sequence>
120
+ </xs:complexType>
121
+ <xs:complexType name="KillChainType">
122
+ <xs:annotation>
123
+ <xs:documentation>The KillChainType characterizes a specific Kill Chain definition for reference within specific TTP entries, Indicators and elsewhere.</xs:documentation>
124
+ </xs:annotation>
125
+ <xs:sequence>
126
+ <xs:element name="Kill_Chain_Phase" type="stixCommon:KillChainPhaseType" maxOccurs="unbounded">
127
+ <xs:annotation>
128
+ <xs:documentation>This field specifies the name of an individual phase within this kill chain definition.</xs:documentation>
129
+ </xs:annotation>
130
+ </xs:element>
131
+ </xs:sequence>
132
+ <xs:attribute name="id" type="xs:QName">
133
+ <xs:annotation>
134
+ <xs:documentation>A globally unique identifier for this kill chain definition.</xs:documentation>
135
+ </xs:annotation>
136
+ </xs:attribute>
137
+ <xs:attribute name="name" type="xs:string">
138
+ <xs:annotation>
139
+ <xs:documentation>A descriptive name for this kill chain definition.</xs:documentation>
140
+ </xs:annotation>
141
+ </xs:attribute>
142
+ <xs:attribute name="definer">
143
+ <xs:annotation>
144
+ <xs:documentation>The organization or individual responsible for this kill chain definition.</xs:documentation>
145
+ </xs:annotation>
146
+ </xs:attribute>
147
+ <xs:attribute name="reference" type="xs:anyURI">
148
+ <xs:annotation>
149
+ <xs:documentation>A resource reference for this kill chain definition.</xs:documentation>
150
+ </xs:annotation>
151
+ </xs:attribute>
152
+ <xs:attribute name="number_of_phases">
153
+ <xs:annotation>
154
+ <xs:documentation>The number of phases in this kill chain definition.</xs:documentation>
155
+ </xs:annotation>
156
+ </xs:attribute>
157
+ </xs:complexType>
158
+ <xs:complexType name="KillChainPhaseType">
159
+ <xs:annotation>
160
+ <xs:documentation>The KillChainPhaseType characterizes an individual phase within a kill chain definition.</xs:documentation>
161
+ </xs:annotation>
162
+ <xs:attribute name="phase_id" type="xs:QName">
163
+ <xs:annotation>
164
+ <xs:documentation>This field specifies the ID for the relevant kill chain phase.</xs:documentation>
165
+ </xs:annotation>
166
+ </xs:attribute>
167
+ <xs:attribute name="name" type="xs:string">
168
+ <xs:annotation>
169
+ <xs:documentation>This field specifies the descriptive name of the relevant kill chain phase.</xs:documentation>
170
+ </xs:annotation>
171
+ </xs:attribute>
172
+ <xs:attribute name="ordinality" type="xs:int">
173
+ <xs:annotation>
174
+ <xs:documentation>This field specifies the ordinality (e.g. 1, 2 or 3) of this phase within this kill chain definition.</xs:documentation>
175
+ </xs:annotation>
176
+ </xs:attribute>
177
+ </xs:complexType>
178
+ <!---->
179
+ <xs:complexType name="KillChainPhasesReferenceType">
180
+ <xs:sequence>
181
+ <xs:element name="Kill_Chain_Phase" type="stixCommon:KillChainPhaseReferenceType" maxOccurs="unbounded">
182
+ <xs:annotation>
183
+ <xs:documentation>The Kill_Chain_Phase field specifies a single Kill Chain phase associated with this item.</xs:documentation>
184
+ </xs:annotation>
185
+ </xs:element>
186
+ </xs:sequence>
187
+ </xs:complexType>
188
+ <xs:complexType name="KillChainPhaseReferenceType">
189
+ <xs:complexContent>
190
+ <xs:extension base="stixCommon:KillChainPhaseType">
191
+ <xs:attribute name="kill_chain_id" type="xs:QName">
192
+ <xs:annotation>
193
+ <xs:documentation>This field specifies the ID for the relevant defined kill chain.</xs:documentation>
194
+ </xs:annotation>
195
+ </xs:attribute>
196
+ <xs:attribute name="kill_chain_name" type="xs:string">
197
+ <xs:annotation>
198
+ <xs:documentation>This field specifies the descriptive name of the relevant kill chain.</xs:documentation>
199
+ </xs:annotation>
200
+ </xs:attribute>
201
+ </xs:extension>
202
+ </xs:complexContent>
203
+ </xs:complexType>
204
+ <!---->
205
+ <xs:complexType name="IdentityType">
206
+ <xs:annotation>
207
+ <xs:documentation>
208
+ The IdentityType is used to express identity information for both individuals and organizations.
209
+
210
+ This type is extended through the xsi:type mechanism. The default type is CIQIdentity3.0InstanceType in the http://stix.mitre.org/extensions/Identity#CIQIdentity3.0-1 namespace. This type is defined in the extensions/identity/ciq_identity_3.0.xsd file or at the URL http://stix.mitre.org/XMLSchema/extensions/identity/ciq_identity_3.0/1.0/ciq_identity_3.0.xsd.
211
+
212
+ Those who wish to express a simple name may also do so by not specifying an xsi:type and using the Name field of this type.
213
+ </xs:documentation>
214
+ </xs:annotation>
215
+ <xs:sequence>
216
+ <xs:element name="Name" type="xs:string" minOccurs="0">
217
+ <xs:annotation>
218
+ <xs:documentation>The Name field allows for expression of an identity through a simple name.</xs:documentation>
219
+ </xs:annotation>
220
+ </xs:element>
221
+ <xs:element name="Related_Identities" type="stixCommon:RelatedIdentitiesType" minOccurs="0">
222
+ <xs:annotation>
223
+ <xs:documentation>The Related_Identities field identifies other entity Identities related to this entity Identity.</xs:documentation>
224
+ </xs:annotation>
225
+ </xs:element>
226
+ </xs:sequence>
227
+ <xs:attribute name="id" type="xs:QName">
228
+ <xs:annotation>
229
+ <xs:documentation>Specifies a unique ID for this Identity.</xs:documentation>
230
+ </xs:annotation>
231
+ </xs:attribute>
232
+ <xs:attribute name="idref" type="xs:QName">
233
+ <xs:annotation>
234
+ <xs:documentation>Specifies a reference to a unique ID defined elsewhere.</xs:documentation>
235
+ </xs:annotation>
236
+ </xs:attribute>
237
+ </xs:complexType>
238
+ <!-- Relationships -->
239
+ <xs:complexType name="GenericRelationshipListType" abstract="true">
240
+ <xs:annotation>
241
+ <xs:documentation>Allows the expression of a list of relationships between STIX components. It's extended throughout STIX and should not be used directly. </xs:documentation>
242
+ </xs:annotation>
243
+ <xs:attribute name="scope" type="stixCommon:RelationshipScopeEnum" default="exclusive">
244
+ <xs:annotation>
245
+ <xs:documentation>Indicates how multiple related items should be interpreted in this relationship. If "inclusive" is specified, then a single conceptual relationship is being defined between the subject and the collection of objects indicated by the related items (i.e. the relationship is not necessarily relevant for any one particular object being referenced, but for the aggregated collection of objects referenced). If "exclusive" is specified, then multiple relationships are being defined between the specific subject and each object individually. </xs:documentation>
246
+ </xs:annotation>
247
+ </xs:attribute>
248
+ </xs:complexType>
249
+ <xs:simpleType name="RelationshipScopeEnum">
250
+ <xs:annotation>
251
+ <xs:documentation>ScopeEnum is an enumeration of potential assertions on how a group of relationships should be treated.</xs:documentation>
252
+ </xs:annotation>
253
+ <xs:restriction base="xs:string">
254
+ <xs:enumeration value="inclusive">
255
+ <xs:annotation>
256
+ <xs:documentation>A single relationship is being defined between the subject and the collection of objects indicated by the related items.</xs:documentation>
257
+ </xs:annotation>
258
+ </xs:enumeration>
259
+ <xs:enumeration value="exclusive">
260
+ <xs:annotation>
261
+ <xs:documentation>Multiple relationships are being defined between the specific subject and each object individually.</xs:documentation>
262
+ </xs:annotation>
263
+ </xs:enumeration>
264
+ </xs:restriction>
265
+ </xs:simpleType>
266
+ <xs:complexType name="GenericRelationshipType" abstract="true">
267
+ <xs:annotation>
268
+ <xs:documentation>Allows the expression of relationships between STIX components. It is extended by each component relationship type to add the component itself.</xs:documentation>
269
+ </xs:annotation>
270
+ <xs:sequence>
271
+ <xs:element name="Confidence" type="stixCommon:ConfidenceType" minOccurs="0">
272
+ <xs:annotation>
273
+ <xs:documentation>The confidence field specifies the level of confidence in the assertion of the relationship between the two components.</xs:documentation>
274
+ </xs:annotation>
275
+ </xs:element>
276
+ <xs:element name="Information_Source" type="stixCommon:InformationSourceType" minOccurs="0">
277
+ <xs:annotation>
278
+ <xs:documentation>The Information_Source field specifies the source of the information about the relationship between the two components.</xs:documentation>
279
+ </xs:annotation>
280
+ </xs:element>
281
+ <xs:element name="Relationship" type="stixCommon:ControlledVocabularyStringType" minOccurs="0">
282
+ <xs:annotation>
283
+ <xs:documentation>
284
+ The relationship field characterizes the type of the relationship between the two components.
285
+
286
+ This field is implemented through the xsi:type controlled vocabulary extension mechanism. No default vocabulary type has been defined for STIX 1.0. Users may either define their own vocabulary using the type extension mechanism, specify a vocabulary name and reference using the attributes, or simply use this as a free string field.
287
+ </xs:documentation>
288
+ </xs:annotation>
289
+ </xs:element>
290
+ </xs:sequence>
291
+ </xs:complexType>
292
+ <xs:complexType name="RelatedCampaignType">
293
+ <xs:annotation>
294
+ <xs:documentation>Identifies or characterizes a relationship to a campaign.</xs:documentation>
295
+ </xs:annotation>
296
+ <xs:complexContent>
297
+ <xs:extension base="stixCommon:GenericRelationshipType">
298
+ <xs:sequence>
299
+ <xs:element name="Campaign" type="stixCommon:CampaignBaseType" minOccurs="1">
300
+ <xs:annotation>
301
+ <xs:documentation>
302
+ A reference to or representation of the related campaign.
303
+
304
+ This field is implemented through the xsi:type extension mechanism. The default and strongly recommended type is CampaignType in the http://stix.mitre.org/Campaign-1 namespace. This type is defined in the campaign.xsd file or at the URL http://stix.mitre.org/XMLSchema/campaign/1.0/campaign.xsd.
305
+ </xs:documentation>
306
+ </xs:annotation>
307
+ </xs:element>
308
+ </xs:sequence>
309
+ </xs:extension>
310
+ </xs:complexContent>
311
+ </xs:complexType>
312
+ <xs:complexType name="RelatedCourseOfActionType">
313
+ <xs:annotation>
314
+ <xs:documentation>Identifies or characterizes a relationship to a course of action.</xs:documentation>
315
+ </xs:annotation>
316
+ <xs:complexContent>
317
+ <xs:extension base="stixCommon:GenericRelationshipType">
318
+ <xs:sequence>
319
+ <xs:element name="Course_Of_Action" type="stixCommon:CourseOfActionBaseType" minOccurs="1">
320
+ <xs:annotation>
321
+ <xs:documentation>
322
+ A reference or representation of the related course of action.
323
+
324
+ This field is implemented through the xsi:type extension mechanism. The default and strongly recommended type is CourseOfActionType in the http://stix.mitre.org/CourseOfAction-1 namespace. This type is defined in the course_of_action.xsd file or at the URL http://stix.mitre.org/XMLSchema/course_of_action/1.0/course_of_action.xsd.
325
+ </xs:documentation>
326
+ </xs:annotation>
327
+ </xs:element>
328
+ </xs:sequence>
329
+ </xs:extension>
330
+ </xs:complexContent>
331
+ </xs:complexType>
332
+ <xs:complexType name="RelatedExploitTargetType">
333
+ <xs:annotation>
334
+ <xs:documentation>Identifies or characterizes a relationship to an exploit target.</xs:documentation>
335
+ </xs:annotation>
336
+ <xs:complexContent>
337
+ <xs:extension base="stixCommon:GenericRelationshipType">
338
+ <xs:sequence>
339
+ <xs:element name="Exploit_Target" type="stixCommon:ExploitTargetBaseType" minOccurs="1">
340
+ <xs:annotation>
341
+ <xs:documentation>
342
+ A reference to or representation of the related exploit target.
343
+
344
+ This field is implemented through the xsi:type extension mechanism. The default and strongly recommended type is ExploitTargetType in the http://stix.mitre.org/ExploitTarget-1 namespace. This type is defined in the exploit_target.xsd file or at the URL http://stix.mitre.org/XMLSchema/exploit_target/1.0/exploit_target.xsd.
345
+ </xs:documentation>
346
+ </xs:annotation>
347
+ </xs:element>
348
+ </xs:sequence>
349
+ </xs:extension>
350
+ </xs:complexContent>
351
+ </xs:complexType>
352
+ <xs:complexType name="RelatedIncidentType">
353
+ <xs:annotation>
354
+ <xs:documentation>Identifies or characterizes a relationship to an incident.</xs:documentation>
355
+ </xs:annotation>
356
+ <xs:complexContent>
357
+ <xs:extension base="stixCommon:GenericRelationshipType">
358
+ <xs:sequence>
359
+ <xs:element name="Incident" type="stixCommon:IncidentBaseType" minOccurs="1">
360
+ <xs:annotation>
361
+ <xs:documentation>
362
+ A reference to or representation of the related incident.
363
+
364
+ This field is implemented through the xsi:type extension mechanism. The default and strongly recommended type is IncidentType in the http://stix.mitre.org/Incident-1 namespace. This type is defined in the incident.xsd file or at the URL http://stix.mitre.org/XMLSchema/incident/1.0/incident.xsd.
365
+ </xs:documentation>
366
+ </xs:annotation>
367
+ </xs:element>
368
+ </xs:sequence>
369
+ </xs:extension>
370
+ </xs:complexContent>
371
+ </xs:complexType>
372
+ <xs:complexType name="RelatedIndicatorType">
373
+ <xs:annotation>
374
+ <xs:documentation>Identifies or characterizes a relationship to an indicator.</xs:documentation>
375
+ </xs:annotation>
376
+ <xs:complexContent>
377
+ <xs:extension base="stixCommon:GenericRelationshipType">
378
+ <xs:sequence>
379
+ <xs:element name="Indicator" type="stixCommon:IndicatorBaseType" minOccurs="1">
380
+ <xs:annotation>
381
+ <xs:documentation>
382
+ A reference to or representation of the related indicator.
383
+
384
+ This field is implemented through the xsi:type extension mechanism. The default and strongly recommended type is IndicatorType in the http://stix.mitre.org/Indicator-2 namespace. This type is defined in the indicator.xsd file or at the URL http://stix.mitre.org/XMLSchema/indicator/2.0/indicator.xsd.
385
+ </xs:documentation>
386
+ </xs:annotation>
387
+ </xs:element>
388
+ </xs:sequence>
389
+ </xs:extension>
390
+ </xs:complexContent>
391
+ </xs:complexType>
392
+ <xs:complexType name="RelatedObservableType">
393
+ <xs:annotation>
394
+ <xs:documentation>Identifies or characterizes a relationship to a cyber observable.</xs:documentation>
395
+ </xs:annotation>
396
+ <xs:complexContent>
397
+ <xs:extension base="stixCommon:GenericRelationshipType">
398
+ <xs:sequence>
399
+ <xs:element name="Observable" type="cybox:ObservableType" minOccurs="1">
400
+ <xs:annotation>
401
+ <xs:documentation>A reference to or representation of the related cyber observable.</xs:documentation>
402
+ </xs:annotation>
403
+ </xs:element>
404
+ </xs:sequence>
405
+ </xs:extension>
406
+ </xs:complexContent>
407
+ </xs:complexType>
408
+ <xs:complexType name="RelatedThreatActorType">
409
+ <xs:annotation>
410
+ <xs:documentation>Identifies or characterizes a relationship to a threat actor.</xs:documentation>
411
+ </xs:annotation>
412
+ <xs:complexContent>
413
+ <xs:extension base="stixCommon:GenericRelationshipType">
414
+ <xs:sequence>
415
+ <xs:element name="Threat_Actor" type="stixCommon:ThreatActorBaseType" minOccurs="1">
416
+ <xs:annotation>
417
+ <xs:documentation>
418
+ A reference or representation of the related threat actor.
419
+
420
+ This field is implemented through the xsi:type extension mechanism. The default and strongly recommended type is ThreatActorType in the http://stix.mitre.org/ThreatActor-1 namespace. This type is defined in the threat_actor.xsd file or at the URL http://stix.mitre.org/XMLSchema/threat_actor/1.0/threat_actor.xsd.
421
+ </xs:documentation>
422
+ </xs:annotation>
423
+ </xs:element>
424
+ </xs:sequence>
425
+ </xs:extension>
426
+ </xs:complexContent>
427
+ </xs:complexType>
428
+ <xs:complexType name="RelatedTTPType">
429
+ <xs:annotation>
430
+ <xs:documentation>Identifies or characterizes a relationship to an TTP.</xs:documentation>
431
+ </xs:annotation>
432
+ <xs:complexContent>
433
+ <xs:extension base="stixCommon:GenericRelationshipType">
434
+ <xs:sequence>
435
+ <xs:element name="TTP" type="stixCommon:TTPBaseType" minOccurs="1">
436
+ <xs:annotation>
437
+ <xs:documentation>
438
+ A reference to or representation of the related TTP.
439
+
440
+ This field is implemented through the xsi:type extension mechanism. The default and strongly recommended type is TTPType in the http://stix.mitre.org/TTP-1 namespace. This type is defined in the ttp.xsd file or at the URL http://stix.mitre.org/XMLSchema/ttp/1.0/ttp.xsd.
441
+ </xs:documentation>
442
+ </xs:annotation>
443
+ </xs:element>
444
+ </xs:sequence>
445
+ </xs:extension>
446
+ </xs:complexContent>
447
+ </xs:complexType>
448
+ <xs:complexType name="RelatedIdentityType">
449
+ <xs:annotation>
450
+ <xs:documentation>Identifies or characterizes a relationship to an Identity.</xs:documentation>
451
+ </xs:annotation>
452
+ <xs:complexContent>
453
+ <xs:extension base="stixCommon:GenericRelationshipType">
454
+ <xs:sequence>
455
+ <xs:element name="Identity" type="stixCommon:IdentityType" minOccurs="1">
456
+ <xs:annotation>
457
+ <xs:documentation>
458
+ A reference to or representation of the related Identity.
459
+
460
+ This field is implemented through the xsi:type extension mechanism. The default type is CIQIdentity3.0InstanceType in the http://stix.mitre.org/extensions/Identity#CIQIdentity3.0-1 namespace. This type is defined in the extensions/identity/ciq_identity_3.0.xsd file or at the URL http://stix.mitre.org/XMLSchema/extensions/identity/ciq_identity_3.0/1.0/ciq_identity_3.0.xsd.
461
+ </xs:documentation>
462
+ </xs:annotation>
463
+ </xs:element>
464
+ </xs:sequence>
465
+ </xs:extension>
466
+ </xs:complexContent>
467
+ </xs:complexType>
468
+ <!-- End of relationships -->
469
+ <!---->
470
+ <!--The following are a set of base, stub types defined for the decoupling of the different STIX component schemas. Each individual component schema type is defined as an extension of the relevant base type defined here. Inline usages of the main component structures will leverage these base types and instance content can simply include that structured content with the appropriate xsi:type reference. Alternatively, instances can use the base types themselves to reference using the @idref attribute -->
471
+ <xs:complexType name="IndicatorBaseType">
472
+ <xs:annotation>
473
+ <xs:documentation>
474
+ This type represents the STIX Indicator component. It is extended using the XML Schema Extension feature by the STIX Indicator type itself. Users of this type who wish to express a full indicator using STIX must do so using the xsi:type extension feature. The STIX-defined Indicator type is IndicatorType in the http://stix.mitre.org/Indicator-1 namespace. This type is defined in the indicator.xsd file or at the URL http://stix.mitre.org/XMLSchema/indicator/1.2/indicator.xsd.
475
+
476
+ Alternatively, uses that require simply specifying an idref as a reference to an indicator defined elsewhere can do so without specifying an xsi:type.
477
+ </xs:documentation>
478
+ </xs:annotation>
479
+ <xs:attribute name="id" type="xs:QName" use="optional">
480
+ <xs:annotation>
481
+ <xs:documentation>Specifies a unique ID for this Indicator.</xs:documentation>
482
+ </xs:annotation>
483
+ </xs:attribute>
484
+ <xs:attribute name="idref" type="xs:QName">
485
+ <xs:annotation>
486
+ <xs:documentation>Specifies a reference to the ID of an Indicator specified elsewhere.</xs:documentation>
487
+ </xs:annotation>
488
+ </xs:attribute>
489
+ </xs:complexType>
490
+ <xs:complexType name="IncidentBaseType">
491
+ <xs:annotation>
492
+ <xs:documentation>
493
+ This type represents the STIX Incident component. It is extended using the XML Schema Extension feature by the STIX Incident type itself. Users of this type who wish to express a full incident using STIX must do so using the xsi:type extension feature. The STIX-defined Incident type is IncidentType in the http://stix.mitre.org/Incident-1 namespace. This type is defined in the incident.xsd file or at the URL http://stix.mitre.org/XMLSchema/incident/1.0/incident.xsd.
494
+
495
+ Alternatively, uses that require simply specifying an idref as a reference to an incident defined elsewhere can do so without specifying an xsi:type.
496
+ </xs:documentation>
497
+ </xs:annotation>
498
+ <xs:attribute name="id" type="xs:QName">
499
+ <xs:annotation>
500
+ <xs:documentation>Specifies a globally unique identifier for this cyber threat Incident.</xs:documentation>
501
+ </xs:annotation>
502
+ </xs:attribute>
503
+ <xs:attribute name="idref" type="xs:QName">
504
+ <xs:annotation>
505
+ <xs:documentation>Specifies a globally unique identifier for a cyber threat Incident specified elsewhere.</xs:documentation>
506
+ </xs:annotation>
507
+ </xs:attribute>
508
+ </xs:complexType>
509
+ <xs:complexType name="TTPBaseType">
510
+ <xs:annotation>
511
+ <xs:documentation>
512
+ This type represents the STIX TTP component. It is extended using the XML Schema Extension feature by the STIX TTP type itself. Users of this type who wish to express a full TTP using STIX must do so using the xsi:type extension feature. The STIX-defined TTP type is TTPType in the http://stix.mitre.org/TTP-1 namespace. This type is defined in the ttp.xsd file or at the URL http://stix.mitre.org/XMLSchema/ttp/1.0/ttp.xsd.
513
+
514
+ Alternatively, uses that require simply specifying an idref as a reference to a TTP defined elsewhere can do so without specifying an xsi:type.
515
+ </xs:documentation>
516
+ </xs:annotation>
517
+ <xs:attribute name="id" type="xs:QName">
518
+ <xs:annotation>
519
+ <xs:documentation>Specifies a globally unique identifier for this TTP item. </xs:documentation>
520
+ </xs:annotation>
521
+ </xs:attribute>
522
+ <xs:attribute name="idref" type="xs:QName">
523
+ <xs:annotation>
524
+ <xs:documentation>Specifies a globally unique identifier of a TTP item specified elsewhere.</xs:documentation>
525
+ </xs:annotation>
526
+ </xs:attribute>
527
+ </xs:complexType>
528
+ <xs:complexType name="ExploitTargetBaseType">
529
+ <xs:annotation>
530
+ <xs:documentation>
531
+ This type represents the STIX Exploit Target component. It is extended using the XML Schema Extension feature by the STIX Exploit Target type itself. Users of this type who wish to express a full exploit target using STIX must do so using the xsi:type extension feature. The STIX-defined Exploit Target type is ExploitTargetType in the http://stix.mitre.org/ExploitTarget-1 namespace. This type is defined in the exploit_target.xsd file or at the URL http://stix.mitre.org/XMLSchema/exploit_target/1.0/exploit_target.xsd.
532
+
533
+ Alternatively, uses that require simply specifying an idref as a reference to an exploit target defined elsewhere can do so without specifying an xsi:type.
534
+ </xs:documentation>
535
+ </xs:annotation>
536
+ <xs:attribute name="id" type="xs:QName">
537
+ <xs:annotation>
538
+ <xs:documentation>Specifies a globally unique identifier for this ExploitTarget. </xs:documentation>
539
+ </xs:annotation>
540
+ </xs:attribute>
541
+ <xs:attribute name="idref" type="xs:QName">
542
+ <xs:annotation>
543
+ <xs:documentation>Specifies a globally unique identifier of an ExploitTarget specified elsewhere.</xs:documentation>
544
+ </xs:annotation>
545
+ </xs:attribute>
546
+ </xs:complexType>
547
+ <xs:complexType name="CourseOfActionBaseType">
548
+ <xs:annotation>
549
+ <xs:documentation>
550
+ This type represents the STIX Course of Action component. It is extended using the XML Schema Extension feature by the STIX Course of Action type itself. Users of this type who wish to express a full course of action using STIX must do so using the xsi:type extension feature. The STIX-defined Course of Action type is CourseOfActionType in the http://stix.mitre.org/CourseOfAction-1 namespace. This type is defined in the course_of_action.xsd file or at the URL http://stix.mitre.org/XMLSchema/course_of_action/1.0/course_of_action.xsd.
551
+
552
+ Alternatively, uses that require simply specifying an idref as a reference to a course of action defined elsewhere can do so without specifying an xsi:type.
553
+ </xs:documentation>
554
+ </xs:annotation>
555
+ <xs:attribute name="id" type="xs:QName">
556
+ <xs:annotation>
557
+ <xs:documentation>Specifies a globally unique identifier for this COA. </xs:documentation>
558
+ </xs:annotation>
559
+ </xs:attribute>
560
+ <xs:attribute name="idref" type="xs:QName">
561
+ <xs:annotation>
562
+ <xs:documentation>Specifies a globally unique identifier of a COA specified elsewhere.</xs:documentation>
563
+ </xs:annotation>
564
+ </xs:attribute>
565
+ </xs:complexType>
566
+ <xs:complexType name="CampaignBaseType">
567
+ <xs:annotation>
568
+ <xs:documentation>
569
+ This type represents the STIX Campaign component. It is extended using the XML Schema Extension feature by the STIX Campaign type itself. Users of this type who wish to express a full campaign using STIX must do so using the xsi:type extension feature. The STIX-defined Campaign type is CampaignType in the http://stix.mitre.org/Campaign-1 namespace. This type is defined in the campaign.xsd file or at the URL http://stix.mitre.org/XMLSchema/campaign/1.0/campaign.xsd.
570
+
571
+ Alternatively, uses that require simply specifying an idref as a reference to a campaign defined elsewhere can do so without specifying an xsi:type.
572
+ </xs:documentation>
573
+ </xs:annotation>
574
+ <xs:attribute name="id" type="xs:QName">
575
+ <xs:annotation>
576
+ <xs:documentation>Specifies a globally unique identifier for this cyber threat Campaign.</xs:documentation>
577
+ </xs:annotation>
578
+ </xs:attribute>
579
+ <xs:attribute name="idref" type="xs:QName">
580
+ <xs:annotation>
581
+ <xs:documentation>Specifies a globally unique identifier for a cyber threat Campaign specified elsewhere.</xs:documentation>
582
+ </xs:annotation>
583
+ </xs:attribute>
584
+ </xs:complexType>
585
+ <xs:complexType name="ThreatActorBaseType">
586
+ <xs:annotation>
587
+ <xs:documentation>
588
+ This type represents the STIX Threat Actor component. It is extended using the XML Schema Extension feature by the STIX Threat Actor type itself. Users of this type who wish to express a full threat actor using STIX must do so using the xsi:type extension feature. The STIX-defined Threat Actor type is ThreatActorType in the http://stix.mitre.org/ThreatActor-1 namespace. This type is defined in the threat_actor.xsd file or at the URL http://stix.mitre.org/XMLSchema/threat_actor/1.0/threat_actor.xsd.
589
+
590
+ Alternatively, uses that require simply specifying an idref as a reference to a threat actor defined elsewhere can do so without specifying an xsi:type.
591
+ </xs:documentation>
592
+ </xs:annotation>
593
+ <xs:attribute name="id" type="xs:QName">
594
+ <xs:annotation>
595
+ <xs:documentation>Specifies a globally unique identifier for this ThreatActor. </xs:documentation>
596
+ </xs:annotation>
597
+ </xs:attribute>
598
+ <xs:attribute name="idref" type="xs:QName">
599
+ <xs:annotation>
600
+ <xs:documentation>Specifies a globally unique identifier of a ThreatActor specified elsewhere.</xs:documentation>
601
+ </xs:annotation>
602
+ </xs:attribute>
603
+ </xs:complexType>
604
+ <!-- End of component base types -->
605
+ <xs:complexType name="ExploitTargetsType">
606
+ <xs:sequence>
607
+ <xs:element name="Exploit_Target" type="stixCommon:ExploitTargetBaseType" minOccurs="0" maxOccurs="unbounded">
608
+ <xs:annotation>
609
+ <xs:documentation>
610
+ The Exploit_Target field characterizes a potential vulnerability, weakness or configuration target for exploitation.
611
+
612
+ This field is implemented through the xsi:type extension mechanism. The default and strongly recommended type is ExploitTargetType in the http://stix.mitre.org/ExploitTarget-1 namespace. This type is defined in the exploit_target.xsd file or at the URL http://stix.mitre.org/XMLSchema/exploit_target/1.0/exploit_target.xsd.
613
+ </xs:documentation>
614
+ </xs:annotation>
615
+ </xs:element>
616
+ </xs:sequence>
617
+ </xs:complexType>
618
+ <xs:complexType name="AddressAbstractType" abstract="true">
619
+ <xs:annotation>
620
+ <xs:documentation>
621
+ The AddressAbstractType is used to express geographic address information.
622
+
623
+ This type is intended to be extended through the xsi:type mechanism. The default type is CIQAddress3.0InstanceType in the http://stix.mitre.org/extensions/Address#CIQAddress3.0-1 namespace. This type is defined in the extensions/identity/ciq_address_3.0.xsd file or at the URL http://stix.mitre.org/XMLSchema/extensions/address/ciq_address_3.0/1.0/ciq_address_3.0.xsd.
624
+ </xs:documentation>
625
+ </xs:annotation>
626
+ </xs:complexType>
627
+ <xs:complexType name="ContributorsType">
628
+ <xs:sequence>
629
+ <xs:element name="Contributor" type="stixCommon:IdentityType" minOccurs="0" maxOccurs="unbounded">
630
+ <xs:annotation>
631
+ <xs:documentation>
632
+ This field contains information describing the identity, resources and timing of involvement for a single contributor.
633
+
634
+ This field is implemented through the xsi:type extension mechanism. The default type is CIQIdentity3.0InstanceType in the http://stix.mitre.org/extensions/Identity#CIQIdentity3.0-1 namespace. This type is defined in the extensions/identity/ciq_identity.xsd file or at the URL http://stix.mitre.org/XMLSchema/extensions/identity/ciq_identity/1.0/ciq_identity.xsd.
635
+
636
+ Those who wish to express a simple name may also do so by not specifying an xsi:type and using the Name field.
637
+ </xs:documentation>
638
+ </xs:annotation>
639
+ </xs:element>
640
+ </xs:sequence>
641
+ </xs:complexType>
642
+ <xs:complexType name="ReferencesType">
643
+ <xs:sequence>
644
+ <xs:element name="Reference" type="xs:anyURI" maxOccurs="unbounded">
645
+ <xs:annotation>
646
+ <xs:documentation>The Reference field is optional and enables specification of a reference to an information source material.</xs:documentation>
647
+ </xs:annotation>
648
+ </xs:element>
649
+ </xs:sequence>
650
+ </xs:complexType>
651
+ <xs:complexType name="RelatedIdentitiesType">
652
+ <xs:sequence>
653
+ <xs:element name="Related_Identity" type="stixCommon:RelatedIdentityType" maxOccurs="unbounded">
654
+ <xs:annotation>
655
+ <xs:documentation>The Related_Identity field identifies a single other entity Identity related to this entity Identity.</xs:documentation>
656
+ </xs:annotation>
657
+ </xs:element>
658
+ </xs:sequence>
659
+ </xs:complexType>
660
+ <xs:complexType name="ConfidenceAssertionChainType">
661
+ <xs:sequence>
662
+ <xs:element name="Confidence_Assertion" type="stixCommon:ConfidenceType" maxOccurs="unbounded">
663
+ <xs:annotation>
664
+ <xs:documentation>The Confidence_Assertion field specifies a related confidence level in this assertion along with who made it, when it was made and how it was made.</xs:documentation>
665
+ </xs:annotation>
666
+ </xs:element>
667
+ </xs:sequence>
668
+ </xs:complexType>
669
+ <xs:complexType name="StatementType">
670
+ <xs:annotation>
671
+ <xs:documentation>
672
+ StatementType allows the expression of a statement with an associated value, description, source, confidence, and timestamp.
673
+ </xs:documentation>
674
+ </xs:annotation>
675
+ <xs:sequence>
676
+ <xs:element name="Value" type="stixCommon:ControlledVocabularyStringType" minOccurs="0">
677
+ <xs:annotation>
678
+ <xs:documentation>
679
+ Specifies a value characterizing the statement within some vocabulary.
680
+
681
+ This field is implemented through the xsi:type controlled vocabulary extension mechanism. The default vocabulary may be provided by the field using this construct. If that's the case, the schema annotations on that element will describe which vocabulary to use. If not, the default vocabulary is HighMediumLowVocab-1.0 in the http://stix.mitre.org/default_vocabularies-1 namespace. This type is defined in the stix_default_vocabularies.xsd file or at the URL http://stix.mitre.org/XMLSchema/default_vocabularies/1.0.0/stix_default_vocabularies.xsd .
682
+
683
+ Users may also define their own vocabulary using the type extension mechanism, specify a vocabulary name and reference using the attributes, or simply use this as a string field.
684
+ </xs:documentation>
685
+ </xs:annotation>
686
+ </xs:element>
687
+ <xs:element name="Description" type="stixCommon:StructuredTextType" minOccurs="0">
688
+ <xs:annotation>
689
+ <xs:documentation>Specifies a prose description of the statement.</xs:documentation>
690
+ </xs:annotation>
691
+ </xs:element>
692
+ <xs:element name="Source" type="stixCommon:ControlledVocabularyStringType" minOccurs="0">
693
+ <xs:annotation>
694
+ <xs:documentation>
695
+ The Source field captures the source of this statement. An optional vocabulary name and reference allows the expression of the source name in some given vocabulary context.
696
+
697
+ This field is implemented through the xsi:type controlled vocabulary extension mechanism. No default vocabulary type has been defined for STIX 1.0. Users may either define their own vocabulary using the type extension mechanism, specify a vocabulary name and reference using the attributes, or simply use this as a free string field.
698
+ </xs:documentation>
699
+ </xs:annotation>
700
+ </xs:element>
701
+ <xs:element name="Confidence" type="stixCommon:ConfidenceType" minOccurs="0">
702
+ <xs:annotation>
703
+ <xs:documentation>The Confidence field characterizes the level of confidence held in the statement.</xs:documentation>
704
+ </xs:annotation>
705
+ </xs:element>
706
+ </xs:sequence>
707
+ <xs:attribute name="timestamp" type="xs:dateTime">
708
+ <xs:annotation>
709
+ <xs:documentation>Specifies the time this statement was asserted.</xs:documentation>
710
+ </xs:annotation>
711
+ </xs:attribute>
712
+ </xs:complexType>
713
+ <xs:complexType name="StructuredTextType">
714
+ <xs:annotation>
715
+ <xs:documentation>The StructuredTextType is a type representing a generalized structure for capturing structured or unstructured textual information such as descriptions of things. It mirrors a similar type in CybOX 2.0</xs:documentation>
716
+ </xs:annotation>
717
+ <xs:simpleContent>
718
+ <xs:extension base="xs:string">
719
+ <xs:attribute name="structuring_format" type="xs:string" use="optional">
720
+ <xs:annotation>
721
+ <xs:documentation>Used to indicate a particular structuring format (e.g., HTML5) used within an instance of StructuredTextType. Note that if the markup tags used by this format would be interpreted as XML information (such as the bracket-based tags of HTML) the text area should be enclosed in a CDATA section to prevent the markup from interferring with XML validation of the CybOX document. If this attribute is absent, the implication is that no markup is being used.</xs:documentation>
722
+ </xs:annotation>
723
+ </xs:attribute>
724
+ </xs:extension>
725
+ </xs:simpleContent>
726
+ </xs:complexType>
727
+ <xs:complexType name="EncodedCDATAType">
728
+ <xs:annotation>
729
+ <xs:documentation>
730
+ This type is used to represent data in an XML CDATA block. Data in a CDATA block may either be represented as-is or, in cases where it may contain characters that are not valid in CDATA, it may be encoded in Base64 per RFC4648. Data encoded in Base64 must be denoted as such using the encoded attribute.
731
+ </xs:documentation>
732
+ </xs:annotation>
733
+ <xs:simpleContent>
734
+ <xs:extension base="xs:string">
735
+ <xs:attribute name="encoded" type="xs:boolean" default="false">
736
+ <xs:annotation>
737
+ <xs:documentation>If true, specifies that the content encoded in the element is encoded using Base64 per RFC4648.</xs:documentation>
738
+ </xs:annotation>
739
+ </xs:attribute>
740
+ </xs:extension>
741
+ </xs:simpleContent>
742
+ </xs:complexType>
743
+ <xs:complexType name="ControlledVocabularyStringType">
744
+ <xs:annotation>
745
+ <xs:documentation>The ControlledVocabularyStringType is used as the basis for defining controlled vocabularies.</xs:documentation>
746
+ </xs:annotation>
747
+ <xs:simpleContent>
748
+ <xs:extension base="xs:anySimpleType">
749
+ <xs:attribute name="vocab_name" type="xs:string" use="optional">
750
+ <xs:annotation>
751
+ <xs:documentation>The vocab_name field specifies the name of the controlled vocabulary.</xs:documentation>
752
+ </xs:annotation>
753
+ </xs:attribute>
754
+ <xs:attribute name="vocab_reference" type="xs:anyURI" use="optional">
755
+ <xs:annotation>
756
+ <xs:documentation>The vocab_reference field specifies the URI to the location of where the controlled vocabulary is defined, e.g., in an externally located XML schema file.</xs:documentation>
757
+ </xs:annotation>
758
+ </xs:attribute>
759
+ </xs:extension>
760
+ </xs:simpleContent>
761
+ </xs:complexType>
762
+ </xs:schema>