stix_schema_spy 1.0
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 +15 -0
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +24 -0
- data/README.md +41 -0
- data/Rakefile +3 -0
- data/config/1.0.1/stix/README.md +20 -0
- data/config/1.0.1/stix/campaign.xsd +210 -0
- data/config/1.0.1/stix/course_of_action.xsd +166 -0
- data/config/1.0.1/stix/cybox/README.md +13 -0
- data/config/1.0.1/stix/cybox/cybox_common.xsd +2319 -0
- data/config/1.0.1/stix/cybox/cybox_core.xsd +1095 -0
- data/config/1.0.1/stix/cybox/cybox_default_vocabularies.xsd +3326 -0
- data/config/1.0.1/stix/cybox/extensions/platform/README.txt +1 -0
- data/config/1.0.1/stix/cybox/extensions/platform/cpe-language_2.3.xsd +234 -0
- data/config/1.0.1/stix/cybox/extensions/platform/cpe-naming_2.3.xsd +45 -0
- data/config/1.0.1/stix/cybox/extensions/platform/cpe2.3.xsd +40 -0
- data/config/1.0.1/stix/cybox/extensions/platform/xml.xsd +145 -0
- data/config/1.0.1/stix/cybox/objects/API_Object.xsd +55 -0
- data/config/1.0.1/stix/cybox/objects/Account_Object.xsd +50 -0
- data/config/1.0.1/stix/cybox/objects/Address_Object.xsd +122 -0
- data/config/1.0.1/stix/cybox/objects/Artifact_Object.xsd +206 -0
- data/config/1.0.1/stix/cybox/objects/Code_Object.xsd +417 -0
- data/config/1.0.1/stix/cybox/objects/Custom_Object.xsd +43 -0
- data/config/1.0.1/stix/cybox/objects/DNS_Cache_Object.xsd +53 -0
- data/config/1.0.1/stix/cybox/objects/DNS_Query_Object.xsd +159 -0
- data/config/1.0.1/stix/cybox/objects/DNS_Record_Object.xsd +87 -0
- data/config/1.0.1/stix/cybox/objects/Device_Object.xsd +55 -0
- data/config/1.0.1/stix/cybox/objects/Disk_Object.xsd +117 -0
- data/config/1.0.1/stix/cybox/objects/Disk_Partition_Object.xsd +199 -0
- data/config/1.0.1/stix/cybox/objects/Email_Message_Object.xsd +273 -0
- data/config/1.0.1/stix/cybox/objects/File_Object.xsd +359 -0
- data/config/1.0.1/stix/cybox/objects/GUI_Dialogbox_Object.xsd +41 -0
- data/config/1.0.1/stix/cybox/objects/GUI_Object.xsd +40 -0
- data/config/1.0.1/stix/cybox/objects/GUI_Window_Object.xsd +46 -0
- data/config/1.0.1/stix/cybox/objects/HTTP_Session_Object.xsd +623 -0
- data/config/1.0.1/stix/cybox/objects/Library_Object.xsd +114 -0
- data/config/1.0.1/stix/cybox/objects/Link_Object.xsd +36 -0
- data/config/1.0.1/stix/cybox/objects/Linux_Package_Object.xsd +119 -0
- data/config/1.0.1/stix/cybox/objects/Memory_Object.xsd +70 -0
- data/config/1.0.1/stix/cybox/objects/Mutex_Object.xsd +40 -0
- data/config/1.0.1/stix/cybox/objects/Network_Connection_Object.xsd +609 -0
- data/config/1.0.1/stix/cybox/objects/Network_Flow_Object.xsd +1559 -0
- data/config/1.0.1/stix/cybox/objects/Network_Packet_Object.xsd +2948 -0
- data/config/1.0.1/stix/cybox/objects/Network_Route_Entry_Object.xsd +155 -0
- data/config/1.0.1/stix/cybox/objects/Network_Route_Object.xsd +93 -0
- data/config/1.0.1/stix/cybox/objects/Network_Socket_Object.xsd +524 -0
- data/config/1.0.1/stix/cybox/objects/Network_Subnet_Object.xsd +64 -0
- data/config/1.0.1/stix/cybox/objects/PDF_File_Object.xsd +601 -0
- data/config/1.0.1/stix/cybox/objects/Pipe_Object.xsd +40 -0
- data/config/1.0.1/stix/cybox/objects/Port_Object.xsd +74 -0
- data/config/1.0.1/stix/cybox/objects/Process_Object.xsd +197 -0
- data/config/1.0.1/stix/cybox/objects/Product_Object.xsd +60 -0
- data/config/1.0.1/stix/cybox/objects/Semaphore_Object.xsd +50 -0
- data/config/1.0.1/stix/cybox/objects/Socket_Address_Object.xsd +42 -0
- data/config/1.0.1/stix/cybox/objects/System_Object.xsd +409 -0
- data/config/1.0.1/stix/cybox/objects/URI_Object.xsd +62 -0
- data/config/1.0.1/stix/cybox/objects/Unix_File_Object.xsd +164 -0
- data/config/1.0.1/stix/cybox/objects/Unix_Network_Route_Entry_Object.xsd +56 -0
- data/config/1.0.1/stix/cybox/objects/Unix_Pipe_Object.xsd +36 -0
- data/config/1.0.1/stix/cybox/objects/Unix_Process_Object.xsd +143 -0
- data/config/1.0.1/stix/cybox/objects/Unix_User_Account_Object.xsd +78 -0
- data/config/1.0.1/stix/cybox/objects/Unix_Volume_Object.xsd +41 -0
- data/config/1.0.1/stix/cybox/objects/User_Account_Object.xsd +110 -0
- data/config/1.0.1/stix/cybox/objects/User_Session_Object.xsd +60 -0
- data/config/1.0.1/stix/cybox/objects/Volume_Object.xsd +235 -0
- data/config/1.0.1/stix/cybox/objects/Whois_Object.xsd +456 -0
- data/config/1.0.1/stix/cybox/objects/Win_Computer_Account_Object.xsd +135 -0
- data/config/1.0.1/stix/cybox/objects/Win_Critical_Section_Object.xsd +40 -0
- data/config/1.0.1/stix/cybox/objects/Win_Driver_Object.xsd +269 -0
- data/config/1.0.1/stix/cybox/objects/Win_Event_Log_Object.xsd +137 -0
- data/config/1.0.1/stix/cybox/objects/Win_Event_Object.xsd +80 -0
- data/config/1.0.1/stix/cybox/objects/Win_Executable_File_Object.xsd +1333 -0
- data/config/1.0.1/stix/cybox/objects/Win_File_Object.xsd +269 -0
- data/config/1.0.1/stix/cybox/objects/Win_Handle_Object.xsd +186 -0
- data/config/1.0.1/stix/cybox/objects/Win_Kernel_Hook_Object.xsd +109 -0
- data/config/1.0.1/stix/cybox/objects/Win_Kernel_Object.xsd +128 -0
- data/config/1.0.1/stix/cybox/objects/Win_Mailslot_Object.xsd +56 -0
- data/config/1.0.1/stix/cybox/objects/Win_Memory_Page_Region_Object.xsd +198 -0
- data/config/1.0.1/stix/cybox/objects/Win_Mutex_Object.xsd +42 -0
- data/config/1.0.1/stix/cybox/objects/Win_Network_Route_Entry_Object.xsd +200 -0
- data/config/1.0.1/stix/cybox/objects/Win_Network_Share_Object.xsd +205 -0
- data/config/1.0.1/stix/cybox/objects/Win_Pipe_Object.xsd +73 -0
- data/config/1.0.1/stix/cybox/objects/Win_Prefetch_Object.xsd +113 -0
- data/config/1.0.1/stix/cybox/objects/Win_Process_Object.xsd +167 -0
- data/config/1.0.1/stix/cybox/objects/Win_Registry_Key_Object.xsd +290 -0
- data/config/1.0.1/stix/cybox/objects/Win_Semaphore_Object.xsd +42 -0
- data/config/1.0.1/stix/cybox/objects/Win_Service_Object.xsd +287 -0
- data/config/1.0.1/stix/cybox/objects/Win_System_Object.xsd +126 -0
- data/config/1.0.1/stix/cybox/objects/Win_System_Restore_Object.xsd +199 -0
- data/config/1.0.1/stix/cybox/objects/Win_Task_Object.xsd +755 -0
- data/config/1.0.1/stix/cybox/objects/Win_Thread_Object.xsd +146 -0
- data/config/1.0.1/stix/cybox/objects/Win_User_Account_Object.xsd +73 -0
- data/config/1.0.1/stix/cybox/objects/Win_Volume_Object.xsd +161 -0
- data/config/1.0.1/stix/cybox/objects/Win_Waitable_Timer_Object.xsd +90 -0
- data/config/1.0.1/stix/cybox/objects/X509_Certificate_Object.xsd +270 -0
- data/config/1.0.1/stix/data_marking.xsd +92 -0
- data/config/1.0.1/stix/exploit_target.xsd +224 -0
- data/config/1.0.1/stix/extensions/address/ciq_address_3.0.xsd +27 -0
- data/config/1.0.1/stix/extensions/address/readme.txt +1 -0
- data/config/1.0.1/stix/extensions/attack_pattern/capec_2.6.1.xsd +31 -0
- data/config/1.0.1/stix/extensions/attack_pattern/readme.txt +1 -0
- data/config/1.0.1/stix/extensions/identity/ciq_identity_3.0.xsd +108 -0
- data/config/1.0.1/stix/extensions/identity/readme.txt +1 -0
- data/config/1.0.1/stix/extensions/malware/maec_4.0.1.xsd +31 -0
- data/config/1.0.1/stix/extensions/malware/readme.txt +1 -0
- data/config/1.0.1/stix/extensions/marking/simple_marking.xsd +30 -0
- data/config/1.0.1/stix/extensions/marking/tlp.xsd +39 -0
- data/config/1.0.1/stix/extensions/structured_coa/generic.xsd +46 -0
- data/config/1.0.1/stix/extensions/test_mechanism/generic.xsd +46 -0
- data/config/1.0.1/stix/extensions/test_mechanism/open_ioc_2010.xsd +32 -0
- data/config/1.0.1/stix/extensions/test_mechanism/oval_5.10.xsd +37 -0
- data/config/1.0.1/stix/extensions/test_mechanism/snort.xsd +36 -0
- data/config/1.0.1/stix/extensions/test_mechanism/yara.xsd +36 -0
- data/config/1.0.1/stix/extensions/vulnerability/cvrf_1.1.xsd +33 -0
- data/config/1.0.1/stix/extensions/vulnerability/readme.txt +1 -0
- data/config/1.0.1/stix/external/capec_2.6.1/ap_schema_v2.6.1.xsd +3618 -0
- data/config/1.0.1/stix/external/cvrf_1.1/common.xsd +176 -0
- data/config/1.0.1/stix/external/cvrf_1.1/cpe-language_2.2a.xsd +182 -0
- data/config/1.0.1/stix/external/cvrf_1.1/cvrf.xsd +487 -0
- data/config/1.0.1/stix/external/cvrf_1.1/cvss-v2_0.9.xsd +415 -0
- data/config/1.0.1/stix/external/cvrf_1.1/dc.xsd +118 -0
- data/config/1.0.1/stix/external/cvrf_1.1/prod.xsd +292 -0
- data/config/1.0.1/stix/external/cvrf_1.1/scap-core_0.9.xsd +170 -0
- data/config/1.0.1/stix/external/cvrf_1.1/vuln.xsd +631 -0
- data/config/1.0.1/stix/external/cvrf_1.1/xml.xsd +287 -0
- data/config/1.0.1/stix/external/maec_4.0.1/maec_bundle_schema.xsd +1139 -0
- data/config/1.0.1/stix/external/maec_4.0.1/maec_package_schema.xsd +938 -0
- data/config/1.0.1/stix/external/maec_4.0.1/metadataSharing.xsd +1712 -0
- data/config/1.0.1/stix/external/oasis_ciq_3.0/CommonTypes.xsd +104 -0
- data/config/1.0.1/stix/external/oasis_ciq_3.0/xAL-types.xsd +511 -0
- data/config/1.0.1/stix/external/oasis_ciq_3.0/xAL.xsd +672 -0
- data/config/1.0.1/stix/external/oasis_ciq_3.0/xNAL-types.xsd +36 -0
- data/config/1.0.1/stix/external/oasis_ciq_3.0/xNAL.xsd +126 -0
- data/config/1.0.1/stix/external/oasis_ciq_3.0/xNL-types.xsd +222 -0
- data/config/1.0.1/stix/external/oasis_ciq_3.0/xNL.xsd +284 -0
- data/config/1.0.1/stix/external/oasis_ciq_3.0/xPIL-types.xsd +854 -0
- data/config/1.0.1/stix/external/oasis_ciq_3.0/xPIL.xsd +1621 -0
- data/config/1.0.1/stix/external/oasis_ciq_3.0/xlink-2003-12-31.xsd +90 -0
- data/config/1.0.1/stix/external/open_ioc_2010/ioc-TR.xsd +25 -0
- data/config/1.0.1/stix/external/open_ioc_2010/ioc.xsd +105 -0
- data/config/1.0.1/stix/external/oval_5.10/oval-common-schema.xsd +781 -0
- data/config/1.0.1/stix/external/oval_5.10/oval-definitions-schema.xsd +1608 -0
- data/config/1.0.1/stix/external/oval_5.10/oval-variables-schema.xsd +84 -0
- data/config/1.0.1/stix/external/oval_5.10/xmldsig-core-schema.xsd +309 -0
- data/config/1.0.1/stix/incident.xsd +787 -0
- data/config/1.0.1/stix/indicator.xsd +310 -0
- data/config/1.0.1/stix/stix_common.xsd +762 -0
- data/config/1.0.1/stix/stix_core.xsd +218 -0
- data/config/1.0.1/stix/stix_default_vocabularies.xsd +1684 -0
- data/config/1.0.1/stix/threat_actor.xsd +174 -0
- data/config/1.0.1/stix/ttp.xsd +341 -0
- data/config/1.0/stix/campaign.xsd +209 -0
- data/config/1.0/stix/course_of_action.xsd +165 -0
- data/config/1.0/stix/cybox/cybox_common.xsd +2319 -0
- data/config/1.0/stix/cybox/cybox_core.xsd +1090 -0
- data/config/1.0/stix/cybox/cybox_default_vocabularies.xsd +3106 -0
- data/config/1.0/stix/cybox/extensions/platform/README.txt +1 -0
- data/config/1.0/stix/cybox/extensions/platform/cpe2.3.xsd +40 -0
- data/config/1.0/stix/cybox/objects/API_Object.xsd +55 -0
- data/config/1.0/stix/cybox/objects/Account_Object.xsd +50 -0
- data/config/1.0/stix/cybox/objects/Address_Object.xsd +122 -0
- data/config/1.0/stix/cybox/objects/Artifact_Object.xsd +206 -0
- data/config/1.0/stix/cybox/objects/Code_Object.xsd +417 -0
- data/config/1.0/stix/cybox/objects/Custom_Object.xsd +43 -0
- data/config/1.0/stix/cybox/objects/DNS_Cache_Object.xsd +53 -0
- data/config/1.0/stix/cybox/objects/DNS_Query_Object.xsd +159 -0
- data/config/1.0/stix/cybox/objects/DNS_Record_Object.xsd +87 -0
- data/config/1.0/stix/cybox/objects/Device_Object.xsd +55 -0
- data/config/1.0/stix/cybox/objects/Disk_Object.xsd +117 -0
- data/config/1.0/stix/cybox/objects/Disk_Partition_Object.xsd +199 -0
- data/config/1.0/stix/cybox/objects/Email_Message_Object.xsd +273 -0
- data/config/1.0/stix/cybox/objects/File_Object.xsd +359 -0
- data/config/1.0/stix/cybox/objects/GUI_Dialogbox_Object.xsd +41 -0
- data/config/1.0/stix/cybox/objects/GUI_Object.xsd +40 -0
- data/config/1.0/stix/cybox/objects/GUI_Window_Object.xsd +46 -0
- data/config/1.0/stix/cybox/objects/HTTP_Session_Object.xsd +623 -0
- data/config/1.0/stix/cybox/objects/Library_Object.xsd +114 -0
- data/config/1.0/stix/cybox/objects/Link_Object.xsd +24 -0
- data/config/1.0/stix/cybox/objects/Linux_Package_Object.xsd +119 -0
- data/config/1.0/stix/cybox/objects/Memory_Object.xsd +70 -0
- data/config/1.0/stix/cybox/objects/Mutex_Object.xsd +40 -0
- data/config/1.0/stix/cybox/objects/Network_Connection_Object.xsd +609 -0
- data/config/1.0/stix/cybox/objects/Network_Flow_Object.xsd +1559 -0
- data/config/1.0/stix/cybox/objects/Network_Packet_Object.xsd +2948 -0
- data/config/1.0/stix/cybox/objects/Network_Route_Entry_Object.xsd +155 -0
- data/config/1.0/stix/cybox/objects/Network_Route_Object.xsd +93 -0
- data/config/1.0/stix/cybox/objects/Network_Socket_Object.xsd +524 -0
- data/config/1.0/stix/cybox/objects/Network_Subnet_Object.xsd +64 -0
- data/config/1.0/stix/cybox/objects/PDF_File_Object.xsd +601 -0
- data/config/1.0/stix/cybox/objects/Pipe_Object.xsd +40 -0
- data/config/1.0/stix/cybox/objects/Port_Object.xsd +74 -0
- data/config/1.0/stix/cybox/objects/Process_Object.xsd +197 -0
- data/config/1.0/stix/cybox/objects/Product_Object.xsd +60 -0
- data/config/1.0/stix/cybox/objects/Semaphore_Object.xsd +50 -0
- data/config/1.0/stix/cybox/objects/Socket_Address_Object.xsd +42 -0
- data/config/1.0/stix/cybox/objects/System_Object.xsd +409 -0
- data/config/1.0/stix/cybox/objects/URI_Object.xsd +62 -0
- data/config/1.0/stix/cybox/objects/Unix_File_Object.xsd +164 -0
- data/config/1.0/stix/cybox/objects/Unix_Network_Route_Entry_Object.xsd +56 -0
- data/config/1.0/stix/cybox/objects/Unix_Pipe_Object.xsd +36 -0
- data/config/1.0/stix/cybox/objects/Unix_Process_Object.xsd +143 -0
- data/config/1.0/stix/cybox/objects/Unix_User_Account_Object.xsd +78 -0
- data/config/1.0/stix/cybox/objects/Unix_Volume_Object.xsd +41 -0
- data/config/1.0/stix/cybox/objects/User_Account_Object.xsd +110 -0
- data/config/1.0/stix/cybox/objects/User_Session_Object.xsd +60 -0
- data/config/1.0/stix/cybox/objects/Volume_Object.xsd +235 -0
- data/config/1.0/stix/cybox/objects/Whois_Object.xsd +456 -0
- data/config/1.0/stix/cybox/objects/Win_Computer_Account_Object.xsd +135 -0
- data/config/1.0/stix/cybox/objects/Win_Critical_Section_Object.xsd +40 -0
- data/config/1.0/stix/cybox/objects/Win_Driver_Object.xsd +269 -0
- data/config/1.0/stix/cybox/objects/Win_Event_Log_Object.xsd +137 -0
- data/config/1.0/stix/cybox/objects/Win_Event_Object.xsd +80 -0
- data/config/1.0/stix/cybox/objects/Win_Executable_File_Object.xsd +1333 -0
- data/config/1.0/stix/cybox/objects/Win_File_Object.xsd +269 -0
- data/config/1.0/stix/cybox/objects/Win_Handle_Object.xsd +186 -0
- data/config/1.0/stix/cybox/objects/Win_Kernel_Hook_Object.xsd +109 -0
- data/config/1.0/stix/cybox/objects/Win_Kernel_Object.xsd +128 -0
- data/config/1.0/stix/cybox/objects/Win_Mailslot_Object.xsd +56 -0
- data/config/1.0/stix/cybox/objects/Win_Memory_Page_Region_Object.xsd +198 -0
- data/config/1.0/stix/cybox/objects/Win_Mutex_Object.xsd +42 -0
- data/config/1.0/stix/cybox/objects/Win_Network_Route_Entry_Object.xsd +200 -0
- data/config/1.0/stix/cybox/objects/Win_Network_Share_Object.xsd +205 -0
- data/config/1.0/stix/cybox/objects/Win_Pipe_Object.xsd +73 -0
- data/config/1.0/stix/cybox/objects/Win_Prefetch_Object.xsd +113 -0
- data/config/1.0/stix/cybox/objects/Win_Process_Object.xsd +167 -0
- data/config/1.0/stix/cybox/objects/Win_Registry_Key_Object.xsd +290 -0
- data/config/1.0/stix/cybox/objects/Win_Semaphore_Object.xsd +42 -0
- data/config/1.0/stix/cybox/objects/Win_Service_Object.xsd +287 -0
- data/config/1.0/stix/cybox/objects/Win_System_Object.xsd +126 -0
- data/config/1.0/stix/cybox/objects/Win_System_Restore_Object.xsd +199 -0
- data/config/1.0/stix/cybox/objects/Win_Task_Object.xsd +755 -0
- data/config/1.0/stix/cybox/objects/Win_Thread_Object.xsd +146 -0
- data/config/1.0/stix/cybox/objects/Win_User_Account_Object.xsd +73 -0
- data/config/1.0/stix/cybox/objects/Win_Volume_Object.xsd +161 -0
- data/config/1.0/stix/cybox/objects/Win_Waitable_Timer_Object.xsd +90 -0
- data/config/1.0/stix/cybox/objects/X509_Certificate_Object.xsd +270 -0
- data/config/1.0/stix/data_marking.xsd +92 -0
- data/config/1.0/stix/exploit_target.xsd +223 -0
- data/config/1.0/stix/extensions/address/ciq_address_3.0.xsd +27 -0
- data/config/1.0/stix/extensions/address/readme.txt +1 -0
- data/config/1.0/stix/extensions/attack_pattern/capec_2.5.xsd +31 -0
- data/config/1.0/stix/extensions/identity/ciq_identity_3.0.xsd +108 -0
- data/config/1.0/stix/extensions/identity/readme.txt +1 -0
- data/config/1.0/stix/extensions/malware/maec_4.0.xsd +32 -0
- data/config/1.0/stix/extensions/malware/readme.txt +3 -0
- data/config/1.0/stix/extensions/marking/simple_marking.xsd +30 -0
- data/config/1.0/stix/extensions/marking/tlp.xsd +39 -0
- data/config/1.0/stix/extensions/structured_coa/generic.xsd +46 -0
- data/config/1.0/stix/extensions/test_mechanism/generic.xsd +46 -0
- data/config/1.0/stix/extensions/test_mechanism/open_ioc_2010.xsd +32 -0
- data/config/1.0/stix/extensions/test_mechanism/oval_5.10.xsd +37 -0
- data/config/1.0/stix/extensions/test_mechanism/snort.xsd +36 -0
- data/config/1.0/stix/extensions/test_mechanism/yara.xsd +36 -0
- data/config/1.0/stix/extensions/vulnerability/cvrf_1.1.xsd +33 -0
- data/config/1.0/stix/extensions/vulnerability/readme.txt +1 -0
- data/config/1.0/stix/external/capec_2.5/ap_schema_v2.5.xsd +2671 -0
- data/config/1.0/stix/external/cvrf_1.1/common.xsd +176 -0
- data/config/1.0/stix/external/cvrf_1.1/cpe-language_2.2a.xsd +182 -0
- data/config/1.0/stix/external/cvrf_1.1/cvrf.xsd +487 -0
- data/config/1.0/stix/external/cvrf_1.1/cvss-v2_0.9.xsd +415 -0
- data/config/1.0/stix/external/cvrf_1.1/dc.xsd +118 -0
- data/config/1.0/stix/external/cvrf_1.1/prod.xsd +292 -0
- data/config/1.0/stix/external/cvrf_1.1/scap-core_0.9.xsd +170 -0
- data/config/1.0/stix/external/cvrf_1.1/vuln.xsd +631 -0
- data/config/1.0/stix/external/cvrf_1.1/xml.xsd +287 -0
- data/config/1.0/stix/external/oasis_ciq_3.0/CommonTypes.xsd +104 -0
- data/config/1.0/stix/external/oasis_ciq_3.0/xAL-types.xsd +511 -0
- data/config/1.0/stix/external/oasis_ciq_3.0/xAL.xsd +672 -0
- data/config/1.0/stix/external/oasis_ciq_3.0/xNAL-types.xsd +36 -0
- data/config/1.0/stix/external/oasis_ciq_3.0/xNAL.xsd +126 -0
- data/config/1.0/stix/external/oasis_ciq_3.0/xNL-types.xsd +222 -0
- data/config/1.0/stix/external/oasis_ciq_3.0/xNL.xsd +284 -0
- data/config/1.0/stix/external/oasis_ciq_3.0/xPIL-types.xsd +854 -0
- data/config/1.0/stix/external/oasis_ciq_3.0/xPIL.xsd +1621 -0
- data/config/1.0/stix/external/oasis_ciq_3.0/xlink-2003-12-31.xsd +90 -0
- data/config/1.0/stix/external/open_ioc_2010/ioc-TR.xsd +25 -0
- data/config/1.0/stix/external/open_ioc_2010/ioc.xsd +105 -0
- data/config/1.0/stix/external/oval_5.10/oval-common-schema.xsd +781 -0
- data/config/1.0/stix/external/oval_5.10/oval-definitions-schema.xsd +1608 -0
- data/config/1.0/stix/external/oval_5.10/oval-variables-schema.xsd +84 -0
- data/config/1.0/stix/external/oval_5.10/xmldsig-core-schema.xsd +309 -0
- data/config/1.0/stix/incident.xsd +786 -0
- data/config/1.0/stix/indicator.xsd +309 -0
- data/config/1.0/stix/stix_common.xsd +762 -0
- data/config/1.0/stix/stix_core.xsd +217 -0
- data/config/1.0/stix/stix_default_vocabularies.xsd +1578 -0
- data/config/1.0/stix/threat_actor.xsd +173 -0
- data/config/1.0/stix/ttp.xsd +340 -0
- data/config/1.1/stix/campaign.xsd +223 -0
- data/config/1.1/stix/course_of_action.xsd +190 -0
- data/config/1.1/stix/cybox/cybox_common.xsd +2700 -0
- data/config/1.1/stix/cybox/cybox_core.xsd +1145 -0
- data/config/1.1/stix/cybox/cybox_default_vocabularies.xsd +5180 -0
- data/config/1.1/stix/cybox/extensions/location/ciq_address_3.0.xsd +27 -0
- data/config/1.1/stix/cybox/extensions/platform/README.txt +1 -0
- data/config/1.1/stix/cybox/extensions/platform/cpe2.3.xsd +34 -0
- data/config/1.1/stix/cybox/external/cpe_2.3/cpe-language_2.3.xsd +234 -0
- data/config/1.1/stix/cybox/external/cpe_2.3/cpe-naming_2.3.xsd +45 -0
- data/config/1.1/stix/cybox/external/cpe_2.3/xml.xsd +145 -0
- data/config/1.1/stix/cybox/external/oasis_ciq_3.0/CommonTypes.xsd +104 -0
- data/config/1.1/stix/cybox/external/oasis_ciq_3.0/xAL-types.xsd +511 -0
- data/config/1.1/stix/cybox/external/oasis_ciq_3.0/xAL.xsd +672 -0
- data/config/1.1/stix/cybox/external/oasis_ciq_3.0/xNAL-types.xsd +36 -0
- data/config/1.1/stix/cybox/external/oasis_ciq_3.0/xNAL.xsd +126 -0
- data/config/1.1/stix/cybox/external/oasis_ciq_3.0/xNL-types.xsd +222 -0
- data/config/1.1/stix/cybox/external/oasis_ciq_3.0/xNL.xsd +284 -0
- data/config/1.1/stix/cybox/external/oasis_ciq_3.0/xPIL-types.xsd +854 -0
- data/config/1.1/stix/cybox/external/oasis_ciq_3.0/xPIL.xsd +1621 -0
- data/config/1.1/stix/cybox/external/oasis_ciq_3.0/xlink-2003-12-31.xsd +90 -0
- data/config/1.1/stix/cybox/objects/API_Object.xsd +55 -0
- data/config/1.1/stix/cybox/objects/ARP_Cache_Object.xsd +98 -0
- data/config/1.1/stix/cybox/objects/AS_Object.xsd +50 -0
- data/config/1.1/stix/cybox/objects/Account_Object.xsd +501 -0
- data/config/1.1/stix/cybox/objects/Address_Object.xsd +127 -0
- data/config/1.1/stix/cybox/objects/Archive_File_Object.xsd +134 -0
- data/config/1.1/stix/cybox/objects/Artifact_Object.xsd +212 -0
- data/config/1.1/stix/cybox/objects/Code_Object.xsd +417 -0
- data/config/1.1/stix/cybox/objects/Custom_Object.xsd +42 -0
- data/config/1.1/stix/cybox/objects/DNS_Cache_Object.xsd +53 -0
- data/config/1.1/stix/cybox/objects/DNS_Query_Object.xsd +164 -0
- data/config/1.1/stix/cybox/objects/DNS_Record_Object.xsd +92 -0
- data/config/1.1/stix/cybox/objects/Device_Object.xsd +65 -0
- data/config/1.1/stix/cybox/objects/Disk_Object.xsd +117 -0
- data/config/1.1/stix/cybox/objects/Disk_Partition_Object.xsd +199 -0
- data/config/1.1/stix/cybox/objects/Domain_Name_Object.xsd +57 -0
- data/config/1.1/stix/cybox/objects/Email_Message_Object.xsd +278 -0
- data/config/1.1/stix/cybox/objects/File_Object.xsd +397 -0
- data/config/1.1/stix/cybox/objects/GUI_Dialogbox_Object.xsd +41 -0
- data/config/1.1/stix/cybox/objects/GUI_Object.xsd +40 -0
- data/config/1.1/stix/cybox/objects/GUI_Window_Object.xsd +46 -0
- data/config/1.1/stix/cybox/objects/HTTP_Session_Object.xsd +633 -0
- data/config/1.1/stix/cybox/objects/Hostname_Object.xsd +45 -0
- data/config/1.1/stix/cybox/objects/Image_File_Object.xsd +124 -0
- data/config/1.1/stix/cybox/objects/Library_Object.xsd +114 -0
- data/config/1.1/stix/cybox/objects/Link_Object.xsd +36 -0
- data/config/1.1/stix/cybox/objects/Linux_Package_Object.xsd +75 -0
- data/config/1.1/stix/cybox/objects/Memory_Object.xsd +141 -0
- data/config/1.1/stix/cybox/objects/Mutex_Object.xsd +40 -0
- data/config/1.1/stix/cybox/objects/Network_Connection_Object.xsd +540 -0
- data/config/1.1/stix/cybox/objects/Network_Flow_Object.xsd +1559 -0
- data/config/1.1/stix/cybox/objects/Network_Packet_Object.xsd +2934 -0
- data/config/1.1/stix/cybox/objects/Network_Route_Entry_Object.xsd +155 -0
- data/config/1.1/stix/cybox/objects/Network_Route_Object.xsd +93 -0
- data/config/1.1/stix/cybox/objects/Network_Socket_Object.xsd +529 -0
- data/config/1.1/stix/cybox/objects/Network_Subnet_Object.xsd +64 -0
- data/config/1.1/stix/cybox/objects/PDF_File_Object.xsd +595 -0
- data/config/1.1/stix/cybox/objects/Pipe_Object.xsd +40 -0
- data/config/1.1/stix/cybox/objects/Port_Object.xsd +40 -0
- data/config/1.1/stix/cybox/objects/Process_Object.xsd +199 -0
- data/config/1.1/stix/cybox/objects/Product_Object.xsd +65 -0
- data/config/1.1/stix/cybox/objects/SMS_Message_Object.xsd +79 -0
- data/config/1.1/stix/cybox/objects/Semaphore_Object.xsd +50 -0
- data/config/1.1/stix/cybox/objects/Socket_Address_Object.xsd +50 -0
- data/config/1.1/stix/cybox/objects/System_Object.xsd +410 -0
- data/config/1.1/stix/cybox/objects/URI_Object.xsd +62 -0
- data/config/1.1/stix/cybox/objects/URL_History_Object.xsd +104 -0
- data/config/1.1/stix/cybox/objects/Unix_File_Object.xsd +164 -0
- data/config/1.1/stix/cybox/objects/Unix_Network_Route_Entry_Object.xsd +56 -0
- data/config/1.1/stix/cybox/objects/Unix_Pipe_Object.xsd +36 -0
- data/config/1.1/stix/cybox/objects/Unix_Process_Object.xsd +143 -0
- data/config/1.1/stix/cybox/objects/Unix_User_Account_Object.xsd +78 -0
- data/config/1.1/stix/cybox/objects/Unix_Volume_Object.xsd +41 -0
- data/config/1.1/stix/cybox/objects/User_Account_Object.xsd +110 -0
- data/config/1.1/stix/cybox/objects/User_Session_Object.xsd +60 -0
- data/config/1.1/stix/cybox/objects/Volume_Object.xsd +235 -0
- data/config/1.1/stix/cybox/objects/Whois_Object.xsd +430 -0
- data/config/1.1/stix/cybox/objects/Win_Computer_Account_Object.xsd +135 -0
- data/config/1.1/stix/cybox/objects/Win_Critical_Section_Object.xsd +40 -0
- data/config/1.1/stix/cybox/objects/Win_Driver_Object.xsd +270 -0
- data/config/1.1/stix/cybox/objects/Win_Event_Log_Object.xsd +137 -0
- data/config/1.1/stix/cybox/objects/Win_Event_Object.xsd +80 -0
- data/config/1.1/stix/cybox/objects/Win_Executable_File_Object.xsd +1311 -0
- data/config/1.1/stix/cybox/objects/Win_File_Object.xsd +269 -0
- data/config/1.1/stix/cybox/objects/Win_Filemapping_Object.xsd +175 -0
- data/config/1.1/stix/cybox/objects/Win_Handle_Object.xsd +351 -0
- data/config/1.1/stix/cybox/objects/Win_Hook_Object.xsd +152 -0
- data/config/1.1/stix/cybox/objects/Win_Kernel_Hook_Object.xsd +109 -0
- data/config/1.1/stix/cybox/objects/Win_Kernel_Object.xsd +128 -0
- data/config/1.1/stix/cybox/objects/Win_Mailslot_Object.xsd +56 -0
- data/config/1.1/stix/cybox/objects/Win_Memory_Page_Region_Object.xsd +198 -0
- data/config/1.1/stix/cybox/objects/Win_Mutex_Object.xsd +42 -0
- data/config/1.1/stix/cybox/objects/Win_Network_Route_Entry_Object.xsd +200 -0
- data/config/1.1/stix/cybox/objects/Win_Network_Share_Object.xsd +205 -0
- data/config/1.1/stix/cybox/objects/Win_Pipe_Object.xsd +73 -0
- data/config/1.1/stix/cybox/objects/Win_Prefetch_Object.xsd +113 -0
- data/config/1.1/stix/cybox/objects/Win_Process_Object.xsd +174 -0
- data/config/1.1/stix/cybox/objects/Win_Registry_Key_Object.xsd +290 -0
- data/config/1.1/stix/cybox/objects/Win_Semaphore_Object.xsd +42 -0
- data/config/1.1/stix/cybox/objects/Win_Service_Object.xsd +287 -0
- data/config/1.1/stix/cybox/objects/Win_System_Object.xsd +126 -0
- data/config/1.1/stix/cybox/objects/Win_System_Restore_Object.xsd +207 -0
- data/config/1.1/stix/cybox/objects/Win_Task_Object.xsd +755 -0
- data/config/1.1/stix/cybox/objects/Win_Thread_Object.xsd +146 -0
- data/config/1.1/stix/cybox/objects/Win_User_Account_Object.xsd +73 -0
- data/config/1.1/stix/cybox/objects/Win_Volume_Object.xsd +161 -0
- data/config/1.1/stix/cybox/objects/Win_Waitable_Timer_Object.xsd +90 -0
- data/config/1.1/stix/cybox/objects/X509_Certificate_Object.xsd +275 -0
- data/config/1.1/stix/data_marking.xsd +96 -0
- data/config/1.1/stix/exploit_target.xsd +323 -0
- data/config/1.1/stix/extensions/address/ciq_3.0_address.xsd +27 -0
- data/config/1.1/stix/extensions/address/readme.txt +1 -0
- data/config/1.1/stix/extensions/attack_pattern/capec_2.7_attack_pattern.xsd +31 -0
- data/config/1.1/stix/extensions/attack_pattern/readme.txt +1 -0
- data/config/1.1/stix/extensions/identity/ciq_3.0_identity.xsd +113 -0
- data/config/1.1/stix/extensions/identity/readme.txt +1 -0
- data/config/1.1/stix/extensions/malware/maec_4.1_malware.xsd +31 -0
- data/config/1.1/stix/extensions/malware/readme.txt +1 -0
- data/config/1.1/stix/extensions/marking/simple_marking.xsd +31 -0
- data/config/1.1/stix/extensions/marking/terms_of_use_marking.xsd +31 -0
- data/config/1.1/stix/extensions/marking/tlp_marking.xsd +40 -0
- data/config/1.1/stix/extensions/structured_coa/generic_structured_coa.xsd +46 -0
- data/config/1.1/stix/extensions/test_mechanism/generic_test_mechanism.xsd +46 -0
- data/config/1.1/stix/extensions/test_mechanism/open_ioc_2010_test_mechanism.xsd +32 -0
- data/config/1.1/stix/extensions/test_mechanism/oval_5.10_test_mechanism.xsd +37 -0
- data/config/1.1/stix/extensions/test_mechanism/snort_test_mechanism.xsd +56 -0
- data/config/1.1/stix/extensions/test_mechanism/yara_test_mechanism.xsd +36 -0
- data/config/1.1/stix/extensions/vulnerability/cvrf_1.1_vulnerability.xsd +33 -0
- data/config/1.1/stix/extensions/vulnerability/readme.txt +1 -0
- data/config/1.1/stix/external/capec_2.7/ap_schema_v2.7.xsd +3618 -0
- data/config/1.1/stix/external/cvrf_1.1/common.xsd +176 -0
- data/config/1.1/stix/external/cvrf_1.1/cpe-language_2.2a.xsd +182 -0
- data/config/1.1/stix/external/cvrf_1.1/cvrf.xsd +487 -0
- data/config/1.1/stix/external/cvrf_1.1/cvss-v2_0.9.xsd +415 -0
- data/config/1.1/stix/external/cvrf_1.1/dc.xsd +118 -0
- data/config/1.1/stix/external/cvrf_1.1/prod.xsd +292 -0
- data/config/1.1/stix/external/cvrf_1.1/scap-core_0.9.xsd +170 -0
- data/config/1.1/stix/external/cvrf_1.1/vuln.xsd +631 -0
- data/config/1.1/stix/external/cvrf_1.1/xml.xsd +287 -0
- data/config/1.1/stix/external/maec_4.1/maec_bundle_schema.xsd +1228 -0
- data/config/1.1/stix/external/maec_4.1/maec_container_schema.xsd +62 -0
- data/config/1.1/stix/external/maec_4.1/maec_default_vocabularies.xsd +5325 -0
- data/config/1.1/stix/external/maec_4.1/maec_package_schema.xsd +1095 -0
- data/config/1.1/stix/external/maec_4.1/metadataSharing.xsd +1712 -0
- data/config/1.1/stix/external/oasis_ciq_3.0/CommonTypes.xsd +104 -0
- data/config/1.1/stix/external/oasis_ciq_3.0/xAL-types.xsd +511 -0
- data/config/1.1/stix/external/oasis_ciq_3.0/xAL.xsd +672 -0
- data/config/1.1/stix/external/oasis_ciq_3.0/xNAL-types.xsd +36 -0
- data/config/1.1/stix/external/oasis_ciq_3.0/xNAL.xsd +126 -0
- data/config/1.1/stix/external/oasis_ciq_3.0/xNL-types.xsd +222 -0
- data/config/1.1/stix/external/oasis_ciq_3.0/xNL.xsd +284 -0
- data/config/1.1/stix/external/oasis_ciq_3.0/xPIL-types.xsd +854 -0
- data/config/1.1/stix/external/oasis_ciq_3.0/xPIL.xsd +1621 -0
- data/config/1.1/stix/external/oasis_ciq_3.0/xlink-2003-12-31.xsd +90 -0
- data/config/1.1/stix/external/open_ioc_2010/ioc-TR.xsd +25 -0
- data/config/1.1/stix/external/open_ioc_2010/ioc.xsd +105 -0
- data/config/1.1/stix/external/oval_5.10/oval-common-schema.xsd +781 -0
- data/config/1.1/stix/external/oval_5.10/oval-definitions-schema.xsd +1608 -0
- data/config/1.1/stix/external/oval_5.10/oval-variables-schema.xsd +84 -0
- data/config/1.1/stix/external/oval_5.10/xmldsig-core-schema.xsd +309 -0
- data/config/1.1/stix/incident.xsd +759 -0
- data/config/1.1/stix/indicator.xsd +367 -0
- data/config/1.1/stix/stix_common.xsd +932 -0
- data/config/1.1/stix/stix_core.xsd +253 -0
- data/config/1.1/stix/stix_default_vocabularies.xsd +2015 -0
- data/config/1.1/stix/threat_actor.xsd +181 -0
- data/config/1.1/stix/ttp.xsd +429 -0
- data/config/1.1/uber_schema.xsd +149 -0
- data/config/mappings.json +30 -0
- data/lib/stix_schema_spy.rb +18 -0
- data/lib/stix_schema_spy/models/attribute.rb +20 -0
- data/lib/stix_schema_spy/models/complex_type.rb +50 -0
- data/lib/stix_schema_spy/models/element.rb +26 -0
- data/lib/stix_schema_spy/models/external_type.rb +48 -0
- data/lib/stix_schema_spy/models/has_children.rb +83 -0
- data/lib/stix_schema_spy/models/node.rb +71 -0
- data/lib/stix_schema_spy/models/schema.rb +217 -0
- data/lib/stix_schema_spy/models/simple_type.rb +47 -0
- data/lib/stix_schema_spy/models/special_field.rb +21 -0
- data/lib/stix_schema_spy/models/type.rb +106 -0
- data/lib/stix_schema_spy/util/schema_naming.rb +106 -0
- data/lib/stix_schema_spy/util/tasks.rb +69 -0
- data/lib/stix_schema_spy/version.rb +3 -0
- data/spec/lib/schema_naming_spec.rb +190 -0
- data/spec/models/complex_type_spec.rb +68 -0
- data/spec/models/node_spec.rb +47 -0
- data/spec/models/schema_spec.rb +63 -0
- data/spec/models/simple_type_spec.rb +38 -0
- data/spec/models/type_spec.rb +43 -0
- data/spec/spec_helper.rb +8 -0
- data/stix_schema_spy.gemspec +27 -0
- metadata +602 -0
@@ -0,0 +1 @@
|
|
1
|
+
The PlatformSpecificationType, defined in the CybOX common schema, provides a way to provide a prose description of a platform as well as any number of platform identification values. If one wishes to provide a more structured description of a platform, they can define types that extend PlatformSpecificationType. These types would be indicated using an xsi:Type attribute in the relevant element in CybOX content. This directory provides CybOX default extensions to PlatformSpecificationType to support structured description of platforms.
|
@@ -0,0 +1,234 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:cpe="http://cpe.mitre.org/language/2.0"
|
3
|
+
xmlns:cpe-name="http://cpe.mitre.org/naming/2.0" xmlns:sch="http://purl.oclc.org/dsdl/schematron"
|
4
|
+
targetNamespace="http://cpe.mitre.org/language/2.0" elementFormDefault="qualified"
|
5
|
+
attributeFormDefault="unqualified" version="2.3">
|
6
|
+
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
|
7
|
+
<xsd:import namespace="http://cpe.mitre.org/naming/2.0" schemaLocation="cpe-naming_2.3.xsd"/>
|
8
|
+
<xsd:annotation>
|
9
|
+
<xsd:documentation xml:lang="en">This XML Schema defines the CPE Applicability Language. An individual CPE Name
|
10
|
+
addresses a single part of an actual system. To identify more complex platform types, there needs to be a
|
11
|
+
way to combine different CPE Names using logical operators. For example, there may be a need to identify a
|
12
|
+
platform with a particular operating system AND a certain application. The CPE Applicability Language exists
|
13
|
+
to satisfy this need, enabling the CPE Name for the operating system to be combined with the CPE Name for
|
14
|
+
the application. For more information, consult the CPE Applicability Language Specification document. </xsd:documentation>
|
15
|
+
<xsd:appinfo>
|
16
|
+
<schema>CPE Applicability Language</schema>
|
17
|
+
<author>Neal Ziring, Andrew Buttner, David Waltermire</author>
|
18
|
+
<version>2.3</version>
|
19
|
+
<date>2011-07-29</date>
|
20
|
+
</xsd:appinfo>
|
21
|
+
<xsd:appinfo>
|
22
|
+
<!-- Declare the namespaces for schematron -->
|
23
|
+
<sch:ns prefix="cpe" uri="http://cpe.mitre.org/language/2.0"/>
|
24
|
+
</xsd:appinfo>
|
25
|
+
</xsd:annotation>
|
26
|
+
|
27
|
+
<!-- =============================================================================== -->
|
28
|
+
<!-- =============================================================================== -->
|
29
|
+
<!-- =============================================================================== -->
|
30
|
+
<xsd:element name="platform-specification" type="cpe:platformSpecificationType">
|
31
|
+
<xsd:annotation>
|
32
|
+
<xsd:documentation xml:lang="en">This element is the root element of a CPE Applicability Language XML
|
33
|
+
document and therefore acts as a container for child platform definitions.</xsd:documentation>
|
34
|
+
</xsd:annotation>
|
35
|
+
<xsd:key name="platformKey">
|
36
|
+
<xsd:selector xpath="cpe:platform"/>
|
37
|
+
<xsd:field xpath="@id"/>
|
38
|
+
</xsd:key>
|
39
|
+
</xsd:element>
|
40
|
+
|
41
|
+
<xsd:element name="platform" type="cpe:PlatformType"/>
|
42
|
+
<xsd:element name="platform-configuration" type="cpe:PlatformBaseType"/>
|
43
|
+
|
44
|
+
<xsd:element name="logical-test" type="cpe:LogicalTestType">
|
45
|
+
<xsd:annotation>
|
46
|
+
<xsd:appinfo>
|
47
|
+
<sch:pattern id="nonexistent-child">
|
48
|
+
<sch:rule context="cpe:logical-test">
|
49
|
+
<sch:assert
|
50
|
+
test="count(cpe:logical-test) > 0 or count(cpe:fact-ref) > 0 or count(cpe:check-fact-ref) > 0"
|
51
|
+
>All logical-test elements must contain one or more child logical-test, fact-ref, and/or
|
52
|
+
check-fact-ref elements.</sch:assert>
|
53
|
+
</sch:rule>
|
54
|
+
</sch:pattern>
|
55
|
+
</xsd:appinfo>
|
56
|
+
</xsd:annotation>
|
57
|
+
</xsd:element>
|
58
|
+
|
59
|
+
<xsd:element name="fact-ref" type="cpe:CPEFactRefType"/>
|
60
|
+
<xsd:element name="check-fact-ref" type="cpe:CheckFactRefType"/>
|
61
|
+
|
62
|
+
<!-- =============================================================================== -->
|
63
|
+
<!-- =========================== PLATFORM SPECIFICATION ============================ -->
|
64
|
+
<!-- =============================================================================== -->
|
65
|
+
<xsd:complexType name="platformSpecificationType">
|
66
|
+
<xsd:sequence>
|
67
|
+
<xsd:element ref="cpe:platform" minOccurs="1" maxOccurs="unbounded"/>
|
68
|
+
</xsd:sequence>
|
69
|
+
</xsd:complexType>
|
70
|
+
|
71
|
+
<!-- =============================================================================== -->
|
72
|
+
<!-- ================================== PLATFORM ================================= -->
|
73
|
+
<!-- =============================================================================== -->
|
74
|
+
<xsd:complexType name="PlatformBaseType">
|
75
|
+
<xsd:annotation>
|
76
|
+
<xsd:documentation xml:lang="en">The description or qualifications of a particular IT platform type. The
|
77
|
+
platform is defined by the logical-test child element.</xsd:documentation>
|
78
|
+
</xsd:annotation>
|
79
|
+
<xsd:sequence>
|
80
|
+
<xsd:element name="title" type="cpe:TextType" minOccurs="0" maxOccurs="unbounded">
|
81
|
+
<xsd:annotation>
|
82
|
+
<xsd:documentation xml:lang="en">A human-readable title for a platform. To support uses intended for
|
83
|
+
multiple languages, the title element supports the ‘xml:lang’ attribute. At most one title
|
84
|
+
element can appear for each language.</xsd:documentation>
|
85
|
+
</xsd:annotation>
|
86
|
+
</xsd:element>
|
87
|
+
<xsd:element name="remark" type="cpe:TextType" minOccurs="0" maxOccurs="unbounded">
|
88
|
+
<xsd:annotation>
|
89
|
+
<xsd:documentation xml:lang="en">An additional description. To support uses intended for multiple
|
90
|
+
languages, the remark element supports the ‘xml:lang’ attribute. There can be multiple remarks
|
91
|
+
for a single language.</xsd:documentation>
|
92
|
+
</xsd:annotation>
|
93
|
+
</xsd:element>
|
94
|
+
<xsd:element ref="cpe:logical-test" minOccurs="1" maxOccurs="1">
|
95
|
+
<xsd:annotation>
|
96
|
+
<xsd:documentation xml:lang="en">Definition of test using logical operators (AND, OR,
|
97
|
+
negate).</xsd:documentation>
|
98
|
+
</xsd:annotation>
|
99
|
+
</xsd:element>
|
100
|
+
</xsd:sequence>
|
101
|
+
</xsd:complexType>
|
102
|
+
<xsd:complexType name="PlatformType">
|
103
|
+
<xsd:complexContent>
|
104
|
+
<xsd:extension base="cpe:PlatformBaseType">
|
105
|
+
<xsd:attribute name="id" type="xsd:anyURI" use="required">
|
106
|
+
<xsd:annotation>
|
107
|
+
<xsd:documentation xml:lang="en">A locally unique name for the platform. There is no defined
|
108
|
+
format for this id; however, it must be unique within the containing CPE Applicability
|
109
|
+
Language document.</xsd:documentation>
|
110
|
+
</xsd:annotation>
|
111
|
+
</xsd:attribute>
|
112
|
+
</xsd:extension>
|
113
|
+
</xsd:complexContent>
|
114
|
+
</xsd:complexType>
|
115
|
+
<xsd:complexType name="LogicalTestType">
|
116
|
+
<xsd:annotation>
|
117
|
+
<xsd:documentation xml:lang="en">The logical-test element appears as a child of a platform element, and may
|
118
|
+
also be nested to create more complex logical tests. The content consists of one or more elements:
|
119
|
+
fact-ref, check-fact-ref, and logical-test children are permitted. The operator to be applied, and
|
120
|
+
optional negation of the test, are given as attributes.</xsd:documentation>
|
121
|
+
</xsd:annotation>
|
122
|
+
<xsd:sequence>
|
123
|
+
<xsd:element name="logical-test" type="cpe:LogicalTestType" minOccurs="0" maxOccurs="unbounded">
|
124
|
+
<xsd:annotation>
|
125
|
+
<xsd:documentation xml:lang="en">Definition of complex logical test using AND, OR, and/or negate
|
126
|
+
operators. Evaluates to a TRUE, FALSE, or ERROR result. </xsd:documentation>
|
127
|
+
</xsd:annotation>
|
128
|
+
</xsd:element>
|
129
|
+
<xsd:element ref="cpe:fact-ref" minOccurs="0" maxOccurs="unbounded">
|
130
|
+
<xsd:annotation>
|
131
|
+
<xsd:documentation xml:lang="en">A reference to a bound form of a WFN; the reference always
|
132
|
+
evaluates to a boolean result. The bound name contained within a fact-ref is meant to describe a
|
133
|
+
possible set of products and is not meant to identify a unique product
|
134
|
+
class.</xsd:documentation>
|
135
|
+
</xsd:annotation>
|
136
|
+
</xsd:element>
|
137
|
+
<xsd:element ref="cpe:check-fact-ref" minOccurs="0" maxOccurs="unbounded">
|
138
|
+
<xsd:annotation>
|
139
|
+
<xsd:documentation xml:lang="en">A reference to a check that always evaluates to TRUE, FALSE, or
|
140
|
+
ERROR. Examples of types of checks are OVAL and OCIL checks.</xsd:documentation>
|
141
|
+
</xsd:annotation>
|
142
|
+
</xsd:element>
|
143
|
+
</xsd:sequence>
|
144
|
+
<xsd:attribute name="operator" type="cpe:operatorEnumeration" use="required">
|
145
|
+
<xsd:annotation>
|
146
|
+
<xsd:documentation xml:lang="en">The operator applied to the results of evaluating the fact-ref,
|
147
|
+
check-fact-ref, and logical-test elements. The permitted operators are "AND" and
|
148
|
+
"OR".</xsd:documentation>
|
149
|
+
</xsd:annotation>
|
150
|
+
</xsd:attribute>
|
151
|
+
<xsd:attribute name="negate" type="xsd:boolean" use="required">
|
152
|
+
<xsd:annotation>
|
153
|
+
<xsd:documentation xml:lang="en">Whether the result of applying the operator should be negated. Possible
|
154
|
+
values are "TRUE" and "FALSE". This does not apply if the initial result is
|
155
|
+
ERROR.</xsd:documentation>
|
156
|
+
</xsd:annotation>
|
157
|
+
</xsd:attribute>
|
158
|
+
</xsd:complexType>
|
159
|
+
<xsd:complexType name="FactRefType">
|
160
|
+
<xsd:attribute name="description" type="xsd:normalizedString" use="optional"/>
|
161
|
+
</xsd:complexType>
|
162
|
+
<xsd:complexType name="CPEFactRefType">
|
163
|
+
<xsd:annotation>
|
164
|
+
<xsd:documentation xml:lang="en">A reference to a CPE Name that always evaluates to a Boolean
|
165
|
+
result.</xsd:documentation>
|
166
|
+
</xsd:annotation>
|
167
|
+
<xsd:complexContent>
|
168
|
+
<xsd:extension base="cpe:FactRefType">
|
169
|
+
<xsd:attribute name="name" type="cpe:namePattern" use="required"/>
|
170
|
+
</xsd:extension>
|
171
|
+
</xsd:complexContent>
|
172
|
+
</xsd:complexType>
|
173
|
+
<xsd:complexType name="CheckFactRefType">
|
174
|
+
<xsd:annotation>
|
175
|
+
<xsd:documentation xml:lang="en">A reference to a check that always evaluates to a TRUE, FALSE, or ERROR
|
176
|
+
result.</xsd:documentation>
|
177
|
+
<xsd:documentation xml:lang="en">The CheckFactRefType complex type is used to define an element for holding
|
178
|
+
information about an individual check. It includes a checking system specification URI, string content
|
179
|
+
identifying the check content to invoke, and an external reference. The checking system specification
|
180
|
+
should be the URI that uniquely identifies a revision of a check system language, and the id-ref will be
|
181
|
+
an identifier of a test written in that language. The external reference should be used to point to the
|
182
|
+
content in which the check identifier is defined.</xsd:documentation>
|
183
|
+
</xsd:annotation>
|
184
|
+
<xsd:complexContent>
|
185
|
+
<xsd:extension base="cpe:FactRefType">
|
186
|
+
<xsd:attribute name="system" type="xsd:anyURI" use="required"/>
|
187
|
+
<xsd:attribute name="href" type="xsd:anyURI" use="required"/>
|
188
|
+
<xsd:attribute name="id-ref" type="xsd:token" use="required"/>
|
189
|
+
</xsd:extension>
|
190
|
+
</xsd:complexContent>
|
191
|
+
</xsd:complexType>
|
192
|
+
|
193
|
+
<!-- =============================================================================== -->
|
194
|
+
<!-- =============================== ENUMERATIONS ================================ -->
|
195
|
+
<!-- =============================================================================== -->
|
196
|
+
<xsd:simpleType name="operatorEnumeration">
|
197
|
+
<xsd:annotation>
|
198
|
+
<xsd:documentation xml:lang="en">The OperatorEnumeration simple type defines acceptable operators. Each
|
199
|
+
operator defines how to evaluate multiple arguments.</xsd:documentation>
|
200
|
+
</xsd:annotation>
|
201
|
+
<xsd:restriction base="xsd:string">
|
202
|
+
<xsd:enumeration value="AND"/>
|
203
|
+
<xsd:enumeration value="OR"/>
|
204
|
+
</xsd:restriction>
|
205
|
+
</xsd:simpleType>
|
206
|
+
<!-- =============================================================================== -->
|
207
|
+
<!-- ============================== SUPPORTING TYPES ============================== -->
|
208
|
+
<!-- =============================================================================== -->
|
209
|
+
<xsd:complexType name="TextType">
|
210
|
+
<xsd:annotation>
|
211
|
+
<xsd:documentation xml:lang="en">This type allows the xml:lang attribute to associate a specific language
|
212
|
+
with an element's string content.</xsd:documentation>
|
213
|
+
</xsd:annotation>
|
214
|
+
<xsd:simpleContent>
|
215
|
+
<xsd:extension base="xsd:string">
|
216
|
+
<xsd:attribute ref="xml:lang"/>
|
217
|
+
</xsd:extension>
|
218
|
+
</xsd:simpleContent>
|
219
|
+
</xsd:complexType>
|
220
|
+
<!-- =============================================================================== -->
|
221
|
+
<!-- ================================ ID PATTERNS ================================ -->
|
222
|
+
<!-- =============================================================================== -->
|
223
|
+
<xsd:simpleType name="namePattern">
|
224
|
+
<xsd:union memberTypes="cpe-name:cpe22Type cpe-name:cpe23Type"/>
|
225
|
+
</xsd:simpleType>
|
226
|
+
<!-- ================================================== -->
|
227
|
+
<!-- ===== Change History -->
|
228
|
+
<!-- ================================================== -->
|
229
|
+
<!--
|
230
|
+
v2.2 - Initial working version
|
231
|
+
v2.3 - Various refactoring of types to use element refs. This enables more fine-grained reuse of this schema and allows XSD substitution to be possible.
|
232
|
+
Updated the name pattern.
|
233
|
+
-->
|
234
|
+
</xsd:schema>
|
@@ -0,0 +1,45 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:cpe="http://cpe.mitre.org/naming/2.0"
|
3
|
+
targetNamespace="http://cpe.mitre.org/naming/2.0" elementFormDefault="qualified" attributeFormDefault="unqualified"
|
4
|
+
version="2.3">
|
5
|
+
<xsd:annotation>
|
6
|
+
<xsd:documentation xml:lang="en"> </xsd:documentation>
|
7
|
+
<xsd:appinfo>
|
8
|
+
<schema>CPE 2.3 Naming</schema>
|
9
|
+
<author>Adam Halbardier</author>
|
10
|
+
<version>2.3</version>
|
11
|
+
<date>2011-07-29</date>
|
12
|
+
</xsd:appinfo>
|
13
|
+
</xsd:annotation>
|
14
|
+
|
15
|
+
<xsd:simpleType name="cpe22Type">
|
16
|
+
<xsd:annotation>
|
17
|
+
<xsd:documentation xml:lang="en">Define the format for acceptable CPE Names. A URN format is used with the
|
18
|
+
id starting with the word cpe followed by :/ and then some number of individual components separated by
|
19
|
+
colons.</xsd:documentation>
|
20
|
+
</xsd:annotation>
|
21
|
+
<xsd:restriction base="xsd:anyURI">
|
22
|
+
<xsd:pattern value="[c][pP][eE]:/[AHOaho]?(:[A-Za-z0-9\._\-~%]*){0,6}"/>
|
23
|
+
</xsd:restriction>
|
24
|
+
</xsd:simpleType>
|
25
|
+
<xsd:simpleType name="cpe23Type">
|
26
|
+
<xsd:annotation>
|
27
|
+
<xsd:documentation xml:lang="en">Define the format for acceptable CPE Names. A string format is used with
|
28
|
+
the id starting with the word cpe:2.3 followed by : and then some number of individual components
|
29
|
+
separated by colons.</xsd:documentation>
|
30
|
+
</xsd:annotation>
|
31
|
+
<xsd:restriction base="xsd:string">
|
32
|
+
<xsd:pattern
|
33
|
+
value="cpe:2\.3:[aho\*\-](:(((\?*|\*?)([a-zA-Z0-9\-\._]|(\\[\\\*\?!"#$$%&'\(\)\+,/:;<=>@\[\]\^`\{\|}~]))+(\?*|\*?))|[\*\-])){5}(:(([a-zA-Z]{2,3}(-([a-zA-Z]{2}|[0-9]{3}))?)|[\*\-]))(:(((\?*|\*?)([a-zA-Z0-9\-\._]|(\\[\\\*\?!"#$$%&'\(\)\+,/:;<=>@\[\]\^`\{\|}~]))+(\?*|\*?))|[\*\-])){4}"
|
34
|
+
/>
|
35
|
+
</xsd:restriction>
|
36
|
+
</xsd:simpleType>
|
37
|
+
|
38
|
+
<!-- ================================================== -->
|
39
|
+
<!-- ===== Change History -->
|
40
|
+
<!-- ================================================== -->
|
41
|
+
<!--
|
42
|
+
v2.3 - Initial release
|
43
|
+
-->
|
44
|
+
|
45
|
+
</xsd:schema>
|
@@ -0,0 +1,40 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
3
|
+
xmlns="http://cybox.mitre.org/extensions/platform#CPE2.3-1"
|
4
|
+
xmlns:cpe23="http://cpe.mitre.org/language/2.0"
|
5
|
+
xmlns:cyboxCommon="http://cybox.mitre.org/common-2"
|
6
|
+
targetNamespace="http://cybox.mitre.org/extensions/platform#CPE2.3-1"
|
7
|
+
elementFormDefault="qualified" version="1.0.1">
|
8
|
+
<xs:annotation>
|
9
|
+
<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>
|
10
|
+
<xs:appinfo>
|
11
|
+
<schema>CPE2.3</schema>
|
12
|
+
<version>1.0.1</version>
|
13
|
+
<date>09/30/2013 9:00:00 AM</date>
|
14
|
+
<short_description>Cyber Observable eXpression (CybOX) Extension - CPE 2.3 Platform Instance - Schematic implementation for using the CPE 2.3 Applicablity Language to describe a Platform within the CybOX observable expression language. It extends the PlatformSpecificationType defined in the CybOX common schema. (cybox_common.xsd) 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>
|
15
|
+
<terms_of_use>Copyright (c) 2012-2013, 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>
|
16
|
+
<reference>http://scap.nist.gov/specifications/cpe/</reference>
|
17
|
+
</xs:appinfo>
|
18
|
+
</xs:annotation>
|
19
|
+
|
20
|
+
<xs:import namespace="http://cpe.mitre.org/language/2.0"
|
21
|
+
schemaLocation="cpe-language_2.3.xsd"/>
|
22
|
+
<xs:import namespace="http://cybox.mitre.org/common-2" schemaLocation="../../cybox_common.xsd"/>
|
23
|
+
|
24
|
+
<xs:complexType name="CPE23PlatformSpecificationType">
|
25
|
+
<xs:annotation>
|
26
|
+
<xs:documentation>The CPE23PlatformSpecificationType provides an extension of the PlatformSpecificationType that imports and leverages the CPE 2.3 applicability language schema for structured characterization of a platform or platform combination.</xs:documentation>
|
27
|
+
</xs:annotation>
|
28
|
+
<xs:complexContent>
|
29
|
+
<xs:extension base="cyboxCommon:PlatformSpecificationType">
|
30
|
+
<xs:sequence>
|
31
|
+
<xs:element ref="cpe23:platform-specification" >
|
32
|
+
<xs:annotation>
|
33
|
+
<xs:documentation>The platform-specification element, defined in the CPE 2.3 Applicability Language schema, supports a structured characterization of a platform or combination of platforms.</xs:documentation>
|
34
|
+
</xs:annotation>
|
35
|
+
</xs:element>
|
36
|
+
</xs:sequence>
|
37
|
+
</xs:extension>
|
38
|
+
</xs:complexContent>
|
39
|
+
</xs:complexType>
|
40
|
+
</xs:schema>
|
@@ -0,0 +1,145 @@
|
|
1
|
+
<?xml version='1.0'?>
|
2
|
+
<xs:schema targetNamespace="http://www.w3.org/XML/1998/namespace" xmlns:xs="http://www.w3.org/2001/XMLSchema" xml:lang="en">
|
3
|
+
|
4
|
+
<xs:annotation>
|
5
|
+
<xs:documentation>
|
6
|
+
See http://www.w3.org/XML/1998/namespace.html and
|
7
|
+
http://www.w3.org/TR/REC-xml for information about this namespace.
|
8
|
+
|
9
|
+
This schema document describes the XML namespace, in a form
|
10
|
+
suitable for import by other schema documents.
|
11
|
+
|
12
|
+
Note that local names in this namespace are intended to be defined
|
13
|
+
only by the World Wide Web Consortium or its subgroups. The
|
14
|
+
following names are currently defined in this namespace and should
|
15
|
+
not be used with conflicting semantics by any Working Group,
|
16
|
+
specification, or document instance:
|
17
|
+
|
18
|
+
base (as an attribute name): denotes an attribute whose value
|
19
|
+
provides a URI to be used as the base for interpreting any
|
20
|
+
relative URIs in the scope of the element on which it
|
21
|
+
appears; its value is inherited. This name is reserved
|
22
|
+
by virtue of its definition in the XML Base specification.
|
23
|
+
|
24
|
+
id (as an attribute name): denotes an attribute whose value
|
25
|
+
should be interpreted as if declared to be of type ID.
|
26
|
+
This name is reserved by virtue of its definition in the
|
27
|
+
xml:id specification.
|
28
|
+
|
29
|
+
lang (as an attribute name): denotes an attribute whose value
|
30
|
+
is a language code for the natural language of the content of
|
31
|
+
any element; its value is inherited. This name is reserved
|
32
|
+
by virtue of its definition in the XML specification.
|
33
|
+
|
34
|
+
space (as an attribute name): denotes an attribute whose
|
35
|
+
value is a keyword indicating what whitespace processing
|
36
|
+
discipline is intended for the content of the element; its
|
37
|
+
value is inherited. This name is reserved by virtue of its
|
38
|
+
definition in the XML specification.
|
39
|
+
|
40
|
+
Father (in any context at all): denotes Jon Bosak, the chair of
|
41
|
+
the original XML Working Group. This name is reserved by
|
42
|
+
the following decision of the W3C XML Plenary and
|
43
|
+
XML Coordination groups:
|
44
|
+
|
45
|
+
In appreciation for his vision, leadership and dedication
|
46
|
+
the W3C XML Plenary on this 10th day of February, 2000
|
47
|
+
reserves for Jon Bosak in perpetuity the XML name
|
48
|
+
xml:Father
|
49
|
+
</xs:documentation>
|
50
|
+
</xs:annotation>
|
51
|
+
|
52
|
+
<xs:annotation>
|
53
|
+
<xs:documentation>This schema defines attributes and an attribute group
|
54
|
+
suitable for use by
|
55
|
+
schemas wishing to allow xml:base, xml:lang, xml:space or xml:id
|
56
|
+
attributes on elements they define.
|
57
|
+
|
58
|
+
To enable this, such a schema must import this schema
|
59
|
+
for the XML namespace, e.g. as follows:
|
60
|
+
<schema . . .>
|
61
|
+
. . .
|
62
|
+
<import namespace="http://www.w3.org/XML/1998/namespace"
|
63
|
+
schemaLocation="http://www.w3.org/2001/xml.xsd"/>
|
64
|
+
|
65
|
+
Subsequently, qualified reference to any of the attributes
|
66
|
+
or the group defined below will have the desired effect, e.g.
|
67
|
+
|
68
|
+
<type . . .>
|
69
|
+
. . .
|
70
|
+
<attributeGroup ref="xml:specialAttrs"/>
|
71
|
+
|
72
|
+
will define a type which will schema-validate an instance
|
73
|
+
element with any of those attributes</xs:documentation>
|
74
|
+
</xs:annotation>
|
75
|
+
|
76
|
+
<xs:annotation>
|
77
|
+
<xs:documentation>In keeping with the XML Schema WG's standard versioning
|
78
|
+
policy, this schema document will persist at
|
79
|
+
http://www.w3.org/2007/08/xml.xsd.
|
80
|
+
At the date of issue it can also be found at
|
81
|
+
http://www.w3.org/2001/xml.xsd.
|
82
|
+
The schema document at that URI may however change in the future,
|
83
|
+
in order to remain compatible with the latest version of XML Schema
|
84
|
+
itself, or with the XML namespace itself. In other words, if the XML
|
85
|
+
Schema or XML namespaces change, the version of this document at
|
86
|
+
http://www.w3.org/2001/xml.xsd will change
|
87
|
+
accordingly; the version at
|
88
|
+
http://www.w3.org/2007/08/xml.xsd will not change.
|
89
|
+
</xs:documentation>
|
90
|
+
</xs:annotation>
|
91
|
+
|
92
|
+
<xs:attribute name="lang">
|
93
|
+
<xs:annotation>
|
94
|
+
<xs:documentation>Attempting to install the relevant ISO 2- and 3-letter
|
95
|
+
codes as the enumerated possible values is probably never
|
96
|
+
going to be a realistic possibility. See
|
97
|
+
RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
|
98
|
+
at http://www.iana.org/assignments/lang-tag-apps.htm for
|
99
|
+
further information.
|
100
|
+
|
101
|
+
The union allows for the 'un-declaration' of xml:lang with
|
102
|
+
the empty string.</xs:documentation>
|
103
|
+
</xs:annotation>
|
104
|
+
<xs:simpleType>
|
105
|
+
<xs:union memberTypes="xs:language">
|
106
|
+
<xs:simpleType>
|
107
|
+
<xs:restriction base="xs:string">
|
108
|
+
<xs:enumeration value=""/>
|
109
|
+
</xs:restriction>
|
110
|
+
</xs:simpleType>
|
111
|
+
</xs:union>
|
112
|
+
</xs:simpleType>
|
113
|
+
</xs:attribute>
|
114
|
+
|
115
|
+
<xs:attribute name="space">
|
116
|
+
<xs:simpleType>
|
117
|
+
<xs:restriction base="xs:NCName">
|
118
|
+
<xs:enumeration value="default"/>
|
119
|
+
<xs:enumeration value="preserve"/>
|
120
|
+
</xs:restriction>
|
121
|
+
</xs:simpleType>
|
122
|
+
</xs:attribute>
|
123
|
+
|
124
|
+
<xs:attribute name="base" type="xs:anyURI">
|
125
|
+
<xs:annotation>
|
126
|
+
<xs:documentation>See http://www.w3.org/TR/xmlbase/ for
|
127
|
+
information about this attribute.</xs:documentation>
|
128
|
+
</xs:annotation>
|
129
|
+
</xs:attribute>
|
130
|
+
|
131
|
+
<xs:attribute name="id" type="xs:ID">
|
132
|
+
<xs:annotation>
|
133
|
+
<xs:documentation>See http://www.w3.org/TR/xml-id/ for
|
134
|
+
information about this attribute.</xs:documentation>
|
135
|
+
</xs:annotation>
|
136
|
+
</xs:attribute>
|
137
|
+
|
138
|
+
<xs:attributeGroup name="specialAttrs">
|
139
|
+
<xs:attribute ref="xml:base"/>
|
140
|
+
<xs:attribute ref="xml:lang"/>
|
141
|
+
<xs:attribute ref="xml:space"/>
|
142
|
+
<xs:attribute ref="xml:id"/>
|
143
|
+
</xs:attributeGroup>
|
144
|
+
|
145
|
+
</xs:schema>
|