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,62 +1,62 @@
|
|
1
|
-
<?xml version='1.0' encoding='UTF-8'?>
|
2
|
-
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:URIObj="http://cybox.mitre.org/objects#URIObject-2" xmlns:cyboxCommon="http://cybox.mitre.org/common-2" targetNamespace="http://cybox.mitre.org/objects#URIObject-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>URI_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="URI" type="URIObj:URIObjectType">
|
15
|
-
<xs:annotation>
|
16
|
-
<xs:documentation>The URI object is intended to characterize Uniform Resource Identifiers (URI's).</xs:documentation>
|
17
|
-
</xs:annotation>
|
18
|
-
</xs:element>
|
19
|
-
<xs:complexType name="URIObjectType">
|
20
|
-
<xs:annotation>
|
21
|
-
<xs:documentation>The URIObjectType type is intended to characterize Uniform Resource Identifiers (URI's).</xs:documentation>
|
22
|
-
</xs:annotation>
|
23
|
-
<xs:complexContent>
|
24
|
-
<xs:extension base="cyboxCommon:ObjectPropertiesType">
|
25
|
-
<xs:sequence>
|
26
|
-
<xs:element name="Value" type="cyboxCommon:AnyURIObjectPropertyType" minOccurs="0">
|
27
|
-
<xs:annotation>
|
28
|
-
<xs:documentation>The Value field specifies the value of the URI.</xs:documentation>
|
29
|
-
</xs:annotation>
|
30
|
-
</xs:element>
|
31
|
-
</xs:sequence>
|
32
|
-
<xs:attribute name="type" type="URIObj:URITypeEnum">
|
33
|
-
<xs:annotation>
|
34
|
-
<xs:documentation>The type field specifies the type of URI that is being defined.</xs:documentation>
|
35
|
-
</xs:annotation>
|
36
|
-
</xs:attribute>
|
37
|
-
</xs:extension>
|
38
|
-
</xs:complexContent>
|
39
|
-
</xs:complexType>
|
40
|
-
<xs:simpleType name="URITypeEnum">
|
41
|
-
<xs:annotation>
|
42
|
-
<xs:documentation>The URITypeEnum is an enumeration of types of URIs.</xs:documentation>
|
43
|
-
</xs:annotation>
|
44
|
-
<xs:restriction base="xs:string">
|
45
|
-
<xs:enumeration value="URL">
|
46
|
-
<xs:annotation>
|
47
|
-
<xs:documentation>Specifies a URL type of URI.</xs:documentation>
|
48
|
-
</xs:annotation>
|
49
|
-
</xs:enumeration>
|
50
|
-
<xs:enumeration value="General URN">
|
51
|
-
<xs:annotation>
|
52
|
-
<xs:documentation>Specifies a General URN type of URI.</xs:documentation>
|
53
|
-
</xs:annotation>
|
54
|
-
</xs:enumeration>
|
55
|
-
<xs:enumeration value="Domain Name">
|
56
|
-
<xs:annotation>
|
57
|
-
<xs:documentation>Specifies a Domain Name type of URI.</xs:documentation>
|
58
|
-
</xs:annotation>
|
59
|
-
</xs:enumeration>
|
60
|
-
</xs:restriction>
|
61
|
-
</xs:simpleType>
|
62
|
-
</xs:schema>
|
1
|
+
<?xml version='1.0' encoding='UTF-8'?>
|
2
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:URIObj="http://cybox.mitre.org/objects#URIObject-2" xmlns:cyboxCommon="http://cybox.mitre.org/common-2" targetNamespace="http://cybox.mitre.org/objects#URIObject-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>URI_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="URI" type="URIObj:URIObjectType">
|
15
|
+
<xs:annotation>
|
16
|
+
<xs:documentation>The URI object is intended to characterize Uniform Resource Identifiers (URI's).</xs:documentation>
|
17
|
+
</xs:annotation>
|
18
|
+
</xs:element>
|
19
|
+
<xs:complexType name="URIObjectType">
|
20
|
+
<xs:annotation>
|
21
|
+
<xs:documentation>The URIObjectType type is intended to characterize Uniform Resource Identifiers (URI's).</xs:documentation>
|
22
|
+
</xs:annotation>
|
23
|
+
<xs:complexContent>
|
24
|
+
<xs:extension base="cyboxCommon:ObjectPropertiesType">
|
25
|
+
<xs:sequence>
|
26
|
+
<xs:element name="Value" type="cyboxCommon:AnyURIObjectPropertyType" minOccurs="0">
|
27
|
+
<xs:annotation>
|
28
|
+
<xs:documentation>The Value field specifies the value of the URI.</xs:documentation>
|
29
|
+
</xs:annotation>
|
30
|
+
</xs:element>
|
31
|
+
</xs:sequence>
|
32
|
+
<xs:attribute name="type" type="URIObj:URITypeEnum">
|
33
|
+
<xs:annotation>
|
34
|
+
<xs:documentation>The type field specifies the type of URI that is being defined.</xs:documentation>
|
35
|
+
</xs:annotation>
|
36
|
+
</xs:attribute>
|
37
|
+
</xs:extension>
|
38
|
+
</xs:complexContent>
|
39
|
+
</xs:complexType>
|
40
|
+
<xs:simpleType name="URITypeEnum">
|
41
|
+
<xs:annotation>
|
42
|
+
<xs:documentation>The URITypeEnum is an enumeration of types of URIs.</xs:documentation>
|
43
|
+
</xs:annotation>
|
44
|
+
<xs:restriction base="xs:string">
|
45
|
+
<xs:enumeration value="URL">
|
46
|
+
<xs:annotation>
|
47
|
+
<xs:documentation>Specifies a URL type of URI.</xs:documentation>
|
48
|
+
</xs:annotation>
|
49
|
+
</xs:enumeration>
|
50
|
+
<xs:enumeration value="General URN">
|
51
|
+
<xs:annotation>
|
52
|
+
<xs:documentation>Specifies a General URN type of URI.</xs:documentation>
|
53
|
+
</xs:annotation>
|
54
|
+
</xs:enumeration>
|
55
|
+
<xs:enumeration value="Domain Name">
|
56
|
+
<xs:annotation>
|
57
|
+
<xs:documentation>Specifies a Domain Name type of URI.</xs:documentation>
|
58
|
+
</xs:annotation>
|
59
|
+
</xs:enumeration>
|
60
|
+
</xs:restriction>
|
61
|
+
</xs:simpleType>
|
62
|
+
</xs:schema>
|
@@ -1,104 +1,104 @@
|
|
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:URIObj="http://cybox.mitre.org/objects#URIObject-2" xmlns:URLHistoryObj="http://cybox.mitre.org/objects#URLHistoryObject-1" xmlns:cyboxCommon="http://cybox.mitre.org/common-2" targetNamespace="http://cybox.mitre.org/objects#URLHistoryObject-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>URL_History_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#URIObject-2" schemaLocation="URI_Object.xsd"/>
|
15
|
-
<xs:import namespace="http://cybox.mitre.org/objects#HostnameObject-1" schemaLocation="Hostname_Object.xsd"/>
|
16
|
-
<xs:element name="URL_History" type="URLHistoryObj:URLHistoryObjectType">
|
17
|
-
<xs:annotation>
|
18
|
-
<xs:documentation>The URL_History object is intended to characterize the stored URL history of a particular web browser.</xs:documentation>
|
19
|
-
</xs:annotation>
|
20
|
-
</xs:element>
|
21
|
-
<xs:complexType name="URLHistoryObjectType" mixed="false">
|
22
|
-
<xs:annotation>
|
23
|
-
<xs:documentation>The URLHistoryObject type is intended to characterize the stored URL history for a particular web browser.</xs:documentation>
|
24
|
-
</xs:annotation>
|
25
|
-
<xs:complexContent>
|
26
|
-
<xs:extension base="cyboxCommon:ObjectPropertiesType">
|
27
|
-
<xs:sequence>
|
28
|
-
<xs:element minOccurs="0" name="Browser_Information" type="cyboxCommon:ToolInformationType">
|
29
|
-
<xs:annotation>
|
30
|
-
<xs:documentation>The Browser_Information field captures information about the particular Web Browser whose URL history is being captured. It uses the ToolInformationType from the imported CybOX Common schema.</xs:documentation>
|
31
|
-
</xs:annotation>
|
32
|
-
</xs:element>
|
33
|
-
<xs:element maxOccurs="unbounded" minOccurs="0" name="URL_History_Entry" type="URLHistoryObj:URLHistoryEntryType">
|
34
|
-
<xs:annotation>
|
35
|
-
<xs:documentation>The URL_History_Entry field specifies a single URL history entry stored in the browser's history.</xs:documentation>
|
36
|
-
</xs:annotation>
|
37
|
-
</xs:element>
|
38
|
-
</xs:sequence>
|
39
|
-
</xs:extension>
|
40
|
-
</xs:complexContent>
|
41
|
-
</xs:complexType>
|
42
|
-
<xs:complexType name="URLHistoryEntryType">
|
43
|
-
<xs:annotation>
|
44
|
-
<xs:documentation>The URLHistoryEntryType captures the properties of a URL history entry for a particular browser.</xs:documentation>
|
45
|
-
</xs:annotation>
|
46
|
-
<xs:sequence>
|
47
|
-
<xs:element minOccurs="0" name="URL" type="URIObj:URIObjectType">
|
48
|
-
<xs:annotation>
|
49
|
-
<xs:documentation>The URL field specifies the URL that the URL history entry points to. It uses the URIObjectType from the imported CybOX URI Object.</xs:documentation>
|
50
|
-
</xs:annotation>
|
51
|
-
</xs:element>
|
52
|
-
<xs:element minOccurs="0" name="Hostname" type="HostnameObj:HostnameObjectType">
|
53
|
-
<xs:annotation>
|
54
|
-
<xs:documentation>The Hostname field specifies the hostname portion of the URL that the URL history entry points to (captured in the URL field).</xs:documentation>
|
55
|
-
</xs:annotation>
|
56
|
-
</xs:element>
|
57
|
-
<xs:element minOccurs="0" name="Referrer_URL" type="URIObj:URIObjectType">
|
58
|
-
<xs:annotation>
|
59
|
-
<xs:documentation>The Referrer field specifies the origination point (i.e., URL) of the URL captured in the URL history entry, if applicable. It uses the URIObjectType from the imported CybOX URI Object.</xs:documentation>
|
60
|
-
</xs:annotation>
|
61
|
-
</xs:element>
|
62
|
-
<xs:element minOccurs="0" name="Page_Title" type="cyboxCommon:StringObjectPropertyType">
|
63
|
-
<xs:annotation>
|
64
|
-
<xs:documentation>The Page_Title field specifies the title of the web page referred to by the URL captured in the URL field.</xs:documentation>
|
65
|
-
</xs:annotation>
|
66
|
-
</xs:element>
|
67
|
-
<xs:element minOccurs="0" name="User_Profile_Name" type="cyboxCommon:StringObjectPropertyType">
|
68
|
-
<xs:annotation>
|
69
|
-
<xs:documentation>The User_Profile_Name captures the name of the web browser user profile for which the URL history entry was created. </xs:documentation>
|
70
|
-
</xs:annotation>
|
71
|
-
</xs:element>
|
72
|
-
<xs:element minOccurs="0" name="Visit_Count" type="cyboxCommon:NonNegativeIntegerObjectPropertyType">
|
73
|
-
<xs:annotation>
|
74
|
-
<xs:documentation>The Visit_Count field specifies the number of times the URL referred to by the URL field has been visited.</xs:documentation>
|
75
|
-
</xs:annotation>
|
76
|
-
</xs:element>
|
77
|
-
<xs:element minOccurs="0" name="Manually_Entered_Count" type="cyboxCommon:NonNegativeIntegerObjectPropertyType">
|
78
|
-
<xs:annotation>
|
79
|
-
<xs:documentation>The Manually_Entered_Count field specifies the number of times the URL referred to by the URL field was manually entered into the browser's address field by the user. This field is only applicable for URL history entries generated by Google's Chrome browser.</xs:documentation>
|
80
|
-
</xs:annotation>
|
81
|
-
</xs:element>
|
82
|
-
<xs:element minOccurs="0" name="Modification_DateTime" type="cyboxCommon:DateTimeObjectPropertyType">
|
83
|
-
<xs:annotation>
|
84
|
-
<xs:documentation>The Modification_DateTime field specifies the date/time that the URL history entry was last modified.</xs:documentation>
|
85
|
-
</xs:annotation>
|
86
|
-
</xs:element>
|
87
|
-
<xs:element minOccurs="0" name="Expiration_DateTime" type="cyboxCommon:DateTimeObjectPropertyType">
|
88
|
-
<xs:annotation>
|
89
|
-
<xs:documentation>The Expiration_DateTime field specifies the date/time that the URL history entry expires.</xs:documentation>
|
90
|
-
</xs:annotation>
|
91
|
-
</xs:element>
|
92
|
-
<xs:element minOccurs="0" name="First_Visit_DateTime" type="cyboxCommon:DateTimeObjectPropertyType">
|
93
|
-
<xs:annotation>
|
94
|
-
<xs:documentation>The First_Visit_DateTime field specifies the date/time that the URL referred to by the URL field was first visited.</xs:documentation>
|
95
|
-
</xs:annotation>
|
96
|
-
</xs:element>
|
97
|
-
<xs:element minOccurs="0" name="Last_Visit_DateTime" type="cyboxCommon:DateTimeObjectPropertyType">
|
98
|
-
<xs:annotation>
|
99
|
-
<xs:documentation>The Last_Visit_DateTime field specifies the date/time that the URL referred to by the URL field was last visited.</xs:documentation>
|
100
|
-
</xs:annotation>
|
101
|
-
</xs:element>
|
102
|
-
</xs:sequence>
|
103
|
-
</xs:complexType>
|
104
|
-
</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:URIObj="http://cybox.mitre.org/objects#URIObject-2" xmlns:URLHistoryObj="http://cybox.mitre.org/objects#URLHistoryObject-1" xmlns:cyboxCommon="http://cybox.mitre.org/common-2" targetNamespace="http://cybox.mitre.org/objects#URLHistoryObject-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>URL_History_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#URIObject-2" schemaLocation="URI_Object.xsd"/>
|
15
|
+
<xs:import namespace="http://cybox.mitre.org/objects#HostnameObject-1" schemaLocation="Hostname_Object.xsd"/>
|
16
|
+
<xs:element name="URL_History" type="URLHistoryObj:URLHistoryObjectType">
|
17
|
+
<xs:annotation>
|
18
|
+
<xs:documentation>The URL_History object is intended to characterize the stored URL history of a particular web browser.</xs:documentation>
|
19
|
+
</xs:annotation>
|
20
|
+
</xs:element>
|
21
|
+
<xs:complexType name="URLHistoryObjectType" mixed="false">
|
22
|
+
<xs:annotation>
|
23
|
+
<xs:documentation>The URLHistoryObject type is intended to characterize the stored URL history for a particular web browser.</xs:documentation>
|
24
|
+
</xs:annotation>
|
25
|
+
<xs:complexContent>
|
26
|
+
<xs:extension base="cyboxCommon:ObjectPropertiesType">
|
27
|
+
<xs:sequence>
|
28
|
+
<xs:element minOccurs="0" name="Browser_Information" type="cyboxCommon:ToolInformationType">
|
29
|
+
<xs:annotation>
|
30
|
+
<xs:documentation>The Browser_Information field captures information about the particular Web Browser whose URL history is being captured. It uses the ToolInformationType from the imported CybOX Common schema.</xs:documentation>
|
31
|
+
</xs:annotation>
|
32
|
+
</xs:element>
|
33
|
+
<xs:element maxOccurs="unbounded" minOccurs="0" name="URL_History_Entry" type="URLHistoryObj:URLHistoryEntryType">
|
34
|
+
<xs:annotation>
|
35
|
+
<xs:documentation>The URL_History_Entry field specifies a single URL history entry stored in the browser's history.</xs:documentation>
|
36
|
+
</xs:annotation>
|
37
|
+
</xs:element>
|
38
|
+
</xs:sequence>
|
39
|
+
</xs:extension>
|
40
|
+
</xs:complexContent>
|
41
|
+
</xs:complexType>
|
42
|
+
<xs:complexType name="URLHistoryEntryType">
|
43
|
+
<xs:annotation>
|
44
|
+
<xs:documentation>The URLHistoryEntryType captures the properties of a URL history entry for a particular browser.</xs:documentation>
|
45
|
+
</xs:annotation>
|
46
|
+
<xs:sequence>
|
47
|
+
<xs:element minOccurs="0" name="URL" type="URIObj:URIObjectType">
|
48
|
+
<xs:annotation>
|
49
|
+
<xs:documentation>The URL field specifies the URL that the URL history entry points to. It uses the URIObjectType from the imported CybOX URI Object.</xs:documentation>
|
50
|
+
</xs:annotation>
|
51
|
+
</xs:element>
|
52
|
+
<xs:element minOccurs="0" name="Hostname" type="HostnameObj:HostnameObjectType">
|
53
|
+
<xs:annotation>
|
54
|
+
<xs:documentation>The Hostname field specifies the hostname portion of the URL that the URL history entry points to (captured in the URL field).</xs:documentation>
|
55
|
+
</xs:annotation>
|
56
|
+
</xs:element>
|
57
|
+
<xs:element minOccurs="0" name="Referrer_URL" type="URIObj:URIObjectType">
|
58
|
+
<xs:annotation>
|
59
|
+
<xs:documentation>The Referrer field specifies the origination point (i.e., URL) of the URL captured in the URL history entry, if applicable. It uses the URIObjectType from the imported CybOX URI Object.</xs:documentation>
|
60
|
+
</xs:annotation>
|
61
|
+
</xs:element>
|
62
|
+
<xs:element minOccurs="0" name="Page_Title" type="cyboxCommon:StringObjectPropertyType">
|
63
|
+
<xs:annotation>
|
64
|
+
<xs:documentation>The Page_Title field specifies the title of the web page referred to by the URL captured in the URL field.</xs:documentation>
|
65
|
+
</xs:annotation>
|
66
|
+
</xs:element>
|
67
|
+
<xs:element minOccurs="0" name="User_Profile_Name" type="cyboxCommon:StringObjectPropertyType">
|
68
|
+
<xs:annotation>
|
69
|
+
<xs:documentation>The User_Profile_Name captures the name of the web browser user profile for which the URL history entry was created. </xs:documentation>
|
70
|
+
</xs:annotation>
|
71
|
+
</xs:element>
|
72
|
+
<xs:element minOccurs="0" name="Visit_Count" type="cyboxCommon:NonNegativeIntegerObjectPropertyType">
|
73
|
+
<xs:annotation>
|
74
|
+
<xs:documentation>The Visit_Count field specifies the number of times the URL referred to by the URL field has been visited.</xs:documentation>
|
75
|
+
</xs:annotation>
|
76
|
+
</xs:element>
|
77
|
+
<xs:element minOccurs="0" name="Manually_Entered_Count" type="cyboxCommon:NonNegativeIntegerObjectPropertyType">
|
78
|
+
<xs:annotation>
|
79
|
+
<xs:documentation>The Manually_Entered_Count field specifies the number of times the URL referred to by the URL field was manually entered into the browser's address field by the user. This field is only applicable for URL history entries generated by Google's Chrome browser.</xs:documentation>
|
80
|
+
</xs:annotation>
|
81
|
+
</xs:element>
|
82
|
+
<xs:element minOccurs="0" name="Modification_DateTime" type="cyboxCommon:DateTimeObjectPropertyType">
|
83
|
+
<xs:annotation>
|
84
|
+
<xs:documentation>The Modification_DateTime field specifies the date/time that the URL history entry was last modified.</xs:documentation>
|
85
|
+
</xs:annotation>
|
86
|
+
</xs:element>
|
87
|
+
<xs:element minOccurs="0" name="Expiration_DateTime" type="cyboxCommon:DateTimeObjectPropertyType">
|
88
|
+
<xs:annotation>
|
89
|
+
<xs:documentation>The Expiration_DateTime field specifies the date/time that the URL history entry expires.</xs:documentation>
|
90
|
+
</xs:annotation>
|
91
|
+
</xs:element>
|
92
|
+
<xs:element minOccurs="0" name="First_Visit_DateTime" type="cyboxCommon:DateTimeObjectPropertyType">
|
93
|
+
<xs:annotation>
|
94
|
+
<xs:documentation>The First_Visit_DateTime field specifies the date/time that the URL referred to by the URL field was first visited.</xs:documentation>
|
95
|
+
</xs:annotation>
|
96
|
+
</xs:element>
|
97
|
+
<xs:element minOccurs="0" name="Last_Visit_DateTime" type="cyboxCommon:DateTimeObjectPropertyType">
|
98
|
+
<xs:annotation>
|
99
|
+
<xs:documentation>The Last_Visit_DateTime field specifies the date/time that the URL referred to by the URL field was last visited.</xs:documentation>
|
100
|
+
</xs:annotation>
|
101
|
+
</xs:element>
|
102
|
+
</xs:sequence>
|
103
|
+
</xs:complexType>
|
104
|
+
</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:UnixFileObj="http://cybox.mitre.org/objects#UnixFileObject-2" xmlns:cyboxCommon="http://cybox.mitre.org/common-2" xmlns:FileObj="http://cybox.mitre.org/objects#FileObject-2" targetNamespace="http://cybox.mitre.org/objects#UnixFileObject-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>Unix_File_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#FileObject-2" schemaLocation="File_Object.xsd"/>
|
15
|
-
<xs:element name="Unix_File" type="UnixFileObj:UnixFileObjectType">
|
16
|
-
<xs:annotation>
|
17
|
-
<xs:documentation>The Unix_File object is intended to characterize Unix files.</xs:documentation>
|
18
|
-
</xs:annotation>
|
19
|
-
</xs:element>
|
20
|
-
<xs:complexType name="UnixFileObjectType" mixed="false">
|
21
|
-
<xs:annotation>
|
22
|
-
<xs:documentation>The UnixFileObjectType type is intended to characterize Unix files.</xs:documentation>
|
23
|
-
</xs:annotation>
|
24
|
-
<xs:complexContent>
|
25
|
-
<xs:extension base="FileObj:FileObjectType">
|
26
|
-
<xs:sequence minOccurs="1">
|
27
|
-
<xs:element name="Group_Owner" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
|
28
|
-
<xs:annotation>
|
29
|
-
<xs:documentation>The Group_Owner field specifies the name of the group which owns the file.</xs:documentation>
|
30
|
-
</xs:annotation>
|
31
|
-
</xs:element>
|
32
|
-
<xs:element name="INode" type="cyboxCommon:UnsignedLongObjectPropertyType" minOccurs="0" maxOccurs="1">
|
33
|
-
<xs:annotation>
|
34
|
-
<xs:documentation>The INode field specifies the inode, or index node, value of the file.</xs:documentation>
|
35
|
-
</xs:annotation>
|
36
|
-
</xs:element>
|
37
|
-
<xs:element name="Type" type="UnixFileObj:UnixFileType" minOccurs="0">
|
38
|
-
<xs:annotation>
|
39
|
-
<xs:documentation>Specifies file type using the UnixFileTypeEnum enumeration.</xs:documentation>
|
40
|
-
</xs:annotation>
|
41
|
-
</xs:element>
|
42
|
-
</xs:sequence>
|
43
|
-
</xs:extension>
|
44
|
-
</xs:complexContent>
|
45
|
-
</xs:complexType>
|
46
|
-
<xs:complexType name="UnixFilePermissionsType">
|
47
|
-
<xs:annotation>
|
48
|
-
<xs:documentation>The UnixFilePermissionsType type specifies the specific permissions used by the Unix family of operating systems.</xs:documentation>
|
49
|
-
</xs:annotation>
|
50
|
-
<xs:complexContent>
|
51
|
-
<xs:extension base="FileObj:FilePermissionsType">
|
52
|
-
<xs:attribute name="suid" type="xs:boolean">
|
53
|
-
<xs:annotation>
|
54
|
-
<xs:documentation>The suid field specifies whether or not the file may be exectued with the privileges of the file's owner.</xs:documentation>
|
55
|
-
</xs:annotation>
|
56
|
-
</xs:attribute>
|
57
|
-
<xs:attribute name="sgid" type="xs:boolean">
|
58
|
-
<xs:annotation>
|
59
|
-
<xs:documentation>The sgid field specifies whether or not the file may be executed with the privileges of the file's group owner.</xs:documentation>
|
60
|
-
</xs:annotation>
|
61
|
-
</xs:attribute>
|
62
|
-
<xs:attribute name="uread" type="xs:boolean">
|
63
|
-
<xs:annotation>
|
64
|
-
<xs:documentation>The uread field specifies whether or not the owner of the file can read its contents.</xs:documentation>
|
65
|
-
</xs:annotation>
|
66
|
-
</xs:attribute>
|
67
|
-
<xs:attribute name="uwrite" type="xs:boolean">
|
68
|
-
<xs:annotation>
|
69
|
-
<xs:documentation>The uwrite field specifies whether or not the owner of the file can write to it.</xs:documentation>
|
70
|
-
</xs:annotation>
|
71
|
-
</xs:attribute>
|
72
|
-
<xs:attribute name="uexec" type="xs:boolean">
|
73
|
-
<xs:annotation>
|
74
|
-
<xs:documentation>The uexec field specifies whether or not the owner of the file can execute it.</xs:documentation>
|
75
|
-
</xs:annotation>
|
76
|
-
</xs:attribute>
|
77
|
-
<xs:attribute name="gread" type="xs:boolean">
|
78
|
-
<xs:annotation>
|
79
|
-
<xs:documentation>The gread field specifies whether or not the group owner of the file can read its contents.</xs:documentation>
|
80
|
-
</xs:annotation>
|
81
|
-
</xs:attribute>
|
82
|
-
<xs:attribute name="gwrite" type="xs:boolean">
|
83
|
-
<xs:annotation>
|
84
|
-
<xs:documentation>The gwrite field specifies whether or not the group owner of the file can write to it.</xs:documentation>
|
85
|
-
</xs:annotation>
|
86
|
-
</xs:attribute>
|
87
|
-
<xs:attribute name="gexec" type="xs:boolean">
|
88
|
-
<xs:annotation>
|
89
|
-
<xs:documentation>The gexec field specifies whether or not the group owner of the file can execute it.</xs:documentation>
|
90
|
-
</xs:annotation>
|
91
|
-
</xs:attribute>
|
92
|
-
<xs:attribute name="oread" type="xs:boolean">
|
93
|
-
<xs:annotation>
|
94
|
-
<xs:documentation>The oread field specifies whether or not all other users can read the contents of the file.</xs:documentation>
|
95
|
-
</xs:annotation>
|
96
|
-
</xs:attribute>
|
97
|
-
<xs:attribute name="owrite" type="xs:boolean">
|
98
|
-
<xs:annotation>
|
99
|
-
<xs:documentation>The owrite field specifies whether or not all other users can write to the file.</xs:documentation>
|
100
|
-
</xs:annotation>
|
101
|
-
</xs:attribute>
|
102
|
-
<xs:attribute name="oexec" type="xs:boolean">
|
103
|
-
<xs:annotation>
|
104
|
-
<xs:documentation>The oexec field specifies whether or not all other users can execute the file.</xs:documentation>
|
105
|
-
</xs:annotation>
|
106
|
-
</xs:attribute>
|
107
|
-
</xs:extension>
|
108
|
-
</xs:complexContent>
|
109
|
-
</xs:complexType>
|
110
|
-
<xs:complexType name="UnixFileType">
|
111
|
-
<xs:annotation>
|
112
|
-
<xs:documentation>UnixFileType specifies Unix file types, via a union of the UnixFileTypeEnum 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>
|
113
|
-
</xs:annotation>
|
114
|
-
<xs:simpleContent>
|
115
|
-
<xs:restriction base="cyboxCommon:BaseObjectPropertyType">
|
116
|
-
<xs:simpleType>
|
117
|
-
<xs:union memberTypes="UnixFileObj:UnixFileTypeEnum xs:string"/>
|
118
|
-
</xs:simpleType>
|
119
|
-
<xs:attribute name="datatype" type="cyboxCommon:DatatypeEnum" fixed="string">
|
120
|
-
<xs:annotation>
|
121
|
-
<xs:documentation>This attribute is optional and specifies the expected type for the value of the specified property.</xs:documentation>
|
122
|
-
</xs:annotation>
|
123
|
-
</xs:attribute>
|
124
|
-
</xs:restriction>
|
125
|
-
</xs:simpleContent>
|
126
|
-
</xs:complexType>
|
127
|
-
<xs:simpleType name="UnixFileTypeEnum">
|
128
|
-
<xs:annotation>
|
129
|
-
<xs:documentation>The UnixFileTypeEnum type is an enumeration of file types used by the Unix family of operating systems. These file types can be determined via the output of the ls and stat commands.</xs:documentation>
|
130
|
-
</xs:annotation>
|
131
|
-
<xs:restriction base="xs:string">
|
132
|
-
<xs:enumeration value="regularfile">
|
133
|
-
<xs:annotation>
|
134
|
-
<xs:documentation>Specifies a regular file, denoted in UNIX by the first dash (-) in a file with permissions -rw-r--r--.</xs:documentation>
|
135
|
-
</xs:annotation>
|
136
|
-
</xs:enumeration>
|
137
|
-
<xs:enumeration value="directory">
|
138
|
-
<xs:annotation>
|
139
|
-
<xs:documentation>Specifies a directory, denoted in UNIX by the d in a file with permissions drw-r--r--.</xs:documentation>
|
140
|
-
</xs:annotation>
|
141
|
-
</xs:enumeration>
|
142
|
-
<xs:enumeration value="socket">
|
143
|
-
<xs:annotation>
|
144
|
-
<xs:documentation>Specifies a socket, denoted in UNIX by the s in a file with permissions srw-r--r--.</xs:documentation>
|
145
|
-
</xs:annotation>
|
146
|
-
</xs:enumeration>
|
147
|
-
<xs:enumeration value="symboliclink">
|
148
|
-
<xs:annotation>
|
149
|
-
<xs:documentation>Specifies a symbolic link, denoted in UNIX by the l in a file with permissions lrw-r--r--.</xs:documentation>
|
150
|
-
</xs:annotation>
|
151
|
-
</xs:enumeration>
|
152
|
-
<xs:enumeration value="blockspecialfile">
|
153
|
-
<xs:annotation>
|
154
|
-
<xs:documentation>Specifies a block device, such as /dev/sda, denoted in UNIX by the b in a file with permissions brw-rw----.</xs:documentation>
|
155
|
-
</xs:annotation>
|
156
|
-
</xs:enumeration>
|
157
|
-
<xs:enumeration value="characterspecialfile">
|
158
|
-
<xs:annotation>
|
159
|
-
<xs:documentation>Specifies a character device, such as /dev/null, denoted in UNIX by the c in a file with permissions crw-------.</xs:documentation>
|
160
|
-
</xs:annotation>
|
161
|
-
</xs:enumeration>
|
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:UnixFileObj="http://cybox.mitre.org/objects#UnixFileObject-2" xmlns:cyboxCommon="http://cybox.mitre.org/common-2" xmlns:FileObj="http://cybox.mitre.org/objects#FileObject-2" targetNamespace="http://cybox.mitre.org/objects#UnixFileObject-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>Unix_File_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#FileObject-2" schemaLocation="File_Object.xsd"/>
|
15
|
+
<xs:element name="Unix_File" type="UnixFileObj:UnixFileObjectType">
|
16
|
+
<xs:annotation>
|
17
|
+
<xs:documentation>The Unix_File object is intended to characterize Unix files.</xs:documentation>
|
18
|
+
</xs:annotation>
|
19
|
+
</xs:element>
|
20
|
+
<xs:complexType name="UnixFileObjectType" mixed="false">
|
21
|
+
<xs:annotation>
|
22
|
+
<xs:documentation>The UnixFileObjectType type is intended to characterize Unix files.</xs:documentation>
|
23
|
+
</xs:annotation>
|
24
|
+
<xs:complexContent>
|
25
|
+
<xs:extension base="FileObj:FileObjectType">
|
26
|
+
<xs:sequence minOccurs="1">
|
27
|
+
<xs:element name="Group_Owner" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
|
28
|
+
<xs:annotation>
|
29
|
+
<xs:documentation>The Group_Owner field specifies the name of the group which owns the file.</xs:documentation>
|
30
|
+
</xs:annotation>
|
31
|
+
</xs:element>
|
32
|
+
<xs:element name="INode" type="cyboxCommon:UnsignedLongObjectPropertyType" minOccurs="0" maxOccurs="1">
|
33
|
+
<xs:annotation>
|
34
|
+
<xs:documentation>The INode field specifies the inode, or index node, value of the file.</xs:documentation>
|
35
|
+
</xs:annotation>
|
36
|
+
</xs:element>
|
37
|
+
<xs:element name="Type" type="UnixFileObj:UnixFileType" minOccurs="0">
|
38
|
+
<xs:annotation>
|
39
|
+
<xs:documentation>Specifies file type using the UnixFileTypeEnum enumeration.</xs:documentation>
|
40
|
+
</xs:annotation>
|
41
|
+
</xs:element>
|
42
|
+
</xs:sequence>
|
43
|
+
</xs:extension>
|
44
|
+
</xs:complexContent>
|
45
|
+
</xs:complexType>
|
46
|
+
<xs:complexType name="UnixFilePermissionsType">
|
47
|
+
<xs:annotation>
|
48
|
+
<xs:documentation>The UnixFilePermissionsType type specifies the specific permissions used by the Unix family of operating systems.</xs:documentation>
|
49
|
+
</xs:annotation>
|
50
|
+
<xs:complexContent>
|
51
|
+
<xs:extension base="FileObj:FilePermissionsType">
|
52
|
+
<xs:attribute name="suid" type="xs:boolean">
|
53
|
+
<xs:annotation>
|
54
|
+
<xs:documentation>The suid field specifies whether or not the file may be exectued with the privileges of the file's owner.</xs:documentation>
|
55
|
+
</xs:annotation>
|
56
|
+
</xs:attribute>
|
57
|
+
<xs:attribute name="sgid" type="xs:boolean">
|
58
|
+
<xs:annotation>
|
59
|
+
<xs:documentation>The sgid field specifies whether or not the file may be executed with the privileges of the file's group owner.</xs:documentation>
|
60
|
+
</xs:annotation>
|
61
|
+
</xs:attribute>
|
62
|
+
<xs:attribute name="uread" type="xs:boolean">
|
63
|
+
<xs:annotation>
|
64
|
+
<xs:documentation>The uread field specifies whether or not the owner of the file can read its contents.</xs:documentation>
|
65
|
+
</xs:annotation>
|
66
|
+
</xs:attribute>
|
67
|
+
<xs:attribute name="uwrite" type="xs:boolean">
|
68
|
+
<xs:annotation>
|
69
|
+
<xs:documentation>The uwrite field specifies whether or not the owner of the file can write to it.</xs:documentation>
|
70
|
+
</xs:annotation>
|
71
|
+
</xs:attribute>
|
72
|
+
<xs:attribute name="uexec" type="xs:boolean">
|
73
|
+
<xs:annotation>
|
74
|
+
<xs:documentation>The uexec field specifies whether or not the owner of the file can execute it.</xs:documentation>
|
75
|
+
</xs:annotation>
|
76
|
+
</xs:attribute>
|
77
|
+
<xs:attribute name="gread" type="xs:boolean">
|
78
|
+
<xs:annotation>
|
79
|
+
<xs:documentation>The gread field specifies whether or not the group owner of the file can read its contents.</xs:documentation>
|
80
|
+
</xs:annotation>
|
81
|
+
</xs:attribute>
|
82
|
+
<xs:attribute name="gwrite" type="xs:boolean">
|
83
|
+
<xs:annotation>
|
84
|
+
<xs:documentation>The gwrite field specifies whether or not the group owner of the file can write to it.</xs:documentation>
|
85
|
+
</xs:annotation>
|
86
|
+
</xs:attribute>
|
87
|
+
<xs:attribute name="gexec" type="xs:boolean">
|
88
|
+
<xs:annotation>
|
89
|
+
<xs:documentation>The gexec field specifies whether or not the group owner of the file can execute it.</xs:documentation>
|
90
|
+
</xs:annotation>
|
91
|
+
</xs:attribute>
|
92
|
+
<xs:attribute name="oread" type="xs:boolean">
|
93
|
+
<xs:annotation>
|
94
|
+
<xs:documentation>The oread field specifies whether or not all other users can read the contents of the file.</xs:documentation>
|
95
|
+
</xs:annotation>
|
96
|
+
</xs:attribute>
|
97
|
+
<xs:attribute name="owrite" type="xs:boolean">
|
98
|
+
<xs:annotation>
|
99
|
+
<xs:documentation>The owrite field specifies whether or not all other users can write to the file.</xs:documentation>
|
100
|
+
</xs:annotation>
|
101
|
+
</xs:attribute>
|
102
|
+
<xs:attribute name="oexec" type="xs:boolean">
|
103
|
+
<xs:annotation>
|
104
|
+
<xs:documentation>The oexec field specifies whether or not all other users can execute the file.</xs:documentation>
|
105
|
+
</xs:annotation>
|
106
|
+
</xs:attribute>
|
107
|
+
</xs:extension>
|
108
|
+
</xs:complexContent>
|
109
|
+
</xs:complexType>
|
110
|
+
<xs:complexType name="UnixFileType">
|
111
|
+
<xs:annotation>
|
112
|
+
<xs:documentation>UnixFileType specifies Unix file types, via a union of the UnixFileTypeEnum 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>
|
113
|
+
</xs:annotation>
|
114
|
+
<xs:simpleContent>
|
115
|
+
<xs:restriction base="cyboxCommon:BaseObjectPropertyType">
|
116
|
+
<xs:simpleType>
|
117
|
+
<xs:union memberTypes="UnixFileObj:UnixFileTypeEnum xs:string"/>
|
118
|
+
</xs:simpleType>
|
119
|
+
<xs:attribute name="datatype" type="cyboxCommon:DatatypeEnum" fixed="string">
|
120
|
+
<xs:annotation>
|
121
|
+
<xs:documentation>This attribute is optional and specifies the expected type for the value of the specified property.</xs:documentation>
|
122
|
+
</xs:annotation>
|
123
|
+
</xs:attribute>
|
124
|
+
</xs:restriction>
|
125
|
+
</xs:simpleContent>
|
126
|
+
</xs:complexType>
|
127
|
+
<xs:simpleType name="UnixFileTypeEnum">
|
128
|
+
<xs:annotation>
|
129
|
+
<xs:documentation>The UnixFileTypeEnum type is an enumeration of file types used by the Unix family of operating systems. These file types can be determined via the output of the ls and stat commands.</xs:documentation>
|
130
|
+
</xs:annotation>
|
131
|
+
<xs:restriction base="xs:string">
|
132
|
+
<xs:enumeration value="regularfile">
|
133
|
+
<xs:annotation>
|
134
|
+
<xs:documentation>Specifies a regular file, denoted in UNIX by the first dash (-) in a file with permissions -rw-r--r--.</xs:documentation>
|
135
|
+
</xs:annotation>
|
136
|
+
</xs:enumeration>
|
137
|
+
<xs:enumeration value="directory">
|
138
|
+
<xs:annotation>
|
139
|
+
<xs:documentation>Specifies a directory, denoted in UNIX by the d in a file with permissions drw-r--r--.</xs:documentation>
|
140
|
+
</xs:annotation>
|
141
|
+
</xs:enumeration>
|
142
|
+
<xs:enumeration value="socket">
|
143
|
+
<xs:annotation>
|
144
|
+
<xs:documentation>Specifies a socket, denoted in UNIX by the s in a file with permissions srw-r--r--.</xs:documentation>
|
145
|
+
</xs:annotation>
|
146
|
+
</xs:enumeration>
|
147
|
+
<xs:enumeration value="symboliclink">
|
148
|
+
<xs:annotation>
|
149
|
+
<xs:documentation>Specifies a symbolic link, denoted in UNIX by the l in a file with permissions lrw-r--r--.</xs:documentation>
|
150
|
+
</xs:annotation>
|
151
|
+
</xs:enumeration>
|
152
|
+
<xs:enumeration value="blockspecialfile">
|
153
|
+
<xs:annotation>
|
154
|
+
<xs:documentation>Specifies a block device, such as /dev/sda, denoted in UNIX by the b in a file with permissions brw-rw----.</xs:documentation>
|
155
|
+
</xs:annotation>
|
156
|
+
</xs:enumeration>
|
157
|
+
<xs:enumeration value="characterspecialfile">
|
158
|
+
<xs:annotation>
|
159
|
+
<xs:documentation>Specifies a character device, such as /dev/null, denoted in UNIX by the c in a file with permissions crw-------.</xs:documentation>
|
160
|
+
</xs:annotation>
|
161
|
+
</xs:enumeration>
|
162
|
+
</xs:restriction>
|
163
|
+
</xs:simpleType>
|
164
|
+
</xs:schema>
|