dradis-calculator_dread 3.12.0 → 3.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/issue_template.md +16 -0
- data/.github/pull_request_template.md +36 -0
- data/CHANGELOG.md +20 -0
- data/app/views/dradis/plugins/calculators/dread/_addons_menu.html.erb +1 -0
- data/app/views/dradis/plugins/calculators/dread/_addons_menu_bs4.html.erb +1 -0
- data/app/views/dradis/plugins/calculators/dread/base/index.html.erb +4 -4
- data/app/views/layouts/dradis/plugins/calculators/dread/base.html.erb +13 -16
- data/lib/dradis/plugins/calculators/dread/gem_version.rb +1 -1
- metadata +7 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: bb92249c2945b261361d44accde2c20a39dda968056f88b77e1426dd61e3fd49
|
4
|
+
data.tar.gz: 8f8c972c646c37d6b8ef9f0bf9654f2d2b1046451e22ef134288f65a92f2970a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 80c024e3865e291ef4a3d2e2c9459db064eb85cc3d450128107c61a8ed56c3bf0145911da5d7165bb420349f9b67069d6ad1f7c4872df5e96fbb02130361d71f
|
7
|
+
data.tar.gz: 000d5d19e0a57e5e8715c6ed4ffe37d9a36df19312603280b329fe3c863a50fdef7da2766cd7b8ab7e4cf2dc1ce82dc85177ef7f852e78d570de6a3d0d9602df
|
@@ -0,0 +1,16 @@
|
|
1
|
+
### Steps to reproduce
|
2
|
+
|
3
|
+
Help us help you, how can we reproduce the problem?
|
4
|
+
|
5
|
+
### Expected behavior
|
6
|
+
Tell us what should happen
|
7
|
+
|
8
|
+
### Actual behavior
|
9
|
+
Tell us what happens instead
|
10
|
+
|
11
|
+
### System configuration
|
12
|
+
**Dradis version**:
|
13
|
+
|
14
|
+
**Ruby version**:
|
15
|
+
|
16
|
+
**OS version**:
|
@@ -0,0 +1,36 @@
|
|
1
|
+
### Summary
|
2
|
+
|
3
|
+
Provide a general description of the code changes in your pull
|
4
|
+
request... were there any bugs you had fixed? If so, mention them. If
|
5
|
+
these bugs have open GitHub issues, be sure to tag them here as well,
|
6
|
+
to keep the conversation linked together.
|
7
|
+
|
8
|
+
|
9
|
+
### Other Information
|
10
|
+
|
11
|
+
If there's anything else that's important and relevant to your pull
|
12
|
+
request, mention that information here. This could include
|
13
|
+
benchmarks, or other information.
|
14
|
+
|
15
|
+
Thanks for contributing to Dradis!
|
16
|
+
|
17
|
+
|
18
|
+
### Copyright assignment
|
19
|
+
|
20
|
+
Collaboration is difficult with commercial closed source but we want
|
21
|
+
to keep as much of the OSS ethos as possible available to users
|
22
|
+
who want to fix it themselves.
|
23
|
+
|
24
|
+
In order to unambiguously own and sell Dradis Framework commercial
|
25
|
+
products, we must have the copyright associated with the entire
|
26
|
+
codebase. Any code you create which is merged must be owned by us.
|
27
|
+
That's not us trying to be a jerks, that's just the way it works.
|
28
|
+
|
29
|
+
Please review the [CONTRIBUTING.md](https://github.com/dradis/dradis-ce/blob/master/CONTRIBUTING.md)
|
30
|
+
file for the details.
|
31
|
+
|
32
|
+
You can delete this section, but the following sentence needs to
|
33
|
+
remain in the PR's description:
|
34
|
+
|
35
|
+
> I assign all rights, including copyright, to any future Dradis
|
36
|
+
> work by myself to Security Roots.
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,23 @@
|
|
1
|
+
## Dradis Framework 3.17 (May, 2020) ##
|
2
|
+
|
3
|
+
* No changes.
|
4
|
+
|
5
|
+
## Dradis Framework 3.16 (February, 2020) ##
|
6
|
+
|
7
|
+
* No changes.
|
8
|
+
|
9
|
+
## Dradis Framework 3.15 (November, 2019) ##
|
10
|
+
|
11
|
+
* No changes.
|
12
|
+
|
13
|
+
## Dradis Framework 3.14 (August, 2019) ##
|
14
|
+
|
15
|
+
* No changes.
|
16
|
+
|
17
|
+
## Dradis Framework 3.13 (June, 2019) ##
|
18
|
+
|
19
|
+
* No changes.
|
20
|
+
|
1
21
|
## Dradis Framework 3.12 (March, 2019) ##
|
2
22
|
|
3
23
|
* No changes.
|
@@ -0,0 +1 @@
|
|
1
|
+
<li><%= link_to 'Risk Calculators - DREAD', dread_calculator.dread_path %></li>
|
@@ -0,0 +1 @@
|
|
1
|
+
<%= link_to 'Risk Calculators - DREAD', dread_calculator.dread_path, class: 'dropdown-item' %>
|
@@ -5,7 +5,7 @@
|
|
5
5
|
<p class="lead">Use this page to calculate the <abbr title="Damage potential, Reproducibility, Exploitability, Affected Users, Discoverability">DREAD</abbr> score of a given finding.</p>
|
6
6
|
|
7
7
|
<div class="row">
|
8
|
-
<div class="
|
8
|
+
<div class="col-4">
|
9
9
|
<h2>Impact score: <span id="impact-score">0</span></h2>
|
10
10
|
<p class="lead text-center">Impact = (Damage + Affected)/2</p>
|
11
11
|
|
@@ -63,7 +63,7 @@
|
|
63
63
|
</tbody>
|
64
64
|
</table>
|
65
65
|
|
66
|
-
<p class="alert alert-
|
66
|
+
<p class="alert alert-danger"><strong>NOTE</strong>: If vulnerability violates PCI compliance it is automatically marked as 3</p>
|
67
67
|
|
68
68
|
<h3>Affected users or systems</h3>
|
69
69
|
<p>How many users or systems will be affected if the vulnerability is exploited?</p>
|
@@ -90,7 +90,7 @@
|
|
90
90
|
</table>
|
91
91
|
</div>
|
92
92
|
|
93
|
-
<div class="
|
93
|
+
<div class="col-4">
|
94
94
|
<h2>Likelihood score: <span id="likelihood-score">0</span></h2>
|
95
95
|
<p class="lead text-center">Likelihood = (Repro + Exploit + Disc)/3</p>
|
96
96
|
|
@@ -190,7 +190,7 @@
|
|
190
190
|
</table>
|
191
191
|
</div>
|
192
192
|
|
193
|
-
<div class="
|
193
|
+
<div class="col-4">
|
194
194
|
<h2>DREAD score: <span id="dread-score">0</span></h2>
|
195
195
|
<p class="lead text-center">DREAD = (Impact + Likelihood)/2</p>
|
196
196
|
<pre id="blob">#[DreadValue]#
|
@@ -9,25 +9,22 @@
|
|
9
9
|
</head>
|
10
10
|
<body class="authenticated">
|
11
11
|
<div class="container">
|
12
|
-
<
|
13
|
-
<
|
14
|
-
|
15
|
-
<
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
</div>
|
23
|
-
</div>
|
24
|
-
|
12
|
+
<nav class="navbar navbar-light bg-light">
|
13
|
+
<a href="javascript:void(0)" class="navbar-brand">DREAD score calculator</a>
|
14
|
+
<ul class="navbar-nav pull-right">
|
15
|
+
<li class="nav-item">
|
16
|
+
<%= link_to main_app.root_path, class: 'nav-link' do %>
|
17
|
+
Back to the app →
|
18
|
+
<% end %>
|
19
|
+
</li>
|
20
|
+
</ul>
|
21
|
+
</nav>
|
25
22
|
<%= yield%>
|
26
23
|
</div>
|
27
24
|
|
28
|
-
<div class="
|
29
|
-
|
30
|
-
</div>
|
25
|
+
<div class="card d-none">
|
26
|
+
<%= debug main_app.methods(false).sort %>
|
27
|
+
</div>
|
31
28
|
<%= javascript_include_tag 'dradis/plugins/calculators/dread/manifests/application', 'data-turbolinks-track' => true %>
|
32
29
|
</body>
|
33
30
|
</html>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dradis-calculator_dread
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.17.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Martin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-06-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dradis-plugins
|
@@ -59,6 +59,8 @@ executables: []
|
|
59
59
|
extensions: []
|
60
60
|
extra_rdoc_files: []
|
61
61
|
files:
|
62
|
+
- ".github/issue_template.md"
|
63
|
+
- ".github/pull_request_template.md"
|
62
64
|
- ".gitignore"
|
63
65
|
- CHANGELOG.md
|
64
66
|
- CONTRIBUTING.md
|
@@ -70,6 +72,8 @@ files:
|
|
70
72
|
- app/assets/javascripts/dradis/plugins/calculators/dread/manifests/application.js.coffee
|
71
73
|
- app/assets/stylesheets/dradis/plugins/calculators/dread/manifests/application.css.scss
|
72
74
|
- app/controllers/dradis/plugins/calculators/dread/base_controller.rb
|
75
|
+
- app/views/dradis/plugins/calculators/dread/_addons_menu.html.erb
|
76
|
+
- app/views/dradis/plugins/calculators/dread/_addons_menu_bs4.html.erb
|
73
77
|
- app/views/dradis/plugins/calculators/dread/base/index.html.erb
|
74
78
|
- app/views/layouts/dradis/plugins/calculators/dread/base.html.erb
|
75
79
|
- config/routes.rb
|
@@ -97,8 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
97
101
|
- !ruby/object:Gem::Version
|
98
102
|
version: '0'
|
99
103
|
requirements: []
|
100
|
-
|
101
|
-
rubygems_version: 2.6.12
|
104
|
+
rubygems_version: 3.0.1
|
102
105
|
signing_key:
|
103
106
|
specification_version: 4
|
104
107
|
summary: This plugin adds a DREAD score calculator to Dradis.
|