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.
- checksums.yaml +4 -4
- data/config/1.2/stix/campaign.xsd +2 -2
- data/config/1.2/stix/cybox/cybox_common.xsd +2700 -2700
- data/config/1.2/stix/cybox/cybox_core.xsd +1145 -1145
- data/config/1.2/stix/cybox/cybox_default_vocabularies.xsd +5180 -5180
- data/config/1.2/stix/cybox/extensions/location/ciq_address_3.0.xsd +27 -27
- data/config/1.2/stix/cybox/extensions/platform/cpe2.3.xsd +34 -34
- data/config/1.2/stix/cybox/external/cpe_2.3/xml.xsd +145 -145
- data/config/1.2/stix/cybox/external/oasis_ciq_3.0/xlink-2003-12-31.xsd +90 -90
- data/config/1.2/stix/cybox/objects/API_Object.xsd +55 -55
- data/config/1.2/stix/cybox/objects/ARP_Cache_Object.xsd +98 -98
- data/config/1.2/stix/cybox/objects/AS_Object.xsd +50 -50
- data/config/1.2/stix/cybox/objects/Account_Object.xsd +501 -501
- data/config/1.2/stix/cybox/objects/Address_Object.xsd +127 -127
- data/config/1.2/stix/cybox/objects/Archive_File_Object.xsd +134 -134
- data/config/1.2/stix/cybox/objects/Artifact_Object.xsd +212 -212
- data/config/1.2/stix/cybox/objects/Code_Object.xsd +417 -417
- data/config/1.2/stix/cybox/objects/Custom_Object.xsd +42 -42
- data/config/1.2/stix/cybox/objects/DNS_Cache_Object.xsd +53 -53
- data/config/1.2/stix/cybox/objects/DNS_Query_Object.xsd +164 -164
- data/config/1.2/stix/cybox/objects/DNS_Record_Object.xsd +92 -92
- data/config/1.2/stix/cybox/objects/Device_Object.xsd +65 -65
- data/config/1.2/stix/cybox/objects/Disk_Object.xsd +117 -117
- data/config/1.2/stix/cybox/objects/Disk_Partition_Object.xsd +199 -199
- data/config/1.2/stix/cybox/objects/Domain_Name_Object.xsd +57 -57
- data/config/1.2/stix/cybox/objects/Email_Message_Object.xsd +278 -278
- data/config/1.2/stix/cybox/objects/File_Object.xsd +397 -397
- data/config/1.2/stix/cybox/objects/GUI_Dialogbox_Object.xsd +41 -41
- data/config/1.2/stix/cybox/objects/GUI_Object.xsd +40 -40
- data/config/1.2/stix/cybox/objects/GUI_Window_Object.xsd +46 -46
- data/config/1.2/stix/cybox/objects/HTTP_Session_Object.xsd +633 -633
- data/config/1.2/stix/cybox/objects/Hostname_Object.xsd +45 -45
- data/config/1.2/stix/cybox/objects/Image_File_Object.xsd +124 -124
- data/config/1.2/stix/cybox/objects/Library_Object.xsd +114 -114
- data/config/1.2/stix/cybox/objects/Link_Object.xsd +36 -36
- data/config/1.2/stix/cybox/objects/Linux_Package_Object.xsd +75 -75
- data/config/1.2/stix/cybox/objects/Memory_Object.xsd +141 -141
- data/config/1.2/stix/cybox/objects/Mutex_Object.xsd +40 -40
- data/config/1.2/stix/cybox/objects/Network_Connection_Object.xsd +540 -540
- data/config/1.2/stix/cybox/objects/Network_Flow_Object.xsd +1559 -1559
- data/config/1.2/stix/cybox/objects/Network_Packet_Object.xsd +2934 -2934
- data/config/1.2/stix/cybox/objects/Network_Route_Entry_Object.xsd +155 -155
- data/config/1.2/stix/cybox/objects/Network_Route_Object.xsd +93 -93
- data/config/1.2/stix/cybox/objects/Network_Socket_Object.xsd +529 -529
- data/config/1.2/stix/cybox/objects/Network_Subnet_Object.xsd +64 -64
- data/config/1.2/stix/cybox/objects/PDF_File_Object.xsd +595 -595
- data/config/1.2/stix/cybox/objects/Pipe_Object.xsd +40 -40
- data/config/1.2/stix/cybox/objects/Port_Object.xsd +40 -40
- data/config/1.2/stix/cybox/objects/Process_Object.xsd +199 -199
- data/config/1.2/stix/cybox/objects/Product_Object.xsd +65 -65
- data/config/1.2/stix/cybox/objects/SMS_Message_Object.xsd +79 -79
- data/config/1.2/stix/cybox/objects/Semaphore_Object.xsd +50 -50
- data/config/1.2/stix/cybox/objects/Socket_Address_Object.xsd +50 -50
- data/config/1.2/stix/cybox/objects/System_Object.xsd +410 -410
- data/config/1.2/stix/cybox/objects/URI_Object.xsd +62 -62
- data/config/1.2/stix/cybox/objects/URL_History_Object.xsd +104 -104
- data/config/1.2/stix/cybox/objects/Unix_File_Object.xsd +164 -164
- data/config/1.2/stix/cybox/objects/Unix_Network_Route_Entry_Object.xsd +56 -56
- data/config/1.2/stix/cybox/objects/Unix_Pipe_Object.xsd +36 -36
- data/config/1.2/stix/cybox/objects/Unix_Process_Object.xsd +143 -143
- data/config/1.2/stix/cybox/objects/Unix_User_Account_Object.xsd +78 -78
- data/config/1.2/stix/cybox/objects/Unix_Volume_Object.xsd +41 -41
- data/config/1.2/stix/cybox/objects/User_Account_Object.xsd +110 -110
- data/config/1.2/stix/cybox/objects/User_Session_Object.xsd +60 -60
- data/config/1.2/stix/cybox/objects/Volume_Object.xsd +235 -235
- data/config/1.2/stix/cybox/objects/Whois_Object.xsd +430 -430
- data/config/1.2/stix/cybox/objects/Win_Computer_Account_Object.xsd +135 -135
- data/config/1.2/stix/cybox/objects/Win_Critical_Section_Object.xsd +40 -40
- data/config/1.2/stix/cybox/objects/Win_Driver_Object.xsd +270 -270
- data/config/1.2/stix/cybox/objects/Win_Event_Log_Object.xsd +137 -137
- data/config/1.2/stix/cybox/objects/Win_Event_Object.xsd +80 -80
- data/config/1.2/stix/cybox/objects/Win_Executable_File_Object.xsd +1311 -1311
- data/config/1.2/stix/cybox/objects/Win_File_Object.xsd +269 -269
- data/config/1.2/stix/cybox/objects/Win_Filemapping_Object.xsd +175 -175
- data/config/1.2/stix/cybox/objects/Win_Handle_Object.xsd +351 -351
- data/config/1.2/stix/cybox/objects/Win_Hook_Object.xsd +152 -152
- data/config/1.2/stix/cybox/objects/Win_Kernel_Hook_Object.xsd +109 -109
- data/config/1.2/stix/cybox/objects/Win_Kernel_Object.xsd +128 -128
- data/config/1.2/stix/cybox/objects/Win_Mailslot_Object.xsd +56 -56
- data/config/1.2/stix/cybox/objects/Win_Memory_Page_Region_Object.xsd +198 -198
- data/config/1.2/stix/cybox/objects/Win_Mutex_Object.xsd +42 -42
- data/config/1.2/stix/cybox/objects/Win_Network_Route_Entry_Object.xsd +200 -200
- data/config/1.2/stix/cybox/objects/Win_Network_Share_Object.xsd +205 -205
- data/config/1.2/stix/cybox/objects/Win_Pipe_Object.xsd +73 -73
- data/config/1.2/stix/cybox/objects/Win_Prefetch_Object.xsd +113 -113
- data/config/1.2/stix/cybox/objects/Win_Process_Object.xsd +174 -174
- data/config/1.2/stix/cybox/objects/Win_Registry_Key_Object.xsd +290 -290
- data/config/1.2/stix/cybox/objects/Win_Semaphore_Object.xsd +42 -42
- data/config/1.2/stix/cybox/objects/Win_Service_Object.xsd +287 -287
- data/config/1.2/stix/cybox/objects/Win_System_Object.xsd +126 -126
- data/config/1.2/stix/cybox/objects/Win_System_Restore_Object.xsd +207 -207
- data/config/1.2/stix/cybox/objects/Win_Task_Object.xsd +755 -755
- data/config/1.2/stix/cybox/objects/Win_Thread_Object.xsd +146 -146
- data/config/1.2/stix/cybox/objects/Win_User_Account_Object.xsd +73 -73
- data/config/1.2/stix/cybox/objects/Win_Volume_Object.xsd +161 -161
- data/config/1.2/stix/cybox/objects/Win_Waitable_Timer_Object.xsd +90 -90
- data/config/1.2/stix/cybox/objects/X509_Certificate_Object.xsd +275 -275
- data/config/1.2/stix/data_marking.xsd +5 -5
- data/config/1.2/stix/exploit_target.xsd +2 -2
- data/config/1.2/stix/incident.xsd +1 -1
- data/config/1.2/stix/indicator.xsd +6 -6
- data/config/1.2/stix/report.xsd +6 -6
- data/config/1.2/stix/stix_common.xsd +22 -22
- data/config/1.2/stix/stix_core.xsd +7 -7
- data/config/1.2/stix/stix_default_vocabularies.xsd +8 -8
- data/config/1.2/stix/ttp.xsd +1 -1
- data/lib/stix_schema_spy/models/has_children.rb +3 -3
- data/lib/stix_schema_spy/version.rb +1 -1
- metadata +2 -2
@@ -1,127 +1,127 @@
|
|
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:cyboxCommon="http://cybox.mitre.org/common-2" targetNamespace="http://cybox.mitre.org/objects#AddressObject-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>Address_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="Address" type="AddressObj:AddressObjectType">
|
15
|
-
<xs:annotation>
|
16
|
-
<xs:documentation>The Address object is intended to specify a cyber address.</xs:documentation>
|
17
|
-
</xs:annotation>
|
18
|
-
</xs:element>
|
19
|
-
<xs:complexType name="AddressObjectType">
|
20
|
-
<xs:annotation>
|
21
|
-
<xs:documentation>The AddressObjectType is intended to characterize cyber addresses.</xs:documentation>
|
22
|
-
</xs:annotation>
|
23
|
-
<xs:complexContent>
|
24
|
-
<xs:extension base="cyboxCommon:ObjectPropertiesType">
|
25
|
-
<xs:sequence>
|
26
|
-
<xs:element name="Address_Value" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
|
27
|
-
<xs:annotation>
|
28
|
-
<xs:documentation>The required Address_Value construct specifies the actual value of the address.</xs:documentation>
|
29
|
-
</xs:annotation>
|
30
|
-
</xs:element>
|
31
|
-
<xs:element name="VLAN_Name" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
|
32
|
-
<xs:annotation>
|
33
|
-
<xs:documentation>The VLAN_Name field specifies the name of the Virtual LAN to which the address belongs.</xs:documentation>
|
34
|
-
</xs:annotation>
|
35
|
-
</xs:element>
|
36
|
-
<xs:element name="VLAN_Num" type="cyboxCommon:IntegerObjectPropertyType" minOccurs="0">
|
37
|
-
<xs:annotation>
|
38
|
-
<xs:documentation>The VLAN_Num field specifies the number of the Virtual LAN to which the address belongs.</xs:documentation>
|
39
|
-
</xs:annotation>
|
40
|
-
</xs:element>
|
41
|
-
</xs:sequence>
|
42
|
-
<xs:attribute name="category" type="AddressObj:CategoryTypeEnum" default="ipv4-addr">
|
43
|
-
<xs:annotation>
|
44
|
-
<xs:documentation>The category field specifies the address category that is being defined.</xs:documentation>
|
45
|
-
</xs:annotation>
|
46
|
-
</xs:attribute>
|
47
|
-
<xs:attribute name="is_source" type="xs:boolean">
|
48
|
-
<xs:annotation>
|
49
|
-
<xs:documentation>The is_source field specifies if this is a "Source" address.</xs:documentation>
|
50
|
-
</xs:annotation>
|
51
|
-
</xs:attribute>
|
52
|
-
<xs:attribute name="is_destination" type="xs:boolean">
|
53
|
-
<xs:annotation>
|
54
|
-
<xs:documentation>The is_destination field specifies if this is a "Destination" address.</xs:documentation>
|
55
|
-
</xs:annotation>
|
56
|
-
</xs:attribute>
|
57
|
-
<xs:attribute name="is_spoofed" type="xs:boolean">
|
58
|
-
<xs:annotation>
|
59
|
-
<xs:documentation>The is_spoofed field specifies whether the address is spoofed, i.e. forged to conceal its identity or true source.</xs:documentation>
|
60
|
-
</xs:annotation>
|
61
|
-
</xs:attribute>
|
62
|
-
</xs:extension>
|
63
|
-
</xs:complexContent>
|
64
|
-
</xs:complexType>
|
65
|
-
<xs:simpleType name="CategoryTypeEnum">
|
66
|
-
<xs:annotation>
|
67
|
-
<xs:documentation>The CategoryTypeEnum type is an enumeration of address types.</xs:documentation>
|
68
|
-
</xs:annotation>
|
69
|
-
<xs:restriction base="xs:NMTOKEN">
|
70
|
-
<xs:enumeration value="asn">
|
71
|
-
<xs:annotation>
|
72
|
-
<xs:documentation>The asn value specifies an identifier for an Autonomous System Number.</xs:documentation>
|
73
|
-
</xs:annotation>
|
74
|
-
</xs:enumeration>
|
75
|
-
<xs:enumeration value="atm">
|
76
|
-
<xs:annotation>
|
77
|
-
<xs:documentation>The atm value specifies an Asynchronous Transfer Mode address.</xs:documentation>
|
78
|
-
</xs:annotation>
|
79
|
-
</xs:enumeration>
|
80
|
-
<xs:enumeration value="cidr">
|
81
|
-
<xs:annotation>
|
82
|
-
<xs:documentation>The CIDR value specifies an address in Classless Inter-domain Routing notation (the IP address and its associated routing prefix).</xs:documentation>
|
83
|
-
</xs:annotation>
|
84
|
-
</xs:enumeration>
|
85
|
-
<xs:enumeration value="e-mail">
|
86
|
-
<xs:annotation>
|
87
|
-
<xs:documentation>The e-mail value specifies an e-mail address.</xs:documentation>
|
88
|
-
</xs:annotation>
|
89
|
-
</xs:enumeration>
|
90
|
-
<xs:enumeration value="mac">
|
91
|
-
<xs:annotation>
|
92
|
-
<xs:documentation>The mac value specifies a system's MAC address.</xs:documentation>
|
93
|
-
</xs:annotation>
|
94
|
-
</xs:enumeration>
|
95
|
-
<xs:enumeration value="ipv4-addr">
|
96
|
-
<xs:annotation>
|
97
|
-
<xs:documentation>The IPV4-addr value specifies an IPV4 address.</xs:documentation>
|
98
|
-
</xs:annotation>
|
99
|
-
</xs:enumeration>
|
100
|
-
<xs:enumeration value="ipv4-net">
|
101
|
-
<xs:annotation>
|
102
|
-
<xs:documentation/>
|
103
|
-
</xs:annotation>
|
104
|
-
</xs:enumeration>
|
105
|
-
<xs:enumeration value="ipv4-net-mask">
|
106
|
-
<xs:annotation>
|
107
|
-
<xs:documentation>The IPV4-net-mask value specifies an IPV4 bitwise netmask.</xs:documentation>
|
108
|
-
</xs:annotation>
|
109
|
-
</xs:enumeration>
|
110
|
-
<xs:enumeration value="ipv6-addr">
|
111
|
-
<xs:annotation>
|
112
|
-
<xs:documentation>The IPV6-addr value specifies an IPV6 address.</xs:documentation>
|
113
|
-
</xs:annotation>
|
114
|
-
</xs:enumeration>
|
115
|
-
<xs:enumeration value="ipv6-net">
|
116
|
-
<xs:annotation>
|
117
|
-
<xs:documentation/>
|
118
|
-
</xs:annotation>
|
119
|
-
</xs:enumeration>
|
120
|
-
<xs:enumeration value="ipv6-net-mask">
|
121
|
-
<xs:annotation>
|
122
|
-
<xs:documentation>The IPV6-net-mask value specifies an IPV6 bitwise netmask.</xs:documentation>
|
123
|
-
</xs:annotation>
|
124
|
-
</xs:enumeration>
|
125
|
-
</xs:restriction>
|
126
|
-
</xs:simpleType>
|
127
|
-
</xs:schema>
|
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:cyboxCommon="http://cybox.mitre.org/common-2" targetNamespace="http://cybox.mitre.org/objects#AddressObject-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>Address_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="Address" type="AddressObj:AddressObjectType">
|
15
|
+
<xs:annotation>
|
16
|
+
<xs:documentation>The Address object is intended to specify a cyber address.</xs:documentation>
|
17
|
+
</xs:annotation>
|
18
|
+
</xs:element>
|
19
|
+
<xs:complexType name="AddressObjectType">
|
20
|
+
<xs:annotation>
|
21
|
+
<xs:documentation>The AddressObjectType is intended to characterize cyber addresses.</xs:documentation>
|
22
|
+
</xs:annotation>
|
23
|
+
<xs:complexContent>
|
24
|
+
<xs:extension base="cyboxCommon:ObjectPropertiesType">
|
25
|
+
<xs:sequence>
|
26
|
+
<xs:element name="Address_Value" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
|
27
|
+
<xs:annotation>
|
28
|
+
<xs:documentation>The required Address_Value construct specifies the actual value of the address.</xs:documentation>
|
29
|
+
</xs:annotation>
|
30
|
+
</xs:element>
|
31
|
+
<xs:element name="VLAN_Name" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
|
32
|
+
<xs:annotation>
|
33
|
+
<xs:documentation>The VLAN_Name field specifies the name of the Virtual LAN to which the address belongs.</xs:documentation>
|
34
|
+
</xs:annotation>
|
35
|
+
</xs:element>
|
36
|
+
<xs:element name="VLAN_Num" type="cyboxCommon:IntegerObjectPropertyType" minOccurs="0">
|
37
|
+
<xs:annotation>
|
38
|
+
<xs:documentation>The VLAN_Num field specifies the number of the Virtual LAN to which the address belongs.</xs:documentation>
|
39
|
+
</xs:annotation>
|
40
|
+
</xs:element>
|
41
|
+
</xs:sequence>
|
42
|
+
<xs:attribute name="category" type="AddressObj:CategoryTypeEnum" default="ipv4-addr">
|
43
|
+
<xs:annotation>
|
44
|
+
<xs:documentation>The category field specifies the address category that is being defined.</xs:documentation>
|
45
|
+
</xs:annotation>
|
46
|
+
</xs:attribute>
|
47
|
+
<xs:attribute name="is_source" type="xs:boolean">
|
48
|
+
<xs:annotation>
|
49
|
+
<xs:documentation>The is_source field specifies if this is a "Source" address.</xs:documentation>
|
50
|
+
</xs:annotation>
|
51
|
+
</xs:attribute>
|
52
|
+
<xs:attribute name="is_destination" type="xs:boolean">
|
53
|
+
<xs:annotation>
|
54
|
+
<xs:documentation>The is_destination field specifies if this is a "Destination" address.</xs:documentation>
|
55
|
+
</xs:annotation>
|
56
|
+
</xs:attribute>
|
57
|
+
<xs:attribute name="is_spoofed" type="xs:boolean">
|
58
|
+
<xs:annotation>
|
59
|
+
<xs:documentation>The is_spoofed field specifies whether the address is spoofed, i.e. forged to conceal its identity or true source.</xs:documentation>
|
60
|
+
</xs:annotation>
|
61
|
+
</xs:attribute>
|
62
|
+
</xs:extension>
|
63
|
+
</xs:complexContent>
|
64
|
+
</xs:complexType>
|
65
|
+
<xs:simpleType name="CategoryTypeEnum">
|
66
|
+
<xs:annotation>
|
67
|
+
<xs:documentation>The CategoryTypeEnum type is an enumeration of address types.</xs:documentation>
|
68
|
+
</xs:annotation>
|
69
|
+
<xs:restriction base="xs:NMTOKEN">
|
70
|
+
<xs:enumeration value="asn">
|
71
|
+
<xs:annotation>
|
72
|
+
<xs:documentation>The asn value specifies an identifier for an Autonomous System Number.</xs:documentation>
|
73
|
+
</xs:annotation>
|
74
|
+
</xs:enumeration>
|
75
|
+
<xs:enumeration value="atm">
|
76
|
+
<xs:annotation>
|
77
|
+
<xs:documentation>The atm value specifies an Asynchronous Transfer Mode address.</xs:documentation>
|
78
|
+
</xs:annotation>
|
79
|
+
</xs:enumeration>
|
80
|
+
<xs:enumeration value="cidr">
|
81
|
+
<xs:annotation>
|
82
|
+
<xs:documentation>The CIDR value specifies an address in Classless Inter-domain Routing notation (the IP address and its associated routing prefix).</xs:documentation>
|
83
|
+
</xs:annotation>
|
84
|
+
</xs:enumeration>
|
85
|
+
<xs:enumeration value="e-mail">
|
86
|
+
<xs:annotation>
|
87
|
+
<xs:documentation>The e-mail value specifies an e-mail address.</xs:documentation>
|
88
|
+
</xs:annotation>
|
89
|
+
</xs:enumeration>
|
90
|
+
<xs:enumeration value="mac">
|
91
|
+
<xs:annotation>
|
92
|
+
<xs:documentation>The mac value specifies a system's MAC address.</xs:documentation>
|
93
|
+
</xs:annotation>
|
94
|
+
</xs:enumeration>
|
95
|
+
<xs:enumeration value="ipv4-addr">
|
96
|
+
<xs:annotation>
|
97
|
+
<xs:documentation>The IPV4-addr value specifies an IPV4 address.</xs:documentation>
|
98
|
+
</xs:annotation>
|
99
|
+
</xs:enumeration>
|
100
|
+
<xs:enumeration value="ipv4-net">
|
101
|
+
<xs:annotation>
|
102
|
+
<xs:documentation/>
|
103
|
+
</xs:annotation>
|
104
|
+
</xs:enumeration>
|
105
|
+
<xs:enumeration value="ipv4-net-mask">
|
106
|
+
<xs:annotation>
|
107
|
+
<xs:documentation>The IPV4-net-mask value specifies an IPV4 bitwise netmask.</xs:documentation>
|
108
|
+
</xs:annotation>
|
109
|
+
</xs:enumeration>
|
110
|
+
<xs:enumeration value="ipv6-addr">
|
111
|
+
<xs:annotation>
|
112
|
+
<xs:documentation>The IPV6-addr value specifies an IPV6 address.</xs:documentation>
|
113
|
+
</xs:annotation>
|
114
|
+
</xs:enumeration>
|
115
|
+
<xs:enumeration value="ipv6-net">
|
116
|
+
<xs:annotation>
|
117
|
+
<xs:documentation/>
|
118
|
+
</xs:annotation>
|
119
|
+
</xs:enumeration>
|
120
|
+
<xs:enumeration value="ipv6-net-mask">
|
121
|
+
<xs:annotation>
|
122
|
+
<xs:documentation>The IPV6-net-mask value specifies an IPV6 bitwise netmask.</xs:documentation>
|
123
|
+
</xs:annotation>
|
124
|
+
</xs:enumeration>
|
125
|
+
</xs:restriction>
|
126
|
+
</xs:simpleType>
|
127
|
+
</xs:schema>
|
@@ -1,134 +1,134 @@
|
|
1
|
-
<?xml version='1.0' encoding='UTF-8'?>
|
2
|
-
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ArchiveFileObj="http://cybox.mitre.org/objects#ArchiveFileObject-1" xmlns:cyboxCommon="http://cybox.mitre.org/common-2" xmlns:FileObj="http://cybox.mitre.org/objects#FileObject-2" targetNamespace="http://cybox.mitre.org/objects#ArchiveFileObject-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>Archive_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="Archive_File" type="ArchiveFileObj:ArchiveFileObjectType">
|
16
|
-
<xs:annotation>
|
17
|
-
<xs:documentation>The Archive_File object is intended to characterize archive files.</xs:documentation>
|
18
|
-
</xs:annotation>
|
19
|
-
</xs:element>
|
20
|
-
<xs:complexType name="ArchiveFileObjectType" mixed="false">
|
21
|
-
<xs:annotation>
|
22
|
-
<xs:documentation>The ArchiveFileObjectType type is intended to characterize archive 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="Archive_Format" type="ArchiveFileObj:ArchiveFileFormatType">
|
28
|
-
<xs:annotation>
|
29
|
-
<xs:documentation>The Archive Format specifies the format of the archive file.</xs:documentation>
|
30
|
-
</xs:annotation>
|
31
|
-
</xs:element>
|
32
|
-
<xs:element minOccurs="0" name="Version" type="cyboxCommon:StringObjectPropertyType">
|
33
|
-
<xs:annotation>
|
34
|
-
<xs:documentation>The Version field specifies the archive type used to create archive file.</xs:documentation>
|
35
|
-
</xs:annotation>
|
36
|
-
</xs:element>
|
37
|
-
<xs:element minOccurs="0" name="File_Count" type="cyboxCommon:IntegerObjectPropertyType">
|
38
|
-
<xs:annotation>
|
39
|
-
<xs:documentation>The File_Count field specifies the number of files contained within the archive.</xs:documentation>
|
40
|
-
</xs:annotation>
|
41
|
-
</xs:element>
|
42
|
-
<xs:element minOccurs="0" name="Encryption_Algorithm" type="cyboxCommon:CipherType">
|
43
|
-
<xs:annotation>
|
44
|
-
<xs:documentation>The Encryption_Algorithm field specifies the algorithm used to encrypt an archive file. Note: For individual files within an archive that are themselves encrypted, the specifics of that encryption are found in the FileObject definition for that file.</xs:documentation>
|
45
|
-
</xs:annotation>
|
46
|
-
</xs:element>
|
47
|
-
<xs:element name="Decryption_Key" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
|
48
|
-
<xs:annotation>
|
49
|
-
<xs:documentation>The Decryption_Key field specifies the key used to decrypt the file.</xs:documentation>
|
50
|
-
</xs:annotation>
|
51
|
-
</xs:element>
|
52
|
-
<xs:element minOccurs="0" name="Comment" type="cyboxCommon:StringObjectPropertyType">
|
53
|
-
<xs:annotation>
|
54
|
-
<xs:documentation>The Comment field specifies the comment information associated with archive file.</xs:documentation>
|
55
|
-
</xs:annotation>
|
56
|
-
</xs:element>
|
57
|
-
<xs:element minOccurs="0" maxOccurs="unbounded" name="Archived_File" type="FileObj:FileObjectType">
|
58
|
-
<xs:annotation>
|
59
|
-
<xs:documentation>The Archived_File field specifies the FileObject definitions for the individual files contained within the archive.</xs:documentation>
|
60
|
-
</xs:annotation>
|
61
|
-
</xs:element>
|
62
|
-
</xs:sequence>
|
63
|
-
</xs:extension>
|
64
|
-
</xs:complexContent>
|
65
|
-
</xs:complexType>
|
66
|
-
<xs:complexType name="ArchiveFileFormatType">
|
67
|
-
<xs:annotation>
|
68
|
-
<xs:documentation>The ArchiveFileFormatType specifies archive file formats via a union of the ArchiveFileFormatEnum 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>
|
69
|
-
</xs:annotation>
|
70
|
-
<xs:simpleContent>
|
71
|
-
<xs:restriction base="cyboxCommon:BaseObjectPropertyType">
|
72
|
-
<xs:simpleType>
|
73
|
-
<xs:union memberTypes="ArchiveFileObj:ArchiveFileFormatEnum xs:string"/>
|
74
|
-
</xs:simpleType>
|
75
|
-
</xs:restriction>
|
76
|
-
</xs:simpleContent>
|
77
|
-
</xs:complexType>
|
78
|
-
<xs:simpleType name="ArchiveFileFormatEnum">
|
79
|
-
<xs:annotation>
|
80
|
-
<xs:documentation>The ArchiveFileFormatEnum type is a non-exhaustive enumeration of common archive file formats.</xs:documentation>
|
81
|
-
</xs:annotation>
|
82
|
-
<xs:list>
|
83
|
-
<xs:simpleType>
|
84
|
-
<xs:restriction base="xs:string">
|
85
|
-
<xs:enumeration value="7-ZIP">
|
86
|
-
<xs:annotation>
|
87
|
-
<xs:documentation>Specifies the open source 7-zip file format (.7z)</xs:documentation>
|
88
|
-
</xs:annotation>
|
89
|
-
</xs:enumeration>
|
90
|
-
<xs:enumeration value="APK">
|
91
|
-
<xs:annotation>
|
92
|
-
<xs:documentation>Specifies the Android application package format (.apk)</xs:documentation>
|
93
|
-
</xs:annotation>
|
94
|
-
</xs:enumeration>
|
95
|
-
<xs:enumeration value="CAB">
|
96
|
-
<xs:annotation>
|
97
|
-
<xs:documentation>Specifies the Microsoft native archive format (.cab)</xs:documentation>
|
98
|
-
</xs:annotation>
|
99
|
-
</xs:enumeration>
|
100
|
-
<xs:enumeration value="DMG">
|
101
|
-
<xs:annotation>
|
102
|
-
<xs:documentation>Specifies the Apple disk image format (.dmg)</xs:documentation>
|
103
|
-
</xs:annotation>
|
104
|
-
</xs:enumeration>
|
105
|
-
<xs:enumeration value="JAR">
|
106
|
-
<xs:annotation>
|
107
|
-
<xs:documentation>Specifies the Java archive format (.jar)</xs:documentation>
|
108
|
-
</xs:annotation>
|
109
|
-
</xs:enumeration>
|
110
|
-
<xs:enumeration value="RAR">
|
111
|
-
<xs:annotation>
|
112
|
-
<xs:documentation>Specifies the RAR file format (.rar)</xs:documentation>
|
113
|
-
</xs:annotation>
|
114
|
-
</xs:enumeration>
|
115
|
-
<xs:enumeration value="SIT">
|
116
|
-
<xs:annotation>
|
117
|
-
<xs:documentation>Specifies the StuffIt file format (.sit, .sitx)</xs:documentation>
|
118
|
-
</xs:annotation>
|
119
|
-
</xs:enumeration>
|
120
|
-
<xs:enumeration value="TGZ">
|
121
|
-
<xs:annotation>
|
122
|
-
<xs:documentation>Specifies the compressed TAR file format (.tar.gz, .tgz, .tar.Z, .tar.bz2)</xs:documentation>
|
123
|
-
</xs:annotation>
|
124
|
-
</xs:enumeration>
|
125
|
-
<xs:enumeration value="ZIP">
|
126
|
-
<xs:annotation>
|
127
|
-
<xs:documentation>Specifies the PKZip file format (.zip, .zipx)</xs:documentation>
|
128
|
-
</xs:annotation>
|
129
|
-
</xs:enumeration>
|
130
|
-
</xs:restriction>
|
131
|
-
</xs:simpleType>
|
132
|
-
</xs:list>
|
133
|
-
</xs:simpleType>
|
134
|
-
</xs:schema>
|
1
|
+
<?xml version='1.0' encoding='UTF-8'?>
|
2
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ArchiveFileObj="http://cybox.mitre.org/objects#ArchiveFileObject-1" xmlns:cyboxCommon="http://cybox.mitre.org/common-2" xmlns:FileObj="http://cybox.mitre.org/objects#FileObject-2" targetNamespace="http://cybox.mitre.org/objects#ArchiveFileObject-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>Archive_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="Archive_File" type="ArchiveFileObj:ArchiveFileObjectType">
|
16
|
+
<xs:annotation>
|
17
|
+
<xs:documentation>The Archive_File object is intended to characterize archive files.</xs:documentation>
|
18
|
+
</xs:annotation>
|
19
|
+
</xs:element>
|
20
|
+
<xs:complexType name="ArchiveFileObjectType" mixed="false">
|
21
|
+
<xs:annotation>
|
22
|
+
<xs:documentation>The ArchiveFileObjectType type is intended to characterize archive 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="Archive_Format" type="ArchiveFileObj:ArchiveFileFormatType">
|
28
|
+
<xs:annotation>
|
29
|
+
<xs:documentation>The Archive Format specifies the format of the archive file.</xs:documentation>
|
30
|
+
</xs:annotation>
|
31
|
+
</xs:element>
|
32
|
+
<xs:element minOccurs="0" name="Version" type="cyboxCommon:StringObjectPropertyType">
|
33
|
+
<xs:annotation>
|
34
|
+
<xs:documentation>The Version field specifies the archive type used to create archive file.</xs:documentation>
|
35
|
+
</xs:annotation>
|
36
|
+
</xs:element>
|
37
|
+
<xs:element minOccurs="0" name="File_Count" type="cyboxCommon:IntegerObjectPropertyType">
|
38
|
+
<xs:annotation>
|
39
|
+
<xs:documentation>The File_Count field specifies the number of files contained within the archive.</xs:documentation>
|
40
|
+
</xs:annotation>
|
41
|
+
</xs:element>
|
42
|
+
<xs:element minOccurs="0" name="Encryption_Algorithm" type="cyboxCommon:CipherType">
|
43
|
+
<xs:annotation>
|
44
|
+
<xs:documentation>The Encryption_Algorithm field specifies the algorithm used to encrypt an archive file. Note: For individual files within an archive that are themselves encrypted, the specifics of that encryption are found in the FileObject definition for that file.</xs:documentation>
|
45
|
+
</xs:annotation>
|
46
|
+
</xs:element>
|
47
|
+
<xs:element name="Decryption_Key" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
|
48
|
+
<xs:annotation>
|
49
|
+
<xs:documentation>The Decryption_Key field specifies the key used to decrypt the file.</xs:documentation>
|
50
|
+
</xs:annotation>
|
51
|
+
</xs:element>
|
52
|
+
<xs:element minOccurs="0" name="Comment" type="cyboxCommon:StringObjectPropertyType">
|
53
|
+
<xs:annotation>
|
54
|
+
<xs:documentation>The Comment field specifies the comment information associated with archive file.</xs:documentation>
|
55
|
+
</xs:annotation>
|
56
|
+
</xs:element>
|
57
|
+
<xs:element minOccurs="0" maxOccurs="unbounded" name="Archived_File" type="FileObj:FileObjectType">
|
58
|
+
<xs:annotation>
|
59
|
+
<xs:documentation>The Archived_File field specifies the FileObject definitions for the individual files contained within the archive.</xs:documentation>
|
60
|
+
</xs:annotation>
|
61
|
+
</xs:element>
|
62
|
+
</xs:sequence>
|
63
|
+
</xs:extension>
|
64
|
+
</xs:complexContent>
|
65
|
+
</xs:complexType>
|
66
|
+
<xs:complexType name="ArchiveFileFormatType">
|
67
|
+
<xs:annotation>
|
68
|
+
<xs:documentation>The ArchiveFileFormatType specifies archive file formats via a union of the ArchiveFileFormatEnum 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>
|
69
|
+
</xs:annotation>
|
70
|
+
<xs:simpleContent>
|
71
|
+
<xs:restriction base="cyboxCommon:BaseObjectPropertyType">
|
72
|
+
<xs:simpleType>
|
73
|
+
<xs:union memberTypes="ArchiveFileObj:ArchiveFileFormatEnum xs:string"/>
|
74
|
+
</xs:simpleType>
|
75
|
+
</xs:restriction>
|
76
|
+
</xs:simpleContent>
|
77
|
+
</xs:complexType>
|
78
|
+
<xs:simpleType name="ArchiveFileFormatEnum">
|
79
|
+
<xs:annotation>
|
80
|
+
<xs:documentation>The ArchiveFileFormatEnum type is a non-exhaustive enumeration of common archive file formats.</xs:documentation>
|
81
|
+
</xs:annotation>
|
82
|
+
<xs:list>
|
83
|
+
<xs:simpleType>
|
84
|
+
<xs:restriction base="xs:string">
|
85
|
+
<xs:enumeration value="7-ZIP">
|
86
|
+
<xs:annotation>
|
87
|
+
<xs:documentation>Specifies the open source 7-zip file format (.7z)</xs:documentation>
|
88
|
+
</xs:annotation>
|
89
|
+
</xs:enumeration>
|
90
|
+
<xs:enumeration value="APK">
|
91
|
+
<xs:annotation>
|
92
|
+
<xs:documentation>Specifies the Android application package format (.apk)</xs:documentation>
|
93
|
+
</xs:annotation>
|
94
|
+
</xs:enumeration>
|
95
|
+
<xs:enumeration value="CAB">
|
96
|
+
<xs:annotation>
|
97
|
+
<xs:documentation>Specifies the Microsoft native archive format (.cab)</xs:documentation>
|
98
|
+
</xs:annotation>
|
99
|
+
</xs:enumeration>
|
100
|
+
<xs:enumeration value="DMG">
|
101
|
+
<xs:annotation>
|
102
|
+
<xs:documentation>Specifies the Apple disk image format (.dmg)</xs:documentation>
|
103
|
+
</xs:annotation>
|
104
|
+
</xs:enumeration>
|
105
|
+
<xs:enumeration value="JAR">
|
106
|
+
<xs:annotation>
|
107
|
+
<xs:documentation>Specifies the Java archive format (.jar)</xs:documentation>
|
108
|
+
</xs:annotation>
|
109
|
+
</xs:enumeration>
|
110
|
+
<xs:enumeration value="RAR">
|
111
|
+
<xs:annotation>
|
112
|
+
<xs:documentation>Specifies the RAR file format (.rar)</xs:documentation>
|
113
|
+
</xs:annotation>
|
114
|
+
</xs:enumeration>
|
115
|
+
<xs:enumeration value="SIT">
|
116
|
+
<xs:annotation>
|
117
|
+
<xs:documentation>Specifies the StuffIt file format (.sit, .sitx)</xs:documentation>
|
118
|
+
</xs:annotation>
|
119
|
+
</xs:enumeration>
|
120
|
+
<xs:enumeration value="TGZ">
|
121
|
+
<xs:annotation>
|
122
|
+
<xs:documentation>Specifies the compressed TAR file format (.tar.gz, .tgz, .tar.Z, .tar.bz2)</xs:documentation>
|
123
|
+
</xs:annotation>
|
124
|
+
</xs:enumeration>
|
125
|
+
<xs:enumeration value="ZIP">
|
126
|
+
<xs:annotation>
|
127
|
+
<xs:documentation>Specifies the PKZip file format (.zip, .zipx)</xs:documentation>
|
128
|
+
</xs:annotation>
|
129
|
+
</xs:enumeration>
|
130
|
+
</xs:restriction>
|
131
|
+
</xs:simpleType>
|
132
|
+
</xs:list>
|
133
|
+
</xs:simpleType>
|
134
|
+
</xs:schema>
|