stix_schema_spy 1.3 → 1.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. checksums.yaml +4 -4
  2. data/config/1.2/stix/campaign.xsd +2 -2
  3. data/config/1.2/stix/cybox/cybox_common.xsd +2700 -2700
  4. data/config/1.2/stix/cybox/cybox_core.xsd +1145 -1145
  5. data/config/1.2/stix/cybox/cybox_default_vocabularies.xsd +5180 -5180
  6. data/config/1.2/stix/cybox/extensions/location/ciq_address_3.0.xsd +27 -27
  7. data/config/1.2/stix/cybox/extensions/platform/cpe2.3.xsd +34 -34
  8. data/config/1.2/stix/cybox/external/cpe_2.3/xml.xsd +145 -145
  9. data/config/1.2/stix/cybox/external/oasis_ciq_3.0/xlink-2003-12-31.xsd +90 -90
  10. data/config/1.2/stix/cybox/objects/API_Object.xsd +55 -55
  11. data/config/1.2/stix/cybox/objects/ARP_Cache_Object.xsd +98 -98
  12. data/config/1.2/stix/cybox/objects/AS_Object.xsd +50 -50
  13. data/config/1.2/stix/cybox/objects/Account_Object.xsd +501 -501
  14. data/config/1.2/stix/cybox/objects/Address_Object.xsd +127 -127
  15. data/config/1.2/stix/cybox/objects/Archive_File_Object.xsd +134 -134
  16. data/config/1.2/stix/cybox/objects/Artifact_Object.xsd +212 -212
  17. data/config/1.2/stix/cybox/objects/Code_Object.xsd +417 -417
  18. data/config/1.2/stix/cybox/objects/Custom_Object.xsd +42 -42
  19. data/config/1.2/stix/cybox/objects/DNS_Cache_Object.xsd +53 -53
  20. data/config/1.2/stix/cybox/objects/DNS_Query_Object.xsd +164 -164
  21. data/config/1.2/stix/cybox/objects/DNS_Record_Object.xsd +92 -92
  22. data/config/1.2/stix/cybox/objects/Device_Object.xsd +65 -65
  23. data/config/1.2/stix/cybox/objects/Disk_Object.xsd +117 -117
  24. data/config/1.2/stix/cybox/objects/Disk_Partition_Object.xsd +199 -199
  25. data/config/1.2/stix/cybox/objects/Domain_Name_Object.xsd +57 -57
  26. data/config/1.2/stix/cybox/objects/Email_Message_Object.xsd +278 -278
  27. data/config/1.2/stix/cybox/objects/File_Object.xsd +397 -397
  28. data/config/1.2/stix/cybox/objects/GUI_Dialogbox_Object.xsd +41 -41
  29. data/config/1.2/stix/cybox/objects/GUI_Object.xsd +40 -40
  30. data/config/1.2/stix/cybox/objects/GUI_Window_Object.xsd +46 -46
  31. data/config/1.2/stix/cybox/objects/HTTP_Session_Object.xsd +633 -633
  32. data/config/1.2/stix/cybox/objects/Hostname_Object.xsd +45 -45
  33. data/config/1.2/stix/cybox/objects/Image_File_Object.xsd +124 -124
  34. data/config/1.2/stix/cybox/objects/Library_Object.xsd +114 -114
  35. data/config/1.2/stix/cybox/objects/Link_Object.xsd +36 -36
  36. data/config/1.2/stix/cybox/objects/Linux_Package_Object.xsd +75 -75
  37. data/config/1.2/stix/cybox/objects/Memory_Object.xsd +141 -141
  38. data/config/1.2/stix/cybox/objects/Mutex_Object.xsd +40 -40
  39. data/config/1.2/stix/cybox/objects/Network_Connection_Object.xsd +540 -540
  40. data/config/1.2/stix/cybox/objects/Network_Flow_Object.xsd +1559 -1559
  41. data/config/1.2/stix/cybox/objects/Network_Packet_Object.xsd +2934 -2934
  42. data/config/1.2/stix/cybox/objects/Network_Route_Entry_Object.xsd +155 -155
  43. data/config/1.2/stix/cybox/objects/Network_Route_Object.xsd +93 -93
  44. data/config/1.2/stix/cybox/objects/Network_Socket_Object.xsd +529 -529
  45. data/config/1.2/stix/cybox/objects/Network_Subnet_Object.xsd +64 -64
  46. data/config/1.2/stix/cybox/objects/PDF_File_Object.xsd +595 -595
  47. data/config/1.2/stix/cybox/objects/Pipe_Object.xsd +40 -40
  48. data/config/1.2/stix/cybox/objects/Port_Object.xsd +40 -40
  49. data/config/1.2/stix/cybox/objects/Process_Object.xsd +199 -199
  50. data/config/1.2/stix/cybox/objects/Product_Object.xsd +65 -65
  51. data/config/1.2/stix/cybox/objects/SMS_Message_Object.xsd +79 -79
  52. data/config/1.2/stix/cybox/objects/Semaphore_Object.xsd +50 -50
  53. data/config/1.2/stix/cybox/objects/Socket_Address_Object.xsd +50 -50
  54. data/config/1.2/stix/cybox/objects/System_Object.xsd +410 -410
  55. data/config/1.2/stix/cybox/objects/URI_Object.xsd +62 -62
  56. data/config/1.2/stix/cybox/objects/URL_History_Object.xsd +104 -104
  57. data/config/1.2/stix/cybox/objects/Unix_File_Object.xsd +164 -164
  58. data/config/1.2/stix/cybox/objects/Unix_Network_Route_Entry_Object.xsd +56 -56
  59. data/config/1.2/stix/cybox/objects/Unix_Pipe_Object.xsd +36 -36
  60. data/config/1.2/stix/cybox/objects/Unix_Process_Object.xsd +143 -143
  61. data/config/1.2/stix/cybox/objects/Unix_User_Account_Object.xsd +78 -78
  62. data/config/1.2/stix/cybox/objects/Unix_Volume_Object.xsd +41 -41
  63. data/config/1.2/stix/cybox/objects/User_Account_Object.xsd +110 -110
  64. data/config/1.2/stix/cybox/objects/User_Session_Object.xsd +60 -60
  65. data/config/1.2/stix/cybox/objects/Volume_Object.xsd +235 -235
  66. data/config/1.2/stix/cybox/objects/Whois_Object.xsd +430 -430
  67. data/config/1.2/stix/cybox/objects/Win_Computer_Account_Object.xsd +135 -135
  68. data/config/1.2/stix/cybox/objects/Win_Critical_Section_Object.xsd +40 -40
  69. data/config/1.2/stix/cybox/objects/Win_Driver_Object.xsd +270 -270
  70. data/config/1.2/stix/cybox/objects/Win_Event_Log_Object.xsd +137 -137
  71. data/config/1.2/stix/cybox/objects/Win_Event_Object.xsd +80 -80
  72. data/config/1.2/stix/cybox/objects/Win_Executable_File_Object.xsd +1311 -1311
  73. data/config/1.2/stix/cybox/objects/Win_File_Object.xsd +269 -269
  74. data/config/1.2/stix/cybox/objects/Win_Filemapping_Object.xsd +175 -175
  75. data/config/1.2/stix/cybox/objects/Win_Handle_Object.xsd +351 -351
  76. data/config/1.2/stix/cybox/objects/Win_Hook_Object.xsd +152 -152
  77. data/config/1.2/stix/cybox/objects/Win_Kernel_Hook_Object.xsd +109 -109
  78. data/config/1.2/stix/cybox/objects/Win_Kernel_Object.xsd +128 -128
  79. data/config/1.2/stix/cybox/objects/Win_Mailslot_Object.xsd +56 -56
  80. data/config/1.2/stix/cybox/objects/Win_Memory_Page_Region_Object.xsd +198 -198
  81. data/config/1.2/stix/cybox/objects/Win_Mutex_Object.xsd +42 -42
  82. data/config/1.2/stix/cybox/objects/Win_Network_Route_Entry_Object.xsd +200 -200
  83. data/config/1.2/stix/cybox/objects/Win_Network_Share_Object.xsd +205 -205
  84. data/config/1.2/stix/cybox/objects/Win_Pipe_Object.xsd +73 -73
  85. data/config/1.2/stix/cybox/objects/Win_Prefetch_Object.xsd +113 -113
  86. data/config/1.2/stix/cybox/objects/Win_Process_Object.xsd +174 -174
  87. data/config/1.2/stix/cybox/objects/Win_Registry_Key_Object.xsd +290 -290
  88. data/config/1.2/stix/cybox/objects/Win_Semaphore_Object.xsd +42 -42
  89. data/config/1.2/stix/cybox/objects/Win_Service_Object.xsd +287 -287
  90. data/config/1.2/stix/cybox/objects/Win_System_Object.xsd +126 -126
  91. data/config/1.2/stix/cybox/objects/Win_System_Restore_Object.xsd +207 -207
  92. data/config/1.2/stix/cybox/objects/Win_Task_Object.xsd +755 -755
  93. data/config/1.2/stix/cybox/objects/Win_Thread_Object.xsd +146 -146
  94. data/config/1.2/stix/cybox/objects/Win_User_Account_Object.xsd +73 -73
  95. data/config/1.2/stix/cybox/objects/Win_Volume_Object.xsd +161 -161
  96. data/config/1.2/stix/cybox/objects/Win_Waitable_Timer_Object.xsd +90 -90
  97. data/config/1.2/stix/cybox/objects/X509_Certificate_Object.xsd +275 -275
  98. data/config/1.2/stix/data_marking.xsd +5 -5
  99. data/config/1.2/stix/exploit_target.xsd +2 -2
  100. data/config/1.2/stix/incident.xsd +1 -1
  101. data/config/1.2/stix/indicator.xsd +6 -6
  102. data/config/1.2/stix/report.xsd +6 -6
  103. data/config/1.2/stix/stix_common.xsd +22 -22
  104. data/config/1.2/stix/stix_core.xsd +7 -7
  105. data/config/1.2/stix/stix_default_vocabularies.xsd +8 -8
  106. data/config/1.2/stix/ttp.xsd +1 -1
  107. data/lib/stix_schema_spy/models/has_children.rb +3 -3
  108. data/lib/stix_schema_spy/version.rb +1 -1
  109. metadata +2 -2
@@ -1,42 +1,42 @@
1
- <?xml version='1.0' encoding='UTF-8'?>
2
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:CustomObj="http://cybox.mitre.org/objects#CustomObject-1" xmlns:cyboxCommon="http://cybox.mitre.org/common-2" targetNamespace="http://cybox.mitre.org/objects#CustomObject-1" elementFormDefault="qualified" version="1.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>Custom_Object</schema>
7
- <version>1.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
-
15
- <xs:element name="Custom" type="CustomObj:CustomObjectType">
16
- <xs:annotation>
17
- <xs:documentation>The Custom object is intended to characterize objects that are not described by other defined CybOX Object schemas. Objects of this type have no pre-defined properties but instead all properties are provided by the author..</xs:documentation>
18
- </xs:annotation>
19
- </xs:element>
20
-
21
- <xs:complexType name="CustomObjectType" mixed="false">
22
- <xs:annotation>
23
- <xs:documentation>The CustomObjectType is intended to characterize objects that are not described by other defined CybOX Object schemas. Objects of this type have no pre-defined properties but instead all properties are provided by the author using the inherited Custom_Properties field.</xs:documentation>
24
- </xs:annotation>
25
- <xs:complexContent>
26
- <xs:extension base="cyboxCommon:ObjectPropertiesType">
27
- <xs:sequence>
28
- <xs:element name="Description" type="xs:string" minOccurs="0">
29
- <xs:annotation>
30
- <xs:documentation>A description of the intent of this Custom object.</xs:documentation>
31
- </xs:annotation>
32
- </xs:element>
33
- </xs:sequence>
34
- <xs:attribute name="custom_name" type="xs:QName">
35
- <xs:annotation>
36
- <xs:documentation>The custom_name field specifies a name for this for this type of Custom Object. The custom_name field should use the same namespace as used in the Object and Observable id fields for this author. Two Objects should only have the same custom_name value if they are written by the same author (i.e., their namespace is the same) and they are characterizing the same type of Object. Note that this does not necessarily mean that two such Object instances will both have identical properties in every case.</xs:documentation>
37
- </xs:annotation>
38
- </xs:attribute>
39
- </xs:extension>
40
- </xs:complexContent>
41
- </xs:complexType>
42
- </xs:schema>
1
+ <?xml version='1.0' encoding='UTF-8'?>
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:CustomObj="http://cybox.mitre.org/objects#CustomObject-1" xmlns:cyboxCommon="http://cybox.mitre.org/common-2" targetNamespace="http://cybox.mitre.org/objects#CustomObject-1" elementFormDefault="qualified" version="1.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>Custom_Object</schema>
7
+ <version>1.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
+
15
+ <xs:element name="Custom" type="CustomObj:CustomObjectType">
16
+ <xs:annotation>
17
+ <xs:documentation>The Custom object is intended to characterize objects that are not described by other defined CybOX Object schemas. Objects of this type have no pre-defined properties but instead all properties are provided by the author..</xs:documentation>
18
+ </xs:annotation>
19
+ </xs:element>
20
+
21
+ <xs:complexType name="CustomObjectType" mixed="false">
22
+ <xs:annotation>
23
+ <xs:documentation>The CustomObjectType is intended to characterize objects that are not described by other defined CybOX Object schemas. Objects of this type have no pre-defined properties but instead all properties are provided by the author using the inherited Custom_Properties field.</xs:documentation>
24
+ </xs:annotation>
25
+ <xs:complexContent>
26
+ <xs:extension base="cyboxCommon:ObjectPropertiesType">
27
+ <xs:sequence>
28
+ <xs:element name="Description" type="xs:string" minOccurs="0">
29
+ <xs:annotation>
30
+ <xs:documentation>A description of the intent of this Custom object.</xs:documentation>
31
+ </xs:annotation>
32
+ </xs:element>
33
+ </xs:sequence>
34
+ <xs:attribute name="custom_name" type="xs:QName">
35
+ <xs:annotation>
36
+ <xs:documentation>The custom_name field specifies a name for this for this type of Custom Object. The custom_name field should use the same namespace as used in the Object and Observable id fields for this author. Two Objects should only have the same custom_name value if they are written by the same author (i.e., their namespace is the same) and they are characterizing the same type of Object. Note that this does not necessarily mean that two such Object instances will both have identical properties in every case.</xs:documentation>
37
+ </xs:annotation>
38
+ </xs:attribute>
39
+ </xs:extension>
40
+ </xs:complexContent>
41
+ </xs:complexType>
42
+ </xs:schema>
@@ -1,53 +1,53 @@
1
- <?xml version='1.0' encoding='UTF-8'?>
2
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:DNSCacheObj="http://cybox.mitre.org/objects#DNSCacheObject-2" xmlns:DNSRecordObj="http://cybox.mitre.org/objects#DNSRecordObject-2" xmlns:cyboxCommon="http://cybox.mitre.org/common-2" targetNamespace="http://cybox.mitre.org/objects#DNSCacheObject-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>DNS_Cache_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#DNSRecordObject-2" schemaLocation="DNS_Record_Object.xsd"/>
15
- <xs:element name="DNS_Cache" type="DNSCacheObj:DNSCacheObjectType">
16
- <xs:annotation>
17
- <xs:documentation>The DNS_Cache object is intended to characterize a domain name system cache.</xs:documentation>
18
- </xs:annotation>
19
- </xs:element>
20
- <xs:complexType name="DNSCacheObjectType" mixed="false">
21
- <xs:annotation>
22
- <xs:documentation>The DNSCacheObjectType type is intended to characterize entries in a system's DNS cache.</xs:documentation>
23
- </xs:annotation>
24
- <xs:complexContent>
25
- <xs:extension base="cyboxCommon:ObjectPropertiesType">
26
- <xs:sequence>
27
- <xs:element name="DNS_Cache_Entry" type="DNSCacheObj:DNSCacheEntryType" maxOccurs="unbounded">
28
- <xs:annotation>
29
- <xs:documentation>The DNS_Cache_Entry field is intended to characterize a single domain name system cache entry.</xs:documentation>
30
- </xs:annotation>
31
- </xs:element>
32
- </xs:sequence>
33
- </xs:extension>
34
- </xs:complexContent>
35
- </xs:complexType>
36
- <xs:complexType name="DNSCacheEntryType">
37
- <xs:annotation>
38
- <xs:documentation>The DNSCacheEntryType type is intended to characterize a single entry in a system's DNS cache.</xs:documentation>
39
- </xs:annotation>
40
- <xs:sequence>
41
- <xs:element name="DNS_Entry" type="DNSRecordObj:DNSRecordObjectType" minOccurs="0">
42
- <xs:annotation>
43
- <xs:documentation>The DNS_Entry field specifies the relevant DNS entry (including Domain Name and IP Address) for this DNS Cache Entry.</xs:documentation>
44
- </xs:annotation>
45
- </xs:element>
46
- <xs:element name="TTL" type="cyboxCommon:PositiveIntegerObjectPropertyType" minOccurs="0">
47
- <xs:annotation>
48
- <xs:documentation>The TTL field specifies the time-to-live value for the DNS cache entry, or in other words the number of seconds before the entry expires.</xs:documentation>
49
- </xs:annotation>
50
- </xs:element>
51
- </xs:sequence>
52
- </xs:complexType>
53
- </xs:schema>
1
+ <?xml version='1.0' encoding='UTF-8'?>
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:DNSCacheObj="http://cybox.mitre.org/objects#DNSCacheObject-2" xmlns:DNSRecordObj="http://cybox.mitre.org/objects#DNSRecordObject-2" xmlns:cyboxCommon="http://cybox.mitre.org/common-2" targetNamespace="http://cybox.mitre.org/objects#DNSCacheObject-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>DNS_Cache_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#DNSRecordObject-2" schemaLocation="DNS_Record_Object.xsd"/>
15
+ <xs:element name="DNS_Cache" type="DNSCacheObj:DNSCacheObjectType">
16
+ <xs:annotation>
17
+ <xs:documentation>The DNS_Cache object is intended to characterize a domain name system cache.</xs:documentation>
18
+ </xs:annotation>
19
+ </xs:element>
20
+ <xs:complexType name="DNSCacheObjectType" mixed="false">
21
+ <xs:annotation>
22
+ <xs:documentation>The DNSCacheObjectType type is intended to characterize entries in a system's DNS cache.</xs:documentation>
23
+ </xs:annotation>
24
+ <xs:complexContent>
25
+ <xs:extension base="cyboxCommon:ObjectPropertiesType">
26
+ <xs:sequence>
27
+ <xs:element name="DNS_Cache_Entry" type="DNSCacheObj:DNSCacheEntryType" maxOccurs="unbounded">
28
+ <xs:annotation>
29
+ <xs:documentation>The DNS_Cache_Entry field is intended to characterize a single domain name system cache entry.</xs:documentation>
30
+ </xs:annotation>
31
+ </xs:element>
32
+ </xs:sequence>
33
+ </xs:extension>
34
+ </xs:complexContent>
35
+ </xs:complexType>
36
+ <xs:complexType name="DNSCacheEntryType">
37
+ <xs:annotation>
38
+ <xs:documentation>The DNSCacheEntryType type is intended to characterize a single entry in a system's DNS cache.</xs:documentation>
39
+ </xs:annotation>
40
+ <xs:sequence>
41
+ <xs:element name="DNS_Entry" type="DNSRecordObj:DNSRecordObjectType" minOccurs="0">
42
+ <xs:annotation>
43
+ <xs:documentation>The DNS_Entry field specifies the relevant DNS entry (including Domain Name and IP Address) for this DNS Cache Entry.</xs:documentation>
44
+ </xs:annotation>
45
+ </xs:element>
46
+ <xs:element name="TTL" type="cyboxCommon:PositiveIntegerObjectPropertyType" minOccurs="0">
47
+ <xs:annotation>
48
+ <xs:documentation>The TTL field specifies the time-to-live value for the DNS cache entry, or in other words the number of seconds before the entry expires.</xs:documentation>
49
+ </xs:annotation>
50
+ </xs:element>
51
+ </xs:sequence>
52
+ </xs:complexType>
53
+ </xs:schema>
@@ -1,164 +1,164 @@
1
- <?xml version='1.0' encoding='UTF-8'?>
2
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:DNSQueryObj="http://cybox.mitre.org/objects#DNSQueryObject-2" xmlns:URIObj="http://cybox.mitre.org/objects#URIObject-2" xmlns:DNSRecordObj="http://cybox.mitre.org/objects#DNSRecordObject-2" xmlns:cyboxCommon="http://cybox.mitre.org/common-2" targetNamespace="http://cybox.mitre.org/objects#DNSQueryObject-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>DNS_Query_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#DNSRecordObject-2" schemaLocation="DNS_Record_Object.xsd"/>
15
- <xs:import namespace="http://cybox.mitre.org/objects#URIObject-2" schemaLocation="URI_Object.xsd"/>
16
- <xs:element name="DNS_Query" type="DNSQueryObj:DNSQueryObjectType">
17
- <xs:annotation>
18
- <xs:documentation>The DNS_Query object is intended to represent a single DNS query.</xs:documentation>
19
- </xs:annotation>
20
- </xs:element>
21
- <xs:complexType name="DNSQueryObjectType">
22
- <xs:annotation>
23
- <xs:documentation>The DNSQueryType is intended to characterize a single DNS query and its components.</xs:documentation>
24
- </xs:annotation>
25
- <xs:complexContent>
26
- <xs:extension base="cyboxCommon:ObjectPropertiesType">
27
- <xs:sequence>
28
- <xs:element name="Transaction_ID" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
29
- <xs:annotation>
30
- <xs:documentation>The Transaction_ID field specifies the Transaction ID value of the DNS query message header.</xs:documentation>
31
- </xs:annotation>
32
- </xs:element>
33
- <xs:element name="Question" type="DNSQueryObj:DNSQuestionType" minOccurs="0">
34
- <xs:annotation>
35
- <xs:documentation>The Question field specifies the DNS question component of the DNS query.</xs:documentation>
36
- </xs:annotation>
37
- </xs:element>
38
- <xs:element name="Answer_Resource_Records" minOccurs="0" type="DNSQueryObj:DNSResourceRecordsType">
39
- <xs:annotation>
40
- <xs:documentation>The Answers field specifies any Answers resource records that were returned for the DNS query.</xs:documentation>
41
- </xs:annotation>
42
- </xs:element>
43
- <xs:element minOccurs="0" name="Authority_Resource_Records" type="DNSQueryObj:DNSResourceRecordsType">
44
- <xs:annotation>
45
- <xs:documentation>The Authority_Resource_Records field specifies any Authority resource records that were returned for the DNS query.</xs:documentation>
46
- </xs:annotation>
47
- </xs:element>
48
- <xs:element name="Additional_Records" minOccurs="0" type="DNSQueryObj:DNSResourceRecordsType">
49
- <xs:annotation>
50
- <xs:documentation>The Authority_Resource_Records field specifies any Additional resource records that were returned for the DNS query.</xs:documentation>
51
- </xs:annotation>
52
- </xs:element>
53
- <xs:element minOccurs="0" name="Date_Ran" type="cyboxCommon:DateTimeObjectPropertyType">
54
- <xs:annotation>
55
- <xs:documentation>The Date_Ran field specifies the date and time that the DNS query was run.</xs:documentation>
56
- </xs:annotation>
57
- </xs:element>
58
- <xs:element minOccurs="0" name="Service_Used" type="cyboxCommon:StringObjectPropertyType">
59
- <xs:annotation>
60
- <xs:documentation>The Service_Used field specifies the service used to run the DNS Query.</xs:documentation>
61
- </xs:annotation>
62
- </xs:element>
63
- </xs:sequence>
64
- <xs:attribute name="successful" type="xs:boolean">
65
- <xs:annotation>
66
- <xs:documentation>The successful field specifies whether or not the DNS Query was successful.</xs:documentation>
67
- </xs:annotation>
68
- </xs:attribute>
69
- </xs:extension>
70
- </xs:complexContent>
71
- </xs:complexType>
72
- <xs:complexType name="DNSQuestionType">
73
- <xs:annotation>
74
- <xs:documentation>The DNSQuestionType specifies the components of a DNS Question, including the domain name queried, type, and class.</xs:documentation>
75
- </xs:annotation>
76
- <xs:sequence>
77
- <xs:element name="QName" type="URIObj:URIObjectType" minOccurs="0">
78
- <xs:annotation>
79
- <xs:documentation>The QName field specifies the domain name being queried.</xs:documentation>
80
- </xs:annotation>
81
- </xs:element>
82
- <xs:element minOccurs="0" name="QType" type="DNSQueryObj:DNSRecordType">
83
- <xs:annotation>
84
- <xs:documentation>The QType specifies the type of DNS query performed, in terms of the requested DNS record type.</xs:documentation>
85
- </xs:annotation>
86
- </xs:element>
87
- <xs:element minOccurs="0" name="QClass" type="cyboxCommon:StringObjectPropertyType">
88
- <xs:annotation>
89
- <xs:documentation>The QClass field specifies the class of resource records being requested.</xs:documentation>
90
- </xs:annotation>
91
- </xs:element>
92
- </xs:sequence>
93
- </xs:complexType>
94
- <xs:complexType name="DNSResourceRecordsType">
95
- <xs:annotation>
96
- <xs:documentation>The DNSAnswersType encompasses one or more resource records returned for a DNS query.</xs:documentation>
97
- </xs:annotation>
98
- <xs:sequence>
99
- <xs:element name="Resource_Record" type="DNSRecordObj:DNSRecordObjectType" maxOccurs="unbounded">
100
- <xs:annotation>
101
- <xs:documentation>The Answer field specifies a single DNS resource record returned as part of a DNS query.</xs:documentation>
102
- </xs:annotation>
103
- </xs:element>
104
- </xs:sequence>
105
- </xs:complexType>
106
- <xs:complexType name="DNSRecordType">
107
- <xs:annotation>
108
- <xs:documentation>DNSRecordType specifies DNS record types, via a union of the DNSRecordTypeEnum 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>
109
- </xs:annotation>
110
- <xs:simpleContent>
111
- <xs:restriction base="cyboxCommon:BaseObjectPropertyType">
112
- <xs:simpleType>
113
- <xs:union memberTypes="DNSQueryObj:DNSRecordTypeEnum xs:string"/>
114
- </xs:simpleType>
115
- <xs:attribute fixed="string" name="datatype" type="cyboxCommon:DatatypeEnum" use="optional">
116
- <xs:annotation>
117
- <xs:documentation>This attribute is optional and specifies the expected type for the value of the specified property.</xs:documentation>
118
- </xs:annotation>
119
- </xs:attribute>
120
- </xs:restriction>
121
- </xs:simpleContent>
122
- </xs:complexType>
123
- <xs:simpleType name="DNSRecordTypeEnum">
124
- <xs:annotation>
125
- <xs:documentation>The DNSRecordTypeEnum is a non-exhaustive enumeration of DNS Record Type names.</xs:documentation>
126
- </xs:annotation>
127
- <xs:restriction base="xs:string">
128
- <xs:enumeration value="A"/>
129
- <xs:enumeration value="AAAA"/>
130
- <xs:enumeration value="AFSDB"/>
131
- <xs:enumeration value="APL"/>
132
- <xs:enumeration value="CERT"/>
133
- <xs:enumeration value="CNAME"/>
134
- <xs:enumeration value="DHCID"/>
135
- <xs:enumeration value="DLV"/>
136
- <xs:enumeration value="DNAME"/>
137
- <xs:enumeration value="DNSKEY"/>
138
- <xs:enumeration value="DS"/>
139
- <xs:enumeration value="HIP"/>
140
- <xs:enumeration value="IPSECKEY"/>
141
- <xs:enumeration value="KEY"/>
142
- <xs:enumeration value="KX"/>
143
- <xs:enumeration value="LOC"/>
144
- <xs:enumeration value="MX"/>
145
- <xs:enumeration value="NAPTR"/>
146
- <xs:enumeration value="NS"/>
147
- <xs:enumeration value="NSEC"/>
148
- <xs:enumeration value="NSEC3"/>
149
- <xs:enumeration value="NSEC3PARAM"/>
150
- <xs:enumeration value="PTR"/>
151
- <xs:enumeration value="RRSIG"/>
152
- <xs:enumeration value="RP"/>
153
- <xs:enumeration value="SIG"/>
154
- <xs:enumeration value="SOA"/>
155
- <xs:enumeration value="SPF"/>
156
- <xs:enumeration value="SRV"/>
157
- <xs:enumeration value="SSHFP"/>
158
- <xs:enumeration value="TA"/>
159
- <xs:enumeration value="TKEY"/>
160
- <xs:enumeration value="TSIG"/>
161
- <xs:enumeration value="TXT"/>
162
- </xs:restriction>
163
- </xs:simpleType>
164
- </xs:schema>
1
+ <?xml version='1.0' encoding='UTF-8'?>
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:DNSQueryObj="http://cybox.mitre.org/objects#DNSQueryObject-2" xmlns:URIObj="http://cybox.mitre.org/objects#URIObject-2" xmlns:DNSRecordObj="http://cybox.mitre.org/objects#DNSRecordObject-2" xmlns:cyboxCommon="http://cybox.mitre.org/common-2" targetNamespace="http://cybox.mitre.org/objects#DNSQueryObject-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>DNS_Query_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#DNSRecordObject-2" schemaLocation="DNS_Record_Object.xsd"/>
15
+ <xs:import namespace="http://cybox.mitre.org/objects#URIObject-2" schemaLocation="URI_Object.xsd"/>
16
+ <xs:element name="DNS_Query" type="DNSQueryObj:DNSQueryObjectType">
17
+ <xs:annotation>
18
+ <xs:documentation>The DNS_Query object is intended to represent a single DNS query.</xs:documentation>
19
+ </xs:annotation>
20
+ </xs:element>
21
+ <xs:complexType name="DNSQueryObjectType">
22
+ <xs:annotation>
23
+ <xs:documentation>The DNSQueryType is intended to characterize a single DNS query and its components.</xs:documentation>
24
+ </xs:annotation>
25
+ <xs:complexContent>
26
+ <xs:extension base="cyboxCommon:ObjectPropertiesType">
27
+ <xs:sequence>
28
+ <xs:element name="Transaction_ID" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
29
+ <xs:annotation>
30
+ <xs:documentation>The Transaction_ID field specifies the Transaction ID value of the DNS query message header.</xs:documentation>
31
+ </xs:annotation>
32
+ </xs:element>
33
+ <xs:element name="Question" type="DNSQueryObj:DNSQuestionType" minOccurs="0">
34
+ <xs:annotation>
35
+ <xs:documentation>The Question field specifies the DNS question component of the DNS query.</xs:documentation>
36
+ </xs:annotation>
37
+ </xs:element>
38
+ <xs:element name="Answer_Resource_Records" minOccurs="0" type="DNSQueryObj:DNSResourceRecordsType">
39
+ <xs:annotation>
40
+ <xs:documentation>The Answers field specifies any Answers resource records that were returned for the DNS query.</xs:documentation>
41
+ </xs:annotation>
42
+ </xs:element>
43
+ <xs:element minOccurs="0" name="Authority_Resource_Records" type="DNSQueryObj:DNSResourceRecordsType">
44
+ <xs:annotation>
45
+ <xs:documentation>The Authority_Resource_Records field specifies any Authority resource records that were returned for the DNS query.</xs:documentation>
46
+ </xs:annotation>
47
+ </xs:element>
48
+ <xs:element name="Additional_Records" minOccurs="0" type="DNSQueryObj:DNSResourceRecordsType">
49
+ <xs:annotation>
50
+ <xs:documentation>The Authority_Resource_Records field specifies any Additional resource records that were returned for the DNS query.</xs:documentation>
51
+ </xs:annotation>
52
+ </xs:element>
53
+ <xs:element minOccurs="0" name="Date_Ran" type="cyboxCommon:DateTimeObjectPropertyType">
54
+ <xs:annotation>
55
+ <xs:documentation>The Date_Ran field specifies the date and time that the DNS query was run.</xs:documentation>
56
+ </xs:annotation>
57
+ </xs:element>
58
+ <xs:element minOccurs="0" name="Service_Used" type="cyboxCommon:StringObjectPropertyType">
59
+ <xs:annotation>
60
+ <xs:documentation>The Service_Used field specifies the service used to run the DNS Query.</xs:documentation>
61
+ </xs:annotation>
62
+ </xs:element>
63
+ </xs:sequence>
64
+ <xs:attribute name="successful" type="xs:boolean">
65
+ <xs:annotation>
66
+ <xs:documentation>The successful field specifies whether or not the DNS Query was successful.</xs:documentation>
67
+ </xs:annotation>
68
+ </xs:attribute>
69
+ </xs:extension>
70
+ </xs:complexContent>
71
+ </xs:complexType>
72
+ <xs:complexType name="DNSQuestionType">
73
+ <xs:annotation>
74
+ <xs:documentation>The DNSQuestionType specifies the components of a DNS Question, including the domain name queried, type, and class.</xs:documentation>
75
+ </xs:annotation>
76
+ <xs:sequence>
77
+ <xs:element name="QName" type="URIObj:URIObjectType" minOccurs="0">
78
+ <xs:annotation>
79
+ <xs:documentation>The QName field specifies the domain name being queried.</xs:documentation>
80
+ </xs:annotation>
81
+ </xs:element>
82
+ <xs:element minOccurs="0" name="QType" type="DNSQueryObj:DNSRecordType">
83
+ <xs:annotation>
84
+ <xs:documentation>The QType specifies the type of DNS query performed, in terms of the requested DNS record type.</xs:documentation>
85
+ </xs:annotation>
86
+ </xs:element>
87
+ <xs:element minOccurs="0" name="QClass" type="cyboxCommon:StringObjectPropertyType">
88
+ <xs:annotation>
89
+ <xs:documentation>The QClass field specifies the class of resource records being requested.</xs:documentation>
90
+ </xs:annotation>
91
+ </xs:element>
92
+ </xs:sequence>
93
+ </xs:complexType>
94
+ <xs:complexType name="DNSResourceRecordsType">
95
+ <xs:annotation>
96
+ <xs:documentation>The DNSAnswersType encompasses one or more resource records returned for a DNS query.</xs:documentation>
97
+ </xs:annotation>
98
+ <xs:sequence>
99
+ <xs:element name="Resource_Record" type="DNSRecordObj:DNSRecordObjectType" maxOccurs="unbounded">
100
+ <xs:annotation>
101
+ <xs:documentation>The Answer field specifies a single DNS resource record returned as part of a DNS query.</xs:documentation>
102
+ </xs:annotation>
103
+ </xs:element>
104
+ </xs:sequence>
105
+ </xs:complexType>
106
+ <xs:complexType name="DNSRecordType">
107
+ <xs:annotation>
108
+ <xs:documentation>DNSRecordType specifies DNS record types, via a union of the DNSRecordTypeEnum 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>
109
+ </xs:annotation>
110
+ <xs:simpleContent>
111
+ <xs:restriction base="cyboxCommon:BaseObjectPropertyType">
112
+ <xs:simpleType>
113
+ <xs:union memberTypes="DNSQueryObj:DNSRecordTypeEnum xs:string"/>
114
+ </xs:simpleType>
115
+ <xs:attribute fixed="string" name="datatype" type="cyboxCommon:DatatypeEnum" use="optional">
116
+ <xs:annotation>
117
+ <xs:documentation>This attribute is optional and specifies the expected type for the value of the specified property.</xs:documentation>
118
+ </xs:annotation>
119
+ </xs:attribute>
120
+ </xs:restriction>
121
+ </xs:simpleContent>
122
+ </xs:complexType>
123
+ <xs:simpleType name="DNSRecordTypeEnum">
124
+ <xs:annotation>
125
+ <xs:documentation>The DNSRecordTypeEnum is a non-exhaustive enumeration of DNS Record Type names.</xs:documentation>
126
+ </xs:annotation>
127
+ <xs:restriction base="xs:string">
128
+ <xs:enumeration value="A"/>
129
+ <xs:enumeration value="AAAA"/>
130
+ <xs:enumeration value="AFSDB"/>
131
+ <xs:enumeration value="APL"/>
132
+ <xs:enumeration value="CERT"/>
133
+ <xs:enumeration value="CNAME"/>
134
+ <xs:enumeration value="DHCID"/>
135
+ <xs:enumeration value="DLV"/>
136
+ <xs:enumeration value="DNAME"/>
137
+ <xs:enumeration value="DNSKEY"/>
138
+ <xs:enumeration value="DS"/>
139
+ <xs:enumeration value="HIP"/>
140
+ <xs:enumeration value="IPSECKEY"/>
141
+ <xs:enumeration value="KEY"/>
142
+ <xs:enumeration value="KX"/>
143
+ <xs:enumeration value="LOC"/>
144
+ <xs:enumeration value="MX"/>
145
+ <xs:enumeration value="NAPTR"/>
146
+ <xs:enumeration value="NS"/>
147
+ <xs:enumeration value="NSEC"/>
148
+ <xs:enumeration value="NSEC3"/>
149
+ <xs:enumeration value="NSEC3PARAM"/>
150
+ <xs:enumeration value="PTR"/>
151
+ <xs:enumeration value="RRSIG"/>
152
+ <xs:enumeration value="RP"/>
153
+ <xs:enumeration value="SIG"/>
154
+ <xs:enumeration value="SOA"/>
155
+ <xs:enumeration value="SPF"/>
156
+ <xs:enumeration value="SRV"/>
157
+ <xs:enumeration value="SSHFP"/>
158
+ <xs:enumeration value="TA"/>
159
+ <xs:enumeration value="TKEY"/>
160
+ <xs:enumeration value="TSIG"/>
161
+ <xs:enumeration value="TXT"/>
162
+ </xs:restriction>
163
+ </xs:simpleType>
164
+ </xs:schema>