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
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
MTFkNTYzNmFlYzRkNDE4MzZiMmMxZGIwYzdlZTRjOTYzZmIwZDQ2NQ==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
NzcwNjNlN2QzYWJlNmRjYmFiNDg2OWJkMTQyZTMyMjMzNzVlYjhiMg==
|
7
|
+
SHA512:
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
Y2Q0MTM0Y2U1NGQyOTVlMjA0MTQ4YzNhMjFiNmFhMjA0ODM1NTkwODg3ODQ2
|
10
|
+
ZmUzYmE0ZTJmNTJhMTI1NTgyNTNiYTllMTU4ZTE2ZjM2NjQ1ZmI5NDAzOWIx
|
11
|
+
MWU4ZjhlYWY0ZjcxNmUwZjU5YjY5OWE1YzAzODlkYTBkMmI3OWU=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
MjBkNzY1ZGFhOThlMmU4MzkwMDA1MWNjYWVmMGJlMzZlNzg1YjVhZjM2MTlm
|
14
|
+
MmZlZTRjODU1YjZmY2IzNDQ2ZWI2NmIyMTFhZWMxMjM2MzE0NzQzNDQzNzky
|
15
|
+
NjMxYWVhNTU1MmRlMGEyODk3ZDFjYjY4YmNlM2E3YjAzYjVkZDI=
|
data/.gitignore
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
Copyright (c) 2014, The MITRE Corporation
|
2
|
+
All rights reserved.
|
3
|
+
|
4
|
+
Redistribution and use in source and binary forms, with or without
|
5
|
+
modification, are permitted provided that the following conditions are met:
|
6
|
+
* Redistributions of source code must retain the above copyright
|
7
|
+
notice, this list of conditions and the following disclaimer.
|
8
|
+
* Redistributions in binary form must reproduce the above copyright
|
9
|
+
notice, this list of conditions and the following disclaimer in the
|
10
|
+
documentation and/or other materials provided with the distribution.
|
11
|
+
* Neither the name of The MITRE Corporation nor the
|
12
|
+
names of its contributors may be used to endorse or promote products
|
13
|
+
derived from this software without specific prior written permission.
|
14
|
+
|
15
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
16
|
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
17
|
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
18
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
19
|
+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
20
|
+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
21
|
+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
22
|
+
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
23
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
24
|
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
data/README.md
ADDED
@@ -0,0 +1,41 @@
|
|
1
|
+
# StixSchemaSpy
|
2
|
+
|
3
|
+
StixSchemaSpy introspects the STIX and CybOX schemas in order to provide a set of Ruby objects that represent them. These can be used to generate code, documentation, or profiles based on the STIX schemas.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
gem 'stix_schema_spy'
|
10
|
+
|
11
|
+
And then execute:
|
12
|
+
|
13
|
+
$ bundle
|
14
|
+
|
15
|
+
Or install it yourself as:
|
16
|
+
|
17
|
+
$ gem install stix_schema_spy
|
18
|
+
|
19
|
+
## Usage
|
20
|
+
|
21
|
+
The easiest way to use the code is to preload all schemas referenced by the current version of STIX:
|
22
|
+
|
23
|
+
```
|
24
|
+
require 'stix_schema_spy'
|
25
|
+
|
26
|
+
StixSchemaSpy::Schema.preload!
|
27
|
+
```
|
28
|
+
|
29
|
+
You can then use `Schema.find(prefix)` or `Type.find(prefix, type_name)` in order to find specific schemas and types. `Schema.all` and `schema.types` will list all schemas and all types for a given schema, respectively.
|
30
|
+
|
31
|
+
A rake task is also available to generate an "uber schema" to validate content against any STIX/CybOX schema. Simply require `stix_schema_spy/util/tasks` and then run `rake stix_schema_spy:generate_schemas[output_dir]`.
|
32
|
+
|
33
|
+
Look through the source code and specs for other usage examples.
|
34
|
+
|
35
|
+
## Contributing
|
36
|
+
|
37
|
+
1. Fork it
|
38
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
39
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
40
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
41
|
+
5. Create new Pull Request
|
data/Rakefile
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
# STIX
|
2
|
+
|
3
|
+
Structured Threat Information eXpression (STIX) is a collaborative community-driven effort to define and develop a standardized language to represent structured cyber threat information. The STIX Language intends to convey the full range of potential cyber threat information and strives to be fully expressive, flexible, extensible, automatable, and as human-readable as possible. All interested parties are welcome to participate in evolving STIX as part of its open, collaborative community.
|
4
|
+
|
5
|
+
Please visit the [STIX Web Site](http://stix.mitre.org) for more information about the STIX Language.
|
6
|
+
|
7
|
+
The STIX Language operates under the [STIX Terms of Use](http://stix.mitre.org/about/termsofuse.html).
|
8
|
+
|
9
|
+
## Cloning the repository
|
10
|
+
|
11
|
+
This STIX schemas repository uses [git submodules](http://git-scm.com/book/en/Git-Tools-Submodules) in order to include the CybOX schemas (which are a dependency of the STIX schemas).
|
12
|
+
|
13
|
+
A straight `git clone` command will not retrieve these automatically, you'll end up with an empty cybox directory rather than the schemas. To fix this you need to initialize and then update the submodules by running:
|
14
|
+
|
15
|
+
git submodule init
|
16
|
+
git submodule update
|
17
|
+
|
18
|
+
Alternatively, using the `--recursive` flag when cloning the repository will automatically initialize and update the submodules.
|
19
|
+
|
20
|
+
Finally, any time you see that the cybox directory has been modified (when merging or pulling updates) you will need to run `git submodule update` again to actually update the schemas themselves.
|
@@ -0,0 +1,210 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:cybox="http://cybox.mitre.org/cybox-2" xmlns:stixCommon="http://stix.mitre.org/common-1" xmlns:campaign="http://stix.mitre.org/Campaign-1" xmlns:marking="http://data-marking.mitre.org/Marking-1" targetNamespace="http://stix.mitre.org/Campaign-1" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0.1" xml:lang="English">
|
3
|
+
<xs:annotation>
|
4
|
+
<xs:documentation>This schema was originally developed by The MITRE Corporation. The STIX XML Schema implementation is maintained by The MITRE Corporation and developed by the open STIX Community. For more information, including how to get involved in the effort and how to submit change requests, please visit the STIX website at http://stix.mitre.org. </xs:documentation>
|
5
|
+
<xs:appinfo>
|
6
|
+
<schema>STIX Campaign</schema>
|
7
|
+
<version>1.0.1</version>
|
8
|
+
<date>10/04/2013 9:00:00 AM</date>
|
9
|
+
<short_description>Structured Threat Information eXpression (STIX) - Campaign - Schematic implementation for the Campaign construct within the STIX structured cyber threat expression language architecture.</short_description>
|
10
|
+
<terms_of_use>Copyright (c) 2012-2013, The MITRE Corporation. All rights reserved. The contents of this file are subject to the terms of the STIX License located at http://stix.mitre.org/about/termsofuse.html. See the STIX License for the specific language governing permissions and limitations for use of this schema. When distributing copies of the STIX Schema, this license header must be included. </terms_of_use>
|
11
|
+
</xs:appinfo>
|
12
|
+
</xs:annotation>
|
13
|
+
<xs:import namespace="http://cybox.mitre.org/cybox-2" schemaLocation="cybox/cybox_core.xsd"/>
|
14
|
+
<xs:import namespace="http://stix.mitre.org/common-1" schemaLocation="stix_common.xsd"/>
|
15
|
+
<xs:import namespace="http://data-marking.mitre.org/Marking-1" schemaLocation="data_marking.xsd"/>
|
16
|
+
<xs:element name="Campaign" type="campaign:CampaignType">
|
17
|
+
<xs:annotation>
|
18
|
+
<xs:documentation>The Campaign field characterizes a single cyber threat Campaign.</xs:documentation>
|
19
|
+
</xs:annotation>
|
20
|
+
</xs:element>
|
21
|
+
<xs:complexType name="CampaignType">
|
22
|
+
<xs:annotation>
|
23
|
+
<xs:documentation>The CampaignType characterizes a single cyber threat Campaign.</xs:documentation>
|
24
|
+
</xs:annotation>
|
25
|
+
<xs:complexContent>
|
26
|
+
<xs:extension base="stixCommon:CampaignBaseType">
|
27
|
+
<xs:sequence>
|
28
|
+
<xs:element name="Title" type="xs:string" minOccurs="0">
|
29
|
+
<xs:annotation>
|
30
|
+
<xs:documentation>The Title field provides a simple title for this Campaign.</xs:documentation>
|
31
|
+
</xs:annotation>
|
32
|
+
</xs:element>
|
33
|
+
<xs:element name="Names" type="campaign:NamesType" minOccurs="0">
|
34
|
+
<xs:annotation>
|
35
|
+
<xs:documentation>The Names field specifies Names used to identify this Campaign. These may be either internal or external names.</xs:documentation>
|
36
|
+
</xs:annotation>
|
37
|
+
</xs:element>
|
38
|
+
<xs:element name="Intended_Effect" type="stixCommon:StatementType" minOccurs="0" maxOccurs="unbounded">
|
39
|
+
<xs:annotation>
|
40
|
+
<xs:documentation>
|
41
|
+
The Intended_Effect field characterizes the intended effect of this cyber threat Campaign.
|
42
|
+
|
43
|
+
It is implemented through the StatementType, which allows for the expression of a statement in a vocabulary (Value), a description of the statement (Description), a confidence in the statement (Confidence), and the source of the statement (Source). The default vocabulary type for the Value is IntendedEffectVocab-1.0 in the http://stix.mitre.org/default_vocabularies-1 namespace. This type is defined in the stix_default_vocabularies.xsd file or at the URL http://stix.mitre.org/XMLSchema/default_vocabularies/1.0.1/stix_default_vocabularies.xsd .
|
44
|
+
|
45
|
+
Users may also define their own vocabulary using the type extension mechanism, specify a vocabulary name and reference using the attributes, or simply use this as a string field.
|
46
|
+
</xs:documentation>
|
47
|
+
</xs:annotation>
|
48
|
+
</xs:element>
|
49
|
+
<xs:element name="Status" type="stixCommon:ControlledVocabularyStringType" minOccurs="0">
|
50
|
+
<xs:annotation>
|
51
|
+
<xs:documentation>
|
52
|
+
The status of this Campaign. For example, is the Campaign ongoing, historical, future, etc.
|
53
|
+
|
54
|
+
This field is implemented through the xsi:type controlled vocabulary extension mechanism. The default vocabulary type is CampaignStatusType in the http://stix.mitre.org/default_vocabularies-1 namespace. This type is defined in the stix_default_vocabularies.xsd file or at the URL http://stix.mitre.org/XMLSchema/default_vocabularies/1.0.1/stix_default_vocabularies.xsd .
|
55
|
+
|
56
|
+
Users may also define their own vocabulary using the type extension mechanism, specify a vocabulary name and reference using the attributes, or simply use this as a string field.
|
57
|
+
</xs:documentation>
|
58
|
+
</xs:annotation>
|
59
|
+
</xs:element>
|
60
|
+
<xs:element name="Related_TTPs" type="campaign:RelatedTTPsType" minOccurs="0">
|
61
|
+
<xs:annotation>
|
62
|
+
<xs:documentation>The Related_TTPs field specifies TTPs asserted to be related to this cyber threat Campaign.</xs:documentation>
|
63
|
+
</xs:annotation>
|
64
|
+
</xs:element>
|
65
|
+
<xs:element name="Related_Incidents" type="campaign:RelatedIncidentsType" minOccurs="0">
|
66
|
+
<xs:annotation>
|
67
|
+
<xs:documentation>The Related_Incidents field identifies or characterizes one or more Incidents related to this cyber threat Campaign. </xs:documentation>
|
68
|
+
</xs:annotation>
|
69
|
+
</xs:element>
|
70
|
+
<xs:element name="Related_Indicators" type="campaign:RelatedIndicatorsType" minOccurs="0">
|
71
|
+
<xs:annotation>
|
72
|
+
<xs:documentation>The Related_Indicators field identifies or characterizes one or more cyber threat Indicators related to this cyber threat Campaign.</xs:documentation>
|
73
|
+
</xs:annotation>
|
74
|
+
</xs:element>
|
75
|
+
<xs:element name="Attribution" type="campaign:AttributionType" minOccurs="0" maxOccurs="unbounded">
|
76
|
+
<xs:annotation>
|
77
|
+
<xs:documentation>The Attribution field specifies assertions of attibuted Threat Actors for this cyber threat Campaign.</xs:documentation>
|
78
|
+
</xs:annotation>
|
79
|
+
</xs:element>
|
80
|
+
<xs:element name="Associated_Campaigns" type="campaign:AssociatedCampaignsType" minOccurs="0">
|
81
|
+
<xs:annotation>
|
82
|
+
<xs:documentation>The Associated_Campaigns field specifies other cyber threat Campaigns asserted to be associated with this cyber threat Campaign.</xs:documentation>
|
83
|
+
</xs:annotation>
|
84
|
+
</xs:element>
|
85
|
+
<xs:element name="Confidence" type="stixCommon:ConfidenceType" minOccurs="0">
|
86
|
+
<xs:annotation>
|
87
|
+
<xs:documentation>The Confidence field characterizes the level of confidence held in the characterization of this Campaign.</xs:documentation>
|
88
|
+
</xs:annotation>
|
89
|
+
</xs:element>
|
90
|
+
<xs:element name="Activity" type="stixCommon:ActivityType" minOccurs="0" maxOccurs="unbounded">
|
91
|
+
<xs:annotation>
|
92
|
+
<xs:documentation>The Activity field characterizes actions taken in regards to this ThreatActor. This field is defined as of type ActivityType which is an abstract type enabling the extension and inclusion of various formats of Activity characterization.</xs:documentation>
|
93
|
+
</xs:annotation>
|
94
|
+
</xs:element>
|
95
|
+
<xs:element name="Information_Source" type="stixCommon:InformationSourceType" minOccurs="0">
|
96
|
+
<xs:annotation>
|
97
|
+
<xs:documentation>The Information_Source field details the source of this entry.</xs:documentation>
|
98
|
+
</xs:annotation>
|
99
|
+
</xs:element>
|
100
|
+
<xs:element name="Handling" type="marking:MarkingType" minOccurs="0">
|
101
|
+
<xs:annotation>
|
102
|
+
<xs:documentation>The Handling field specifies the appropriate data handling markings for the elements of this Campaign. The valid marking scope is the nearest CampaignBaseType ancestor of this Handling element and all its descendants.</xs:documentation>
|
103
|
+
</xs:annotation>
|
104
|
+
</xs:element>
|
105
|
+
</xs:sequence>
|
106
|
+
<xs:attribute name="version" type="campaign:CampaignVersionType">
|
107
|
+
<xs:annotation>
|
108
|
+
<xs:documentation>Specifies the relevant STIX-Campaign schema version for this content.</xs:documentation>
|
109
|
+
</xs:annotation>
|
110
|
+
</xs:attribute>
|
111
|
+
</xs:extension>
|
112
|
+
</xs:complexContent>
|
113
|
+
</xs:complexType>
|
114
|
+
<!---->
|
115
|
+
<xs:simpleType name="CampaignVersionType">
|
116
|
+
<xs:annotation>
|
117
|
+
<xs:documentation>An enumeration of all versions of the Campaign type valid in the current release of STIX.</xs:documentation>
|
118
|
+
</xs:annotation>
|
119
|
+
<xs:restriction base="xs:string">
|
120
|
+
<xs:enumeration value="1.0"/>
|
121
|
+
<xs:enumeration value="1.0.1"/>
|
122
|
+
</xs:restriction>
|
123
|
+
</xs:simpleType>
|
124
|
+
<xs:complexType name="AttributionType">
|
125
|
+
<xs:annotation>
|
126
|
+
<xs:documentation>AttributionType specifies suspected Threat Actors attributed to a given Campaign.</xs:documentation>
|
127
|
+
</xs:annotation>
|
128
|
+
<xs:complexContent>
|
129
|
+
<xs:extension base="stixCommon:GenericRelationshipListType">
|
130
|
+
<xs:sequence>
|
131
|
+
<xs:element name="Attributed_Threat_Actor" type="stixCommon:RelatedThreatActorType" maxOccurs="unbounded">
|
132
|
+
<xs:annotation>
|
133
|
+
<xs:documentation>The Attributed_Threat_Actor field specifies a Threat Actor asserted to be attributed for a Campaign. The specification of multiple ThreatActor entries for a single Attribution entry would be interpreted as a logical AND composition of the set of specified ThreatActors with a shared Confidence and Information Source. This would be used to assert attribution to a combined set of ThreatActors.</xs:documentation>
|
134
|
+
</xs:annotation>
|
135
|
+
</xs:element>
|
136
|
+
</xs:sequence>
|
137
|
+
</xs:extension>
|
138
|
+
</xs:complexContent>
|
139
|
+
</xs:complexType>
|
140
|
+
<!---->
|
141
|
+
<xs:complexType name="RelatedTTPsType">
|
142
|
+
<xs:complexContent>
|
143
|
+
<xs:extension base="stixCommon:GenericRelationshipListType">
|
144
|
+
<xs:sequence>
|
145
|
+
<xs:sequence>
|
146
|
+
<xs:element name="Related_TTP" type="stixCommon:RelatedTTPType" maxOccurs="unbounded">
|
147
|
+
<xs:annotation>
|
148
|
+
<xs:documentation>The Related_TTP field specifies a single TTP asserted to be related to this cyber threat Campaign.</xs:documentation>
|
149
|
+
</xs:annotation>
|
150
|
+
</xs:element>
|
151
|
+
</xs:sequence>
|
152
|
+
</xs:sequence>
|
153
|
+
</xs:extension>
|
154
|
+
</xs:complexContent>
|
155
|
+
</xs:complexType>
|
156
|
+
<xs:complexType name="NamesType">
|
157
|
+
<xs:sequence>
|
158
|
+
<xs:element name="Name" type="stixCommon:ControlledVocabularyStringType" maxOccurs="unbounded">
|
159
|
+
<xs:annotation>
|
160
|
+
<xs:documentation>
|
161
|
+
The Name field specifies a Name used to identify this Campaign. This field can be used to capture various aliases used to identify this Campaign.
|
162
|
+
|
163
|
+
This field is implemented through the xsi:type controlled vocabulary extension mechanism. No default vocabulary type has been defined for STIX 1.0. Users may either define their own vocabulary using the type extension mechanism, specify a vocabulary name and reference using the attributes, or simply use this as a free string field.
|
164
|
+
</xs:documentation>
|
165
|
+
</xs:annotation>
|
166
|
+
</xs:element>
|
167
|
+
</xs:sequence>
|
168
|
+
</xs:complexType>
|
169
|
+
<xs:complexType name="RelatedIncidentsType">
|
170
|
+
<xs:complexContent>
|
171
|
+
<xs:extension base="stixCommon:GenericRelationshipListType">
|
172
|
+
<xs:sequence>
|
173
|
+
<xs:sequence>
|
174
|
+
<xs:element name="Related_Incident" type="stixCommon:RelatedIncidentType" maxOccurs="unbounded">
|
175
|
+
<xs:annotation>
|
176
|
+
<xs:documentation>Identifies or characterizes an Incident related to this Campaign. </xs:documentation>
|
177
|
+
</xs:annotation>
|
178
|
+
</xs:element>
|
179
|
+
</xs:sequence>
|
180
|
+
</xs:sequence>
|
181
|
+
</xs:extension>
|
182
|
+
</xs:complexContent>
|
183
|
+
</xs:complexType>
|
184
|
+
<xs:complexType name="RelatedIndicatorsType">
|
185
|
+
<xs:complexContent>
|
186
|
+
<xs:extension base="stixCommon:GenericRelationshipListType">
|
187
|
+
<xs:sequence>
|
188
|
+
<xs:element name="Related_Indicator" type="stixCommon:RelatedIndicatorType" maxOccurs="unbounded">
|
189
|
+
<xs:annotation>
|
190
|
+
<xs:documentation>The Related_Indicator field identifies or characterizes a cyber threat Indicator related to this Campaign. Such loose associations between Campaigns and Indicators are typically part of the early phases of Campaign identification and characterization. As the Campaign characterization matures these associations are often used to identify relevant TTPs and/or Incidents associated with the Campaign.</xs:documentation>
|
191
|
+
</xs:annotation>
|
192
|
+
</xs:element>
|
193
|
+
</xs:sequence>
|
194
|
+
</xs:extension>
|
195
|
+
</xs:complexContent>
|
196
|
+
</xs:complexType>
|
197
|
+
<xs:complexType name="AssociatedCampaignsType">
|
198
|
+
<xs:complexContent>
|
199
|
+
<xs:extension base="stixCommon:GenericRelationshipListType">
|
200
|
+
<xs:sequence>
|
201
|
+
<xs:element name="Associated_Campaign" type="stixCommon:RelatedCampaignType" maxOccurs="unbounded">
|
202
|
+
<xs:annotation>
|
203
|
+
<xs:documentation>The Associated_Campaign field specifies a single other cyber threat Campaign asserted to be associated with this cyber threat Campaign.</xs:documentation>
|
204
|
+
</xs:annotation>
|
205
|
+
</xs:element>
|
206
|
+
</xs:sequence>
|
207
|
+
</xs:extension>
|
208
|
+
</xs:complexContent>
|
209
|
+
</xs:complexType>
|
210
|
+
</xs:schema>
|
@@ -0,0 +1,166 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:coa="http://stix.mitre.org/CourseOfAction-1" xmlns:stixCommon="http://stix.mitre.org/common-1" xmlns:marking="http://data-marking.mitre.org/Marking-1" targetNamespace="http://stix.mitre.org/CourseOfAction-1" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0.1" xml:lang="English">
|
3
|
+
<xs:annotation>
|
4
|
+
<xs:documentation>This schema was originally developed by The MITRE Corporation. The STIX XML Schema implementation is maintained by The MITRE Corporation and developed by the open STIX Community. For more information, including how to get involved in the effort and how to submit change requests, please visit the STIX website at http://stix.mitre.org. </xs:documentation>
|
5
|
+
<xs:appinfo>
|
6
|
+
<schema>STIX COA</schema>
|
7
|
+
<version>1.0.1</version>
|
8
|
+
<date>10/04/2013 9:00:00 AM</date>
|
9
|
+
<short_description>Structured Threat Information eXpression (STIX) - COA - Schematic implementation for the CourseOfAction construct within the STIX structured cyber threat expression language architecture.</short_description>
|
10
|
+
<terms_of_use>Copyright (c) 2012-2013, The MITRE Corporation. All rights reserved. The contents of this file are subject to the terms of the STIX License located at http://stix.mitre.org/about/termsofuse.html. See the STIX License for the specific language governing permissions and limitations for use of this schema. When distributing copies of the STIX Schema, this license header must be included. </terms_of_use>
|
11
|
+
</xs:appinfo>
|
12
|
+
</xs:annotation>
|
13
|
+
<xs:import namespace="http://stix.mitre.org/common-1" schemaLocation="stix_common.xsd"/>
|
14
|
+
<xs:import namespace="http://data-marking.mitre.org/Marking-1" schemaLocation="data_marking.xsd"/>
|
15
|
+
<xs:element name="Course_Of_Action" type="coa:CourseOfActionType">
|
16
|
+
<xs:annotation>
|
17
|
+
<xs:documentation>The CourseOfAction field characterizes a Course of Action to be taken in regards to one of more cyber threats. NOTE: This construct is still in its early stages of maturity and will require a good deal of review and refinement.</xs:documentation>
|
18
|
+
</xs:annotation>
|
19
|
+
</xs:element>
|
20
|
+
<xs:complexType name="CourseOfActionType">
|
21
|
+
<xs:annotation>
|
22
|
+
<xs:documentation>The CourseOfActionType characterizes a Course of Action to be taken in regards to one of more cyber threats. NOTE: This construct is still in its early stages of maturity and will require a good deal of review and refinement.</xs:documentation>
|
23
|
+
</xs:annotation>
|
24
|
+
<xs:complexContent>
|
25
|
+
<xs:extension base="stixCommon:CourseOfActionBaseType">
|
26
|
+
<xs:sequence>
|
27
|
+
<xs:element name="Title" type="xs:string" minOccurs="0">
|
28
|
+
<xs:annotation>
|
29
|
+
<xs:documentation>The Title field provides a simple title for this CourseOfAction.</xs:documentation>
|
30
|
+
</xs:annotation>
|
31
|
+
</xs:element>
|
32
|
+
<xs:element name="Stage" type="stixCommon:ControlledVocabularyStringType" minOccurs="0">
|
33
|
+
<xs:annotation>
|
34
|
+
<xs:documentation>
|
35
|
+
The Stage field specifies what stage in the cyber threat management lifecycle this CourseOfAction is relevant to (e.g. Remedy or Reponse).
|
36
|
+
|
37
|
+
This field is implemented through the xsi:type controlled vocabulary extension mechanism. The default vocabulary type is COAStageVocab-1.0 in the http://stix.mitre.org/default_vocabularies-1 namespace. This type is defined in the stix_default_vocabularies.xsd file or at the URL http://stix.mitre.org/XMLSchema/default_vocabularies/1.0.1/stix_default_vocabularies.xsd .
|
38
|
+
|
39
|
+
Users may also define their own vocabulary using the type extension mechanism, specify a vocabulary name and reference using the attributes, or simply use this as a string field.
|
40
|
+
</xs:documentation>
|
41
|
+
</xs:annotation>
|
42
|
+
</xs:element>
|
43
|
+
<xs:element name="Type" type="stixCommon:ControlledVocabularyStringType" minOccurs="0">
|
44
|
+
<xs:annotation>
|
45
|
+
<xs:documentation>
|
46
|
+
The Type field specifies the type of this CourseOfAction.
|
47
|
+
|
48
|
+
This field is implemented through the xsi:type controlled vocabulary extension mechanism. No default vocabulary type has been defined for STIX 1.0. Users may either define their own vocabulary using the type extension mechanism, specify a vocabulary name and reference using the attributes, or simply use this as a free string field.
|
49
|
+
</xs:documentation>
|
50
|
+
</xs:annotation>
|
51
|
+
</xs:element>
|
52
|
+
<xs:element name="Description" type="stixCommon:StructuredTextType" minOccurs="0">
|
53
|
+
<xs:annotation>
|
54
|
+
<xs:documentation>The Description element is optional and enables a generalized but structured description of this CourseOfAction.</xs:documentation>
|
55
|
+
</xs:annotation>
|
56
|
+
</xs:element>
|
57
|
+
<xs:element name="Objective" type="coa:ObjectiveType" minOccurs="0">
|
58
|
+
<xs:annotation>
|
59
|
+
<xs:documentation>The Objective field characterizes the objective of this CourseOfAction.</xs:documentation>
|
60
|
+
</xs:annotation>
|
61
|
+
</xs:element>
|
62
|
+
<xs:element name="Structured_COA" type="coa:StructuredCOAType" minOccurs="0">
|
63
|
+
<xs:annotation>
|
64
|
+
<xs:documentation>
|
65
|
+
The Structured_COA field enables the specification of an actionable structured representation for the CourseOfAction potentially for automated consumption and implementation.
|
66
|
+
|
67
|
+
This field is implemented through the xsi:type extension mechanism. While STIX has not defined a default type, it has provided support for passing proprietary or externally defined structured courses of action using the Generic Structured COA extension. The Generic Structured COA extension is captured in the GenericStructuredCOAType in the http://stix.mitre.org/extensions/StructuredCOA#Generic-1 namespace. This type is defined in the extensions/structured_coa/generic.xsd file or at the URL http://stix.mitre.org/XMLSchema/extensions/structured_coa/generic/1.0/generic.xsd.
|
68
|
+
</xs:documentation>
|
69
|
+
</xs:annotation>
|
70
|
+
</xs:element>
|
71
|
+
<xs:element name="Impact" type="stixCommon:StatementType" minOccurs="0">
|
72
|
+
<xs:annotation>
|
73
|
+
<xs:documentation>
|
74
|
+
The Impact field characterizes the estimated impact of applying this CourseOfAction.
|
75
|
+
|
76
|
+
It is implemented through the StatementType, which allows for the expression of a statement in a vocabulary (Value), a description of the statement (Description), a confidence in the statement (Confidence), and the source of the statement (Source). The default vocabulary type for the Value is HighMediumLowVocab-1.0 in the http://stix.mitre.org/default_vocabularies-1 namespace. This type is defined in the stix_default_vocabularies.xsd file or at the URL http://stix.mitre.org/XMLSchema/default_vocabularies/1.0.1/stix_default_vocabularies.xsd .
|
77
|
+
|
78
|
+
Users may also define their own vocabulary using the type extension mechanism, specify a vocabulary name and reference using the attributes, or simply use this as a string field.
|
79
|
+
</xs:documentation>
|
80
|
+
</xs:annotation>
|
81
|
+
</xs:element>
|
82
|
+
<xs:element name="Cost" type="stixCommon:StatementType" minOccurs="0">
|
83
|
+
<xs:annotation>
|
84
|
+
<xs:documentation>
|
85
|
+
The Cost field characterizes the estimated cost for applying this CourseOfAction.
|
86
|
+
|
87
|
+
It is implemented through the StatementType, which allows for the expression of a statement in a vocabulary (Value), a description of the statement (Description), a confidence in the statement (Confidence), and the source of the statement (Source). The default vocabulary type for the Value is HighMediumLowVocab-1.0 in the http://stix.mitre.org/default_vocabularies-1 namespace. This type is defined in the stix_default_vocabularies.xsd file or at the URL http://stix.mitre.org/XMLSchema/default_vocabularies/1.0.1/stix_default_vocabularies.xsd .
|
88
|
+
|
89
|
+
Users may also define their own vocabulary using the type extension mechanism, specify a vocabulary name and reference using the attributes, or simply use this as a string field.
|
90
|
+
</xs:documentation>
|
91
|
+
</xs:annotation>
|
92
|
+
</xs:element>
|
93
|
+
<xs:element name="Efficacy" type="stixCommon:StatementType" minOccurs="0">
|
94
|
+
<xs:annotation>
|
95
|
+
<xs:documentation>
|
96
|
+
The Efficacy field characterizes the effectiveness of this CourseOfAction in achieving its targeted Objective.
|
97
|
+
|
98
|
+
It is implemented through the StatementType, which allows for the expression of a statement in a vocabulary (Value), a description of the statement (Description), a confidence in the statement (Confidence), and the source of the statement (Source). The default vocabulary type for the Value is HighMediumLowVocab-1.0 in the http://stix.mitre.org/default_vocabularies-1 namespace. This type is defined in the stix_default_vocabularies.xsd file or at the URL http://stix.mitre.org/XMLSchema/default_vocabularies/1.0.1/stix_default_vocabularies.xsd .
|
99
|
+
|
100
|
+
Users may also define their own vocabulary using the type extension mechanism, specify a vocabulary name and reference using the attributes, or simply use this as a string field.
|
101
|
+
</xs:documentation>
|
102
|
+
</xs:annotation>
|
103
|
+
</xs:element>
|
104
|
+
<xs:element name="Handling" type="marking:MarkingType" minOccurs="0">
|
105
|
+
<xs:annotation>
|
106
|
+
<xs:documentation>The Handling field specifies the appropriate data handling markings for the elements of this COA. The valid marking scope is the nearest CourseOfActionBaseType ancestor of this Handling element and all its descendants.</xs:documentation>
|
107
|
+
</xs:annotation>
|
108
|
+
</xs:element>
|
109
|
+
</xs:sequence>
|
110
|
+
<xs:attribute name="version" type="coa:CourseOfActionVersionType">
|
111
|
+
<xs:annotation>
|
112
|
+
<xs:documentation>Specifies the relevant STIX-COA schema version for this content.</xs:documentation>
|
113
|
+
</xs:annotation>
|
114
|
+
</xs:attribute>
|
115
|
+
</xs:extension>
|
116
|
+
</xs:complexContent>
|
117
|
+
</xs:complexType>
|
118
|
+
<!---->
|
119
|
+
<xs:simpleType name="CourseOfActionVersionType">
|
120
|
+
<xs:annotation>
|
121
|
+
<xs:documentation>An enumeration of all versions of the Course of Action type valid in the current release of STIX.</xs:documentation>
|
122
|
+
</xs:annotation>
|
123
|
+
<xs:restriction base="xs:string">
|
124
|
+
<xs:enumeration value="1.0"/>
|
125
|
+
<xs:enumeration value="1.0.1"/>
|
126
|
+
</xs:restriction>
|
127
|
+
</xs:simpleType>
|
128
|
+
<xs:complexType name="StructuredCOAType" abstract="true">
|
129
|
+
<xs:annotation>
|
130
|
+
<xs:documentation>
|
131
|
+
The StructuredCOAType enables the specification of an actionable structured representation for the CourseOfAction potentially for automated consumption and implementation.
|
132
|
+
|
133
|
+
This type is defined as an abstract type and is intended to be extended using the XML Schema extension mechanism to allow for the expression of a variety of structured COA types. Instance documents representing structured COAs use the xsi:type attribute to specify which implementation of this type they wish to use.
|
134
|
+
|
135
|
+
STIX has provided one implementation to allow for the passing of proprietary or externally defined structured courses of action in a CDATA block. This implementation is captured in the Generic Structured COA extension, which provides the GenericStructuredCOAType in the http://stix.mitre.org/extensions/StructuredCOA#Generic-1 namespace. The extension is defined in the extensions/structured_coa/generic.xsd file or at the URL http://stix.mitre.org/XMLSchema/extensions/structured_coa/generic/1.0/generic.xsd.
|
136
|
+
</xs:documentation>
|
137
|
+
</xs:annotation>
|
138
|
+
<xs:attribute name="id" type="xs:QName">
|
139
|
+
<xs:annotation>
|
140
|
+
<xs:documentation>Specifies a unique ID for this StructuredCOA.</xs:documentation>
|
141
|
+
</xs:annotation>
|
142
|
+
</xs:attribute>
|
143
|
+
<xs:attribute name="idref" type="xs:QName">
|
144
|
+
<xs:annotation>
|
145
|
+
<xs:documentation>Specifies a reference to the ID for this StructuredCOA specified elsewhere.</xs:documentation>
|
146
|
+
</xs:annotation>
|
147
|
+
</xs:attribute>
|
148
|
+
</xs:complexType>
|
149
|
+
<xs:complexType name="ObjectiveType">
|
150
|
+
<xs:annotation>
|
151
|
+
<xs:documentation>The ObjectiveType characterizes the objective of this CourseOfAction.</xs:documentation>
|
152
|
+
</xs:annotation>
|
153
|
+
<xs:sequence>
|
154
|
+
<xs:element name="Description" type="stixCommon:StructuredTextType" minOccurs="0">
|
155
|
+
<xs:annotation>
|
156
|
+
<xs:documentation>The Description element is optional and enables a generalized description of the objective of this CourseOfAction.</xs:documentation>
|
157
|
+
</xs:annotation>
|
158
|
+
</xs:element>
|
159
|
+
<xs:element name="Applicability_Confidence" type="stixCommon:ConfidenceType" minOccurs="0">
|
160
|
+
<xs:annotation>
|
161
|
+
<xs:documentation>The Applicability_Confidence field characterizes the level of confidence held in the applicability of this suggested COA for its targeted Objective.</xs:documentation>
|
162
|
+
</xs:annotation>
|
163
|
+
</xs:element>
|
164
|
+
</xs:sequence>
|
165
|
+
</xs:complexType>
|
166
|
+
</xs:schema>
|