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,45 +1,45 @@
1
- <?xml version='1.0' encoding='UTF-8'?>
2
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:HostnameObj="http://cybox.mitre.org/objects#HostnameObject-1" xmlns:cyboxCommon="http://cybox.mitre.org/common-2" targetNamespace="http://cybox.mitre.org/objects#HostnameObject-1" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0">
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>Hostname_Object</schema>
7
- <version>1.0</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:element name="Hostname" type="HostnameObj:HostnameObjectType">
15
- <xs:annotation>
16
- <xs:documentation>The Hostname object is intended to specify a particular network hostname.</xs:documentation>
17
- </xs:annotation>
18
- </xs:element>
19
- <xs:complexType name="HostnameObjectType">
20
- <xs:annotation>
21
- <xs:documentation>The HostnameObjectType object is intended to specify network hostnames.</xs:documentation>
22
- </xs:annotation>
23
- <xs:complexContent>
24
- <xs:extension base="cyboxCommon:ObjectPropertiesType">
25
- <xs:sequence>
26
- <xs:element name="Hostname_Value" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
27
- <xs:annotation>
28
- <xs:documentation>The Hostname_Value construct specifies the actual value of the Hostname.</xs:documentation>
29
- </xs:annotation>
30
- </xs:element>
31
- <xs:element name="Naming_System" type="cyboxCommon:StringObjectPropertyType" minOccurs="0" maxOccurs="unbounded">
32
- <xs:annotation>
33
- <xs:documentation>The Naming_System construct specifies a relevant Naming System for the Hostname (e.g. DNS, NIS, NetBIOS).</xs:documentation>
34
- </xs:annotation>
35
- </xs:element>
36
- </xs:sequence>
37
- <xs:attribute name="is_domain_name" type="xs:boolean">
38
- <xs:annotation>
39
- <xs:documentation>The is_domain_name field specifies if this is also a valid domain name.</xs:documentation>
40
- </xs:annotation>
41
- </xs:attribute>
42
- </xs:extension>
43
- </xs:complexContent>
44
- </xs:complexType>
45
- </xs:schema>
1
+ <?xml version='1.0' encoding='UTF-8'?>
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:HostnameObj="http://cybox.mitre.org/objects#HostnameObject-1" xmlns:cyboxCommon="http://cybox.mitre.org/common-2" targetNamespace="http://cybox.mitre.org/objects#HostnameObject-1" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0">
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>Hostname_Object</schema>
7
+ <version>1.0</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:element name="Hostname" type="HostnameObj:HostnameObjectType">
15
+ <xs:annotation>
16
+ <xs:documentation>The Hostname object is intended to specify a particular network hostname.</xs:documentation>
17
+ </xs:annotation>
18
+ </xs:element>
19
+ <xs:complexType name="HostnameObjectType">
20
+ <xs:annotation>
21
+ <xs:documentation>The HostnameObjectType object is intended to specify network hostnames.</xs:documentation>
22
+ </xs:annotation>
23
+ <xs:complexContent>
24
+ <xs:extension base="cyboxCommon:ObjectPropertiesType">
25
+ <xs:sequence>
26
+ <xs:element name="Hostname_Value" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
27
+ <xs:annotation>
28
+ <xs:documentation>The Hostname_Value construct specifies the actual value of the Hostname.</xs:documentation>
29
+ </xs:annotation>
30
+ </xs:element>
31
+ <xs:element name="Naming_System" type="cyboxCommon:StringObjectPropertyType" minOccurs="0" maxOccurs="unbounded">
32
+ <xs:annotation>
33
+ <xs:documentation>The Naming_System construct specifies a relevant Naming System for the Hostname (e.g. DNS, NIS, NetBIOS).</xs:documentation>
34
+ </xs:annotation>
35
+ </xs:element>
36
+ </xs:sequence>
37
+ <xs:attribute name="is_domain_name" type="xs:boolean">
38
+ <xs:annotation>
39
+ <xs:documentation>The is_domain_name field specifies if this is also a valid domain name.</xs:documentation>
40
+ </xs:annotation>
41
+ </xs:attribute>
42
+ </xs:extension>
43
+ </xs:complexContent>
44
+ </xs:complexType>
45
+ </xs:schema>
@@ -1,124 +1,124 @@
1
- <?xml version='1.0' encoding='UTF-8'?>
2
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ImageFileObj="http://cybox.mitre.org/objects#ImageFileObject-1" xmlns:cyboxCommon="http://cybox.mitre.org/common-2" xmlns:FileObj="http://cybox.mitre.org/objects#FileObject-2" targetNamespace="http://cybox.mitre.org/objects#ImageFileObject-1" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0">
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>Image_File_Object</schema>
7
- <version>1.0</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#FileObject-2" schemaLocation="File_Object.xsd"/>
15
- <xs:element name="Image_File" type="ImageFileObj:ImageFileObjectType">
16
- <xs:annotation>
17
- <xs:documentation>The Image_File object is intended to characterize image files.</xs:documentation>
18
- </xs:annotation>
19
- </xs:element>
20
- <xs:complexType name="ImageFileObjectType" mixed="false">
21
- <xs:annotation>
22
- <xs:documentation>The ImageFileObjectType type is intended to characterize image files.</xs:documentation>
23
- </xs:annotation>
24
- <xs:complexContent>
25
- <xs:extension base="FileObj:FileObjectType">
26
- <xs:sequence minOccurs="1">
27
- <xs:element minOccurs="0" name="Image_File_Format" type="ImageFileObj:ImageFileFormatType">
28
- <xs:annotation>
29
- <xs:documentation>The Image_File_Format field specifies the name of the file format used in the image file. It is strongly recommended that the values provided in the ImageFileFormatEnum are used for describing common image formats, but other formats may also be specified as a custom string.</xs:documentation>
30
- </xs:annotation>
31
- </xs:element>
32
- <xs:element minOccurs="0" name="Image_Height" type="cyboxCommon:IntegerObjectPropertyType">
33
- <xs:annotation>
34
- <xs:documentation>The Image_Height field specifies the height of the image in the image file, in pixels.</xs:documentation>
35
- </xs:annotation>
36
- </xs:element>
37
- <xs:element minOccurs="0" name="Image_Width" type="cyboxCommon:IntegerObjectPropertyType">
38
- <xs:annotation>
39
- <xs:documentation>The Image_Width field specifies the width of the image in the image file, in pixels.</xs:documentation>
40
- </xs:annotation>
41
- </xs:element>
42
- <xs:element minOccurs="0" name="Bits_Per_Pixel" type="cyboxCommon:PositiveIntegerObjectPropertyType">
43
- <xs:annotation>
44
- <xs:documentation>The Bits_Per_Pixel field specifies the sum of bits used for each color channel in the image in the image file, and thus the total number of pixels used for expressing the color depth of the image.</xs:documentation>
45
- </xs:annotation>
46
- </xs:element>
47
- <xs:element minOccurs="0" name="Compression_Algorithm" type="cyboxCommon:StringObjectPropertyType">
48
- <xs:annotation>
49
- <xs:documentation>The Compression_Algorithm field specifies the name of the compression algorithm used to compress the image, if applicable. Note that for many popular image formats, such as JPEG, the compression algorithm is inherent to the file format and so does need to be captured here as long as the format itself is identified in the Image_File_Format field.</xs:documentation>
50
- </xs:annotation>
51
- </xs:element>
52
- </xs:sequence>
53
- <xs:attribute name="image_is_compressed" type="xs:boolean">
54
- <xs:annotation>
55
- <xs:documentation>The image_is_compressed field specifies whether the image in the image file is compressed.</xs:documentation>
56
- </xs:annotation>
57
- </xs:attribute>
58
- </xs:extension>
59
- </xs:complexContent>
60
- </xs:complexType>
61
- <xs:complexType name="ImageFileFormatType">
62
- <xs:annotation>
63
- <xs:documentation>The ImageFileFormatType specifies image file formats via a union of the ImageFileFormatEnum 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>
64
- </xs:annotation>
65
- <xs:simpleContent>
66
- <xs:restriction base="cyboxCommon:BaseObjectPropertyType">
67
- <xs:simpleType>
68
- <xs:union memberTypes="ImageFileObj:ImageFileFormatEnum xs:string"/>
69
- </xs:simpleType>
70
- </xs:restriction>
71
- </xs:simpleContent>
72
- </xs:complexType>
73
- <xs:simpleType name="ImageFileFormatEnum">
74
- <xs:annotation>
75
- <xs:documentation>The ImageFileFormatEnum type is a non-exhaustive enumeration of common image file formats.</xs:documentation>
76
- </xs:annotation>
77
- <xs:list>
78
- <xs:simpleType>
79
- <xs:restriction base="xs:string">
80
- <xs:enumeration value="JPEG/JFIF">
81
- <xs:annotation>
82
- <xs:documentation>Specifies the Joint Photographic Experts Group (JPEG) JPEG File Interchange Format (JFIF).</xs:documentation>
83
- </xs:annotation>
84
- </xs:enumeration>
85
- <xs:enumeration value="JPEG 2000">
86
- <xs:annotation>
87
- <xs:documentation>Specifies the Joint Photographic Experts Group (JPEG) 2000 format.</xs:documentation>
88
- </xs:annotation>
89
- </xs:enumeration>
90
- <xs:enumeration value="Exif">
91
- <xs:annotation>
92
- <xs:documentation>Specifies the Exchangeable image file format (Exif).</xs:documentation>
93
- </xs:annotation>
94
- </xs:enumeration>
95
- <xs:enumeration value="TIFF">
96
- <xs:annotation>
97
- <xs:documentation>Specifies the Tagged Image File Format (TIFF).</xs:documentation>
98
- </xs:annotation>
99
- </xs:enumeration>
100
- <xs:enumeration value="DNG">
101
- <xs:annotation>
102
- <xs:documentation>Specifies the Digital Negative (DNG) image file format.</xs:documentation>
103
- </xs:annotation>
104
- </xs:enumeration>
105
- <xs:enumeration value="GIF">
106
- <xs:annotation>
107
- <xs:documentation>Specifies the Graphics Interchange Format (GIF).</xs:documentation>
108
- </xs:annotation>
109
- </xs:enumeration>
110
- <xs:enumeration value="BMP">
111
- <xs:annotation>
112
- <xs:documentation>Specifies the Windows bitmap (BMP) image file format.</xs:documentation>
113
- </xs:annotation>
114
- </xs:enumeration>
115
- <xs:enumeration value="PNG">
116
- <xs:annotation>
117
- <xs:documentation>Specifies the Portable Network Graphics (PNG) image file format.</xs:documentation>
118
- </xs:annotation>
119
- </xs:enumeration>
120
- </xs:restriction>
121
- </xs:simpleType>
122
- </xs:list>
123
- </xs:simpleType>
124
- </xs:schema>
1
+ <?xml version='1.0' encoding='UTF-8'?>
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ImageFileObj="http://cybox.mitre.org/objects#ImageFileObject-1" xmlns:cyboxCommon="http://cybox.mitre.org/common-2" xmlns:FileObj="http://cybox.mitre.org/objects#FileObject-2" targetNamespace="http://cybox.mitre.org/objects#ImageFileObject-1" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0">
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>Image_File_Object</schema>
7
+ <version>1.0</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#FileObject-2" schemaLocation="File_Object.xsd"/>
15
+ <xs:element name="Image_File" type="ImageFileObj:ImageFileObjectType">
16
+ <xs:annotation>
17
+ <xs:documentation>The Image_File object is intended to characterize image files.</xs:documentation>
18
+ </xs:annotation>
19
+ </xs:element>
20
+ <xs:complexType name="ImageFileObjectType" mixed="false">
21
+ <xs:annotation>
22
+ <xs:documentation>The ImageFileObjectType type is intended to characterize image files.</xs:documentation>
23
+ </xs:annotation>
24
+ <xs:complexContent>
25
+ <xs:extension base="FileObj:FileObjectType">
26
+ <xs:sequence minOccurs="1">
27
+ <xs:element minOccurs="0" name="Image_File_Format" type="ImageFileObj:ImageFileFormatType">
28
+ <xs:annotation>
29
+ <xs:documentation>The Image_File_Format field specifies the name of the file format used in the image file. It is strongly recommended that the values provided in the ImageFileFormatEnum are used for describing common image formats, but other formats may also be specified as a custom string.</xs:documentation>
30
+ </xs:annotation>
31
+ </xs:element>
32
+ <xs:element minOccurs="0" name="Image_Height" type="cyboxCommon:IntegerObjectPropertyType">
33
+ <xs:annotation>
34
+ <xs:documentation>The Image_Height field specifies the height of the image in the image file, in pixels.</xs:documentation>
35
+ </xs:annotation>
36
+ </xs:element>
37
+ <xs:element minOccurs="0" name="Image_Width" type="cyboxCommon:IntegerObjectPropertyType">
38
+ <xs:annotation>
39
+ <xs:documentation>The Image_Width field specifies the width of the image in the image file, in pixels.</xs:documentation>
40
+ </xs:annotation>
41
+ </xs:element>
42
+ <xs:element minOccurs="0" name="Bits_Per_Pixel" type="cyboxCommon:PositiveIntegerObjectPropertyType">
43
+ <xs:annotation>
44
+ <xs:documentation>The Bits_Per_Pixel field specifies the sum of bits used for each color channel in the image in the image file, and thus the total number of pixels used for expressing the color depth of the image.</xs:documentation>
45
+ </xs:annotation>
46
+ </xs:element>
47
+ <xs:element minOccurs="0" name="Compression_Algorithm" type="cyboxCommon:StringObjectPropertyType">
48
+ <xs:annotation>
49
+ <xs:documentation>The Compression_Algorithm field specifies the name of the compression algorithm used to compress the image, if applicable. Note that for many popular image formats, such as JPEG, the compression algorithm is inherent to the file format and so does need to be captured here as long as the format itself is identified in the Image_File_Format field.</xs:documentation>
50
+ </xs:annotation>
51
+ </xs:element>
52
+ </xs:sequence>
53
+ <xs:attribute name="image_is_compressed" type="xs:boolean">
54
+ <xs:annotation>
55
+ <xs:documentation>The image_is_compressed field specifies whether the image in the image file is compressed.</xs:documentation>
56
+ </xs:annotation>
57
+ </xs:attribute>
58
+ </xs:extension>
59
+ </xs:complexContent>
60
+ </xs:complexType>
61
+ <xs:complexType name="ImageFileFormatType">
62
+ <xs:annotation>
63
+ <xs:documentation>The ImageFileFormatType specifies image file formats via a union of the ImageFileFormatEnum 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>
64
+ </xs:annotation>
65
+ <xs:simpleContent>
66
+ <xs:restriction base="cyboxCommon:BaseObjectPropertyType">
67
+ <xs:simpleType>
68
+ <xs:union memberTypes="ImageFileObj:ImageFileFormatEnum xs:string"/>
69
+ </xs:simpleType>
70
+ </xs:restriction>
71
+ </xs:simpleContent>
72
+ </xs:complexType>
73
+ <xs:simpleType name="ImageFileFormatEnum">
74
+ <xs:annotation>
75
+ <xs:documentation>The ImageFileFormatEnum type is a non-exhaustive enumeration of common image file formats.</xs:documentation>
76
+ </xs:annotation>
77
+ <xs:list>
78
+ <xs:simpleType>
79
+ <xs:restriction base="xs:string">
80
+ <xs:enumeration value="JPEG/JFIF">
81
+ <xs:annotation>
82
+ <xs:documentation>Specifies the Joint Photographic Experts Group (JPEG) JPEG File Interchange Format (JFIF).</xs:documentation>
83
+ </xs:annotation>
84
+ </xs:enumeration>
85
+ <xs:enumeration value="JPEG 2000">
86
+ <xs:annotation>
87
+ <xs:documentation>Specifies the Joint Photographic Experts Group (JPEG) 2000 format.</xs:documentation>
88
+ </xs:annotation>
89
+ </xs:enumeration>
90
+ <xs:enumeration value="Exif">
91
+ <xs:annotation>
92
+ <xs:documentation>Specifies the Exchangeable image file format (Exif).</xs:documentation>
93
+ </xs:annotation>
94
+ </xs:enumeration>
95
+ <xs:enumeration value="TIFF">
96
+ <xs:annotation>
97
+ <xs:documentation>Specifies the Tagged Image File Format (TIFF).</xs:documentation>
98
+ </xs:annotation>
99
+ </xs:enumeration>
100
+ <xs:enumeration value="DNG">
101
+ <xs:annotation>
102
+ <xs:documentation>Specifies the Digital Negative (DNG) image file format.</xs:documentation>
103
+ </xs:annotation>
104
+ </xs:enumeration>
105
+ <xs:enumeration value="GIF">
106
+ <xs:annotation>
107
+ <xs:documentation>Specifies the Graphics Interchange Format (GIF).</xs:documentation>
108
+ </xs:annotation>
109
+ </xs:enumeration>
110
+ <xs:enumeration value="BMP">
111
+ <xs:annotation>
112
+ <xs:documentation>Specifies the Windows bitmap (BMP) image file format.</xs:documentation>
113
+ </xs:annotation>
114
+ </xs:enumeration>
115
+ <xs:enumeration value="PNG">
116
+ <xs:annotation>
117
+ <xs:documentation>Specifies the Portable Network Graphics (PNG) image file format.</xs:documentation>
118
+ </xs:annotation>
119
+ </xs:enumeration>
120
+ </xs:restriction>
121
+ </xs:simpleType>
122
+ </xs:list>
123
+ </xs:simpleType>
124
+ </xs:schema>
@@ -1,114 +1,114 @@
1
- <?xml version='1.0' encoding='UTF-8'?>
2
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:LibraryObj="http://cybox.mitre.org/objects#LibraryObject-2" xmlns:cyboxCommon="http://cybox.mitre.org/common-2" targetNamespace="http://cybox.mitre.org/objects#LibraryObject-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>Library_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:element name="Library" type="LibraryObj:LibraryObjectType">
15
- <xs:annotation>
16
- <xs:documentation>The Library object is intended to characterize software libraries.</xs:documentation>
17
- </xs:annotation>
18
- </xs:element>
19
- <xs:complexType name="LibraryObjectType" mixed="false">
20
- <xs:annotation>
21
- <xs:documentation>The LibraryObjectType type is intended to characterize software libraries.</xs:documentation>
22
- </xs:annotation>
23
- <xs:complexContent>
24
- <xs:extension base="cyboxCommon:ObjectPropertiesType">
25
- <xs:sequence>
26
- <xs:element name="Name" type="cyboxCommon:StringObjectPropertyType" minOccurs="0" maxOccurs="1">
27
- <xs:annotation>
28
- <xs:documentation>The Name field specifies the full file name of the library. Example: abcd.dll.</xs:documentation>
29
- </xs:annotation>
30
- </xs:element>
31
- <xs:element name="Path" type="cyboxCommon:StringObjectPropertyType" minOccurs="0" maxOccurs="1">
32
- <xs:annotation>
33
- <xs:documentation>The Path field specifies the fully-qualified path to the library.</xs:documentation>
34
- </xs:annotation>
35
- </xs:element>
36
- <xs:element name="Size" type="cyboxCommon:UnsignedLongObjectPropertyType" minOccurs="0" maxOccurs="1">
37
- <xs:annotation>
38
- <xs:documentation>The Size field specifies the size of the library, in bytes.</xs:documentation>
39
- </xs:annotation>
40
- </xs:element>
41
- <xs:element name="Type" type="LibraryObj:LibraryType" minOccurs="0">
42
- <xs:annotation>
43
- <xs:documentation>The Type field specifies the type of library being characterized.</xs:documentation>
44
- </xs:annotation>
45
- </xs:element>
46
- <xs:element name="Version" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
47
- <xs:annotation>
48
- <xs:documentation>The Version field specifies the library version.</xs:documentation>
49
- </xs:annotation>
50
- </xs:element>
51
- <xs:element name="Base_Address" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
52
- <xs:annotation>
53
- <xs:documentation>The Base_Address field specifies the default virtual address into which the library is loaded.</xs:documentation>
54
- </xs:annotation>
55
- </xs:element>
56
- <xs:element name="Extracted_Features" type="cyboxCommon:ExtractedFeaturesType" minOccurs="0">
57
- <xs:annotation>
58
- <xs:documentation>A description of features extracted from this file.</xs:documentation>
59
- </xs:annotation>
60
- </xs:element>
61
- </xs:sequence>
62
- </xs:extension>
63
- </xs:complexContent>
64
- </xs:complexType>
65
- <xs:complexType name="LibraryType">
66
- <xs:annotation>
67
- <xs:documentation>LibraryType specifies library types, via a union of the LibraryTypeEnum 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>
68
- </xs:annotation>
69
- <xs:simpleContent>
70
- <xs:restriction base="cyboxCommon:BaseObjectPropertyType">
71
- <xs:simpleType>
72
- <xs:union memberTypes="LibraryObj:LibraryTypeEnum xs:string"/>
73
- </xs:simpleType>
74
- <xs:attribute name="datatype" type="cyboxCommon:DatatypeEnum" fixed="string">
75
- <xs:annotation>
76
- <xs:documentation>This attribute is optional and specifies the expected type for the value of the specified property.</xs:documentation>
77
- </xs:annotation>
78
- </xs:attribute>
79
- </xs:restriction>
80
- </xs:simpleContent>
81
- </xs:complexType>
82
- <xs:simpleType name="LibraryTypeEnum">
83
- <xs:annotation>
84
- <xs:documentation>The LibraryTypeEnum type is an enumeration of library types.</xs:documentation>
85
- </xs:annotation>
86
- <xs:restriction base="xs:string">
87
- <xs:enumeration value="Dynamic">
88
- <xs:annotation>
89
- <xs:documentation>Indicates a dynamic library.</xs:documentation>
90
- </xs:annotation>
91
- </xs:enumeration>
92
- <xs:enumeration value="Static">
93
- <xs:annotation>
94
- <xs:documentation>Indicates a static library.</xs:documentation>
95
- </xs:annotation>
96
- </xs:enumeration>
97
- <xs:enumeration value="Remote">
98
- <xs:annotation>
99
- <xs:documentation>Indicates a remote library.</xs:documentation>
100
- </xs:annotation>
101
- </xs:enumeration>
102
- <xs:enumeration value="Shared">
103
- <xs:annotation>
104
- <xs:documentation>Indicates a shared library.</xs:documentation>
105
- </xs:annotation>
106
- </xs:enumeration>
107
- <xs:enumeration value="Other">
108
- <xs:annotation>
109
- <xs:documentation>Indicates a different type of library than those listed above.</xs:documentation>
110
- </xs:annotation>
111
- </xs:enumeration>
112
- </xs:restriction>
113
- </xs:simpleType>
114
- </xs:schema>
1
+ <?xml version='1.0' encoding='UTF-8'?>
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:LibraryObj="http://cybox.mitre.org/objects#LibraryObject-2" xmlns:cyboxCommon="http://cybox.mitre.org/common-2" targetNamespace="http://cybox.mitre.org/objects#LibraryObject-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>Library_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:element name="Library" type="LibraryObj:LibraryObjectType">
15
+ <xs:annotation>
16
+ <xs:documentation>The Library object is intended to characterize software libraries.</xs:documentation>
17
+ </xs:annotation>
18
+ </xs:element>
19
+ <xs:complexType name="LibraryObjectType" mixed="false">
20
+ <xs:annotation>
21
+ <xs:documentation>The LibraryObjectType type is intended to characterize software libraries.</xs:documentation>
22
+ </xs:annotation>
23
+ <xs:complexContent>
24
+ <xs:extension base="cyboxCommon:ObjectPropertiesType">
25
+ <xs:sequence>
26
+ <xs:element name="Name" type="cyboxCommon:StringObjectPropertyType" minOccurs="0" maxOccurs="1">
27
+ <xs:annotation>
28
+ <xs:documentation>The Name field specifies the full file name of the library. Example: abcd.dll.</xs:documentation>
29
+ </xs:annotation>
30
+ </xs:element>
31
+ <xs:element name="Path" type="cyboxCommon:StringObjectPropertyType" minOccurs="0" maxOccurs="1">
32
+ <xs:annotation>
33
+ <xs:documentation>The Path field specifies the fully-qualified path to the library.</xs:documentation>
34
+ </xs:annotation>
35
+ </xs:element>
36
+ <xs:element name="Size" type="cyboxCommon:UnsignedLongObjectPropertyType" minOccurs="0" maxOccurs="1">
37
+ <xs:annotation>
38
+ <xs:documentation>The Size field specifies the size of the library, in bytes.</xs:documentation>
39
+ </xs:annotation>
40
+ </xs:element>
41
+ <xs:element name="Type" type="LibraryObj:LibraryType" minOccurs="0">
42
+ <xs:annotation>
43
+ <xs:documentation>The Type field specifies the type of library being characterized.</xs:documentation>
44
+ </xs:annotation>
45
+ </xs:element>
46
+ <xs:element name="Version" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
47
+ <xs:annotation>
48
+ <xs:documentation>The Version field specifies the library version.</xs:documentation>
49
+ </xs:annotation>
50
+ </xs:element>
51
+ <xs:element name="Base_Address" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
52
+ <xs:annotation>
53
+ <xs:documentation>The Base_Address field specifies the default virtual address into which the library is loaded.</xs:documentation>
54
+ </xs:annotation>
55
+ </xs:element>
56
+ <xs:element name="Extracted_Features" type="cyboxCommon:ExtractedFeaturesType" minOccurs="0">
57
+ <xs:annotation>
58
+ <xs:documentation>A description of features extracted from this file.</xs:documentation>
59
+ </xs:annotation>
60
+ </xs:element>
61
+ </xs:sequence>
62
+ </xs:extension>
63
+ </xs:complexContent>
64
+ </xs:complexType>
65
+ <xs:complexType name="LibraryType">
66
+ <xs:annotation>
67
+ <xs:documentation>LibraryType specifies library types, via a union of the LibraryTypeEnum 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>
68
+ </xs:annotation>
69
+ <xs:simpleContent>
70
+ <xs:restriction base="cyboxCommon:BaseObjectPropertyType">
71
+ <xs:simpleType>
72
+ <xs:union memberTypes="LibraryObj:LibraryTypeEnum xs:string"/>
73
+ </xs:simpleType>
74
+ <xs:attribute name="datatype" type="cyboxCommon:DatatypeEnum" fixed="string">
75
+ <xs:annotation>
76
+ <xs:documentation>This attribute is optional and specifies the expected type for the value of the specified property.</xs:documentation>
77
+ </xs:annotation>
78
+ </xs:attribute>
79
+ </xs:restriction>
80
+ </xs:simpleContent>
81
+ </xs:complexType>
82
+ <xs:simpleType name="LibraryTypeEnum">
83
+ <xs:annotation>
84
+ <xs:documentation>The LibraryTypeEnum type is an enumeration of library types.</xs:documentation>
85
+ </xs:annotation>
86
+ <xs:restriction base="xs:string">
87
+ <xs:enumeration value="Dynamic">
88
+ <xs:annotation>
89
+ <xs:documentation>Indicates a dynamic library.</xs:documentation>
90
+ </xs:annotation>
91
+ </xs:enumeration>
92
+ <xs:enumeration value="Static">
93
+ <xs:annotation>
94
+ <xs:documentation>Indicates a static library.</xs:documentation>
95
+ </xs:annotation>
96
+ </xs:enumeration>
97
+ <xs:enumeration value="Remote">
98
+ <xs:annotation>
99
+ <xs:documentation>Indicates a remote library.</xs:documentation>
100
+ </xs:annotation>
101
+ </xs:enumeration>
102
+ <xs:enumeration value="Shared">
103
+ <xs:annotation>
104
+ <xs:documentation>Indicates a shared library.</xs:documentation>
105
+ </xs:annotation>
106
+ </xs:enumeration>
107
+ <xs:enumeration value="Other">
108
+ <xs:annotation>
109
+ <xs:documentation>Indicates a different type of library than those listed above.</xs:documentation>
110
+ </xs:annotation>
111
+ </xs:enumeration>
112
+ </xs:restriction>
113
+ </xs:simpleType>
114
+ </xs:schema>