active_stix 0.1.21

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.
Files changed (289) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +28 -0
  4. data/Rakefile +32 -0
  5. data/app/assets/config/active_stix_manifest.js +2 -0
  6. data/app/assets/javascripts/active_stix/application.js +15 -0
  7. data/app/assets/javascripts/active_stix/artifacts.js +2 -0
  8. data/app/assets/javascripts/active_stix/attack_patterns.js +2 -0
  9. data/app/assets/javascripts/active_stix/bcc_refs.js +2 -0
  10. data/app/assets/javascripts/active_stix/bundled_objects.js +2 -0
  11. data/app/assets/javascripts/active_stix/bundles.js +2 -0
  12. data/app/assets/javascripts/active_stix/campaigns.js +2 -0
  13. data/app/assets/javascripts/active_stix/course_of_actions.js +2 -0
  14. data/app/assets/javascripts/active_stix/cyber_observables.js +2 -0
  15. data/app/assets/javascripts/active_stix/email_messages.js +2 -0
  16. data/app/assets/javascripts/active_stix/external_references.js +2 -0
  17. data/app/assets/javascripts/active_stix/files.js +2 -0
  18. data/app/assets/javascripts/active_stix/identities.js +2 -0
  19. data/app/assets/javascripts/active_stix/indicator_labels.js +2 -0
  20. data/app/assets/javascripts/active_stix/indicators.js +2 -0
  21. data/app/assets/javascripts/active_stix/intrusion_sets.js +2 -0
  22. data/app/assets/javascripts/active_stix/kill_chain_phases.js +2 -0
  23. data/app/assets/javascripts/active_stix/kill_chains.js +2 -0
  24. data/app/assets/javascripts/active_stix/malwares.js +2 -0
  25. data/app/assets/javascripts/active_stix/marking_definitions.js +2 -0
  26. data/app/assets/javascripts/active_stix/observed_data.js +2 -0
  27. data/app/assets/javascripts/active_stix/open_vocabularies.js +2 -0
  28. data/app/assets/javascripts/active_stix/phases.js +2 -0
  29. data/app/assets/javascripts/active_stix/recipients.js +2 -0
  30. data/app/assets/javascripts/active_stix/relationships.js +2 -0
  31. data/app/assets/javascripts/active_stix/reports.js +2 -0
  32. data/app/assets/javascripts/active_stix/threat_actors.js +2 -0
  33. data/app/assets/javascripts/active_stix/tools.js +2 -0
  34. data/app/assets/javascripts/active_stix/urls.js +2 -0
  35. data/app/assets/javascripts/active_stix/users.js +2 -0
  36. data/app/assets/stylesheets/active_stix/application.css +15 -0
  37. data/app/assets/stylesheets/active_stix/artifacts.css +4 -0
  38. data/app/assets/stylesheets/active_stix/attack_patterns.css +4 -0
  39. data/app/assets/stylesheets/active_stix/bcc_refs.css +4 -0
  40. data/app/assets/stylesheets/active_stix/bundled_objects.css +4 -0
  41. data/app/assets/stylesheets/active_stix/bundles.css +4 -0
  42. data/app/assets/stylesheets/active_stix/campaigns.css +4 -0
  43. data/app/assets/stylesheets/active_stix/course_of_actions.css +4 -0
  44. data/app/assets/stylesheets/active_stix/cyber_observables.css +4 -0
  45. data/app/assets/stylesheets/active_stix/email_messages.css +4 -0
  46. data/app/assets/stylesheets/active_stix/external_references.css +4 -0
  47. data/app/assets/stylesheets/active_stix/files.css +4 -0
  48. data/app/assets/stylesheets/active_stix/identities.css +4 -0
  49. data/app/assets/stylesheets/active_stix/indicator_labels.css +4 -0
  50. data/app/assets/stylesheets/active_stix/indicators.css +4 -0
  51. data/app/assets/stylesheets/active_stix/intrusion_sets.css +4 -0
  52. data/app/assets/stylesheets/active_stix/kill_chain_phases.css +4 -0
  53. data/app/assets/stylesheets/active_stix/kill_chains.css +4 -0
  54. data/app/assets/stylesheets/active_stix/malwares.css +4 -0
  55. data/app/assets/stylesheets/active_stix/marking_definitions.css +4 -0
  56. data/app/assets/stylesheets/active_stix/observed_data.css +4 -0
  57. data/app/assets/stylesheets/active_stix/open_vocabularies.css +4 -0
  58. data/app/assets/stylesheets/active_stix/phases.css +4 -0
  59. data/app/assets/stylesheets/active_stix/recipients.css +4 -0
  60. data/app/assets/stylesheets/active_stix/relationships.css +4 -0
  61. data/app/assets/stylesheets/active_stix/reports.css +4 -0
  62. data/app/assets/stylesheets/active_stix/threat_actors.css +4 -0
  63. data/app/assets/stylesheets/active_stix/tools.css +4 -0
  64. data/app/assets/stylesheets/active_stix/urls.css +4 -0
  65. data/app/assets/stylesheets/active_stix/users.css +4 -0
  66. data/app/assets/stylesheets/scaffold.css +80 -0
  67. data/app/controllers/active_stix/application_controller.rb +5 -0
  68. data/app/controllers/active_stix/artifacts_controller.rb +62 -0
  69. data/app/controllers/active_stix/attack_patterns_controller.rb +27 -0
  70. data/app/controllers/active_stix/bcc_refs_controller.rb +62 -0
  71. data/app/controllers/active_stix/bundled_objects_controller.rb +62 -0
  72. data/app/controllers/active_stix/bundles_controller.rb +11 -0
  73. data/app/controllers/active_stix/campaigns_controller.rb +74 -0
  74. data/app/controllers/active_stix/course_of_actions_controller.rb +62 -0
  75. data/app/controllers/active_stix/cyber_observables_controller.rb +62 -0
  76. data/app/controllers/active_stix/email_addresses_controller.rb +74 -0
  77. data/app/controllers/active_stix/email_messages_controller.rb +26 -0
  78. data/app/controllers/active_stix/external_references_controller.rb +62 -0
  79. data/app/controllers/active_stix/files_controller.rb +74 -0
  80. data/app/controllers/active_stix/identities_controller.rb +128 -0
  81. data/app/controllers/active_stix/indicator_labels_controller.rb +62 -0
  82. data/app/controllers/active_stix/indicators_controller.rb +62 -0
  83. data/app/controllers/active_stix/intrusion_sets_controller.rb +62 -0
  84. data/app/controllers/active_stix/kill_chain_phases_controller.rb +62 -0
  85. data/app/controllers/active_stix/kill_chains_controller.rb +62 -0
  86. data/app/controllers/active_stix/malwares_controller.rb +62 -0
  87. data/app/controllers/active_stix/marking_definitions_controller.rb +62 -0
  88. data/app/controllers/active_stix/observed_data_controller.rb +62 -0
  89. data/app/controllers/active_stix/open_vocabularies_controller.rb +62 -0
  90. data/app/controllers/active_stix/phases_controller.rb +62 -0
  91. data/app/controllers/active_stix/recipients_controller.rb +62 -0
  92. data/app/controllers/active_stix/relationships_controller.rb +62 -0
  93. data/app/controllers/active_stix/reports_controller.rb +62 -0
  94. data/app/controllers/active_stix/threat_actors_controller.rb +75 -0
  95. data/app/controllers/active_stix/tools_controller.rb +62 -0
  96. data/app/controllers/active_stix/urls_controller.rb +62 -0
  97. data/app/controllers/active_stix/user_accounts_controller.rb +74 -0
  98. data/app/controllers/active_stix/users_controller.rb +62 -0
  99. data/app/helpers/active_stix/application_helper.rb +4 -0
  100. data/app/helpers/active_stix/artifacts_helper.rb +4 -0
  101. data/app/helpers/active_stix/attack_patterns_helper.rb +4 -0
  102. data/app/helpers/active_stix/bcc_refs_helper.rb +4 -0
  103. data/app/helpers/active_stix/bundled_objects_helper.rb +4 -0
  104. data/app/helpers/active_stix/bundles_helper.rb +4 -0
  105. data/app/helpers/active_stix/campaigns_helper.rb +4 -0
  106. data/app/helpers/active_stix/course_of_actions_helper.rb +4 -0
  107. data/app/helpers/active_stix/cyber_observables_helper.rb +4 -0
  108. data/app/helpers/active_stix/email_messages_helper.rb +4 -0
  109. data/app/helpers/active_stix/external_references_helper.rb +4 -0
  110. data/app/helpers/active_stix/files_helper.rb +4 -0
  111. data/app/helpers/active_stix/identities_helper.rb +4 -0
  112. data/app/helpers/active_stix/indicator_labels_helper.rb +4 -0
  113. data/app/helpers/active_stix/indicators_helper.rb +4 -0
  114. data/app/helpers/active_stix/intrusion_sets_helper.rb +4 -0
  115. data/app/helpers/active_stix/kill_chain_phases_helper.rb +4 -0
  116. data/app/helpers/active_stix/kill_chains_helper.rb +4 -0
  117. data/app/helpers/active_stix/malwares_helper.rb +4 -0
  118. data/app/helpers/active_stix/marking_definitions_helper.rb +4 -0
  119. data/app/helpers/active_stix/observed_data_helper.rb +4 -0
  120. data/app/helpers/active_stix/open_vocabularies_helper.rb +4 -0
  121. data/app/helpers/active_stix/phases_helper.rb +4 -0
  122. data/app/helpers/active_stix/recipients_helper.rb +4 -0
  123. data/app/helpers/active_stix/relationships_helper.rb +4 -0
  124. data/app/helpers/active_stix/reports_helper.rb +4 -0
  125. data/app/helpers/active_stix/threat_actors_helper.rb +4 -0
  126. data/app/helpers/active_stix/tools_helper.rb +4 -0
  127. data/app/helpers/active_stix/urls_helper.rb +4 -0
  128. data/app/helpers/active_stix/users_helper.rb +4 -0
  129. data/app/jobs/active_stix/application_job.rb +4 -0
  130. data/app/mailers/active_stix/application_mailer.rb +6 -0
  131. data/app/models/active_stix/application_record.rb +5 -0
  132. data/app/models/active_stix/artifact.rb +23 -0
  133. data/app/models/active_stix/attack_pattern.rb +150 -0
  134. data/app/models/active_stix/bcc_ref.rb +6 -0
  135. data/app/models/active_stix/bundle.rb +108 -0
  136. data/app/models/active_stix/bundled_object.rb +4 -0
  137. data/app/models/active_stix/campaign.rb +65 -0
  138. data/app/models/active_stix/cc_ref.rb +6 -0
  139. data/app/models/active_stix/course_of_action.rb +54 -0
  140. data/app/models/active_stix/cyber_observable.rb +4 -0
  141. data/app/models/active_stix/email_address.rb +27 -0
  142. data/app/models/active_stix/email_message.rb +339 -0
  143. data/app/models/active_stix/external_reference.rb +48 -0
  144. data/app/models/active_stix/file.rb +2 -0
  145. data/app/models/active_stix/identity.rb +141 -0
  146. data/app/models/active_stix/indicator.rb +58 -0
  147. data/app/models/active_stix/indicator_label.rb +4 -0
  148. data/app/models/active_stix/intrusion_set.rb +69 -0
  149. data/app/models/active_stix/kill_chain.rb +7 -0
  150. data/app/models/active_stix/kill_chain_phase.rb +6 -0
  151. data/app/models/active_stix/label.rb +17 -0
  152. data/app/models/active_stix/label_malware.rb +4 -0
  153. data/app/models/active_stix/label_report.rb +4 -0
  154. data/app/models/active_stix/label_tool.rb +4 -0
  155. data/app/models/active_stix/malware.rb +98 -0
  156. data/app/models/active_stix/marking_definition.rb +21 -0
  157. data/app/models/active_stix/markup.rb +6 -0
  158. data/app/models/active_stix/object_marking.rb +11 -0
  159. data/app/models/active_stix/observed_datum.rb +67 -0
  160. data/app/models/active_stix/open_vocabulary.rb +8 -0
  161. data/app/models/active_stix/phase.rb +41 -0
  162. data/app/models/active_stix/recipient.rb +4 -0
  163. data/app/models/active_stix/reference_item.rb +4 -0
  164. data/app/models/active_stix/relationship.rb +95 -0
  165. data/app/models/active_stix/report.rb +93 -0
  166. data/app/models/active_stix/report_object.rb +9 -0
  167. data/app/models/active_stix/threat_actor.rb +139 -0
  168. data/app/models/active_stix/to_ref.rb +6 -0
  169. data/app/models/active_stix/tool.rb +112 -0
  170. data/app/models/active_stix/url.rb +15 -0
  171. data/app/models/active_stix/user.rb +4 -0
  172. data/app/models/active_stix/user_account.rb +3 -0
  173. data/app/views/active_stix/artifacts/_form.html.erb +57 -0
  174. data/app/views/active_stix/artifacts/edit.html.erb +6 -0
  175. data/app/views/active_stix/artifacts/index.html.erb +41 -0
  176. data/app/views/active_stix/artifacts/new.html.erb +5 -0
  177. data/app/views/active_stix/artifacts/show.html.erb +44 -0
  178. data/app/views/active_stix/attack_patterns/_form.html.erb +37 -0
  179. data/app/views/active_stix/attack_patterns/edit.html.erb +2 -0
  180. data/app/views/active_stix/attack_patterns/index.html.erb +2 -0
  181. data/app/views/active_stix/attack_patterns/new.html.erb +2 -0
  182. data/app/views/active_stix/attack_patterns/show.html.erb +140 -0
  183. data/app/views/active_stix/bcc_refs/_form.html.erb +27 -0
  184. data/app/views/active_stix/bcc_refs/edit.html.erb +6 -0
  185. data/app/views/active_stix/bcc_refs/index.html.erb +29 -0
  186. data/app/views/active_stix/bcc_refs/new.html.erb +5 -0
  187. data/app/views/active_stix/bcc_refs/show.html.erb +14 -0
  188. data/app/views/active_stix/bundles/index.html.erb +1 -0
  189. data/app/views/active_stix/bundles/show.html.erb +7 -0
  190. data/app/views/active_stix/campaigns/_form.html.erb +42 -0
  191. data/app/views/active_stix/campaigns/_stix_campaign.json.jbuilder +2 -0
  192. data/app/views/active_stix/campaigns/edit.html.erb +6 -0
  193. data/app/views/active_stix/campaigns/index.html.erb +35 -0
  194. data/app/views/active_stix/campaigns/index.json.jbuilder +1 -0
  195. data/app/views/active_stix/campaigns/new.html.erb +5 -0
  196. data/app/views/active_stix/campaigns/show.html.erb +29 -0
  197. data/app/views/active_stix/campaigns/show.json.jbuilder +1 -0
  198. data/app/views/active_stix/email_messages/_form.html.erb +62 -0
  199. data/app/views/active_stix/email_messages/_stix_email_message.json.jbuilder +2 -0
  200. data/app/views/active_stix/email_messages/edit.html.erb +6 -0
  201. data/app/views/active_stix/email_messages/index.html.erb +43 -0
  202. data/app/views/active_stix/email_messages/index.json.jbuilder +1 -0
  203. data/app/views/active_stix/email_messages/new.html.erb +5 -0
  204. data/app/views/active_stix/email_messages/show.html.erb +165 -0
  205. data/app/views/active_stix/email_messages/show.json.jbuilder +1 -0
  206. data/app/views/active_stix/files/_form.html.erb +92 -0
  207. data/app/views/active_stix/files/_stix_file.json.jbuilder +2 -0
  208. data/app/views/active_stix/files/edit.html.erb +6 -0
  209. data/app/views/active_stix/files/index.html.erb +55 -0
  210. data/app/views/active_stix/files/index.json.jbuilder +1 -0
  211. data/app/views/active_stix/files/new.html.erb +5 -0
  212. data/app/views/active_stix/files/show.html.erb +79 -0
  213. data/app/views/active_stix/files/show.json.jbuilder +1 -0
  214. data/app/views/active_stix/identities/_form.html.erb +27 -0
  215. data/app/views/active_stix/identities/_individual.html.erb +100 -0
  216. data/app/views/active_stix/identities/_organization.html.erb +72 -0
  217. data/app/views/active_stix/identities/_received_email_messages.html.erb +27 -0
  218. data/app/views/active_stix/identities/_sent_email_messages.html.erb +27 -0
  219. data/app/views/active_stix/identities/_threat_icons.html.erb +3 -0
  220. data/app/views/active_stix/identities/edit.html.erb +2 -0
  221. data/app/views/active_stix/identities/index.html.erb +37 -0
  222. data/app/views/active_stix/identities/new.html.erb +5 -0
  223. data/app/views/active_stix/identities/show.html.erb +15 -0
  224. data/app/views/active_stix/layouts/active_stix/application.html.erb +16 -0
  225. data/app/views/active_stix/recipients/_form.html.erb +27 -0
  226. data/app/views/active_stix/recipients/edit.html.erb +6 -0
  227. data/app/views/active_stix/recipients/index.html.erb +29 -0
  228. data/app/views/active_stix/recipients/new.html.erb +5 -0
  229. data/app/views/active_stix/recipients/show.html.erb +14 -0
  230. data/app/views/active_stix/threat_actors/_form.html.erb +32 -0
  231. data/app/views/active_stix/threat_actors/_stix_threat_actor.json.jbuilder +2 -0
  232. data/app/views/active_stix/threat_actors/edit.html.erb +6 -0
  233. data/app/views/active_stix/threat_actors/flags.html.erb +184 -0
  234. data/app/views/active_stix/threat_actors/index.html.erb +26 -0
  235. data/app/views/active_stix/threat_actors/index.json.jbuilder +1 -0
  236. data/app/views/active_stix/threat_actors/new.html.erb +5 -0
  237. data/app/views/active_stix/threat_actors/show.html.erb +4 -0
  238. data/app/views/active_stix/threat_actors/show.json.jbuilder +1 -0
  239. data/app/views/layouts/active_stix/application.html.erb +16 -0
  240. data/config/routes.rb +39 -0
  241. data/db/migrate/20191204200025_create_active_stix_bundled_objects.rb +11 -0
  242. data/db/migrate/20191204213707_create_active_stix_bundles.rb +10 -0
  243. data/db/migrate/20191204213802_create_active_stix_campaigns.rb +15 -0
  244. data/db/migrate/20191204213926_create_active_stix_course_of_actions.rb +12 -0
  245. data/db/migrate/20191204214020_create_active_stix_cyber_observables.rb +11 -0
  246. data/db/migrate/20191204214955_create_active_stix_email_messages.rb +20 -0
  247. data/db/migrate/20191204215029_create_active_stix_external_references.rb +12 -0
  248. data/db/migrate/20191204215302_create_active_stix_files.rb +23 -0
  249. data/db/migrate/20191204215419_create_active_stix_identities.rb +13 -0
  250. data/db/migrate/20191204215542_create_active_stix_indicator_labels.rb +10 -0
  251. data/db/migrate/20191204215637_create_active_stix_indicators.rb +16 -0
  252. data/db/migrate/20191204215849_create_active_stix_intrusion_sets.rb +15 -0
  253. data/db/migrate/20191204215929_create_active_stix_kill_chain_phases.rb +10 -0
  254. data/db/migrate/20191204215951_create_active_stix_kill_chains.rb +9 -0
  255. data/db/migrate/20191204220149_create_active_stix_malwares.rb +12 -0
  256. data/db/migrate/20191204220539_create_active_stix_marking_definitions.rb +12 -0
  257. data/db/migrate/20191204220853_create_active_stix_observed_data.rb +12 -0
  258. data/db/migrate/20191204220917_create_active_stix_open_vocabularies.rb +9 -0
  259. data/db/migrate/20191204220952_create_active_stix_phases.rb +11 -0
  260. data/db/migrate/20191204221129_create_active_stix_recipients.rb +10 -0
  261. data/db/migrate/20191204221227_create_active_stix_relationships.rb +16 -0
  262. data/db/migrate/20191204221323_create_active_stix_report_objects.rb +11 -0
  263. data/db/migrate/20191204221359_create_active_stix_reports.rb +14 -0
  264. data/db/migrate/20191204221425_create_active_stix_threat_actors.rb +11 -0
  265. data/db/migrate/20191204221454_create_active_stix_tools.rb +12 -0
  266. data/db/migrate/20191204221639_create_active_stix_urls.rb +9 -0
  267. data/db/migrate/20191204221849_create_active_stix_users.rb +22 -0
  268. data/db/migrate/20191205182234_create_active_stix_bcc_refs.rb +10 -0
  269. data/db/migrate/20191205182255_create_active_stix_cc_refs.rb +10 -0
  270. data/db/migrate/20191205182316_create_active_stix_to_refs.rb +10 -0
  271. data/db/migrate/20191212203611_add_spec_version_to_bundles.rb +5 -0
  272. data/db/migrate/20191212215136_create_active_stix_attack_patterns.rb +12 -0
  273. data/db/migrate/20191212220222_create_active_stix_reference_items.rb +11 -0
  274. data/db/migrate/20191213135204_create_active_stix_labels.rb +10 -0
  275. data/db/migrate/20191213140951_create_active_stix_markups.rb +11 -0
  276. data/db/migrate/20191221210537_fix_observed_data.rb +6 -0
  277. data/db/migrate/20191221223602_create_active_stix_artifacts.rb +16 -0
  278. data/db/migrate/20191223075550_change_artifact_ref_to_string.rb +5 -0
  279. data/db/migrate/20191223154000_add_stix_id_to_email_messages.rb +5 -0
  280. data/db/migrate/20200114162245_add_labels_to_active_stix_identities.rb +5 -0
  281. data/db/migrate/20200404223006_add_aliases_to_tools.rb +5 -0
  282. data/db/migrate/20200404223047_add_aliases_to_attack_patterns.rb +5 -0
  283. data/db/migrate/20200404223158_add_aliases_to_malwares.rb +5 -0
  284. data/db/migrate/20200404223210_add_aliases_to_threat_actors.rb +5 -0
  285. data/lib/active_stix.rb +8 -0
  286. data/lib/active_stix/engine.rb +13 -0
  287. data/lib/active_stix/version.rb +3 -0
  288. data/lib/tasks/active_stix_tasks.rake +4 -0
  289. metadata +358 -0
@@ -0,0 +1,12 @@
1
+ class CreateActiveStixTools < ActiveRecord::Migration[5.2]
2
+ def change
3
+ create_table :active_stix_tools do |t|
4
+ t.string :stix_id
5
+ t.string :name
6
+ t.text :description
7
+ t.string :created_by_ref
8
+
9
+ t.timestamps
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,9 @@
1
+ class CreateActiveStixUrls < ActiveRecord::Migration[5.2]
2
+ def change
3
+ create_table :active_stix_urls do |t|
4
+ t.string :value
5
+
6
+ t.timestamps
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,22 @@
1
+ class CreateActiveStixUsers < ActiveRecord::Migration[5.2]
2
+ def change
3
+ create_table :active_stix_users do |t|
4
+ t.string :account
5
+ t.string :user_id
6
+ t.string :account_login
7
+ t.string :account_type
8
+ t.string :display_name
9
+ t.boolean :is_service_account
10
+ t.boolean :is_privileged
11
+ t.boolean :can_escalate_privs
12
+ t.boolean :is_disabled
13
+ t.datetime :account_created
14
+ t.datetime :account_expires
15
+ t.datetime :password_last_changed
16
+ t.datetime :account_first_login
17
+ t.datetime :account_last_login
18
+
19
+ t.timestamps
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,10 @@
1
+ class CreateActiveStixBccRefs < ActiveRecord::Migration[5.2]
2
+ def change
3
+ create_table :active_stix_bcc_refs do |t|
4
+ t.integer :email_message_id
5
+ t.integer :email_address_id
6
+
7
+ t.timestamps
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,10 @@
1
+ class CreateActiveStixCcRefs < ActiveRecord::Migration[5.2]
2
+ def change
3
+ create_table :active_stix_cc_refs do |t|
4
+ t.integer :email_message_id
5
+ t.integer :email_address_id
6
+
7
+ t.timestamps
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,10 @@
1
+ class CreateActiveStixToRefs < ActiveRecord::Migration[5.2]
2
+ def change
3
+ create_table :active_stix_to_refs do |t|
4
+ t.integer :email_message_id
5
+ t.integer :email_address_id
6
+
7
+ t.timestamps
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,5 @@
1
+ class AddSpecVersionToBundles < ActiveRecord::Migration[5.2]
2
+ def change
3
+ add_column :active_stix_bundles, :spec_version, :string
4
+ end
5
+ end
@@ -0,0 +1,12 @@
1
+ class CreateActiveStixAttackPatterns < ActiveRecord::Migration[5.2]
2
+ def change
3
+ create_table :active_stix_attack_patterns do |t|
4
+ t.string :name
5
+ t.text :description
6
+ t.jsonb :kill_chain_phases
7
+ t.string :stix_id
8
+
9
+ t.timestamps
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,11 @@
1
+ class CreateActiveStixReferenceItems < ActiveRecord::Migration[5.2]
2
+ def change
3
+ create_table :active_stix_reference_items do |t|
4
+ t.integer :external_reference_id
5
+ t.integer :referrer_id
6
+ t.string :referrer_type
7
+
8
+ t.timestamps
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,10 @@
1
+ class CreateActiveStixLabels < ActiveRecord::Migration[5.2]
2
+ def change
3
+ create_table :active_stix_labels do |t|
4
+ t.string :name
5
+ t.integer :open_vocabulary_id
6
+
7
+ t.timestamps
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,11 @@
1
+ class CreateActiveStixMarkups < ActiveRecord::Migration[5.2]
2
+ def change
3
+ create_table :active_stix_markups do |t|
4
+ t.integer :label_id
5
+ t.integer :labelable_id
6
+ t.string :labelable_type
7
+
8
+ t.timestamps
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,6 @@
1
+ class FixObservedData < ActiveRecord::Migration[5.2]
2
+ def change
3
+ remove_column 'active_stix_observed_data', :first_observed_datetime
4
+ add_column :active_stix_observed_data, :first_observed, :datetime
5
+ end
6
+ end
@@ -0,0 +1,16 @@
1
+ class CreateActiveStixArtifacts < ActiveRecord::Migration[5.2]
2
+ def change
3
+ create_table :active_stix_artifacts do |t|
4
+ t.string :stix_id
5
+ t.string :type
6
+ t.string :mime_type
7
+ t.binary :payload_bin
8
+ t.string :url
9
+ t.jsonb :hashes
10
+ t.jsonb :encryption_algorithm
11
+ t.string :decryption_key
12
+
13
+ t.timestamps
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,5 @@
1
+ class ChangeArtifactRefToString < ActiveRecord::Migration[5.2]
2
+ def change
3
+ change_column :active_stix_email_messages, :raw_email_ref, :string
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ class AddStixIdToEmailMessages < ActiveRecord::Migration[5.2]
2
+ def change
3
+ add_column :active_stix_email_messages, :stix_id, :string
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ class AddLabelsToActiveStixIdentities < ActiveRecord::Migration[5.2]
2
+ def change
3
+ add_column :active_stix_identities, :labels, :text, array: true, default: []
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ class AddAliasesToTools < ActiveRecord::Migration[6.0]
2
+ def change
3
+ add_column :active_stix_tools, :aliases, :jsonb
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ class AddAliasesToAttackPatterns < ActiveRecord::Migration[6.0]
2
+ def change
3
+ add_column :active_stix_attack_patterns, :aliases, :jsonb
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ class AddAliasesToMalwares < ActiveRecord::Migration[6.0]
2
+ def change
3
+ add_column :active_stix_malwares, :aliases, :jsonb
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ class AddAliasesToThreatActors < ActiveRecord::Migration[6.0]
2
+ def change
3
+ add_column :active_stix_threat_actors, :aliases, :jsonb
4
+ end
5
+ end
@@ -0,0 +1,8 @@
1
+ require "active_stix/engine"
2
+
3
+ module ActiveStix
4
+ # Your code goes here...
5
+ def self.process_x_attrs?
6
+ false
7
+ end
8
+ end
@@ -0,0 +1,13 @@
1
+ module ActiveStix
2
+ class Engine < ::Rails::Engine
3
+ isolate_namespace ActiveStix
4
+
5
+ initializer :append_migrations do |app|
6
+ unless app.root.to_s.match root.to_s
7
+ config.paths["db/migrate"].expanded.each do |expanded_path|
8
+ app.config.paths["db/migrate"] << expanded_path
9
+ end
10
+ end
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,3 @@
1
+ module ActiveStix
2
+ VERSION = '0.1.21'
3
+ end
@@ -0,0 +1,4 @@
1
+ # desc "Explaining what the task does"
2
+ # task :active_stix do
3
+ # # Task goes here
4
+ # end
metadata ADDED
@@ -0,0 +1,358 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: active_stix
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.21
5
+ platform: ruby
6
+ authors:
7
+ - Adam Dalton
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2020-04-11 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 6.0.2
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 6.0.2
27
+ - !ruby/object:Gem::Dependency
28
+ name: pg
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ description: A mountable engine for STIX 2.0 in Rails.
42
+ email:
43
+ - adalton@ihmc.us
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - MIT-LICENSE
49
+ - README.md
50
+ - Rakefile
51
+ - app/assets/config/active_stix_manifest.js
52
+ - app/assets/javascripts/active_stix/application.js
53
+ - app/assets/javascripts/active_stix/artifacts.js
54
+ - app/assets/javascripts/active_stix/attack_patterns.js
55
+ - app/assets/javascripts/active_stix/bcc_refs.js
56
+ - app/assets/javascripts/active_stix/bundled_objects.js
57
+ - app/assets/javascripts/active_stix/bundles.js
58
+ - app/assets/javascripts/active_stix/campaigns.js
59
+ - app/assets/javascripts/active_stix/course_of_actions.js
60
+ - app/assets/javascripts/active_stix/cyber_observables.js
61
+ - app/assets/javascripts/active_stix/email_messages.js
62
+ - app/assets/javascripts/active_stix/external_references.js
63
+ - app/assets/javascripts/active_stix/files.js
64
+ - app/assets/javascripts/active_stix/identities.js
65
+ - app/assets/javascripts/active_stix/indicator_labels.js
66
+ - app/assets/javascripts/active_stix/indicators.js
67
+ - app/assets/javascripts/active_stix/intrusion_sets.js
68
+ - app/assets/javascripts/active_stix/kill_chain_phases.js
69
+ - app/assets/javascripts/active_stix/kill_chains.js
70
+ - app/assets/javascripts/active_stix/malwares.js
71
+ - app/assets/javascripts/active_stix/marking_definitions.js
72
+ - app/assets/javascripts/active_stix/observed_data.js
73
+ - app/assets/javascripts/active_stix/open_vocabularies.js
74
+ - app/assets/javascripts/active_stix/phases.js
75
+ - app/assets/javascripts/active_stix/recipients.js
76
+ - app/assets/javascripts/active_stix/relationships.js
77
+ - app/assets/javascripts/active_stix/reports.js
78
+ - app/assets/javascripts/active_stix/threat_actors.js
79
+ - app/assets/javascripts/active_stix/tools.js
80
+ - app/assets/javascripts/active_stix/urls.js
81
+ - app/assets/javascripts/active_stix/users.js
82
+ - app/assets/stylesheets/active_stix/application.css
83
+ - app/assets/stylesheets/active_stix/artifacts.css
84
+ - app/assets/stylesheets/active_stix/attack_patterns.css
85
+ - app/assets/stylesheets/active_stix/bcc_refs.css
86
+ - app/assets/stylesheets/active_stix/bundled_objects.css
87
+ - app/assets/stylesheets/active_stix/bundles.css
88
+ - app/assets/stylesheets/active_stix/campaigns.css
89
+ - app/assets/stylesheets/active_stix/course_of_actions.css
90
+ - app/assets/stylesheets/active_stix/cyber_observables.css
91
+ - app/assets/stylesheets/active_stix/email_messages.css
92
+ - app/assets/stylesheets/active_stix/external_references.css
93
+ - app/assets/stylesheets/active_stix/files.css
94
+ - app/assets/stylesheets/active_stix/identities.css
95
+ - app/assets/stylesheets/active_stix/indicator_labels.css
96
+ - app/assets/stylesheets/active_stix/indicators.css
97
+ - app/assets/stylesheets/active_stix/intrusion_sets.css
98
+ - app/assets/stylesheets/active_stix/kill_chain_phases.css
99
+ - app/assets/stylesheets/active_stix/kill_chains.css
100
+ - app/assets/stylesheets/active_stix/malwares.css
101
+ - app/assets/stylesheets/active_stix/marking_definitions.css
102
+ - app/assets/stylesheets/active_stix/observed_data.css
103
+ - app/assets/stylesheets/active_stix/open_vocabularies.css
104
+ - app/assets/stylesheets/active_stix/phases.css
105
+ - app/assets/stylesheets/active_stix/recipients.css
106
+ - app/assets/stylesheets/active_stix/relationships.css
107
+ - app/assets/stylesheets/active_stix/reports.css
108
+ - app/assets/stylesheets/active_stix/threat_actors.css
109
+ - app/assets/stylesheets/active_stix/tools.css
110
+ - app/assets/stylesheets/active_stix/urls.css
111
+ - app/assets/stylesheets/active_stix/users.css
112
+ - app/assets/stylesheets/scaffold.css
113
+ - app/controllers/active_stix/application_controller.rb
114
+ - app/controllers/active_stix/artifacts_controller.rb
115
+ - app/controllers/active_stix/attack_patterns_controller.rb
116
+ - app/controllers/active_stix/bcc_refs_controller.rb
117
+ - app/controllers/active_stix/bundled_objects_controller.rb
118
+ - app/controllers/active_stix/bundles_controller.rb
119
+ - app/controllers/active_stix/campaigns_controller.rb
120
+ - app/controllers/active_stix/course_of_actions_controller.rb
121
+ - app/controllers/active_stix/cyber_observables_controller.rb
122
+ - app/controllers/active_stix/email_addresses_controller.rb
123
+ - app/controllers/active_stix/email_messages_controller.rb
124
+ - app/controllers/active_stix/external_references_controller.rb
125
+ - app/controllers/active_stix/files_controller.rb
126
+ - app/controllers/active_stix/identities_controller.rb
127
+ - app/controllers/active_stix/indicator_labels_controller.rb
128
+ - app/controllers/active_stix/indicators_controller.rb
129
+ - app/controllers/active_stix/intrusion_sets_controller.rb
130
+ - app/controllers/active_stix/kill_chain_phases_controller.rb
131
+ - app/controllers/active_stix/kill_chains_controller.rb
132
+ - app/controllers/active_stix/malwares_controller.rb
133
+ - app/controllers/active_stix/marking_definitions_controller.rb
134
+ - app/controllers/active_stix/observed_data_controller.rb
135
+ - app/controllers/active_stix/open_vocabularies_controller.rb
136
+ - app/controllers/active_stix/phases_controller.rb
137
+ - app/controllers/active_stix/recipients_controller.rb
138
+ - app/controllers/active_stix/relationships_controller.rb
139
+ - app/controllers/active_stix/reports_controller.rb
140
+ - app/controllers/active_stix/threat_actors_controller.rb
141
+ - app/controllers/active_stix/tools_controller.rb
142
+ - app/controllers/active_stix/urls_controller.rb
143
+ - app/controllers/active_stix/user_accounts_controller.rb
144
+ - app/controllers/active_stix/users_controller.rb
145
+ - app/helpers/active_stix/application_helper.rb
146
+ - app/helpers/active_stix/artifacts_helper.rb
147
+ - app/helpers/active_stix/attack_patterns_helper.rb
148
+ - app/helpers/active_stix/bcc_refs_helper.rb
149
+ - app/helpers/active_stix/bundled_objects_helper.rb
150
+ - app/helpers/active_stix/bundles_helper.rb
151
+ - app/helpers/active_stix/campaigns_helper.rb
152
+ - app/helpers/active_stix/course_of_actions_helper.rb
153
+ - app/helpers/active_stix/cyber_observables_helper.rb
154
+ - app/helpers/active_stix/email_messages_helper.rb
155
+ - app/helpers/active_stix/external_references_helper.rb
156
+ - app/helpers/active_stix/files_helper.rb
157
+ - app/helpers/active_stix/identities_helper.rb
158
+ - app/helpers/active_stix/indicator_labels_helper.rb
159
+ - app/helpers/active_stix/indicators_helper.rb
160
+ - app/helpers/active_stix/intrusion_sets_helper.rb
161
+ - app/helpers/active_stix/kill_chain_phases_helper.rb
162
+ - app/helpers/active_stix/kill_chains_helper.rb
163
+ - app/helpers/active_stix/malwares_helper.rb
164
+ - app/helpers/active_stix/marking_definitions_helper.rb
165
+ - app/helpers/active_stix/observed_data_helper.rb
166
+ - app/helpers/active_stix/open_vocabularies_helper.rb
167
+ - app/helpers/active_stix/phases_helper.rb
168
+ - app/helpers/active_stix/recipients_helper.rb
169
+ - app/helpers/active_stix/relationships_helper.rb
170
+ - app/helpers/active_stix/reports_helper.rb
171
+ - app/helpers/active_stix/threat_actors_helper.rb
172
+ - app/helpers/active_stix/tools_helper.rb
173
+ - app/helpers/active_stix/urls_helper.rb
174
+ - app/helpers/active_stix/users_helper.rb
175
+ - app/jobs/active_stix/application_job.rb
176
+ - app/mailers/active_stix/application_mailer.rb
177
+ - app/models/active_stix/application_record.rb
178
+ - app/models/active_stix/artifact.rb
179
+ - app/models/active_stix/attack_pattern.rb
180
+ - app/models/active_stix/bcc_ref.rb
181
+ - app/models/active_stix/bundle.rb
182
+ - app/models/active_stix/bundled_object.rb
183
+ - app/models/active_stix/campaign.rb
184
+ - app/models/active_stix/cc_ref.rb
185
+ - app/models/active_stix/course_of_action.rb
186
+ - app/models/active_stix/cyber_observable.rb
187
+ - app/models/active_stix/email_address.rb
188
+ - app/models/active_stix/email_message.rb
189
+ - app/models/active_stix/external_reference.rb
190
+ - app/models/active_stix/file.rb
191
+ - app/models/active_stix/identity.rb
192
+ - app/models/active_stix/indicator.rb
193
+ - app/models/active_stix/indicator_label.rb
194
+ - app/models/active_stix/intrusion_set.rb
195
+ - app/models/active_stix/kill_chain.rb
196
+ - app/models/active_stix/kill_chain_phase.rb
197
+ - app/models/active_stix/label.rb
198
+ - app/models/active_stix/label_malware.rb
199
+ - app/models/active_stix/label_report.rb
200
+ - app/models/active_stix/label_tool.rb
201
+ - app/models/active_stix/malware.rb
202
+ - app/models/active_stix/marking_definition.rb
203
+ - app/models/active_stix/markup.rb
204
+ - app/models/active_stix/object_marking.rb
205
+ - app/models/active_stix/observed_datum.rb
206
+ - app/models/active_stix/open_vocabulary.rb
207
+ - app/models/active_stix/phase.rb
208
+ - app/models/active_stix/recipient.rb
209
+ - app/models/active_stix/reference_item.rb
210
+ - app/models/active_stix/relationship.rb
211
+ - app/models/active_stix/report.rb
212
+ - app/models/active_stix/report_object.rb
213
+ - app/models/active_stix/threat_actor.rb
214
+ - app/models/active_stix/to_ref.rb
215
+ - app/models/active_stix/tool.rb
216
+ - app/models/active_stix/url.rb
217
+ - app/models/active_stix/user.rb
218
+ - app/models/active_stix/user_account.rb
219
+ - app/views/active_stix/artifacts/_form.html.erb
220
+ - app/views/active_stix/artifacts/edit.html.erb
221
+ - app/views/active_stix/artifacts/index.html.erb
222
+ - app/views/active_stix/artifacts/new.html.erb
223
+ - app/views/active_stix/artifacts/show.html.erb
224
+ - app/views/active_stix/attack_patterns/_form.html.erb
225
+ - app/views/active_stix/attack_patterns/edit.html.erb
226
+ - app/views/active_stix/attack_patterns/index.html.erb
227
+ - app/views/active_stix/attack_patterns/new.html.erb
228
+ - app/views/active_stix/attack_patterns/show.html.erb
229
+ - app/views/active_stix/bcc_refs/_form.html.erb
230
+ - app/views/active_stix/bcc_refs/edit.html.erb
231
+ - app/views/active_stix/bcc_refs/index.html.erb
232
+ - app/views/active_stix/bcc_refs/new.html.erb
233
+ - app/views/active_stix/bcc_refs/show.html.erb
234
+ - app/views/active_stix/bundles/index.html.erb
235
+ - app/views/active_stix/bundles/show.html.erb
236
+ - app/views/active_stix/campaigns/_form.html.erb
237
+ - app/views/active_stix/campaigns/_stix_campaign.json.jbuilder
238
+ - app/views/active_stix/campaigns/edit.html.erb
239
+ - app/views/active_stix/campaigns/index.html.erb
240
+ - app/views/active_stix/campaigns/index.json.jbuilder
241
+ - app/views/active_stix/campaigns/new.html.erb
242
+ - app/views/active_stix/campaigns/show.html.erb
243
+ - app/views/active_stix/campaigns/show.json.jbuilder
244
+ - app/views/active_stix/email_messages/_form.html.erb
245
+ - app/views/active_stix/email_messages/_stix_email_message.json.jbuilder
246
+ - app/views/active_stix/email_messages/edit.html.erb
247
+ - app/views/active_stix/email_messages/index.html.erb
248
+ - app/views/active_stix/email_messages/index.json.jbuilder
249
+ - app/views/active_stix/email_messages/new.html.erb
250
+ - app/views/active_stix/email_messages/show.html.erb
251
+ - app/views/active_stix/email_messages/show.json.jbuilder
252
+ - app/views/active_stix/files/_form.html.erb
253
+ - app/views/active_stix/files/_stix_file.json.jbuilder
254
+ - app/views/active_stix/files/edit.html.erb
255
+ - app/views/active_stix/files/index.html.erb
256
+ - app/views/active_stix/files/index.json.jbuilder
257
+ - app/views/active_stix/files/new.html.erb
258
+ - app/views/active_stix/files/show.html.erb
259
+ - app/views/active_stix/files/show.json.jbuilder
260
+ - app/views/active_stix/identities/_form.html.erb
261
+ - app/views/active_stix/identities/_individual.html.erb
262
+ - app/views/active_stix/identities/_organization.html.erb
263
+ - app/views/active_stix/identities/_received_email_messages.html.erb
264
+ - app/views/active_stix/identities/_sent_email_messages.html.erb
265
+ - app/views/active_stix/identities/_threat_icons.html.erb
266
+ - app/views/active_stix/identities/edit.html.erb
267
+ - app/views/active_stix/identities/index.html.erb
268
+ - app/views/active_stix/identities/new.html.erb
269
+ - app/views/active_stix/identities/show.html.erb
270
+ - app/views/active_stix/layouts/active_stix/application.html.erb
271
+ - app/views/active_stix/recipients/_form.html.erb
272
+ - app/views/active_stix/recipients/edit.html.erb
273
+ - app/views/active_stix/recipients/index.html.erb
274
+ - app/views/active_stix/recipients/new.html.erb
275
+ - app/views/active_stix/recipients/show.html.erb
276
+ - app/views/active_stix/threat_actors/_form.html.erb
277
+ - app/views/active_stix/threat_actors/_stix_threat_actor.json.jbuilder
278
+ - app/views/active_stix/threat_actors/edit.html.erb
279
+ - app/views/active_stix/threat_actors/flags.html.erb
280
+ - app/views/active_stix/threat_actors/index.html.erb
281
+ - app/views/active_stix/threat_actors/index.json.jbuilder
282
+ - app/views/active_stix/threat_actors/new.html.erb
283
+ - app/views/active_stix/threat_actors/show.html.erb
284
+ - app/views/active_stix/threat_actors/show.json.jbuilder
285
+ - app/views/layouts/active_stix/application.html.erb
286
+ - config/routes.rb
287
+ - db/migrate/20191204200025_create_active_stix_bundled_objects.rb
288
+ - db/migrate/20191204213707_create_active_stix_bundles.rb
289
+ - db/migrate/20191204213802_create_active_stix_campaigns.rb
290
+ - db/migrate/20191204213926_create_active_stix_course_of_actions.rb
291
+ - db/migrate/20191204214020_create_active_stix_cyber_observables.rb
292
+ - db/migrate/20191204214955_create_active_stix_email_messages.rb
293
+ - db/migrate/20191204215029_create_active_stix_external_references.rb
294
+ - db/migrate/20191204215302_create_active_stix_files.rb
295
+ - db/migrate/20191204215419_create_active_stix_identities.rb
296
+ - db/migrate/20191204215542_create_active_stix_indicator_labels.rb
297
+ - db/migrate/20191204215637_create_active_stix_indicators.rb
298
+ - db/migrate/20191204215849_create_active_stix_intrusion_sets.rb
299
+ - db/migrate/20191204215929_create_active_stix_kill_chain_phases.rb
300
+ - db/migrate/20191204215951_create_active_stix_kill_chains.rb
301
+ - db/migrate/20191204220149_create_active_stix_malwares.rb
302
+ - db/migrate/20191204220539_create_active_stix_marking_definitions.rb
303
+ - db/migrate/20191204220853_create_active_stix_observed_data.rb
304
+ - db/migrate/20191204220917_create_active_stix_open_vocabularies.rb
305
+ - db/migrate/20191204220952_create_active_stix_phases.rb
306
+ - db/migrate/20191204221129_create_active_stix_recipients.rb
307
+ - db/migrate/20191204221227_create_active_stix_relationships.rb
308
+ - db/migrate/20191204221323_create_active_stix_report_objects.rb
309
+ - db/migrate/20191204221359_create_active_stix_reports.rb
310
+ - db/migrate/20191204221425_create_active_stix_threat_actors.rb
311
+ - db/migrate/20191204221454_create_active_stix_tools.rb
312
+ - db/migrate/20191204221639_create_active_stix_urls.rb
313
+ - db/migrate/20191204221849_create_active_stix_users.rb
314
+ - db/migrate/20191205182234_create_active_stix_bcc_refs.rb
315
+ - db/migrate/20191205182255_create_active_stix_cc_refs.rb
316
+ - db/migrate/20191205182316_create_active_stix_to_refs.rb
317
+ - db/migrate/20191212203611_add_spec_version_to_bundles.rb
318
+ - db/migrate/20191212215136_create_active_stix_attack_patterns.rb
319
+ - db/migrate/20191212220222_create_active_stix_reference_items.rb
320
+ - db/migrate/20191213135204_create_active_stix_labels.rb
321
+ - db/migrate/20191213140951_create_active_stix_markups.rb
322
+ - db/migrate/20191221210537_fix_observed_data.rb
323
+ - db/migrate/20191221223602_create_active_stix_artifacts.rb
324
+ - db/migrate/20191223075550_change_artifact_ref_to_string.rb
325
+ - db/migrate/20191223154000_add_stix_id_to_email_messages.rb
326
+ - db/migrate/20200114162245_add_labels_to_active_stix_identities.rb
327
+ - db/migrate/20200404223006_add_aliases_to_tools.rb
328
+ - db/migrate/20200404223047_add_aliases_to_attack_patterns.rb
329
+ - db/migrate/20200404223158_add_aliases_to_malwares.rb
330
+ - db/migrate/20200404223210_add_aliases_to_threat_actors.rb
331
+ - lib/active_stix.rb
332
+ - lib/active_stix/engine.rb
333
+ - lib/active_stix/version.rb
334
+ - lib/tasks/active_stix_tasks.rake
335
+ homepage: https://github.com/ActiveTarget/ActiveStix
336
+ licenses:
337
+ - MIT
338
+ metadata: {}
339
+ post_install_message:
340
+ rdoc_options: []
341
+ require_paths:
342
+ - lib
343
+ required_ruby_version: !ruby/object:Gem::Requirement
344
+ requirements:
345
+ - - ">="
346
+ - !ruby/object:Gem::Version
347
+ version: '0'
348
+ required_rubygems_version: !ruby/object:Gem::Requirement
349
+ requirements:
350
+ - - ">="
351
+ - !ruby/object:Gem::Version
352
+ version: '0'
353
+ requirements: []
354
+ rubygems_version: 3.0.3
355
+ signing_key:
356
+ specification_version: 4
357
+ summary: A mountable engine for STIX 2.0 in Rails.
358
+ test_files: []