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,292 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<xs:schema
|
3
|
+
xmlns:prod="http://www.icasi.org/CVRF/schema/prod/1.1"
|
4
|
+
xmlns:vuln="http://www.icasi.org/CVRF/schema/vuln/1.1"
|
5
|
+
xmlns:cvrf-common="http://www.icasi.org/CVRF/schema/common/1.1"
|
6
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
7
|
+
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
8
|
+
xmlns:cpe-lang="http://cpe.mitre.org/language/2.0"
|
9
|
+
xmlns:cvssv2="http://scap.nist.gov/schema/cvss-v2/1.0"
|
10
|
+
xmlns:scap-core="http://scap.nist.gov/schema/scap-core/1.0"
|
11
|
+
id="CVRFProductDictionary"
|
12
|
+
targetNamespace="http://www.icasi.org/CVRF/schema/prod/1.1"
|
13
|
+
elementFormDefault="qualified"
|
14
|
+
attributeFormDefault="unqualified"
|
15
|
+
version="1.1">
|
16
|
+
<!-- =============================================================================== -->
|
17
|
+
<!-- ============================= SCHEMA IMPORTS =============================== -->
|
18
|
+
<!-- =============================================================================== -->
|
19
|
+
<xs:import namespace="http://purl.org/dc/elements/1.1/" schemaLocation="dc.xsd"/>
|
20
|
+
<xs:import namespace="http://cpe.mitre.org/language/2.0" schemaLocation="cpe-language_2.2a.xsd"/>
|
21
|
+
<xs:import namespace="http://scap.nist.gov/schema/scap-core/1.0" schemaLocation="scap-core_0.9.xsd"/>
|
22
|
+
<xs:import namespace="http://scap.nist.gov/schema/cvss-v2/1.0" schemaLocation="cvss-v2_0.9.xsd"/>
|
23
|
+
<xs:import namespace="http://www.icasi.org/CVRF/schema/common/1.1" schemaLocation="common.xsd"/>
|
24
|
+
<!-- =============================================================================== -->
|
25
|
+
<!-- ============================ SCHEMA INFORMATION =============================== -->
|
26
|
+
<!-- =============================================================================== -->
|
27
|
+
<xs:annotation>
|
28
|
+
<xs:documentation xml:lang="en">This is the XML schema for the Common Vulnerability Reporting Framework's Product model. For more information, see the CVRF whitepaper.</xs:documentation>
|
29
|
+
<xs:appinfo>
|
30
|
+
<dc:creator>Joe Hemmerlein <joe.hemmerlein@microsoft.com></dc:creator>
|
31
|
+
<dc:contributor>Joe Clarke <jclarke@cisco.com></dc:contributor>
|
32
|
+
<dc:date>2012-05-07</dc:date>
|
33
|
+
<dc:subject>CVRF Product Dictionary</dc:subject>
|
34
|
+
<version>1.1</version>
|
35
|
+
</xs:appinfo>
|
36
|
+
</xs:annotation>
|
37
|
+
<!-- =============================================================================== -->
|
38
|
+
<!-- =================================== DATA TYPES ================================ -->
|
39
|
+
<!-- =============================================================================== -->
|
40
|
+
<xs:simpleType name="BranchTypeEnumType">
|
41
|
+
<xs:annotation>
|
42
|
+
<xs:documentation xml:lang="en">Types enumerating the individual parts (stubs) that comprise a product name.</xs:documentation>
|
43
|
+
</xs:annotation>
|
44
|
+
<xs:restriction base="xs:token">
|
45
|
+
<xs:enumeration value="Vendor">
|
46
|
+
<xs:annotation>
|
47
|
+
<xs:documentation xml:lang="en">The name of the vendor or manufacturer that makes the product .</xs:documentation>
|
48
|
+
</xs:annotation>
|
49
|
+
</xs:enumeration>
|
50
|
+
<xs:enumeration value="Product Family">
|
51
|
+
<xs:annotation>
|
52
|
+
<xs:documentation xml:lang="en">The product family that the product falls into.</xs:documentation>
|
53
|
+
</xs:annotation>
|
54
|
+
</xs:enumeration>
|
55
|
+
<xs:enumeration value="Product Name">
|
56
|
+
<xs:annotation>
|
57
|
+
<xs:documentation xml:lang="en">The name of the product.</xs:documentation>
|
58
|
+
</xs:annotation>
|
59
|
+
</xs:enumeration>
|
60
|
+
<xs:enumeration value="Product Version">
|
61
|
+
<xs:annotation>
|
62
|
+
<xs:documentation xml:lang="en">The version of the product. This can be a numeric or other descriptor.</xs:documentation>
|
63
|
+
</xs:annotation>
|
64
|
+
</xs:enumeration>
|
65
|
+
<xs:enumeration value="Patch Level">
|
66
|
+
<xs:annotation>
|
67
|
+
<xs:documentation xml:lang="en">The patch level of the product.</xs:documentation>
|
68
|
+
</xs:annotation>
|
69
|
+
</xs:enumeration>
|
70
|
+
<xs:enumeration value="Service Pack">
|
71
|
+
<xs:annotation>
|
72
|
+
<xs:documentation xml:lang="en">The service pack of the product.</xs:documentation>
|
73
|
+
</xs:annotation>
|
74
|
+
</xs:enumeration>
|
75
|
+
<xs:enumeration value="Architecture">
|
76
|
+
<xs:annotation>
|
77
|
+
<xs:documentation xml:lang="en">The architecture for which the product is intended.</xs:documentation>
|
78
|
+
</xs:annotation>
|
79
|
+
</xs:enumeration>
|
80
|
+
<xs:enumeration value="Language">
|
81
|
+
<xs:annotation>
|
82
|
+
<xs:documentation xml:lang="en">The language of the product.</xs:documentation>
|
83
|
+
</xs:annotation>
|
84
|
+
</xs:enumeration>
|
85
|
+
<xs:enumeration value="Legacy">
|
86
|
+
<xs:annotation>
|
87
|
+
<xs:documentation xml:lang="en">A non-specific legacy entry.</xs:documentation>
|
88
|
+
</xs:annotation>
|
89
|
+
</xs:enumeration>
|
90
|
+
<xs:enumeration value="Specification">
|
91
|
+
<xs:annotation>
|
92
|
+
<xs:documentation xml:lang="en">A specification such as a standard, best common practice, etc.</xs:documentation>
|
93
|
+
</xs:annotation>
|
94
|
+
</xs:enumeration>
|
95
|
+
<xs:enumeration value="Host Name">
|
96
|
+
<xs:annotation>
|
97
|
+
<xs:documentation xml:lang="en">The host name of a system/service.</xs:documentation>
|
98
|
+
</xs:annotation>
|
99
|
+
</xs:enumeration>
|
100
|
+
<xs:enumeration value="Realm">
|
101
|
+
<xs:annotation>
|
102
|
+
<xs:documentation xml:lang="en">The URI component of a system/service.</xs:documentation>
|
103
|
+
</xs:annotation>
|
104
|
+
</xs:enumeration>
|
105
|
+
<xs:enumeration value="Resource">
|
106
|
+
<xs:annotation>
|
107
|
+
<xs:documentation xml:lang="en">The file name component of a system/service.</xs:documentation>
|
108
|
+
</xs:annotation>
|
109
|
+
</xs:enumeration>
|
110
|
+
</xs:restriction>
|
111
|
+
</xs:simpleType>
|
112
|
+
<xs:simpleType name="RelationTypeEnumType">
|
113
|
+
<xs:annotation>
|
114
|
+
<xs:documentation xml:lang="en">Types enumerating the ways products can be related to each other.</xs:documentation>
|
115
|
+
</xs:annotation>
|
116
|
+
<xs:restriction base="xs:token">
|
117
|
+
<xs:enumeration value="Default Component Of">
|
118
|
+
<xs:annotation>
|
119
|
+
<xs:documentation xml:lang="en">This product is a default component of the referenced product.</xs:documentation>
|
120
|
+
</xs:annotation>
|
121
|
+
</xs:enumeration>
|
122
|
+
<xs:enumeration value="Optional Component Of">
|
123
|
+
<xs:annotation>
|
124
|
+
<xs:documentation xml:lang="en">This product is an optional component of the referenced product.</xs:documentation>
|
125
|
+
</xs:annotation>
|
126
|
+
</xs:enumeration>
|
127
|
+
<xs:enumeration value="External Component Of">
|
128
|
+
<xs:annotation>
|
129
|
+
<xs:documentation xml:lang="en">This product is an external component of the referenced product.</xs:documentation>
|
130
|
+
</xs:annotation>
|
131
|
+
</xs:enumeration>
|
132
|
+
<xs:enumeration value="Installed On">
|
133
|
+
<xs:annotation>
|
134
|
+
<xs:documentation xml:lang="en">This product is installed on the referenced product.</xs:documentation>
|
135
|
+
</xs:annotation>
|
136
|
+
</xs:enumeration>
|
137
|
+
<xs:enumeration value="Installed With">
|
138
|
+
<xs:annotation>
|
139
|
+
<xs:documentation xml:lang="en">This product is installed with the referenced product.</xs:documentation>
|
140
|
+
</xs:annotation>
|
141
|
+
</xs:enumeration>
|
142
|
+
</xs:restriction>
|
143
|
+
</xs:simpleType>
|
144
|
+
<xs:complexType name="BranchType">
|
145
|
+
<xs:choice>
|
146
|
+
<xs:element ref="prod:FullProductName" />
|
147
|
+
<xs:element name="Branch" type="prod:BranchType" maxOccurs="unbounded"/>
|
148
|
+
</xs:choice>
|
149
|
+
<xs:attribute name="Type" type="prod:BranchTypeEnumType" use="required"/>
|
150
|
+
<xs:attribute name="Name" type="xs:string" use="required"/>
|
151
|
+
</xs:complexType>
|
152
|
+
<!-- =============================================================================== -->
|
153
|
+
<!-- ============================= DOCUMENT DEFINITION ============================= -->
|
154
|
+
<!-- =============================================================================== -->
|
155
|
+
<xs:element name="ProductTree">
|
156
|
+
<xs:annotation>
|
157
|
+
<xs:documentation xml:lang="en">Neutral product tree to streamline product entries that can be referenced elsewhere in the document. The end of each branch ("FullProductName") represents a referrenceable product.</xs:documentation>
|
158
|
+
</xs:annotation>
|
159
|
+
<xs:complexType>
|
160
|
+
<xs:sequence>
|
161
|
+
<xs:element name="Branch" minOccurs="0" maxOccurs="unbounded" type="prod:BranchType"/>
|
162
|
+
<xs:element ref="prod:FullProductName" minOccurs="0" maxOccurs="unbounded"/>
|
163
|
+
<xs:element name="Relationship" minOccurs="0" maxOccurs="unbounded">
|
164
|
+
<xs:annotation>
|
165
|
+
<xs:documentation xml:lang="en">Defines how this product is related to another product.</xs:documentation>
|
166
|
+
</xs:annotation>
|
167
|
+
<xs:complexType>
|
168
|
+
<xs:sequence>
|
169
|
+
<xs:element ref="prod:FullProductName" minOccurs="1" maxOccurs="unbounded" />
|
170
|
+
</xs:sequence>
|
171
|
+
<xs:attribute name="ProductReference" type="xs:token" use="required">
|
172
|
+
<xs:annotation>
|
173
|
+
<xs:documentation xml:lang="en">The ProductReference refers to the unique ProductID of the product that is to which another product will be related.</xs:documentation>
|
174
|
+
</xs:annotation>
|
175
|
+
</xs:attribute>
|
176
|
+
<xs:attribute name="RelationType" type="prod:RelationTypeEnumType" use="required">
|
177
|
+
<xs:annotation>
|
178
|
+
<xs:documentation xml:lang="en">The RelationType attribute defines how the two products are related.</xs:documentation>
|
179
|
+
</xs:annotation>
|
180
|
+
</xs:attribute>
|
181
|
+
<xs:attribute name="RelatesToProductReference" type="xs:token" use="required">
|
182
|
+
<xs:annotation>
|
183
|
+
<xs:documentation xml:lang="en">RelatesToProductReference refers to the unique ProductID of the product to which the ProductReference attribute value relates.</xs:documentation>
|
184
|
+
</xs:annotation>
|
185
|
+
</xs:attribute>
|
186
|
+
</xs:complexType>
|
187
|
+
</xs:element>
|
188
|
+
<xs:element name="ProductGroups" minOccurs="0" maxOccurs="1">
|
189
|
+
<xs:annotation>
|
190
|
+
<xs:documentation xml:lang="en">Container for grouping products to be used in vulnerabilities.</xs:documentation>
|
191
|
+
</xs:annotation>
|
192
|
+
<xs:complexType>
|
193
|
+
<xs:sequence>
|
194
|
+
<xs:element name="Group" minOccurs="1" maxOccurs="unbounded">
|
195
|
+
<xs:annotation>
|
196
|
+
<xs:documentation xml:lang="en">A named container to associate two or more product IDs together for use in vulnerabilities.</xs:documentation>
|
197
|
+
</xs:annotation>
|
198
|
+
<xs:complexType>
|
199
|
+
<xs:sequence>
|
200
|
+
<xs:element name="Description" minOccurs="0" maxOccurs="1">
|
201
|
+
<xs:annotation>
|
202
|
+
<xs:documentation xml:lang="en">Optional textual description for this group.</xs:documentation>
|
203
|
+
</xs:annotation>
|
204
|
+
<xs:complexType>
|
205
|
+
<xs:simpleContent>
|
206
|
+
<xs:extension base="cvrf-common:localizedString" />
|
207
|
+
</xs:simpleContent>
|
208
|
+
</xs:complexType>
|
209
|
+
</xs:element>
|
210
|
+
<xs:element name="ProductID" type="xs:token" minOccurs="2" maxOccurs="unbounded">
|
211
|
+
<xs:annotation>
|
212
|
+
<xs:documentation xml:lang="en">The ID of an existing product in this tree that is to be a member of this group.</xs:documentation>
|
213
|
+
</xs:annotation>
|
214
|
+
</xs:element>
|
215
|
+
</xs:sequence>
|
216
|
+
<xs:attribute name="GroupID" type="xs:token" use="required">
|
217
|
+
<xs:annotation>
|
218
|
+
<xs:documentation xml:lang="en">The unique identifier used to reference this group.</xs:documentation>
|
219
|
+
</xs:annotation>
|
220
|
+
</xs:attribute>
|
221
|
+
</xs:complexType>
|
222
|
+
</xs:element>
|
223
|
+
</xs:sequence>
|
224
|
+
</xs:complexType>
|
225
|
+
</xs:element>
|
226
|
+
</xs:sequence>
|
227
|
+
</xs:complexType>
|
228
|
+
<xs:unique name="UniqueProductID">
|
229
|
+
<xs:annotation>
|
230
|
+
<xs:documentation xml:lang="en">This is to ensure that each FullProductName uses a unique ProductID value.</xs:documentation>
|
231
|
+
</xs:annotation>
|
232
|
+
<xs:selector xpath=".//prod:FullProductName"/>
|
233
|
+
<xs:field xpath="@ProductID"/>
|
234
|
+
</xs:unique>
|
235
|
+
<xs:unique name="UniqueGroupID">
|
236
|
+
<xs:annotation>
|
237
|
+
<xs:documentation xml:lang="en">This is to ensure that each Group uses a unique GroupID value.</xs:documentation>
|
238
|
+
</xs:annotation>
|
239
|
+
<xs:selector xpath=".//prod:ProductGroups/prod:Group"/>
|
240
|
+
<xs:field xpath="@GroupID"/>
|
241
|
+
</xs:unique>
|
242
|
+
<xs:key name="ProductKey">
|
243
|
+
<xs:annotation>
|
244
|
+
<xs:documentation xml:lang="en">A key to reference a specific product.</xs:documentation>
|
245
|
+
</xs:annotation>
|
246
|
+
<xs:selector xpath=".//prod:FullProductName" />
|
247
|
+
<xs:field xpath="@ProductID" />
|
248
|
+
</xs:key>
|
249
|
+
<xs:keyref name="ProductReferenceKeyRef" refer="prod:ProductKey">
|
250
|
+
<xs:annotation>
|
251
|
+
<xs:documentation xml:lang="en">An instance of the ProductKey used to define a relationship product.</xs:documentation>
|
252
|
+
</xs:annotation>
|
253
|
+
<xs:selector xpath=".//prod:Relationship" />
|
254
|
+
<xs:field xpath="@ProductReference" />
|
255
|
+
</xs:keyref>
|
256
|
+
<xs:keyref name="RelatesToProductReferenceKeyRef" refer="prod:ProductKey">
|
257
|
+
<xs:annotation>
|
258
|
+
<xs:documentation xml:lang="en">An instance of the ProductKey used to define a related product.</xs:documentation>
|
259
|
+
</xs:annotation>
|
260
|
+
<xs:selector xpath=".//prod:Relationship" />
|
261
|
+
<xs:field xpath="@RelatesToProductReference" />
|
262
|
+
</xs:keyref>
|
263
|
+
<xs:keyref name="GroupProductReferenceKeyRef" refer="prod:ProductKey">
|
264
|
+
<xs:annotation>
|
265
|
+
<xs:documentation xml:lang="en">An instance of the ProductKey used to define a product group membership list.</xs:documentation>
|
266
|
+
</xs:annotation>
|
267
|
+
<xs:selector xpath=".//prod:ProductGroups/prod:Group/prod:ProductID" />
|
268
|
+
<xs:field xpath="." />
|
269
|
+
</xs:keyref>
|
270
|
+
</xs:element>
|
271
|
+
<xs:element name="FullProductName">
|
272
|
+
<xs:annotation>
|
273
|
+
<xs:documentation xml:lang="en">Endpoint of product tree - this is an actual product entry. The string represents the friendly product name (i.e. the way it would be printed in other publications)</xs:documentation>
|
274
|
+
</xs:annotation>
|
275
|
+
<xs:complexType>
|
276
|
+
<xs:simpleContent>
|
277
|
+
<xs:extension base="cvrf-common:nonEmptyNormalizedString">
|
278
|
+
<xs:attribute name="ProductID" type="xs:token" use="required">
|
279
|
+
<xs:annotation>
|
280
|
+
<xs:documentation xml:lang="en">A value that uniquely identifies this Product entry in the scope of this document. Whenever a reference to this Product entry is needed anywhere in this document, its unique ID will be referenced.</xs:documentation>
|
281
|
+
</xs:annotation>
|
282
|
+
</xs:attribute>
|
283
|
+
<xs:attribute name="CPE" type="cpe-lang:namePattern">
|
284
|
+
<xs:annotation>
|
285
|
+
<xs:documentation xml:lang="en">The Common Platform Enumeration (CPE) attribute refers to a method for naming platforms. The structure for CPE is described at http://cpe.mitre.org.</xs:documentation>
|
286
|
+
</xs:annotation>
|
287
|
+
</xs:attribute>
|
288
|
+
</xs:extension>
|
289
|
+
</xs:simpleContent>
|
290
|
+
</xs:complexType>
|
291
|
+
</xs:element>
|
292
|
+
</xs:schema>
|
@@ -0,0 +1,170 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
3
|
+
xmlns="http://scap.nist.gov/schema/scap-core/1.0"
|
4
|
+
xmlns:xml="http://www.w3.org/XML/1998/namespace"
|
5
|
+
elementFormDefault="qualified" attributeFormDefault="unqualified"
|
6
|
+
targetNamespace="http://scap.nist.gov/schema/scap-core/1.0"
|
7
|
+
version="0.9">
|
8
|
+
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
|
9
|
+
|
10
|
+
<xsd:element name="control-mappings" type="controlMappingsType" />
|
11
|
+
|
12
|
+
<!-- ================================================== -->
|
13
|
+
<!-- ===== Complex Type Definitions -->
|
14
|
+
<!-- ================================================== -->
|
15
|
+
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
|
16
|
+
<!-- check <<complexType>> -->
|
17
|
+
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
|
18
|
+
<xsd:complexType name="checkReferenceType">
|
19
|
+
<xsd:annotation>
|
20
|
+
<xsd:documentation xml:lang="en">Data type for the check element, a checking system specification URI, string content, and an optional external file reference. The checking system specification should be the URI for a particular version of OVAL or a related system testing language, and the content will be an identifier of a test written in that language. The external file reference could be used to point to the file in which the content test identifier is defined.</xsd:documentation>
|
21
|
+
</xsd:annotation>
|
22
|
+
<xsd:complexContent>
|
23
|
+
<xsd:extension base="checkSearchType">
|
24
|
+
<xsd:attribute name="href" type="xsd:anyURI" use="required"/>
|
25
|
+
</xsd:extension>
|
26
|
+
</xsd:complexContent>
|
27
|
+
</xsd:complexType>
|
28
|
+
<xsd:element name="assessment-check" type="checkReferenceType"/>
|
29
|
+
|
30
|
+
<xsd:complexType name="checkSearchType">
|
31
|
+
<xsd:attribute name="system" type="xsd:anyURI" use="required"/>
|
32
|
+
<xsd:attribute name="name" type="xsd:token" use="optional"/>
|
33
|
+
</xsd:complexType>
|
34
|
+
|
35
|
+
<xsd:group name="cpeReferenceGroup">
|
36
|
+
<xsd:choice>
|
37
|
+
<xsd:element name="cpe-name" type="cpeNamePatternType"/>
|
38
|
+
<xsd:element name="cpe-searchable-name" type="cpeSearchableNamePatternType"/>
|
39
|
+
</xsd:choice>
|
40
|
+
</xsd:group>
|
41
|
+
|
42
|
+
<xsd:complexType name="searchableCpeReferencesType">
|
43
|
+
<xsd:sequence>
|
44
|
+
<xsd:group ref="cpeReferenceGroup" minOccurs="1" maxOccurs="unbounded"/>
|
45
|
+
</xsd:sequence>
|
46
|
+
</xsd:complexType>
|
47
|
+
|
48
|
+
<xsd:complexType name="controlMappingsType">
|
49
|
+
<xsd:sequence>
|
50
|
+
<xsd:element name="control-mapping" type="controlMappingType" minOccurs="1" maxOccurs="unbounded" />
|
51
|
+
</xsd:sequence>
|
52
|
+
</xsd:complexType>
|
53
|
+
|
54
|
+
<xsd:complexType name="controlMappingType">
|
55
|
+
<xsd:sequence>
|
56
|
+
<xsd:element name="mapping" type="mappingInstanceType" minOccurs="0" maxOccurs="unbounded" />
|
57
|
+
</xsd:sequence>
|
58
|
+
<xsd:attribute name="system-id" type="xsd:anyURI" use="required"/>
|
59
|
+
<xsd:attribute name="source" type="xsd:anyURI" use="required"/>
|
60
|
+
<xsd:attribute name="last-modified" type="xsd:dateTime" use="required"/>
|
61
|
+
</xsd:complexType>
|
62
|
+
|
63
|
+
<xsd:complexType name="mappingInstanceType">
|
64
|
+
<xsd:simpleContent>
|
65
|
+
<xsd:extension base="xsd:token">
|
66
|
+
<xsd:attribute name="published" type="xsd:dateTime" use="required"/>
|
67
|
+
</xsd:extension>
|
68
|
+
</xsd:simpleContent>
|
69
|
+
</xsd:complexType>
|
70
|
+
|
71
|
+
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
|
72
|
+
<!-- Tool_Configuration -->
|
73
|
+
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
|
74
|
+
<xsd:complexType name="assessmentMethodType">
|
75
|
+
<xsd:annotation>
|
76
|
+
<xsd:documentation>Denotes a scanner and required configuration that is capable of detecting the referenced vulnerability. May also be an OVAL definition and omit scanner name.</xsd:documentation>
|
77
|
+
<xsd:documentation>Identifies a tool and any associated information about the tool, such as signature versions, that indicate the tool is capable or properly detecting and/or remdiating the vulnerability or misconfiguration</xsd:documentation>
|
78
|
+
</xsd:annotation>
|
79
|
+
<xsd:sequence>
|
80
|
+
<xsd:element name="assessment-check" type="checkReferenceType">
|
81
|
+
<xsd:annotation>
|
82
|
+
<xsd:documentation>Identifies a check that can be used to detect the vulnerability or misconfiguration</xsd:documentation>
|
83
|
+
</xsd:annotation>
|
84
|
+
</xsd:element>
|
85
|
+
<xsd:element name="assessment-engine" type="cpeNamePatternType" minOccurs="0" maxOccurs="unbounded">
|
86
|
+
<xsd:annotation>
|
87
|
+
<xsd:documentation>The CPE name of the scanning tool. A value must be supplied for this element. The CPE name can be used for a CPE from the NVD. The CPE title attribute can be used for internal naming conventions. (or both, if possible)</xsd:documentation>
|
88
|
+
</xsd:annotation>
|
89
|
+
</xsd:element>
|
90
|
+
</xsd:sequence>
|
91
|
+
</xsd:complexType>
|
92
|
+
|
93
|
+
<xsd:complexType name="identifyableAssessmentMethodType">
|
94
|
+
<xsd:complexContent>
|
95
|
+
<xsd:extension base="assessmentMethodType">
|
96
|
+
<xsd:attribute name="id" type="xsd:positiveInteger"/>
|
97
|
+
</xsd:extension>
|
98
|
+
</xsd:complexContent>
|
99
|
+
</xsd:complexType>
|
100
|
+
<xsd:element name="assessment-method" type="identifyableAssessmentMethodType"/>
|
101
|
+
|
102
|
+
<!-- =============================================================================== -->
|
103
|
+
<!-- ================================ ID PATTERNS ================================ -->
|
104
|
+
<!-- =============================================================================== -->
|
105
|
+
<xsd:simpleType name="cpeNamePatternType">
|
106
|
+
<xsd:annotation>
|
107
|
+
<xsd:documentation xml:lang="en">Define the format for acceptable CPE Names. An urn format is used with the id starting with the word oval followed by a unique string, followed by the three letter code 'def', and ending with an integer.</xsd:documentation>
|
108
|
+
</xsd:annotation>
|
109
|
+
<xsd:restriction base="xsd:anyURI">
|
110
|
+
<xsd:pattern value="[c][pP][eE]:/[AHOaho]?(:[A-Za-z0-9._\-~%]*){0,6}"/>
|
111
|
+
</xsd:restriction>
|
112
|
+
</xsd:simpleType>
|
113
|
+
|
114
|
+
<xsd:simpleType name="cpeNamePVPVPatternType">
|
115
|
+
<xsd:annotation>
|
116
|
+
<xsd:documentation xml:lang="en-US">Define the format for acceptable CPE Names. A URN format is used with the id starting with the word cpe followed by :/ and then some number of individual components separated by colons.</xsd:documentation>
|
117
|
+
</xsd:annotation>
|
118
|
+
<xsd:restriction base="cpeNamePatternType">
|
119
|
+
<xsd:pattern value="[c][pP][eE]:/[AHOaho]?(:[A-Za-z0-9\._\-~%]*){3,6}"/>
|
120
|
+
</xsd:restriction>
|
121
|
+
</xsd:simpleType>
|
122
|
+
|
123
|
+
<xsd:simpleType name="cpeSearchableNamePatternType">
|
124
|
+
<xsd:annotation>
|
125
|
+
<xsd:documentation xml:lang="en">Define the format for acceptable
|
126
|
+
searchableCPE Names. The URI escaped code '%25' may be used
|
127
|
+
to represent the character '%' which will be interpreted as a
|
128
|
+
wildcard.</xsd:documentation>
|
129
|
+
</xsd:annotation>
|
130
|
+
<xsd:restriction base="xsd:anyURI">
|
131
|
+
<xsd:pattern value="[c][pP][eE]:/[AHOaho]?(:[A-Za-z0-9._\-~%*]*){0,6}"/>
|
132
|
+
</xsd:restriction>
|
133
|
+
</xsd:simpleType>
|
134
|
+
|
135
|
+
<xsd:simpleType name="cpeComponentPatternType">
|
136
|
+
<xsd:annotation>
|
137
|
+
<xsd:documentation>The name pattern of a CPE component.</xsd:documentation>
|
138
|
+
</xsd:annotation>
|
139
|
+
<xsd:restriction base="xsd:token">
|
140
|
+
<xsd:pattern value="[A-Za-z0-9._\-~]*"/>
|
141
|
+
</xsd:restriction>
|
142
|
+
</xsd:simpleType>
|
143
|
+
|
144
|
+
<xsd:simpleType name="cpePartComponentPatternType">
|
145
|
+
<xsd:annotation>
|
146
|
+
<xsd:documentation>The name pattern of the CPE part component.</xsd:documentation>
|
147
|
+
</xsd:annotation>
|
148
|
+
<xsd:restriction base="cpeComponentPatternType">
|
149
|
+
<xsd:pattern value="[hoaHOA]"/>
|
150
|
+
</xsd:restriction>
|
151
|
+
</xsd:simpleType>
|
152
|
+
|
153
|
+
<xsd:simpleType name="cweNamePatternType">
|
154
|
+
<xsd:restriction base="xsd:token">
|
155
|
+
<xsd:pattern value="CWE-[1-9]\d{0,5}"></xsd:pattern>
|
156
|
+
</xsd:restriction>
|
157
|
+
</xsd:simpleType>
|
158
|
+
<!-- ================================================== -->
|
159
|
+
<!-- ===== Change History -->
|
160
|
+
<!-- ================================================== -->
|
161
|
+
<!--
|
162
|
+
v0.1 - Initial public draft
|
163
|
+
v0.1a - Fixed the CPE Name pattern to properly allow '-' characters
|
164
|
+
v0.2
|
165
|
+
- Refactored some types into the metadata-core schema
|
166
|
+
- Unified the checkReferenceType with the check type used in the CPE dictionary
|
167
|
+
v0.3
|
168
|
+
- Added controlMappingsType
|
169
|
+
-->
|
170
|
+
</xsd:schema>
|