active_attack 0.1.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +50 -0
  4. data/Rakefile +32 -0
  5. data/app/assets/config/active_attack_manifest.js +2 -0
  6. data/app/assets/images/active_attack/logo.png +0 -0
  7. data/app/assets/javascripts/active_attack/application.js +8 -0
  8. data/app/assets/javascripts/active_attack/controllers/campaign_controller.es6 +23 -0
  9. data/app/assets/javascripts/active_attack/controllers/matrix_controller.es6 +23 -0
  10. data/app/assets/javascripts/active_attack/controllers/playbooks_controller.es6 +28 -0
  11. data/app/assets/javascripts/active_attack/initializers/stimulus.coffee +2 -0
  12. data/app/assets/stylesheets/active_attack/application.css +15 -0
  13. data/app/assets/stylesheets/active_attack/data_sources.css +4 -0
  14. data/app/assets/stylesheets/active_attack/detections.css +4 -0
  15. data/app/assets/stylesheets/active_attack/difficulty_for_adversaries.css +4 -0
  16. data/app/assets/stylesheets/active_attack/matrices.css +4 -0
  17. data/app/assets/stylesheets/active_attack/permissions_requireds.css +4 -0
  18. data/app/assets/stylesheets/active_attack/platforms.css +4 -0
  19. data/app/assets/stylesheets/active_attack/playbooks.css +400 -0
  20. data/app/assets/stylesheets/active_attack/tactics.css +4 -0
  21. data/app/assets/stylesheets/active_attack/versions.css +4 -0
  22. data/app/controllers/active_attack/application_controller.rb +5 -0
  23. data/app/controllers/active_attack/matrices_controller.rb +82 -0
  24. data/app/controllers/active_attack/playbooks_controller.rb +89 -0
  25. data/app/controllers/active_attack/tactics_controller.rb +62 -0
  26. data/app/helpers/active_attack/application_helper.rb +4 -0
  27. data/app/helpers/active_attack/playbooks_helper.rb +21 -0
  28. data/app/helpers/active_attack/tactics_helper.rb +4 -0
  29. data/app/jobs/active_attack/application_job.rb +4 -0
  30. data/app/mailers/active_attack/application_mailer.rb +6 -0
  31. data/app/models/active_attack/active_attack.rb +7 -0
  32. data/app/models/active_attack/application_record.rb +5 -0
  33. data/app/models/active_attack/build.rb +6 -0
  34. data/app/models/active_attack/data_source.rb +15 -0
  35. data/app/models/active_attack/detection.rb +14 -0
  36. data/app/models/active_attack/difficulty_for_adversary.rb +10 -0
  37. data/app/models/active_attack/matrix.rb +82 -0
  38. data/app/models/active_attack/permissions_required.rb +14 -0
  39. data/app/models/active_attack/platform.rb +16 -0
  40. data/app/models/active_attack/playbook.rb +177 -0
  41. data/app/models/active_attack/tactic.rb +61 -0
  42. data/app/models/active_attack/version.rb +14 -0
  43. data/app/overrides/models/active_stix/active_stix_override.rb +7 -0
  44. data/app/overrides/models/active_stix/attack_pattern_override.rb +75 -0
  45. data/app/overrides/models/active_stix/bundle_override.rb +18 -0
  46. data/app/overrides/models/active_stix/malware_override.rb +40 -0
  47. data/app/overrides/models/active_stix/report_override.rb +18 -0
  48. data/app/overrides/models/active_stix/tool_override.rb +36 -0
  49. data/app/views/active_attack/matrices/_form.html.erb +27 -0
  50. data/app/views/active_attack/matrices/_stix_attack_matrix.json.jbuilder +2 -0
  51. data/app/views/active_attack/matrices/edit.html.erb +6 -0
  52. data/app/views/active_attack/matrices/index.html.erb +16 -0
  53. data/app/views/active_attack/matrices/index.json.jbuilder +1 -0
  54. data/app/views/active_attack/matrices/new.html.erb +5 -0
  55. data/app/views/active_attack/matrices/show.html.erb +33 -0
  56. data/app/views/active_attack/matrices/show.json.jbuilder +1 -0
  57. data/app/views/active_attack/playbooks/_attack_playbook.json.jbuilder +2 -0
  58. data/app/views/active_attack/playbooks/_form.html.erb +32 -0
  59. data/app/views/active_attack/playbooks/edit.html.erb +6 -0
  60. data/app/views/active_attack/playbooks/index.html.erb +38 -0
  61. data/app/views/active_attack/playbooks/index.json.jbuilder +1 -0
  62. data/app/views/active_attack/playbooks/new.html.erb +5 -0
  63. data/app/views/active_attack/playbooks/show.html.erb +70 -0
  64. data/app/views/active_attack/playbooks/show.json.jbuilder +1 -0
  65. data/app/views/active_attack/tactics/_form.html.erb +42 -0
  66. data/app/views/active_attack/tactics/edit.html.erb +6 -0
  67. data/app/views/active_attack/tactics/index.html.erb +35 -0
  68. data/app/views/active_attack/tactics/new.html.erb +5 -0
  69. data/app/views/active_attack/tactics/show.html.erb +29 -0
  70. data/app/views/layouts/active_attack/application.html.erb +15 -0
  71. data/config/routes.rb +11 -0
  72. data/db/migrate/20191211202017_create_active_attack_data_sources.rb +10 -0
  73. data/db/migrate/20191211202101_create_active_attack_detections.rb +10 -0
  74. data/db/migrate/20191211202127_create_active_attack_difficulty_for_adversaries.rb +10 -0
  75. data/db/migrate/20191211202210_create_active_attack_matrices.rb +10 -0
  76. data/db/migrate/20191211202241_create_active_attack_permissions_requireds.rb +9 -0
  77. data/db/migrate/20191211202303_create_active_attack_platforms.rb +10 -0
  78. data/db/migrate/20191211202358_create_active_attack_playbooks.rb +11 -0
  79. data/db/migrate/20191211202448_create_active_attack_versions.rb +10 -0
  80. data/db/migrate/20191212205423_create_active_attack_tactics.rb +14 -0
  81. data/db/migrate/20200405004308_create_active_attack_builds.rb +10 -0
  82. data/db/migrate/20200405005101_add_buildable_type_to_builds.rb +5 -0
  83. data/db/migrate/20200405040306_add_stix_id_to_active_attack_matrices.rb +5 -0
  84. data/db/migrate/20200405040455_add_attributes_to_active_attack_matrices.rb +6 -0
  85. data/db/migrate/20200405041534_add_matrix_ref_to_active_attack_tactics.rb +5 -0
  86. data/db/migrate/20200405041824_add_created_by_ref_to_active_attack_matrices.rb +5 -0
  87. data/db/migrate/20200410170440_add_threat_actor_to_active_attack_playbooks.rb +5 -0
  88. data/lib/active_attack.rb +6 -0
  89. data/lib/active_attack/engine.rb +25 -0
  90. data/lib/active_attack/version.rb +3 -0
  91. data/lib/enterprise-attack.json +145354 -0
  92. data/lib/tasks/active_attack_tasks.rake +4 -0
  93. metadata +238 -0
@@ -0,0 +1,4 @@
1
+ # desc "Explaining what the task does"
2
+ # task :active_attack do
3
+ # # Task goes here
4
+ # end
metadata ADDED
@@ -0,0 +1,238 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: active_attack
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.14
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.1
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.1
27
+ - !ruby/object:Gem::Dependency
28
+ name: jquery-rails
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '4.3'
34
+ - - ">="
35
+ - !ruby/object:Gem::Version
36
+ version: 4.3.3
37
+ type: :runtime
38
+ prerelease: false
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - "~>"
42
+ - !ruby/object:Gem::Version
43
+ version: '4.3'
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: 4.3.3
47
+ - !ruby/object:Gem::Dependency
48
+ name: active_stix
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
+ - !ruby/object:Gem::Dependency
62
+ name: bootstrap
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: 4.3.1
68
+ type: :runtime
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - "~>"
73
+ - !ruby/object:Gem::Version
74
+ version: 4.3.1
75
+ - !ruby/object:Gem::Dependency
76
+ name: rails-ujs
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: 0.1.0
82
+ type: :runtime
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - "~>"
87
+ - !ruby/object:Gem::Version
88
+ version: 0.1.0
89
+ - !ruby/object:Gem::Dependency
90
+ name: sprockets-es6
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ version: '0'
96
+ type: :runtime
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - ">="
101
+ - !ruby/object:Gem::Version
102
+ version: '0'
103
+ - !ruby/object:Gem::Dependency
104
+ name: pg
105
+ requirement: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - ">="
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ type: :development
111
+ prerelease: false
112
+ version_requirements: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - ">="
115
+ - !ruby/object:Gem::Version
116
+ version: '0'
117
+ description: Rails Engine for MITRE ATT&CK
118
+ email:
119
+ - adalton@ihmc.us
120
+ executables: []
121
+ extensions: []
122
+ extra_rdoc_files: []
123
+ files:
124
+ - MIT-LICENSE
125
+ - README.md
126
+ - Rakefile
127
+ - app/assets/config/active_attack_manifest.js
128
+ - app/assets/images/active_attack/logo.png
129
+ - app/assets/javascripts/active_attack/application.js
130
+ - app/assets/javascripts/active_attack/controllers/campaign_controller.es6
131
+ - app/assets/javascripts/active_attack/controllers/matrix_controller.es6
132
+ - app/assets/javascripts/active_attack/controllers/playbooks_controller.es6
133
+ - app/assets/javascripts/active_attack/initializers/stimulus.coffee
134
+ - app/assets/stylesheets/active_attack/application.css
135
+ - app/assets/stylesheets/active_attack/data_sources.css
136
+ - app/assets/stylesheets/active_attack/detections.css
137
+ - app/assets/stylesheets/active_attack/difficulty_for_adversaries.css
138
+ - app/assets/stylesheets/active_attack/matrices.css
139
+ - app/assets/stylesheets/active_attack/permissions_requireds.css
140
+ - app/assets/stylesheets/active_attack/platforms.css
141
+ - app/assets/stylesheets/active_attack/playbooks.css
142
+ - app/assets/stylesheets/active_attack/tactics.css
143
+ - app/assets/stylesheets/active_attack/versions.css
144
+ - app/controllers/active_attack/application_controller.rb
145
+ - app/controllers/active_attack/matrices_controller.rb
146
+ - app/controllers/active_attack/playbooks_controller.rb
147
+ - app/controllers/active_attack/tactics_controller.rb
148
+ - app/helpers/active_attack/application_helper.rb
149
+ - app/helpers/active_attack/playbooks_helper.rb
150
+ - app/helpers/active_attack/tactics_helper.rb
151
+ - app/jobs/active_attack/application_job.rb
152
+ - app/mailers/active_attack/application_mailer.rb
153
+ - app/models/active_attack/active_attack.rb
154
+ - app/models/active_attack/application_record.rb
155
+ - app/models/active_attack/build.rb
156
+ - app/models/active_attack/data_source.rb
157
+ - app/models/active_attack/detection.rb
158
+ - app/models/active_attack/difficulty_for_adversary.rb
159
+ - app/models/active_attack/matrix.rb
160
+ - app/models/active_attack/permissions_required.rb
161
+ - app/models/active_attack/platform.rb
162
+ - app/models/active_attack/playbook.rb
163
+ - app/models/active_attack/tactic.rb
164
+ - app/models/active_attack/version.rb
165
+ - app/overrides/models/active_stix/active_stix_override.rb
166
+ - app/overrides/models/active_stix/attack_pattern_override.rb
167
+ - app/overrides/models/active_stix/bundle_override.rb
168
+ - app/overrides/models/active_stix/malware_override.rb
169
+ - app/overrides/models/active_stix/report_override.rb
170
+ - app/overrides/models/active_stix/tool_override.rb
171
+ - app/views/active_attack/matrices/_form.html.erb
172
+ - app/views/active_attack/matrices/_stix_attack_matrix.json.jbuilder
173
+ - app/views/active_attack/matrices/edit.html.erb
174
+ - app/views/active_attack/matrices/index.html.erb
175
+ - app/views/active_attack/matrices/index.json.jbuilder
176
+ - app/views/active_attack/matrices/new.html.erb
177
+ - app/views/active_attack/matrices/show.html.erb
178
+ - app/views/active_attack/matrices/show.json.jbuilder
179
+ - app/views/active_attack/playbooks/_attack_playbook.json.jbuilder
180
+ - app/views/active_attack/playbooks/_form.html.erb
181
+ - app/views/active_attack/playbooks/edit.html.erb
182
+ - app/views/active_attack/playbooks/index.html.erb
183
+ - app/views/active_attack/playbooks/index.json.jbuilder
184
+ - app/views/active_attack/playbooks/new.html.erb
185
+ - app/views/active_attack/playbooks/show.html.erb
186
+ - app/views/active_attack/playbooks/show.json.jbuilder
187
+ - app/views/active_attack/tactics/_form.html.erb
188
+ - app/views/active_attack/tactics/edit.html.erb
189
+ - app/views/active_attack/tactics/index.html.erb
190
+ - app/views/active_attack/tactics/new.html.erb
191
+ - app/views/active_attack/tactics/show.html.erb
192
+ - app/views/layouts/active_attack/application.html.erb
193
+ - config/routes.rb
194
+ - db/migrate/20191211202017_create_active_attack_data_sources.rb
195
+ - db/migrate/20191211202101_create_active_attack_detections.rb
196
+ - db/migrate/20191211202127_create_active_attack_difficulty_for_adversaries.rb
197
+ - db/migrate/20191211202210_create_active_attack_matrices.rb
198
+ - db/migrate/20191211202241_create_active_attack_permissions_requireds.rb
199
+ - db/migrate/20191211202303_create_active_attack_platforms.rb
200
+ - db/migrate/20191211202358_create_active_attack_playbooks.rb
201
+ - db/migrate/20191211202448_create_active_attack_versions.rb
202
+ - db/migrate/20191212205423_create_active_attack_tactics.rb
203
+ - db/migrate/20200405004308_create_active_attack_builds.rb
204
+ - db/migrate/20200405005101_add_buildable_type_to_builds.rb
205
+ - db/migrate/20200405040306_add_stix_id_to_active_attack_matrices.rb
206
+ - db/migrate/20200405040455_add_attributes_to_active_attack_matrices.rb
207
+ - db/migrate/20200405041534_add_matrix_ref_to_active_attack_tactics.rb
208
+ - db/migrate/20200405041824_add_created_by_ref_to_active_attack_matrices.rb
209
+ - db/migrate/20200410170440_add_threat_actor_to_active_attack_playbooks.rb
210
+ - lib/active_attack.rb
211
+ - lib/active_attack/engine.rb
212
+ - lib/active_attack/version.rb
213
+ - lib/enterprise-attack.json
214
+ - lib/tasks/active_attack_tasks.rake
215
+ homepage: https://github.com/ActiveTarget/ActiveAttack
216
+ licenses:
217
+ - MIT
218
+ metadata: {}
219
+ post_install_message:
220
+ rdoc_options: []
221
+ require_paths:
222
+ - lib
223
+ required_ruby_version: !ruby/object:Gem::Requirement
224
+ requirements:
225
+ - - ">="
226
+ - !ruby/object:Gem::Version
227
+ version: '0'
228
+ required_rubygems_version: !ruby/object:Gem::Requirement
229
+ requirements:
230
+ - - ">="
231
+ - !ruby/object:Gem::Version
232
+ version: '0'
233
+ requirements: []
234
+ rubygems_version: 3.1.2
235
+ signing_key:
236
+ specification_version: 4
237
+ summary: Rails Engine for MITRE ATT&CK
238
+ test_files: []