stix_schema_spy 1.0 → 1.1

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 (175) hide show
  1. checksums.yaml +8 -8
  2. data/config/1.1/stix/cybox/objects/Win_Hook_Object.xsd +1 -1
  3. data/config/1.1.1/stix/campaign.xsd +220 -0
  4. data/config/1.1.1/stix/course_of_action.xsd +191 -0
  5. data/config/1.1.1/stix/cybox/cybox_common.xsd +2700 -0
  6. data/config/1.1.1/stix/cybox/cybox_core.xsd +1145 -0
  7. data/config/1.1.1/stix/cybox/cybox_default_vocabularies.xsd +5180 -0
  8. data/config/1.1.1/stix/cybox/extensions/location/ciq_address_3.0.xsd +27 -0
  9. data/config/1.1.1/stix/cybox/extensions/platform/cpe2.3.xsd +34 -0
  10. data/config/1.1.1/stix/cybox/external/cpe_2.3/cpe-language_2.3.xsd +234 -0
  11. data/config/1.1.1/stix/cybox/external/cpe_2.3/cpe-naming_2.3.xsd +45 -0
  12. data/config/1.1.1/stix/cybox/external/cpe_2.3/xml.xsd +145 -0
  13. data/config/1.1.1/stix/cybox/external/oasis_ciq_3.0/CommonTypes.xsd +104 -0
  14. data/config/1.1.1/stix/cybox/external/oasis_ciq_3.0/xAL-types.xsd +511 -0
  15. data/config/1.1.1/stix/cybox/external/oasis_ciq_3.0/xAL.xsd +672 -0
  16. data/config/1.1.1/stix/cybox/external/oasis_ciq_3.0/xNAL-types.xsd +36 -0
  17. data/config/1.1.1/stix/cybox/external/oasis_ciq_3.0/xNAL.xsd +126 -0
  18. data/config/1.1.1/stix/cybox/external/oasis_ciq_3.0/xNL-types.xsd +222 -0
  19. data/config/1.1.1/stix/cybox/external/oasis_ciq_3.0/xNL.xsd +284 -0
  20. data/config/1.1.1/stix/cybox/external/oasis_ciq_3.0/xPIL-types.xsd +854 -0
  21. data/config/1.1.1/stix/cybox/external/oasis_ciq_3.0/xPIL.xsd +1621 -0
  22. data/config/1.1.1/stix/cybox/external/oasis_ciq_3.0/xlink-2003-12-31.xsd +90 -0
  23. data/config/1.1.1/stix/cybox/objects/API_Object.xsd +55 -0
  24. data/config/1.1.1/stix/cybox/objects/ARP_Cache_Object.xsd +98 -0
  25. data/config/1.1.1/stix/cybox/objects/AS_Object.xsd +50 -0
  26. data/config/1.1.1/stix/cybox/objects/Account_Object.xsd +501 -0
  27. data/config/1.1.1/stix/cybox/objects/Address_Object.xsd +127 -0
  28. data/config/1.1.1/stix/cybox/objects/Archive_File_Object.xsd +134 -0
  29. data/config/1.1.1/stix/cybox/objects/Artifact_Object.xsd +212 -0
  30. data/config/1.1.1/stix/cybox/objects/Code_Object.xsd +417 -0
  31. data/config/1.1.1/stix/cybox/objects/Custom_Object.xsd +42 -0
  32. data/config/1.1.1/stix/cybox/objects/DNS_Cache_Object.xsd +53 -0
  33. data/config/1.1.1/stix/cybox/objects/DNS_Query_Object.xsd +164 -0
  34. data/config/1.1.1/stix/cybox/objects/DNS_Record_Object.xsd +92 -0
  35. data/config/1.1.1/stix/cybox/objects/Device_Object.xsd +65 -0
  36. data/config/1.1.1/stix/cybox/objects/Disk_Object.xsd +117 -0
  37. data/config/1.1.1/stix/cybox/objects/Disk_Partition_Object.xsd +199 -0
  38. data/config/1.1.1/stix/cybox/objects/Domain_Name_Object.xsd +57 -0
  39. data/config/1.1.1/stix/cybox/objects/Email_Message_Object.xsd +278 -0
  40. data/config/1.1.1/stix/cybox/objects/File_Object.xsd +397 -0
  41. data/config/1.1.1/stix/cybox/objects/GUI_Dialogbox_Object.xsd +41 -0
  42. data/config/1.1.1/stix/cybox/objects/GUI_Object.xsd +40 -0
  43. data/config/1.1.1/stix/cybox/objects/GUI_Window_Object.xsd +46 -0
  44. data/config/1.1.1/stix/cybox/objects/HTTP_Session_Object.xsd +633 -0
  45. data/config/1.1.1/stix/cybox/objects/Hostname_Object.xsd +45 -0
  46. data/config/1.1.1/stix/cybox/objects/Image_File_Object.xsd +124 -0
  47. data/config/1.1.1/stix/cybox/objects/Library_Object.xsd +114 -0
  48. data/config/1.1.1/stix/cybox/objects/Link_Object.xsd +36 -0
  49. data/config/1.1.1/stix/cybox/objects/Linux_Package_Object.xsd +75 -0
  50. data/config/1.1.1/stix/cybox/objects/Memory_Object.xsd +141 -0
  51. data/config/1.1.1/stix/cybox/objects/Mutex_Object.xsd +40 -0
  52. data/config/1.1.1/stix/cybox/objects/Network_Connection_Object.xsd +540 -0
  53. data/config/1.1.1/stix/cybox/objects/Network_Flow_Object.xsd +1559 -0
  54. data/config/1.1.1/stix/cybox/objects/Network_Packet_Object.xsd +2934 -0
  55. data/config/1.1.1/stix/cybox/objects/Network_Route_Entry_Object.xsd +155 -0
  56. data/config/1.1.1/stix/cybox/objects/Network_Route_Object.xsd +93 -0
  57. data/config/1.1.1/stix/cybox/objects/Network_Socket_Object.xsd +529 -0
  58. data/config/1.1.1/stix/cybox/objects/Network_Subnet_Object.xsd +64 -0
  59. data/config/1.1.1/stix/cybox/objects/PDF_File_Object.xsd +595 -0
  60. data/config/1.1.1/stix/cybox/objects/Pipe_Object.xsd +40 -0
  61. data/config/1.1.1/stix/cybox/objects/Port_Object.xsd +40 -0
  62. data/config/1.1.1/stix/cybox/objects/Process_Object.xsd +199 -0
  63. data/config/1.1.1/stix/cybox/objects/Product_Object.xsd +65 -0
  64. data/config/1.1.1/stix/cybox/objects/SMS_Message_Object.xsd +79 -0
  65. data/config/1.1.1/stix/cybox/objects/Semaphore_Object.xsd +50 -0
  66. data/config/1.1.1/stix/cybox/objects/Socket_Address_Object.xsd +50 -0
  67. data/config/1.1.1/stix/cybox/objects/System_Object.xsd +410 -0
  68. data/config/1.1.1/stix/cybox/objects/URI_Object.xsd +62 -0
  69. data/config/1.1.1/stix/cybox/objects/URL_History_Object.xsd +104 -0
  70. data/config/1.1.1/stix/cybox/objects/Unix_File_Object.xsd +164 -0
  71. data/config/1.1.1/stix/cybox/objects/Unix_Network_Route_Entry_Object.xsd +56 -0
  72. data/config/1.1.1/stix/cybox/objects/Unix_Pipe_Object.xsd +36 -0
  73. data/config/1.1.1/stix/cybox/objects/Unix_Process_Object.xsd +143 -0
  74. data/config/1.1.1/stix/cybox/objects/Unix_User_Account_Object.xsd +78 -0
  75. data/config/1.1.1/stix/cybox/objects/Unix_Volume_Object.xsd +41 -0
  76. data/config/1.1.1/stix/cybox/objects/User_Account_Object.xsd +110 -0
  77. data/config/1.1.1/stix/cybox/objects/User_Session_Object.xsd +60 -0
  78. data/config/1.1.1/stix/cybox/objects/Volume_Object.xsd +235 -0
  79. data/config/1.1.1/stix/cybox/objects/Whois_Object.xsd +430 -0
  80. data/config/1.1.1/stix/cybox/objects/Win_Computer_Account_Object.xsd +135 -0
  81. data/config/1.1.1/stix/cybox/objects/Win_Critical_Section_Object.xsd +40 -0
  82. data/config/1.1.1/stix/cybox/objects/Win_Driver_Object.xsd +270 -0
  83. data/config/1.1.1/stix/cybox/objects/Win_Event_Log_Object.xsd +137 -0
  84. data/config/1.1.1/stix/cybox/objects/Win_Event_Object.xsd +80 -0
  85. data/config/1.1.1/stix/cybox/objects/Win_Executable_File_Object.xsd +1311 -0
  86. data/config/1.1.1/stix/cybox/objects/Win_File_Object.xsd +269 -0
  87. data/config/1.1.1/stix/cybox/objects/Win_Filemapping_Object.xsd +175 -0
  88. data/config/1.1.1/stix/cybox/objects/Win_Handle_Object.xsd +351 -0
  89. data/config/1.1.1/stix/cybox/objects/Win_Hook_Object.xsd +152 -0
  90. data/config/1.1.1/stix/cybox/objects/Win_Kernel_Hook_Object.xsd +109 -0
  91. data/config/1.1.1/stix/cybox/objects/Win_Kernel_Object.xsd +128 -0
  92. data/config/1.1.1/stix/cybox/objects/Win_Mailslot_Object.xsd +56 -0
  93. data/config/1.1.1/stix/cybox/objects/Win_Memory_Page_Region_Object.xsd +198 -0
  94. data/config/1.1.1/stix/cybox/objects/Win_Mutex_Object.xsd +42 -0
  95. data/config/1.1.1/stix/cybox/objects/Win_Network_Route_Entry_Object.xsd +200 -0
  96. data/config/1.1.1/stix/cybox/objects/Win_Network_Share_Object.xsd +205 -0
  97. data/config/1.1.1/stix/cybox/objects/Win_Pipe_Object.xsd +73 -0
  98. data/config/1.1.1/stix/cybox/objects/Win_Prefetch_Object.xsd +113 -0
  99. data/config/1.1.1/stix/cybox/objects/Win_Process_Object.xsd +174 -0
  100. data/config/1.1.1/stix/cybox/objects/Win_Registry_Key_Object.xsd +290 -0
  101. data/config/1.1.1/stix/cybox/objects/Win_Semaphore_Object.xsd +42 -0
  102. data/config/1.1.1/stix/cybox/objects/Win_Service_Object.xsd +287 -0
  103. data/config/1.1.1/stix/cybox/objects/Win_System_Object.xsd +126 -0
  104. data/config/1.1.1/stix/cybox/objects/Win_System_Restore_Object.xsd +207 -0
  105. data/config/1.1.1/stix/cybox/objects/Win_Task_Object.xsd +755 -0
  106. data/config/1.1.1/stix/cybox/objects/Win_Thread_Object.xsd +146 -0
  107. data/config/1.1.1/stix/cybox/objects/Win_User_Account_Object.xsd +73 -0
  108. data/config/1.1.1/stix/cybox/objects/Win_Volume_Object.xsd +161 -0
  109. data/config/1.1.1/stix/cybox/objects/Win_Waitable_Timer_Object.xsd +90 -0
  110. data/config/1.1.1/stix/cybox/objects/X509_Certificate_Object.xsd +275 -0
  111. data/config/1.1.1/stix/data_marking.xsd +97 -0
  112. data/config/1.1.1/stix/exploit_target.xsd +324 -0
  113. data/config/1.1.1/stix/extensions/address/ciq_3.0_address.xsd +27 -0
  114. data/config/1.1.1/stix/extensions/attack_pattern/capec_2.7_attack_pattern.xsd +31 -0
  115. data/config/1.1.1/stix/extensions/identity/ciq_3.0_identity.xsd +113 -0
  116. data/config/1.1.1/stix/extensions/malware/maec_4.1_malware.xsd +31 -0
  117. data/config/1.1.1/stix/extensions/marking/simple_marking.xsd +31 -0
  118. data/config/1.1.1/stix/extensions/marking/terms_of_use_marking.xsd +31 -0
  119. data/config/1.1.1/stix/extensions/marking/tlp_marking.xsd +40 -0
  120. data/config/1.1.1/stix/extensions/structured_coa/generic_structured_coa.xsd +46 -0
  121. data/config/1.1.1/stix/extensions/test_mechanism/generic_test_mechanism.xsd +46 -0
  122. data/config/1.1.1/stix/extensions/test_mechanism/open_ioc_2010_test_mechanism.xsd +32 -0
  123. data/config/1.1.1/stix/extensions/test_mechanism/oval_5.10_test_mechanism.xsd +37 -0
  124. data/config/1.1.1/stix/extensions/test_mechanism/snort_test_mechanism.xsd +56 -0
  125. data/config/1.1.1/stix/extensions/test_mechanism/yara_test_mechanism.xsd +36 -0
  126. data/config/1.1.1/stix/extensions/vulnerability/cvrf_1.1_vulnerability.xsd +33 -0
  127. data/config/1.1.1/stix/external/capec_2.7/ap_schema_v2.7.xsd +3618 -0
  128. data/config/1.1.1/stix/external/cvrf_1.1/common.xsd +176 -0
  129. data/config/1.1.1/stix/external/cvrf_1.1/cpe-language_2.2a.xsd +182 -0
  130. data/config/1.1.1/stix/external/cvrf_1.1/cvrf.xsd +487 -0
  131. data/config/1.1.1/stix/external/cvrf_1.1/cvss-v2_0.9.xsd +415 -0
  132. data/config/1.1.1/stix/external/cvrf_1.1/dc.xsd +118 -0
  133. data/config/1.1.1/stix/external/cvrf_1.1/prod.xsd +292 -0
  134. data/config/1.1.1/stix/external/cvrf_1.1/scap-core_0.9.xsd +170 -0
  135. data/config/1.1.1/stix/external/cvrf_1.1/vuln.xsd +631 -0
  136. data/config/1.1.1/stix/external/cvrf_1.1/xml.xsd +287 -0
  137. data/config/1.1.1/stix/external/maec_4.1/maec_bundle_schema.xsd +1228 -0
  138. data/config/1.1.1/stix/external/maec_4.1/maec_container_schema.xsd +62 -0
  139. data/config/1.1.1/stix/external/maec_4.1/maec_default_vocabularies.xsd +5325 -0
  140. data/config/1.1.1/stix/external/maec_4.1/maec_package_schema.xsd +1095 -0
  141. data/config/1.1.1/stix/external/maec_4.1/metadataSharing.xsd +1712 -0
  142. data/config/1.1.1/stix/external/oasis_ciq_3.0/CommonTypes.xsd +104 -0
  143. data/config/1.1.1/stix/external/oasis_ciq_3.0/xAL-types.xsd +511 -0
  144. data/config/1.1.1/stix/external/oasis_ciq_3.0/xAL.xsd +672 -0
  145. data/config/1.1.1/stix/external/oasis_ciq_3.0/xNAL-types.xsd +36 -0
  146. data/config/1.1.1/stix/external/oasis_ciq_3.0/xNAL.xsd +126 -0
  147. data/config/1.1.1/stix/external/oasis_ciq_3.0/xNL-types.xsd +222 -0
  148. data/config/1.1.1/stix/external/oasis_ciq_3.0/xNL.xsd +284 -0
  149. data/config/1.1.1/stix/external/oasis_ciq_3.0/xPIL-types.xsd +854 -0
  150. data/config/1.1.1/stix/external/oasis_ciq_3.0/xPIL.xsd +1621 -0
  151. data/config/1.1.1/stix/external/oasis_ciq_3.0/xlink-2003-12-31.xsd +90 -0
  152. data/config/1.1.1/stix/external/open_ioc_2010/ioc-TR.xsd +25 -0
  153. data/config/1.1.1/stix/external/open_ioc_2010/ioc.xsd +105 -0
  154. data/config/1.1.1/stix/external/oval_5.10/oval-common-schema.xsd +781 -0
  155. data/config/1.1.1/stix/external/oval_5.10/oval-definitions-schema.xsd +1608 -0
  156. data/config/1.1.1/stix/external/oval_5.10/oval-variables-schema.xsd +84 -0
  157. data/config/1.1.1/stix/external/oval_5.10/xmldsig-core-schema.xsd +309 -0
  158. data/config/1.1.1/stix/incident.xsd +762 -0
  159. data/config/1.1.1/stix/indicator.xsd +368 -0
  160. data/config/1.1.1/stix/stix_common.xsd +923 -0
  161. data/config/1.1.1/stix/stix_core.xsd +253 -0
  162. data/config/1.1.1/stix/stix_default_vocabularies.xsd +2081 -0
  163. data/config/1.1.1/stix/threat_actor.xsd +182 -0
  164. data/config/1.1.1/stix/ttp.xsd +430 -0
  165. data/config/1.1.1/uber_schema.xsd +149 -0
  166. data/lib/stix_schema_spy/models/attribute.rb +1 -1
  167. data/lib/stix_schema_spy/models/element.rb +2 -9
  168. data/lib/stix_schema_spy/models/external_type.rb +29 -0
  169. data/lib/stix_schema_spy/models/has_children.rb +9 -9
  170. data/lib/stix_schema_spy/models/node.rb +7 -6
  171. data/lib/stix_schema_spy/models/schema.rb +6 -4
  172. data/lib/stix_schema_spy/models/type.rb +44 -5
  173. data/lib/stix_schema_spy/util/tasks.rb +15 -14
  174. data/lib/stix_schema_spy/version.rb +1 -1
  175. metadata +171 -9
@@ -0,0 +1,155 @@
1
+ <?xml version='1.0' encoding='UTF-8'?>
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:AddressObj="http://cybox.mitre.org/objects#AddressObject-2" xmlns:NetworkRouteEntryObj="http://cybox.mitre.org/objects#NetworkRouteEntryObject-2" xmlns:cyboxCommon="http://cybox.mitre.org/common-2" targetNamespace="http://cybox.mitre.org/objects#NetworkRouteEntryObject-2" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.1">
3
+ <xs:annotation>
4
+ <xs:documentation>This schema was originally developed by The MITRE Corporation. The CybOX XML Schema implementation is maintained by The MITRE Corporation and developed by the open CybOX Community. For more information, including how to get involved in the effort and how to submit change requests, please visit the CybOX website at http://cybox.mitre.org.</xs:documentation>
5
+ <xs:appinfo>
6
+ <schema>Network_Route_Entry_Object</schema>
7
+ <version>2.1</version>
8
+ <date>01/22/2014</date>
9
+ <short_description>The following specifies the fields and types that compose this defined CybOX Object type. Each defined object is an extension of the abstract ObjectPropertiesType, defined in CybOX Common. For more information on this extension mechanism, please see the CybOX Specification. This document is intended for developers and assumes some familiarity with XML. </short_description>
10
+ <terms_of_use>Copyright (c) 2012-2014, The MITRE Corporation. All rights reserved. The contents of this file are subject to the terms of the CybOX License located at http://cybox.mitre.org/about/termsofuse.html. See the CybOX License for the specific language governing permissions and limitations for use of this schema. When distributing copies of the CybOX Schema, this license header must be included.</terms_of_use>
11
+ </xs:appinfo>
12
+ </xs:annotation>
13
+ <xs:import namespace="http://cybox.mitre.org/common-2" schemaLocation="../cybox_common.xsd"/>
14
+ <xs:import namespace="http://cybox.mitre.org/objects#AddressObject-2" schemaLocation="Address_Object.xsd"/>
15
+ <xs:element name="Network_Route_Entry" type="NetworkRouteEntryObj:NetworkRouteEntryObjectType">
16
+ <xs:annotation>
17
+ <xs:documentation>The Network_Route_Entry object is intended to characterize generic system network routing table entries.</xs:documentation>
18
+ </xs:annotation>
19
+ </xs:element>
20
+ <xs:complexType name="NetworkRouteEntryObjectType" mixed="false">
21
+ <xs:annotation>
22
+ <xs:documentation>The NetworkRouteEntryObjectType type is intended to characterize generic system network routing table entries.</xs:documentation>
23
+ </xs:annotation>
24
+ <xs:complexContent>
25
+ <xs:extension base="cyboxCommon:ObjectPropertiesType">
26
+ <xs:sequence>
27
+ <xs:element name="Destination_Address" type="AddressObj:AddressObjectType" minOccurs="0">
28
+ <xs:annotation>
29
+ <xs:documentation>The Destination_Address field specifies the destination IP address of the network route. It imports and uses the AddressObjectType from the CybOX Address object.</xs:documentation>
30
+ </xs:annotation>
31
+ </xs:element>
32
+ <xs:element name="Origin" type="AddressObj:AddressObjectType" minOccurs="0">
33
+ <xs:annotation>
34
+ <xs:documentation>The Origin field specifies the origin address of the network route. It imports and uses the AddressObjectType from the CybOX Address object.</xs:documentation>
35
+ </xs:annotation>
36
+ </xs:element>
37
+ <xs:element name="Netmask" type="AddressObj:AddressObjectType" minOccurs="0">
38
+ <xs:annotation>
39
+ <xs:documentation>The Netmask field specifies the netmask for the destination network.</xs:documentation>
40
+ </xs:annotation>
41
+ </xs:element>
42
+ <xs:element name="Gateway_Address" type="AddressObj:AddressObjectType" minOccurs="0">
43
+ <xs:annotation>
44
+ <xs:documentation>The Gateway_Address field specifies the IP address of the gateway through which all packets using this route will be gatewayed. It imports and uses the AddressObjectType from the CybOX Address object.</xs:documentation>
45
+ </xs:annotation>
46
+ </xs:element>
47
+ <xs:element name="Metric" type="cyboxCommon:UnsignedLongObjectPropertyType" minOccurs="0">
48
+ <xs:annotation>
49
+ <xs:documentation>The Metric field specifies the distance to the target, in terms of hops.</xs:documentation>
50
+ </xs:annotation>
51
+ </xs:element>
52
+ <xs:element name="Type" type="NetworkRouteEntryObj:RouteType" minOccurs="0">
53
+ <xs:annotation>
54
+ <xs:documentation>The Type field specifies the type of network route being characterized.</xs:documentation>
55
+ </xs:annotation>
56
+ </xs:element>
57
+ <xs:element name="Protocol" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
58
+ <xs:annotation>
59
+ <xs:documentation>The Protocol field specifies the name of the routing protocol that the route was added with.</xs:documentation>
60
+ </xs:annotation>
61
+ </xs:element>
62
+ <xs:element name="Interface" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
63
+ <xs:annotation>
64
+ <xs:documentation>The Interface field specifies the name of the network interface to which all packets for the route will be sent.</xs:documentation>
65
+ </xs:annotation>
66
+ </xs:element>
67
+ <xs:element name="Preferred_Lifetime" type="cyboxCommon:DurationObjectPropertyType" minOccurs="0">
68
+ <xs:annotation>
69
+ <xs:documentation>The Preferred_Lifetime field specifies the preferred lifetime of the route, in seconds.</xs:documentation>
70
+ </xs:annotation>
71
+ </xs:element>
72
+ <xs:element name="Valid_Lifetime" type="cyboxCommon:DurationObjectPropertyType" minOccurs="0">
73
+ <xs:annotation>
74
+ <xs:documentation>The Valid_Lifetime field specifies the lifetime for which the route is valid, in seconds.</xs:documentation>
75
+ </xs:annotation>
76
+ </xs:element>
77
+ <xs:element name="Route_Age" type="cyboxCommon:DurationObjectPropertyType" minOccurs="0">
78
+ <xs:annotation>
79
+ <xs:documentation>The Route_Age field specifies the number of seconds since the route was added or modified in the routing table.</xs:documentation>
80
+ </xs:annotation>
81
+ </xs:element>
82
+ </xs:sequence>
83
+ <xs:attribute name="is_ipv6" type="xs:boolean">
84
+ <xs:annotation>
85
+ <xs:documentation>The is_ipv6 field specifies whether the route uses IPv6 addresses.</xs:documentation>
86
+ </xs:annotation>
87
+ </xs:attribute>
88
+ <xs:attribute name="is_autoconfigure_address" type="xs:boolean">
89
+ <xs:annotation>
90
+ <xs:documentation>The is_autoconfigure_address field specifies whether the destination IP address for the route is automatically configured.</xs:documentation>
91
+ </xs:annotation>
92
+ </xs:attribute>
93
+ <xs:attribute name="is_immortal" type="xs:boolean">
94
+ <xs:annotation>
95
+ <xs:documentation>The is_immortal field specifies whether the lifetimes for the route prefixes are infinite.</xs:documentation>
96
+ </xs:annotation>
97
+ </xs:attribute>
98
+ <xs:attribute name="is_loopback" type="xs:boolean">
99
+ <xs:annotation>
100
+ <xs:documentation>The is_loopback field specifies whether the route is the default for all packets sent to local network addresses.</xs:documentation>
101
+ </xs:annotation>
102
+ </xs:attribute>
103
+ <xs:attribute name="is_publish" type="xs:boolean">
104
+ <xs:annotation>
105
+ <xs:documentation>The is_publish field specifies whether the route is published.</xs:documentation>
106
+ </xs:annotation>
107
+ </xs:attribute>
108
+ </xs:extension>
109
+ </xs:complexContent>
110
+ </xs:complexType>
111
+ <xs:complexType name="RouteType">
112
+ <xs:annotation>
113
+ <xs:documentation>RouteType specifies route types, via a union of the RouteTypeEnum type and the atomic xs:string type. Its base type is the CybOX Core BaseObjectPropertyType, for permitting complex (i.e. regular-expression based) specifications.</xs:documentation>
114
+ </xs:annotation>
115
+ <xs:simpleContent>
116
+ <xs:restriction base="cyboxCommon:BaseObjectPropertyType">
117
+ <xs:simpleType>
118
+ <xs:union memberTypes="NetworkRouteEntryObj:RouteTypeEnum xs:string"/>
119
+ </xs:simpleType>
120
+ <xs:attribute name="datatype" type="cyboxCommon:DatatypeEnum" fixed="string">
121
+ <xs:annotation>
122
+ <xs:documentation>This attribute is optional and specifies the expected type for the value of the specified property.</xs:documentation>
123
+ </xs:annotation>
124
+ </xs:attribute>
125
+ </xs:restriction>
126
+ </xs:simpleContent>
127
+ </xs:complexType>
128
+ <xs:simpleType name="RouteTypeEnum">
129
+ <xs:annotation>
130
+ <xs:documentation>The RouteTypeEnum type is an enumeration of network route types.</xs:documentation>
131
+ </xs:annotation>
132
+ <xs:restriction base="xs:string">
133
+ <xs:enumeration value="Other">
134
+ <xs:annotation>
135
+ <xs:documentation/>
136
+ </xs:annotation>
137
+ </xs:enumeration>
138
+ <xs:enumeration value="Invalid">
139
+ <xs:annotation>
140
+ <xs:documentation>Indicates a route that is invalid.</xs:documentation>
141
+ </xs:annotation>
142
+ </xs:enumeration>
143
+ <xs:enumeration value="Direct">
144
+ <xs:annotation>
145
+ <xs:documentation>Indicates routing from one machine directly to another, where both machines reside on the same physical network.</xs:documentation>
146
+ </xs:annotation>
147
+ </xs:enumeration>
148
+ <xs:enumeration value="Indirect">
149
+ <xs:annotation>
150
+ <xs:documentation>Indicates routing that is not direct and must be set to a gateway.</xs:documentation>
151
+ </xs:annotation>
152
+ </xs:enumeration>
153
+ </xs:restriction>
154
+ </xs:simpleType>
155
+ </xs:schema>
@@ -0,0 +1,93 @@
1
+ <?xml version='1.0' encoding='UTF-8'?>
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:NetworkRouteObj="http://cybox.mitre.org/objects#NetworkRouteObject-2" xmlns:cyboxCommon="http://cybox.mitre.org/common-2" xmlns:NetworkRouteEntryObj="http://cybox.mitre.org/objects#NetworkRouteEntryObject-2" targetNamespace="http://cybox.mitre.org/objects#NetworkRouteObject-2" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.1">
3
+ <xs:annotation>
4
+ <xs:documentation>This schema was originally developed by The MITRE Corporation. The CybOX XML Schema implementation is maintained by The MITRE Corporation and developed by the open CybOX Community. For more information, including how to get involved in the effort and how to submit change requests, please visit the CybOX website at http://cybox.mitre.org.</xs:documentation>
5
+ <xs:appinfo>
6
+ <schema>Network_Route_Object</schema>
7
+ <version>2.1</version>
8
+ <date>01/22/2014</date>
9
+ <short_description>The following specifies the fields and types that compose this defined CybOX Object type. Each defined object is an extension of the abstract ObjectPropertiesType, defined in CybOX Common. For more information on this extension mechanism, please see the CybOX Specification. This document is intended for developers and assumes some familiarity with XML. </short_description>
10
+ <terms_of_use>Copyright (c) 2012-2014, The MITRE Corporation. All rights reserved. The contents of this file are subject to the terms of the CybOX License located at http://cybox.mitre.org/about/termsofuse.html. See the CybOX License for the specific language governing permissions and limitations for use of this schema. When distributing copies of the CybOX Schema, this license header must be included.</terms_of_use>
11
+ </xs:appinfo>
12
+ </xs:annotation>
13
+ <xs:import namespace="http://cybox.mitre.org/common-2" schemaLocation="../cybox_common.xsd"/>
14
+ <xs:import namespace="http://cybox.mitre.org/objects#NetworkRouteEntryObject-2" schemaLocation="Network_Route_Entry_Object.xsd"/>
15
+ <xs:element name="Network_Route_Object" type="NetworkRouteObj:NetRouteObjectType">
16
+ <xs:annotation>
17
+ <xs:documentation>The Network_Route_Object object is intended to specify a single network route.</xs:documentation>
18
+ </xs:annotation>
19
+ </xs:element>
20
+ <xs:complexType name="NetRouteObjectType">
21
+ <xs:annotation>
22
+ <xs:documentation>The NetRouteObjectType type is intended to characterize a specific network route.</xs:documentation>
23
+ </xs:annotation>
24
+ <xs:complexContent>
25
+ <xs:extension base="cyboxCommon:ObjectPropertiesType">
26
+ <xs:sequence>
27
+ <xs:element name="Description" type="cyboxCommon:StructuredTextType" minOccurs="0">
28
+ <xs:annotation>
29
+ <xs:documentation>The Description field is intended for use in providing a brief description of the network route.</xs:documentation>
30
+ </xs:annotation>
31
+ </xs:element>
32
+ <xs:element name="Network_Route_Entries" type="NetworkRouteObj:NetworkRouteEntriesType" minOccurs="0">
33
+ <xs:annotation>
34
+ <xs:documentation>The Network_Route_Entries field is optional and characterizes a set of network route segment entries.</xs:documentation>
35
+ </xs:annotation>
36
+ </xs:element>
37
+ <xs:element name="Preferred_Lifetime" type="cyboxCommon:DurationObjectPropertyType" minOccurs="0">
38
+ <xs:annotation>
39
+ <xs:documentation>The Preferred_Lifetime field is intended to specify the preferred time, in seconds, that the IP route entry is valid. A value of 0xffffffff is considered to be infinite.</xs:documentation>
40
+ </xs:annotation>
41
+ </xs:element>
42
+ <xs:element name="Valid_Lifetime" type="cyboxCommon:DurationObjectPropertyType" minOccurs="0">
43
+ <xs:annotation>
44
+ <xs:documentation>The Valid_Lifetime field is intended to specify the maximum time, in seconds, that the IP route entry is valid. A value of 0xffffffff is considered to be infinite.</xs:documentation>
45
+ </xs:annotation>
46
+ </xs:element>
47
+ <xs:element name="Route_Age" type="cyboxCommon:DurationObjectPropertyType" minOccurs="0">
48
+ <xs:annotation>
49
+ <xs:documentation>The Route_Age field is intended to characterize the number of seconds since the route was added or modified in the network routing table.</xs:documentation>
50
+ </xs:annotation>
51
+ </xs:element>
52
+ </xs:sequence>
53
+ <xs:attribute name="is_ipv6" type="xs:boolean">
54
+ <xs:annotation>
55
+ <xs:documentation>The is_ipv6 field specifies whether or not the route uses IPv6 addresses.</xs:documentation>
56
+ </xs:annotation>
57
+ </xs:attribute>
58
+ <xs:attribute name="is_autoconfigure_address" type="xs:boolean">
59
+ <xs:annotation>
60
+ <xs:documentation>The is_autoconfigure_address field specifies if the IP address is autoconfigured.</xs:documentation>
61
+ </xs:annotation>
62
+ </xs:attribute>
63
+ <xs:attribute name="is_immortal" type="xs:boolean">
64
+ <xs:annotation>
65
+ <xs:documentation>The is_immortal field specifies if the route is immortal.</xs:documentation>
66
+ </xs:annotation>
67
+ </xs:attribute>
68
+ <xs:attribute name="is_loopback" type="xs:boolean">
69
+ <xs:annotation>
70
+ <xs:documentation>The is_loopback field specifies if the route is a loopback route (the gateway is on the local host).</xs:documentation>
71
+ </xs:annotation>
72
+ </xs:attribute>
73
+ <xs:attribute name="is_publish" type="xs:boolean">
74
+ <xs:annotation>
75
+ <xs:documentation>The is_publish field specifies if the route is published.</xs:documentation>
76
+ </xs:annotation>
77
+ </xs:attribute>
78
+ </xs:extension>
79
+ </xs:complexContent>
80
+ </xs:complexType>
81
+ <xs:complexType name="NetworkRouteEntriesType">
82
+ <xs:annotation>
83
+ <xs:documentation>The NetworkRouteEntriesType type is intended to characterize the set of network route segments for this route.</xs:documentation>
84
+ </xs:annotation>
85
+ <xs:sequence>
86
+ <xs:element name="Network_Route_Entry" type="NetworkRouteEntryObj:NetworkRouteEntryObjectType" minOccurs="0" maxOccurs="unbounded">
87
+ <xs:annotation>
88
+ <xs:documentation>The Network_Route field is optional and characterizes a single network route segment entry.</xs:documentation>
89
+ </xs:annotation>
90
+ </xs:element>
91
+ </xs:sequence>
92
+ </xs:complexType>
93
+ </xs:schema>