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,176 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<xs:schema
|
3
|
+
xmlns:cvrf-common="http://www.icasi.org/CVRF/schema/common/1.1"
|
4
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
5
|
+
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
6
|
+
id="CVRFCommonDictionary"
|
7
|
+
targetNamespace="http://www.icasi.org/CVRF/schema/common/1.1"
|
8
|
+
elementFormDefault="qualified"
|
9
|
+
attributeFormDefault="unqualified"
|
10
|
+
version="1.1">
|
11
|
+
<!-- =============================================================================== -->
|
12
|
+
<!-- ============================= SCHEMA IMPORTS =============================== -->
|
13
|
+
<!-- =============================================================================== -->
|
14
|
+
<xs:import namespace="http://purl.org/dc/elements/1.1/" schemaLocation="dc.xsd"/>
|
15
|
+
<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
|
16
|
+
<!-- =============================================================================== -->
|
17
|
+
<!-- ============================ SCHEMA INFORMATION =============================== -->
|
18
|
+
<!-- =============================================================================== -->
|
19
|
+
<xs:annotation>
|
20
|
+
<xs:documentation xml:lang="en">This is the XML schema for the Common Vulerability Reporting Framework's common data types.</xs:documentation>
|
21
|
+
<xs:appinfo>
|
22
|
+
<dc:creator>Brian Schafer <bschafer@microsoft.com></dc:creator>
|
23
|
+
<dc:contributor>Joe Clarke <jclarke@cisco.com></dc:contributor>
|
24
|
+
<dc:contributor>Joe Hemmerlein <Joe.Hemmerlein@microsoft.com></dc:contributor>
|
25
|
+
<dc:date>2012-05-07</dc:date>
|
26
|
+
<dc:subject>CVRF Common Data Types</dc:subject>
|
27
|
+
<version>1.1</version>
|
28
|
+
</xs:appinfo>
|
29
|
+
</xs:annotation>
|
30
|
+
<!-- =============================================================================== -->
|
31
|
+
<!-- =================================== DATA TYPES ================================ -->
|
32
|
+
<!-- =============================================================================== -->
|
33
|
+
<xs:simpleType name="nonEmptyNormalizedString">
|
34
|
+
<xs:annotation>
|
35
|
+
<xs:documentation xml:lang="en">A normalized string type that cannot be empty.</xs:documentation>
|
36
|
+
</xs:annotation>
|
37
|
+
<xs:restriction base="xs:normalizedString">
|
38
|
+
<xs:minLength value="1" />
|
39
|
+
</xs:restriction>
|
40
|
+
</xs:simpleType>
|
41
|
+
<xs:simpleType name="nonEmptyString">
|
42
|
+
<xs:annotation>
|
43
|
+
<xs:documentation xml:lang="en">A string type that cannot be empty.</xs:documentation>
|
44
|
+
</xs:annotation>
|
45
|
+
<xs:restriction base="xs:string">
|
46
|
+
<xs:minLength value="1" />
|
47
|
+
</xs:restriction>
|
48
|
+
</xs:simpleType>
|
49
|
+
<xs:complexType name="localizedString">
|
50
|
+
<xs:annotation>
|
51
|
+
<xs:documentation xml:lang="en">String type with an optional language attribute. The default language is English.</xs:documentation>
|
52
|
+
</xs:annotation>
|
53
|
+
<xs:simpleContent>
|
54
|
+
<xs:extension base="cvrf-common:nonEmptyString">
|
55
|
+
<xs:attribute ref="xml:lang" default="en">
|
56
|
+
<xs:annotation>
|
57
|
+
<xs:documentation xml:lang="en">Locale code used for the string value. The default is "en".</xs:documentation>
|
58
|
+
</xs:annotation>
|
59
|
+
</xs:attribute>
|
60
|
+
</xs:extension>
|
61
|
+
</xs:simpleContent>
|
62
|
+
</xs:complexType>
|
63
|
+
<xs:complexType name="localizedNormalizedString">
|
64
|
+
<xs:annotation>
|
65
|
+
<xs:documentation xml:lang="en">Normalized string type with an optional language attribute. The default language is English. This string cannot be empty.</xs:documentation>
|
66
|
+
</xs:annotation>
|
67
|
+
<xs:simpleContent>
|
68
|
+
<xs:extension base="cvrf-common:nonEmptyNormalizedString">
|
69
|
+
<xs:attribute ref="xml:lang" default="en">
|
70
|
+
<xs:annotation>
|
71
|
+
<xs:documentation xml:lang="en">Locale code used for the string value. The default is "en".</xs:documentation>
|
72
|
+
</xs:annotation>
|
73
|
+
</xs:attribute>
|
74
|
+
</xs:extension>
|
75
|
+
</xs:simpleContent>
|
76
|
+
</xs:complexType>
|
77
|
+
<xs:simpleType name="revisionNumber">
|
78
|
+
<xs:annotation>
|
79
|
+
<xs:documentation xml:lang="en">Dotted string representing the document revision</xs:documentation>
|
80
|
+
</xs:annotation>
|
81
|
+
<xs:restriction base="xs:token">
|
82
|
+
<xs:pattern value="(0|[1-9][0-9]*)(\.(0|[1-9][0-9]*)){0,3}" />
|
83
|
+
</xs:restriction>
|
84
|
+
</xs:simpleType>
|
85
|
+
<xs:simpleType name="ReferenceTypeEnum">
|
86
|
+
<xs:annotation>
|
87
|
+
<xs:documentation xml:lang="en">Types enumerating the type of reference document</xs:documentation>
|
88
|
+
</xs:annotation>
|
89
|
+
<xs:restriction base="xs:token">
|
90
|
+
<xs:enumeration value="External">
|
91
|
+
<xs:annotation>
|
92
|
+
<xs:documentation xml:lang="en">This document is an external reference to the current vulnerability.</xs:documentation>
|
93
|
+
</xs:annotation>
|
94
|
+
</xs:enumeration>
|
95
|
+
<xs:enumeration value="Self">
|
96
|
+
<xs:annotation>
|
97
|
+
<xs:documentation xml:lang="en">This document is a reference to this same vulnerability.</xs:documentation>
|
98
|
+
</xs:annotation>
|
99
|
+
</xs:enumeration>
|
100
|
+
</xs:restriction>
|
101
|
+
</xs:simpleType>
|
102
|
+
<xs:simpleType name="PublisherEnumType">
|
103
|
+
<xs:annotation>
|
104
|
+
<xs:documentation xml:lang="en">Types enumerating the various publishers of a document.</xs:documentation>
|
105
|
+
</xs:annotation>
|
106
|
+
<xs:restriction base="xs:token">
|
107
|
+
<xs:enumeration value="Vendor">
|
108
|
+
<xs:annotation>
|
109
|
+
<xs:documentation xml:lang="en">Developers or maintainers of information system products or services.</xs:documentation>
|
110
|
+
</xs:annotation>
|
111
|
+
</xs:enumeration>
|
112
|
+
<xs:enumeration value="Discoverer">
|
113
|
+
<xs:annotation>
|
114
|
+
<xs:documentation xml:lang="en">Individuals or organizations that find vulnerabilities or security weaknesses.</xs:documentation>
|
115
|
+
</xs:annotation>
|
116
|
+
</xs:enumeration>
|
117
|
+
<xs:enumeration value="Coordinator">
|
118
|
+
<xs:annotation>
|
119
|
+
<xs:documentation xml:lang="en">Individuals or organizations that manage a single vendor's response or multiple vendors' responses to a vulnerability, a security flaw, or an incident.</xs:documentation>
|
120
|
+
</xs:annotation>
|
121
|
+
</xs:enumeration>
|
122
|
+
<xs:enumeration value="User">
|
123
|
+
<xs:annotation>
|
124
|
+
<xs:documentation xml:lang="en">Everyone using a vendor's product.</xs:documentation>
|
125
|
+
</xs:annotation>
|
126
|
+
</xs:enumeration>
|
127
|
+
<xs:enumeration value="Other">
|
128
|
+
<xs:annotation>
|
129
|
+
<xs:documentation xml:lang="en">Catchall for everyone else. Currently this includes forwarders, re-publishers, language translators and miscellaneous contributors.</xs:documentation>
|
130
|
+
</xs:annotation>
|
131
|
+
</xs:enumeration>
|
132
|
+
</xs:restriction>
|
133
|
+
</xs:simpleType>
|
134
|
+
<xs:simpleType name="NoteTypeEnumType">
|
135
|
+
<xs:annotation>
|
136
|
+
<xs:documentation xml:lang="en">Allowed type values for CVRF notes.</xs:documentation>
|
137
|
+
</xs:annotation>
|
138
|
+
<xs:restriction base="xs:token">
|
139
|
+
<xs:enumeration value="General">
|
140
|
+
<xs:annotation>
|
141
|
+
<xs:documentation xml:lang="en">A general, high-level note (Title may have more information).</xs:documentation>
|
142
|
+
</xs:annotation>
|
143
|
+
</xs:enumeration>
|
144
|
+
<xs:enumeration value="Details">
|
145
|
+
<xs:annotation>
|
146
|
+
<xs:documentation xml:lang="en">A low-level detailed discussion (Title may have more information).</xs:documentation>
|
147
|
+
</xs:annotation>
|
148
|
+
</xs:enumeration>
|
149
|
+
<xs:enumeration value="Description">
|
150
|
+
<xs:annotation>
|
151
|
+
<xs:documentation xml:lang="en">A description of something (Title may have more information).</xs:documentation>
|
152
|
+
</xs:annotation>
|
153
|
+
</xs:enumeration>
|
154
|
+
<xs:enumeration value="Summary">
|
155
|
+
<xs:annotation>
|
156
|
+
<xs:documentation xml:lang="en">A summary of something (Title may have more information).</xs:documentation>
|
157
|
+
</xs:annotation>
|
158
|
+
</xs:enumeration>
|
159
|
+
<xs:enumeration value="FAQ">
|
160
|
+
<xs:annotation>
|
161
|
+
<xs:documentation xml:lang="en">A list of frequently asked questions.</xs:documentation>
|
162
|
+
</xs:annotation>
|
163
|
+
</xs:enumeration>
|
164
|
+
<xs:enumeration value="Legal Disclaimer">
|
165
|
+
<xs:annotation>
|
166
|
+
<xs:documentation xml:lang="en">Any possible legal discussion, including constraints, surrounding the document.</xs:documentation>
|
167
|
+
</xs:annotation>
|
168
|
+
</xs:enumeration>
|
169
|
+
<xs:enumeration value="Other">
|
170
|
+
<xs:annotation>
|
171
|
+
<xs:documentation xml:lang="en">Something that doesn’t fit (Title should have more information).</xs:documentation>
|
172
|
+
</xs:annotation>
|
173
|
+
</xs:enumeration>
|
174
|
+
</xs:restriction>
|
175
|
+
</xs:simpleType>
|
176
|
+
</xs:schema>
|
@@ -0,0 +1,182 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
3
|
+
xmlns:cpe="http://cpe.mitre.org/language/2.0"
|
4
|
+
xmlns:xml="http://www.w3.org/XML/1998/namespace"
|
5
|
+
xmlns:sch="http://purl.oclc.org/dsdl/schematron"
|
6
|
+
targetNamespace="http://cpe.mitre.org/language/2.0" elementFormDefault="qualified"
|
7
|
+
attributeFormDefault="unqualified" version="2.2a">
|
8
|
+
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
|
9
|
+
<xsd:annotation>
|
10
|
+
<xsd:documentation xml:lang="en">This XML Schema defines the CPE Language. An individual
|
11
|
+
CPE Name addresses a single part of an actual system. To identify more complex
|
12
|
+
platform types, there needs to be a way to combine different CPE Names using
|
13
|
+
logical operators. For example, there may be a need to identify a platform with a
|
14
|
+
particular operating system AND a certain application. The CPE Language exists to
|
15
|
+
satisfy this need, enabling the CPE Name for the operating system to be combined
|
16
|
+
with the CPE Name for the application. For more information, consult the CPE
|
17
|
+
Specification document.</xsd:documentation>
|
18
|
+
<xsd:appinfo>
|
19
|
+
<schema>CPE Language</schema>
|
20
|
+
<author>Neal Ziring, Andrew Buttner, David Waltermire</author>
|
21
|
+
<version>2.2</version>
|
22
|
+
<date>10/27/2008 10:00:00 AM</date>
|
23
|
+
</xsd:appinfo>
|
24
|
+
</xsd:annotation>
|
25
|
+
|
26
|
+
<!-- =============================================================================== -->
|
27
|
+
<!-- =============================================================================== -->
|
28
|
+
<!-- =============================================================================== -->
|
29
|
+
<xsd:element name="platform-specification" type="cpe:platformSpecificationType">
|
30
|
+
<xsd:annotation>
|
31
|
+
<xsd:documentation xml:lang="en">This element is the root element of a CPE
|
32
|
+
Language XML documents and therefore acts as a container for child platform
|
33
|
+
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
|
+
|
46
|
+
<xsd:element name="fact-ref" type="cpe:FactRefType"/>
|
47
|
+
|
48
|
+
|
49
|
+
<!-- =============================================================================== -->
|
50
|
+
<!-- =========================== PLATFORM SPECIFICATION ============================ -->
|
51
|
+
<!-- =============================================================================== -->
|
52
|
+
<xsd:complexType name="platformSpecificationType">
|
53
|
+
<xsd:sequence>
|
54
|
+
<xsd:element ref="cpe:platform" minOccurs="1"
|
55
|
+
maxOccurs="unbounded"/>
|
56
|
+
</xsd:sequence>
|
57
|
+
</xsd:complexType>
|
58
|
+
|
59
|
+
<!-- =============================================================================== -->
|
60
|
+
<!-- ================================== PLATFORM ================================= -->
|
61
|
+
<!-- =============================================================================== -->
|
62
|
+
<xsd:complexType name="PlatformBaseType">
|
63
|
+
<xsd:annotation>
|
64
|
+
<xsd:documentation xml:lang="en">The platform element represents the description
|
65
|
+
or qualifications of a particular IT platform type. The platform is defined
|
66
|
+
by the logical-test child element.</xsd:documentation>
|
67
|
+
</xsd:annotation>
|
68
|
+
<xsd:sequence>
|
69
|
+
<xsd:element name="title" type="cpe:TextType" minOccurs="0" maxOccurs="unbounded">
|
70
|
+
<xsd:annotation>
|
71
|
+
<xsd:documentation xml:lang="en">The optional title element may appear as a child
|
72
|
+
to a platform element. It provides a human-readable title for it. To support
|
73
|
+
uses intended for multiple languages, this element supports the ‘xml:lang’
|
74
|
+
attribute. At most one title element can appear for each language.</xsd:documentation>
|
75
|
+
</xsd:annotation>
|
76
|
+
</xsd:element>
|
77
|
+
<xsd:element name="remark" type="cpe:TextType" minOccurs="0" maxOccurs="unbounded">
|
78
|
+
<xsd:annotation>
|
79
|
+
<xsd:documentation xml:lang="en">The optional remark element may appear as a child
|
80
|
+
of a platform element. It provides some additional description. Zero or more
|
81
|
+
remark elements may appear. To support uses intended for multiple languages,
|
82
|
+
this element supports the ‘xml:lang’ attribute. There can be multiple
|
83
|
+
remarks for a single language.</xsd:documentation>
|
84
|
+
</xsd:annotation>
|
85
|
+
</xsd:element>
|
86
|
+
<xsd:element ref="cpe:logical-test" minOccurs="1" maxOccurs="1"/>
|
87
|
+
</xsd:sequence>
|
88
|
+
</xsd:complexType>
|
89
|
+
<xsd:complexType name="PlatformType">
|
90
|
+
<xsd:complexContent>
|
91
|
+
<xsd:extension base="cpe:PlatformBaseType">
|
92
|
+
<xsd:attribute name="id" type="xsd:anyURI" use="required">
|
93
|
+
<xsd:annotation>
|
94
|
+
<xsd:documentation xml:lang="en">The id attribute holds a locally unique
|
95
|
+
name for the platform. There is no defined format for this id, it just has
|
96
|
+
to be unique to the containing language document.</xsd:documentation>
|
97
|
+
</xsd:annotation>
|
98
|
+
</xsd:attribute>
|
99
|
+
</xsd:extension>
|
100
|
+
</xsd:complexContent>
|
101
|
+
</xsd:complexType>
|
102
|
+
<xsd:complexType name="LogicalTestType">
|
103
|
+
<xsd:annotation>
|
104
|
+
<xsd:documentation xml:lang="en">The logical-test element appears as a child of a
|
105
|
+
platform element, and may also be nested to create more complex logical
|
106
|
+
tests. The content consists of one or more elements: fact-ref, and
|
107
|
+
logical-test children are permitted. The operator to be applied, and
|
108
|
+
optional negation of the test, are given as attributes.</xsd:documentation>
|
109
|
+
</xsd:annotation>
|
110
|
+
<xsd:sequence>
|
111
|
+
<xsd:element name="logical-test" type="cpe:LogicalTestType" minOccurs="0"
|
112
|
+
maxOccurs="unbounded"/>
|
113
|
+
<xsd:element ref="cpe:fact-ref" minOccurs="0"
|
114
|
+
maxOccurs="unbounded">
|
115
|
+
<xsd:annotation>
|
116
|
+
<xsd:documentation xml:lang="en"></xsd:documentation>
|
117
|
+
</xsd:annotation>
|
118
|
+
</xsd:element>
|
119
|
+
</xsd:sequence>
|
120
|
+
<xsd:attribute name="operator" type="cpe:operatorEnumeration" use="required"/>
|
121
|
+
<xsd:attribute name="negate" type="xsd:boolean" use="required"/>
|
122
|
+
</xsd:complexType>
|
123
|
+
<xsd:complexType name="FactRefType">
|
124
|
+
<xsd:annotation>
|
125
|
+
<xsd:documentation xml:lang="en">The fact-ref element appears as a
|
126
|
+
child of a logical-test element. It is simply a reference to a CPE Name that
|
127
|
+
always evaluates to a Boolean result.</xsd:documentation>
|
128
|
+
</xsd:annotation>
|
129
|
+
<xsd:attribute name="name" type="cpe:namePattern" use="required"/>
|
130
|
+
</xsd:complexType>
|
131
|
+
|
132
|
+
<!-- =============================================================================== -->
|
133
|
+
<!-- =============================== ENUMERATIONS ================================ -->
|
134
|
+
<!-- =============================================================================== -->
|
135
|
+
<xsd:simpleType name="operatorEnumeration">
|
136
|
+
<xsd:annotation>
|
137
|
+
<xsd:documentation xml:lang="en">The OperatorEnumeration simple type defines
|
138
|
+
acceptable operators. Each operator defines how to evaluate multiple
|
139
|
+
arguments.</xsd:documentation>
|
140
|
+
</xsd:annotation>
|
141
|
+
<xsd:restriction base="xsd:string">
|
142
|
+
<xsd:enumeration value="AND"/>
|
143
|
+
<xsd:enumeration value="OR"/>
|
144
|
+
</xsd:restriction>
|
145
|
+
</xsd:simpleType>
|
146
|
+
<!-- =============================================================================== -->
|
147
|
+
<!-- ============================== SUPPORTING TYPES ============================== -->
|
148
|
+
<!-- =============================================================================== -->
|
149
|
+
<xsd:complexType name="TextType">
|
150
|
+
<xsd:annotation>
|
151
|
+
<xsd:documentation xml:lang="en">This type allows the xml:lang attribute to
|
152
|
+
associate a specific language with an element's string
|
153
|
+
content.</xsd:documentation>
|
154
|
+
</xsd:annotation>
|
155
|
+
<xsd:simpleContent>
|
156
|
+
<xsd:extension base="xsd:string">
|
157
|
+
<xsd:attribute ref="xml:lang"/>
|
158
|
+
</xsd:extension>
|
159
|
+
</xsd:simpleContent>
|
160
|
+
</xsd:complexType>
|
161
|
+
<!-- =============================================================================== -->
|
162
|
+
<!-- ================================ ID PATTERNS ================================ -->
|
163
|
+
<!-- =============================================================================== -->
|
164
|
+
<xsd:simpleType name="namePattern">
|
165
|
+
<xsd:annotation>
|
166
|
+
<xsd:documentation xml:lang="en">Define the format for acceptable CPE Names. A URN
|
167
|
+
format is used with the id starting with the word cpe followed by :/ and
|
168
|
+
then some number of individual components separated by
|
169
|
+
colons.</xsd:documentation>
|
170
|
+
</xsd:annotation>
|
171
|
+
<xsd:restriction base="xsd:anyURI">
|
172
|
+
<xsd:pattern value="[c][pP][eE]:/[AHOaho]?(:[A-Za-z0-9\._\-~%]*){0,6}"/>
|
173
|
+
</xsd:restriction>
|
174
|
+
</xsd:simpleType>
|
175
|
+
<!-- ================================================== -->
|
176
|
+
<!-- ===== Change History -->
|
177
|
+
<!-- ================================================== -->
|
178
|
+
<!--
|
179
|
+
v2.2 - Initial working version
|
180
|
+
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.
|
181
|
+
-->
|
182
|
+
</xsd:schema>
|
@@ -0,0 +1,487 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<xs:schema id="CVRFDictionary"
|
3
|
+
targetNamespace="http://www.icasi.org/CVRF/schema/cvrf/1.1"
|
4
|
+
xmlns:cvrf="http://www.icasi.org/CVRF/schema/cvrf/1.1"
|
5
|
+
xmlns:vuln="http://www.icasi.org/CVRF/schema/vuln/1.1"
|
6
|
+
xmlns:prod="http://www.icasi.org/CVRF/schema/prod/1.1"
|
7
|
+
xmlns:cvrf-common="http://www.icasi.org/CVRF/schema/common/1.1"
|
8
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
9
|
+
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
10
|
+
elementFormDefault="qualified"
|
11
|
+
attributeFormDefault="unqualified"
|
12
|
+
version="1.1">
|
13
|
+
<!-- =============================================================================== -->
|
14
|
+
<!-- ============================= SCHEMA IMPORTS =============================== -->
|
15
|
+
<!-- =============================================================================== -->
|
16
|
+
<xs:import namespace="http://purl.org/dc/elements/1.1/" schemaLocation="dc.xsd" />
|
17
|
+
<xs:import namespace="http://www.icasi.org/CVRF/schema/vuln/1.1" schemaLocation="vuln.xsd" />
|
18
|
+
<xs:import namespace="http://www.icasi.org/CVRF/schema/common/1.1" schemaLocation="common.xsd" />
|
19
|
+
<xs:import namespace="http://www.icasi.org/CVRF/schema/prod/1.1" schemaLocation="prod.xsd" />
|
20
|
+
<!-- =============================================================================== -->
|
21
|
+
<!-- ============================ SCHEMA INFORMATION =============================== -->
|
22
|
+
<!-- =============================================================================== -->
|
23
|
+
<xs:annotation>
|
24
|
+
<xs:documentation xml:lang="en">This is the XML schema for the Common Vulnerability Reporting Framework. For more information, see the CVRF whitepaper.</xs:documentation>
|
25
|
+
<xs:appinfo>
|
26
|
+
<dc:creator>Brian Schafer <bschafer@microsoft.com></dc:creator>
|
27
|
+
<dc:contributor>Joe Clarke <jclarke@cisco.com></dc:contributor>
|
28
|
+
<dc:contributor>Joe Hemmerlein <Joe.Hemmerlein@microsoft.com></dc:contributor>
|
29
|
+
<dc:date>2012-05-07</dc:date>
|
30
|
+
<dc:subject>CVRF Dictionary</dc:subject>
|
31
|
+
<version>1.1</version>
|
32
|
+
</xs:appinfo>
|
33
|
+
</xs:annotation>
|
34
|
+
<!-- =============================================================================== -->
|
35
|
+
<!-- =================================== DATA TYPES ================================ -->
|
36
|
+
<!-- =============================================================================== -->
|
37
|
+
<xs:simpleType name="DocumentStatusEnumType">
|
38
|
+
<xs:annotation>
|
39
|
+
<xs:documentation xml:lang="en">Types enumerating the status of the document.</xs:documentation>
|
40
|
+
</xs:annotation>
|
41
|
+
<xs:restriction base="xs:normalizedString">
|
42
|
+
<xs:enumeration value="Draft">
|
43
|
+
<xs:annotation>
|
44
|
+
<xs:documentation xml:lang="en">Pre-release, intended for issuing party’s internal use only, or possibly used externally when the party is seeking feedback or indicating its intentions regarding a specific issue.</xs:documentation>
|
45
|
+
</xs:annotation>
|
46
|
+
</xs:enumeration>
|
47
|
+
<xs:enumeration value="Interim">
|
48
|
+
<xs:annotation>
|
49
|
+
<xs:documentation xml:lang="en">The issuing party believes the content is subject to change.</xs:documentation>
|
50
|
+
</xs:annotation>
|
51
|
+
</xs:enumeration>
|
52
|
+
<xs:enumeration value="Final">
|
53
|
+
<xs:annotation>
|
54
|
+
<xs:documentation xml:lang="en">The issuing party asserts the content is unlikely to change.</xs:documentation>
|
55
|
+
</xs:annotation>
|
56
|
+
</xs:enumeration>
|
57
|
+
</xs:restriction>
|
58
|
+
</xs:simpleType>
|
59
|
+
<xs:simpleType name="cvrfVersion">
|
60
|
+
<xs:annotation>
|
61
|
+
<xs:documentation xml:lang="en">Floating point number representing the CVRF specification version</xs:documentation>
|
62
|
+
</xs:annotation>
|
63
|
+
<xs:restriction base="xs:float">
|
64
|
+
<xs:pattern value="[0-9]+\.[0-9]{1,3}" />
|
65
|
+
</xs:restriction>
|
66
|
+
</xs:simpleType>
|
67
|
+
<!-- =============================================================================== -->
|
68
|
+
<!-- ============================= DOCUMENT DEFINITION ============================= -->
|
69
|
+
<!-- =============================================================================== -->
|
70
|
+
<xs:element name="cvrfdoc">
|
71
|
+
<xs:annotation>
|
72
|
+
<xs:documentation xml:lang="en">Root element of a CVRF document.</xs:documentation>
|
73
|
+
</xs:annotation>
|
74
|
+
<xs:complexType>
|
75
|
+
<xs:sequence>
|
76
|
+
<xs:element name="DocumentTitle" minOccurs="1" maxOccurs="1">
|
77
|
+
<xs:annotation>
|
78
|
+
<xs:documentation xml:lang="en">A definitive canonical name for the document, providing enough descriptive content to differentiate from other similar documents, ideally providing a unique “handle”.</xs:documentation>
|
79
|
+
</xs:annotation>
|
80
|
+
<xs:complexType>
|
81
|
+
<xs:simpleContent>
|
82
|
+
<xs:extension base="cvrf-common:localizedNormalizedString" />
|
83
|
+
</xs:simpleContent>
|
84
|
+
</xs:complexType>
|
85
|
+
</xs:element>
|
86
|
+
<xs:element name="DocumentType" minOccurs="1" maxOccurs="1">
|
87
|
+
<xs:annotation>
|
88
|
+
<xs:documentation xml:lang="en">A short canonical name, chosen by the document producer, which will inform the consumer about the type of the document.</xs:documentation>
|
89
|
+
</xs:annotation>
|
90
|
+
<xs:complexType>
|
91
|
+
<xs:simpleContent>
|
92
|
+
<xs:extension base="cvrf-common:localizedNormalizedString" />
|
93
|
+
</xs:simpleContent>
|
94
|
+
</xs:complexType>
|
95
|
+
</xs:element>
|
96
|
+
<xs:element name="DocumentPublisher" minOccurs="1" maxOccurs="1">
|
97
|
+
<xs:annotation>
|
98
|
+
<xs:documentation xml:lang="en">A container holding all information about the publisher of the CVRF document.</xs:documentation>
|
99
|
+
</xs:annotation>
|
100
|
+
<xs:complexType>
|
101
|
+
<xs:sequence>
|
102
|
+
<xs:element name="ContactDetails" minOccurs="0" maxOccurs="1">
|
103
|
+
<xs:annotation>
|
104
|
+
<xs:documentation xml:lang="en">Author contact information such as address, phone number, email, etc.</xs:documentation>
|
105
|
+
</xs:annotation>
|
106
|
+
<xs:complexType>
|
107
|
+
<xs:simpleContent>
|
108
|
+
<xs:extension base="cvrf-common:localizedString" />
|
109
|
+
</xs:simpleContent>
|
110
|
+
</xs:complexType>
|
111
|
+
</xs:element>
|
112
|
+
<xs:element name="IssuingAuthority" minOccurs="0" maxOccurs="1">
|
113
|
+
<xs:annotation>
|
114
|
+
<xs:documentation xml:lang="en">The name of the issuing party and their authority to release the document, in particular, the party's constituency and responsibilities or other obligations.</xs:documentation>
|
115
|
+
</xs:annotation>
|
116
|
+
<xs:complexType>
|
117
|
+
<xs:simpleContent>
|
118
|
+
<xs:extension base="cvrf-common:localizedString" />
|
119
|
+
</xs:simpleContent>
|
120
|
+
</xs:complexType>
|
121
|
+
</xs:element>
|
122
|
+
</xs:sequence>
|
123
|
+
<xs:attribute name="Type" type="cvrf-common:PublisherEnumType" use="required">
|
124
|
+
<xs:annotation>
|
125
|
+
<xs:documentation xml:lang="en">Type is an enumerated list containing an array of different document publisher types.</xs:documentation>
|
126
|
+
</xs:annotation>
|
127
|
+
</xs:attribute>
|
128
|
+
<xs:attribute name="VendorID" type="xs:string">
|
129
|
+
<xs:annotation>
|
130
|
+
<xs:documentation xml:lang="en">Vendor ID is a unique identifier (OID) that a vendor uses as issued by FIRST under the auspices of IETF.</xs:documentation>
|
131
|
+
</xs:annotation>
|
132
|
+
</xs:attribute>
|
133
|
+
</xs:complexType>
|
134
|
+
</xs:element>
|
135
|
+
<xs:element name="DocumentTracking" minOccurs="1" maxOccurs="1">
|
136
|
+
<xs:annotation>
|
137
|
+
<xs:documentation xml:lang="en">The Document Tracking meta-container contains all of the attributes necessary to track a CVRF document.</xs:documentation>
|
138
|
+
</xs:annotation>
|
139
|
+
<xs:complexType>
|
140
|
+
<xs:sequence>
|
141
|
+
<xs:element name="Identification" minOccurs="1" maxOccurs="1">
|
142
|
+
<xs:annotation>
|
143
|
+
<xs:documentation xml:lang="en">Contains document ID and optional document aliases</xs:documentation>
|
144
|
+
</xs:annotation>
|
145
|
+
<xs:complexType>
|
146
|
+
<xs:sequence>
|
147
|
+
<xs:element name="ID" minOccurs="1" maxOccurs="1">
|
148
|
+
<xs:annotation>
|
149
|
+
<xs:documentation xml:lang="en">Short unique identifier used to refer to the document unambiguously in any context.</xs:documentation>
|
150
|
+
</xs:annotation>
|
151
|
+
<xs:complexType>
|
152
|
+
<xs:simpleContent>
|
153
|
+
<xs:extension base="cvrf-common:localizedString" />
|
154
|
+
</xs:simpleContent>
|
155
|
+
</xs:complexType>
|
156
|
+
</xs:element>
|
157
|
+
<xs:element name="Alias" minOccurs="0" maxOccurs="unbounded">
|
158
|
+
<xs:annotation>
|
159
|
+
<xs:documentation xml:lang="en">Optional alternative ID for document</xs:documentation>
|
160
|
+
</xs:annotation>
|
161
|
+
<xs:complexType>
|
162
|
+
<xs:simpleContent>
|
163
|
+
<xs:extension base="cvrf-common:localizedString" />
|
164
|
+
</xs:simpleContent>
|
165
|
+
</xs:complexType>
|
166
|
+
</xs:element>
|
167
|
+
</xs:sequence>
|
168
|
+
</xs:complexType>
|
169
|
+
</xs:element>
|
170
|
+
<xs:element name="Status" type="cvrf:DocumentStatusEnumType" minOccurs="1" maxOccurs="1">
|
171
|
+
<xs:annotation>
|
172
|
+
<xs:documentation xml:lang="en">The condition of the document with regard to completeness and the likelihood of future editions.</xs:documentation>
|
173
|
+
</xs:annotation>
|
174
|
+
</xs:element>
|
175
|
+
<xs:element name="Version" type="cvrf-common:revisionNumber" minOccurs="1" maxOccurs="1">
|
176
|
+
<xs:annotation>
|
177
|
+
<xs:documentation xml:lang="en">Document Version is a simple counter to track the version of the document.</xs:documentation>
|
178
|
+
</xs:annotation>
|
179
|
+
</xs:element>
|
180
|
+
<xs:element name="RevisionHistory" minOccurs="1" maxOccurs="1">
|
181
|
+
<xs:annotation>
|
182
|
+
<xs:documentation xml:lang="en">The Document Revision History contains one entry for each substantive version of the document, including the initial version and entries for each subsequent update.</xs:documentation>
|
183
|
+
</xs:annotation>
|
184
|
+
<xs:complexType>
|
185
|
+
<xs:sequence>
|
186
|
+
<xs:element name="Revision" minOccurs="1" maxOccurs="unbounded">
|
187
|
+
<xs:annotation>
|
188
|
+
<xs:documentation xml:lang="en">A set of Version, Date, and Description elements describing one iteration of this document</xs:documentation>
|
189
|
+
</xs:annotation>
|
190
|
+
<xs:complexType>
|
191
|
+
<xs:sequence>
|
192
|
+
<xs:element name="Number" type="cvrf-common:revisionNumber" minOccurs="1" maxOccurs="1">
|
193
|
+
<xs:annotation>
|
194
|
+
<xs:documentation xml:lang="en">Revision number of this iteration of the document.</xs:documentation>
|
195
|
+
</xs:annotation>
|
196
|
+
</xs:element>
|
197
|
+
<xs:element name="Date" type="xs:dateTime" minOccurs="1" maxOccurs="1">
|
198
|
+
<xs:annotation>
|
199
|
+
<xs:documentation xml:lang="en">Date when this iteration of the document was released.</xs:documentation>
|
200
|
+
</xs:annotation>
|
201
|
+
</xs:element>
|
202
|
+
<xs:element name="Description" minOccurs="1" maxOccurs="1">
|
203
|
+
<xs:annotation>
|
204
|
+
<xs:documentation xml:lang="en">Description of this iteration of the document.</xs:documentation>
|
205
|
+
</xs:annotation>
|
206
|
+
<xs:complexType>
|
207
|
+
<xs:simpleContent>
|
208
|
+
<xs:extension base="cvrf-common:localizedString" />
|
209
|
+
</xs:simpleContent>
|
210
|
+
</xs:complexType>
|
211
|
+
</xs:element>
|
212
|
+
</xs:sequence>
|
213
|
+
</xs:complexType>
|
214
|
+
</xs:element>
|
215
|
+
</xs:sequence>
|
216
|
+
</xs:complexType>
|
217
|
+
</xs:element>
|
218
|
+
<xs:element name="InitialReleaseDate" type="xs:dateTime" minOccurs="1" maxOccurs="1">
|
219
|
+
<xs:annotation>
|
220
|
+
<xs:documentation xml:lang="en">The initial date (and time, optionally) that the document was initially released by the issuing party.</xs:documentation>
|
221
|
+
</xs:annotation>
|
222
|
+
</xs:element>
|
223
|
+
<xs:element name="CurrentReleaseDate" type="xs:dateTime" minOccurs="1" maxOccurs="1">
|
224
|
+
<xs:annotation>
|
225
|
+
<xs:documentation xml:lang="en">The current date (and time, optionally) that the document was released by the issuing party.</xs:documentation>
|
226
|
+
</xs:annotation>
|
227
|
+
</xs:element>
|
228
|
+
<xs:element name="Generator" minOccurs="0" maxOccurs="1">
|
229
|
+
<xs:annotation>
|
230
|
+
<xs:documentation xml:lang="en">The Document Generator meta-container contains all of the elements related to the generation of the document.</xs:documentation>
|
231
|
+
</xs:annotation>
|
232
|
+
<xs:complexType>
|
233
|
+
<xs:sequence>
|
234
|
+
<xs:element name="Engine" minOccurs="0" maxOccurs="1">
|
235
|
+
<xs:annotation>
|
236
|
+
<xs:documentation xml:lang="en">The name and version of the engine that generated the CVRF document.</xs:documentation>
|
237
|
+
</xs:annotation>
|
238
|
+
<xs:complexType>
|
239
|
+
<xs:simpleContent>
|
240
|
+
<xs:extension base="cvrf-common:localizedString" />
|
241
|
+
</xs:simpleContent>
|
242
|
+
</xs:complexType>
|
243
|
+
</xs:element>
|
244
|
+
<xs:element name="Date" type="xs:dateTime" minOccurs="0" maxOccurs="1">
|
245
|
+
<xs:annotation>
|
246
|
+
<xs:documentation xml:lang="en">The date the CVRF document was generated.</xs:documentation>
|
247
|
+
</xs:annotation>
|
248
|
+
</xs:element>
|
249
|
+
</xs:sequence>
|
250
|
+
</xs:complexType>
|
251
|
+
</xs:element>
|
252
|
+
</xs:sequence>
|
253
|
+
</xs:complexType>
|
254
|
+
</xs:element>
|
255
|
+
<xs:element name="DocumentNotes" minOccurs="0" maxOccurs="1">
|
256
|
+
<xs:annotation>
|
257
|
+
<xs:documentation xml:lang="en">The Document Notes text contains all of the individual notes necessary to provide different types of low-level discussions of a CVRF document to various audiences.</xs:documentation>
|
258
|
+
</xs:annotation>
|
259
|
+
<xs:complexType>
|
260
|
+
<xs:sequence>
|
261
|
+
<xs:element name="Note" minOccurs="1" maxOccurs="unbounded">
|
262
|
+
<xs:annotation>
|
263
|
+
<xs:documentation xml:lang="en">A individual note in freeform text.</xs:documentation>
|
264
|
+
</xs:annotation>
|
265
|
+
<xs:complexType>
|
266
|
+
<xs:simpleContent>
|
267
|
+
<xs:extension base="cvrf-common:localizedString">
|
268
|
+
<xs:attribute name="Title" type="xs:string">
|
269
|
+
<xs:annotation>
|
270
|
+
<xs:documentation xml:lang="en">Title should be a concise description of what is contained in this specific note.</xs:documentation>
|
271
|
+
</xs:annotation>
|
272
|
+
</xs:attribute>
|
273
|
+
<xs:attribute name="Audience" type="xs:string">
|
274
|
+
<xs:annotation>
|
275
|
+
<xs:documentation xml:lang="en">Audience will indicate who is intended to read the note.</xs:documentation>
|
276
|
+
</xs:annotation>
|
277
|
+
</xs:attribute>
|
278
|
+
<xs:attribute name="Type" type="cvrf-common:NoteTypeEnumType" use="required">
|
279
|
+
<xs:annotation>
|
280
|
+
<xs:documentation xml:lang="en">Type of content within this note.</xs:documentation>
|
281
|
+
</xs:annotation>
|
282
|
+
</xs:attribute>
|
283
|
+
<xs:attribute name="Ordinal" type="xs:positiveInteger" use="required">
|
284
|
+
<xs:annotation>
|
285
|
+
<xs:documentation xml:lang="en">Ordinal is a locally significant integral counter indexed from 1 used to track notes.</xs:documentation>
|
286
|
+
</xs:annotation>
|
287
|
+
</xs:attribute>
|
288
|
+
</xs:extension>
|
289
|
+
</xs:simpleContent>
|
290
|
+
</xs:complexType>
|
291
|
+
</xs:element>
|
292
|
+
</xs:sequence>
|
293
|
+
</xs:complexType>
|
294
|
+
</xs:element>
|
295
|
+
<xs:element name="DocumentDistribution" minOccurs="0" maxOccurs="1">
|
296
|
+
<xs:annotation>
|
297
|
+
<xs:documentation xml:lang="en">The Document Distribution string should contain details on constraints, if any, about sharing this CVRF Document with additional recipients.</xs:documentation>
|
298
|
+
</xs:annotation>
|
299
|
+
<xs:complexType>
|
300
|
+
<xs:simpleContent>
|
301
|
+
<xs:extension base="cvrf-common:localizedString" />
|
302
|
+
</xs:simpleContent>
|
303
|
+
</xs:complexType>
|
304
|
+
</xs:element>
|
305
|
+
<xs:element name="AggregateSeverity" minOccurs="0" maxOccurs="1">
|
306
|
+
<xs:annotation>
|
307
|
+
<xs:documentation xml:lang="en">Aggregate Severity is provided by the producer of the document to convey the urgency and criticality with which the vulnerability or vulnerabilities should be addressed.</xs:documentation>
|
308
|
+
</xs:annotation>
|
309
|
+
<xs:complexType>
|
310
|
+
<xs:simpleContent>
|
311
|
+
<xs:extension base="cvrf-common:localizedString">
|
312
|
+
<xs:attribute name="Namespace" type="xs:anyURI">
|
313
|
+
<xs:annotation>
|
314
|
+
<xs:documentation xml:lang="en">URL of the namespace from which the Aggregate Severity is taken.</xs:documentation>
|
315
|
+
</xs:annotation>
|
316
|
+
</xs:attribute>
|
317
|
+
</xs:extension>
|
318
|
+
</xs:simpleContent>
|
319
|
+
</xs:complexType>
|
320
|
+
</xs:element>
|
321
|
+
<xs:element name="DocumentReferences" minOccurs="0" maxOccurs="1">
|
322
|
+
<xs:annotation>
|
323
|
+
<xs:documentation xml:lang="en">This meta-container should include references to any conferences, papers, advisories, and other resources that are related and considered to be of value to the document consumer.</xs:documentation>
|
324
|
+
</xs:annotation>
|
325
|
+
<xs:complexType>
|
326
|
+
<xs:sequence>
|
327
|
+
<xs:element name="Reference" minOccurs="1" maxOccurs="unbounded">
|
328
|
+
<xs:annotation>
|
329
|
+
<xs:documentation xml:lang="en">Related documents to the CVRF document.</xs:documentation>
|
330
|
+
</xs:annotation>
|
331
|
+
<xs:complexType>
|
332
|
+
<xs:sequence>
|
333
|
+
<xs:element name="URL" type="xs:anyURI" minOccurs="1" maxOccurs="1">
|
334
|
+
<xs:annotation>
|
335
|
+
<xs:documentation xml:lang="en">The URL of the related document.</xs:documentation>
|
336
|
+
</xs:annotation>
|
337
|
+
</xs:element>
|
338
|
+
<xs:element name="Description" minOccurs="1" maxOccurs="1">
|
339
|
+
<xs:annotation>
|
340
|
+
<xs:documentation xml:lang="en">The description of the related document.</xs:documentation>
|
341
|
+
</xs:annotation>
|
342
|
+
<xs:complexType>
|
343
|
+
<xs:simpleContent>
|
344
|
+
<xs:extension base="cvrf-common:localizedString" />
|
345
|
+
</xs:simpleContent>
|
346
|
+
</xs:complexType>
|
347
|
+
</xs:element>
|
348
|
+
</xs:sequence>
|
349
|
+
<xs:attribute name="Type" type="cvrf-common:ReferenceTypeEnum" default="External">
|
350
|
+
<xs:annotation>
|
351
|
+
<xs:documentation xml:lang="en">Enumerated type value of reference relative to this document.</xs:documentation>
|
352
|
+
</xs:annotation>
|
353
|
+
</xs:attribute>
|
354
|
+
</xs:complexType>
|
355
|
+
</xs:element>
|
356
|
+
</xs:sequence>
|
357
|
+
</xs:complexType>
|
358
|
+
</xs:element>
|
359
|
+
<xs:element name="Acknowledgments" minOccurs="0" maxOccurs="1">
|
360
|
+
<xs:annotation>
|
361
|
+
<xs:documentation xml:lang="en">The Acknowledgments container holds one or more Acknowledgement containers for document-level acknowledgements.</xs:documentation>
|
362
|
+
</xs:annotation>
|
363
|
+
<xs:complexType>
|
364
|
+
<xs:sequence>
|
365
|
+
<xs:element name="Acknowledgment" minOccurs="1" maxOccurs="unbounded">
|
366
|
+
<xs:annotation>
|
367
|
+
<xs:documentation xml:lang="en">The Acknowledgment container holds recognition details for external parties, specific to the document as a whole rather than individual vulnerabilities.</xs:documentation>
|
368
|
+
</xs:annotation>
|
369
|
+
<xs:complexType>
|
370
|
+
<xs:sequence>
|
371
|
+
<xs:element name="Name" minOccurs="0" maxOccurs="unbounded">
|
372
|
+
<xs:annotation>
|
373
|
+
<xs:documentation xml:lang="en">The name (i.e., individual name) of the party being acknowledged.</xs:documentation>
|
374
|
+
</xs:annotation>
|
375
|
+
<xs:complexType>
|
376
|
+
<xs:simpleContent>
|
377
|
+
<xs:extension base="cvrf-common:localizedString" />
|
378
|
+
</xs:simpleContent>
|
379
|
+
</xs:complexType>
|
380
|
+
</xs:element>
|
381
|
+
<xs:element name="Organization" minOccurs="0" maxOccurs="unbounded">
|
382
|
+
<xs:annotation>
|
383
|
+
<xs:documentation xml:lang="en">The organization of the party being acknowledged or the organization itself being acknowledged.</xs:documentation>
|
384
|
+
</xs:annotation>
|
385
|
+
<xs:complexType>
|
386
|
+
<xs:simpleContent>
|
387
|
+
<xs:extension base="cvrf-common:localizedString" />
|
388
|
+
</xs:simpleContent>
|
389
|
+
</xs:complexType>
|
390
|
+
</xs:element>
|
391
|
+
<xs:element name="Description" minOccurs="0" maxOccurs="1">
|
392
|
+
<xs:annotation>
|
393
|
+
<xs:documentation xml:lang="en">The details of the acknowledgment that address the recognition of external parties who were instrumental in the discovery, reporting and response of this document.</xs:documentation>
|
394
|
+
</xs:annotation>
|
395
|
+
<xs:complexType>
|
396
|
+
<xs:simpleContent>
|
397
|
+
<xs:extension base="cvrf-common:localizedString" />
|
398
|
+
</xs:simpleContent>
|
399
|
+
</xs:complexType>
|
400
|
+
</xs:element>
|
401
|
+
<xs:element name="URL" type="xs:anyURI" minOccurs="0" maxOccurs="unbounded">
|
402
|
+
<xs:annotation>
|
403
|
+
<xs:documentation xml:lang="en">The optional URL to the person, place, or thing being acknowledged.</xs:documentation>
|
404
|
+
</xs:annotation>
|
405
|
+
</xs:element>
|
406
|
+
</xs:sequence>
|
407
|
+
</xs:complexType>
|
408
|
+
</xs:element>
|
409
|
+
</xs:sequence>
|
410
|
+
</xs:complexType>
|
411
|
+
</xs:element>
|
412
|
+
<xs:element ref="prod:ProductTree" minOccurs="0" maxOccurs="1" />
|
413
|
+
<xs:element ref="vuln:Vulnerability" minOccurs="0" maxOccurs="unbounded" />
|
414
|
+
</xs:sequence>
|
415
|
+
</xs:complexType>
|
416
|
+
<xs:unique name="UniqueOrdinal">
|
417
|
+
<xs:annotation>
|
418
|
+
<xs:documentation xml:lang="en">This is to ensure that each Vulnerability's Ordinal uses a unique value.</xs:documentation>
|
419
|
+
</xs:annotation>
|
420
|
+
<xs:selector xpath=".//vuln:Vulnerability"/>
|
421
|
+
<xs:field xpath="@Ordinal"/>
|
422
|
+
</xs:unique>
|
423
|
+
<xs:unique name="UniqueNotesOrdinal">
|
424
|
+
<xs:annotation>
|
425
|
+
<xs:documentation xml:lang="en">This is to ensure that each note has a unique ordinal value.</xs:documentation>
|
426
|
+
</xs:annotation>
|
427
|
+
<xs:selector xpath=".//cvrf:DocumentNotes/cvrf:Note"/>
|
428
|
+
<xs:field xpath="@Ordinal"/>
|
429
|
+
</xs:unique>
|
430
|
+
<xs:key name="ProductKey">
|
431
|
+
<xs:annotation>
|
432
|
+
<xs:documentation xml:lang="en">A key to reference a specific product defined in a referenced product schema.</xs:documentation>
|
433
|
+
</xs:annotation>
|
434
|
+
<xs:selector xpath=".//prod:FullProductName" />
|
435
|
+
<xs:field xpath="@ProductID" />
|
436
|
+
</xs:key>
|
437
|
+
<xs:keyref name="AffectedProductKeyRef" refer="cvrf:ProductKey">
|
438
|
+
<xs:annotation>
|
439
|
+
<xs:documentation xml:lang="en">An instance of the ProductKey to be used in the ProductID element for affected products.</xs:documentation>
|
440
|
+
</xs:annotation>
|
441
|
+
<xs:selector xpath=".//vuln:ProductStatuses/vuln:Status/vuln:ProductID"/>
|
442
|
+
<xs:field xpath="."/>
|
443
|
+
</xs:keyref>
|
444
|
+
<xs:keyref name="ScoreSetProductKeyRef" refer="cvrf:ProductKey">
|
445
|
+
<xs:annotation>
|
446
|
+
<xs:documentation xml:lang="en">An instance of the ProductKey to be used in the CVSS ScoreSet product references.</xs:documentation>
|
447
|
+
</xs:annotation>
|
448
|
+
<xs:selector xpath=".//vuln:CVSSScoreSets/vuln:ScoreSet/vuln:ProductID"/>
|
449
|
+
<xs:field xpath="."/>
|
450
|
+
</xs:keyref>
|
451
|
+
<xs:keyref name="ThreatProductKeyRef" refer="cvrf:ProductKey">
|
452
|
+
<xs:annotation>
|
453
|
+
<xs:documentation xml:lang="en">An instance of the ProductKey to be used in the Threat product references.</xs:documentation>
|
454
|
+
</xs:annotation>
|
455
|
+
<xs:selector xpath=".//vuln:Threats/vuln:Threat/vuln:ProductID"/>
|
456
|
+
<xs:field xpath="."/>
|
457
|
+
</xs:keyref>
|
458
|
+
<xs:keyref name="RemediationProductKeyRef" refer="cvrf:ProductKey">
|
459
|
+
<xs:annotation>
|
460
|
+
<xs:documentation xml:lang="en">An instance of the ProductKey to be used in the Remediation product references.</xs:documentation>
|
461
|
+
</xs:annotation>
|
462
|
+
<xs:selector xpath=".//vuln:Remediations/vuln:Remediation/vuln:ProductID"/>
|
463
|
+
<xs:field xpath="."/>
|
464
|
+
</xs:keyref>
|
465
|
+
<xs:key name="GroupKey">
|
466
|
+
<xs:annotation>
|
467
|
+
<xs:documentation xml:lang="en">A key to reference a specific product group defined in a referenced product schema.</xs:documentation>
|
468
|
+
</xs:annotation>
|
469
|
+
<xs:selector xpath=".//prod:ProductGroups/prod:Group" />
|
470
|
+
<xs:field xpath="@GroupID" />
|
471
|
+
</xs:key>
|
472
|
+
<xs:keyref name="ThreatGroupKeyRef" refer="cvrf:GroupKey">
|
473
|
+
<xs:annotation>
|
474
|
+
<xs:documentation xml:lang="en">An instance of the GroupKey to be used in the Threat product references.</xs:documentation>
|
475
|
+
</xs:annotation>
|
476
|
+
<xs:selector xpath=".//vuln:Threats/vuln:Threat/vuln:GroupID"/>
|
477
|
+
<xs:field xpath="."/>
|
478
|
+
</xs:keyref>
|
479
|
+
<xs:keyref name="RemediationGroupKeyRef" refer="cvrf:GroupKey">
|
480
|
+
<xs:annotation>
|
481
|
+
<xs:documentation xml:lang="en">An instance of the GroupKey to be used in the Remediation product references.</xs:documentation>
|
482
|
+
</xs:annotation>
|
483
|
+
<xs:selector xpath=".//vuln:Remediations/vuln:Remediation/vuln:GroupID"/>
|
484
|
+
<xs:field xpath="."/>
|
485
|
+
</xs:keyref>
|
486
|
+
</xs:element>
|
487
|
+
</xs:schema>
|