dradis-calculator_dread 4.8.0 → 4.10.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 29dde17e9d1caaf8492db3aea2135a3db36a5405b0a465abc8497879b359c763
4
- data.tar.gz: f1e991483a41b004eca49ce50c4ff7af6f4740972fb021ae29e73595f5137294
3
+ metadata.gz: 2cad938676213a89866486dbb101d2482dbc1e75ed40b7daed988cdd71fb1e83
4
+ data.tar.gz: e846f35b12ba19c8ef61ff701ecd1af8a13db8f0b55a6cc64ebab4ef6469c4b4
5
5
  SHA512:
6
- metadata.gz: f96875a31f78700d0d2bf9cf9e0da0e6b6861febfc518e526013072740af7eeef938535b2dc6b72b0222f98bcd275912193e034aae18f55be1318254ae7d39e8
7
- data.tar.gz: 6badb6dcdd94260db4f408fb3b9d291a20f39dd357f80eb0fa25ccc9d25e1acfe13a7ce8a8728877920d753db15622128c031ca9e09d8fd56ff27c491ac10f52
6
+ metadata.gz: 700d475b8205a2546f507857d76ab6c84d2c4bfef62829a235474420d117fe7b081ba009785ea76f02a766341ed3accf8ac6ee3378609daab4a03e763b7ad358
7
+ data.tar.gz: da6599774cc4b54b5e8277314b456722ddf8dad0147ac163ca55f8e67f00d313fdb59cf996faf94266b83fba427201a37015df795b9a0c5eb0687b15f88f3734
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ v4.10.0 (September 2023)
2
+ - Update views for compatibility with Font Awesome 6
3
+ - Update gemspec links
4
+
5
+ v4.9.0 (June 2023)
6
+ - Update views for compatibility with Bootstrap 5
7
+
1
8
  v4.8.0 (April 2023)
2
9
  - No changes
3
10
 
@@ -34,7 +34,7 @@
34
34
  <tr>
35
35
  <td><input type="radio" name="exploit" value="0" <%= 'checked' if @dread_vector['E'] == 0 %>/> 0</td>
36
36
  <td>
37
- <ul>
37
+ <ul class="m-0 p-0">
38
38
  <li>Advanced programming and networking knowledge</li>
39
39
  <li>Custom or advanced attack tools</li>
40
40
  <li>Depends on other vulnerabilities being present which have not been discovered</li>
@@ -48,7 +48,7 @@
48
48
  <tr>
49
49
  <td><input type="radio" name="exploit" value="2" <%= 'checked' if @dread_vector['E'] == 2 %>/> 2</td>
50
50
  <td>
51
- <ul>
51
+ <ul class="m-0 p-0">
52
52
  <li>Tool or malware is available on the Internet</li>
53
53
  <li>Exploit is easily performed</li>
54
54
  </ul>
@@ -5,18 +5,18 @@
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="col-8">
8
+ <div class="col-lg-8 mb-5">
9
9
  <h2>Impact score: <span id="impact-score">0</span></h2>
10
10
  <%= render 'dradis/plugins/calculators/dread/base/impact' %>
11
11
 
12
- <h2>Likelihood score: <span id="likelihood-score">0</span></h2>
12
+ <h2 class="mt-5">Likelihood score: <span id="likelihood-score">0</span></h2>
13
13
  <%= render 'dradis/plugins/calculators/dread/base/likelihood' %>
14
14
  </div>
15
15
 
16
- <div class="col-4">
16
+ <div class="col-lg-4">
17
17
  <h2>DREAD score: <span id="dread-score">0</span></h2>
18
18
  <p class="lead text-center">DREAD = (Impact + Likelihood)/2</p>
19
- <textarea class="form-control" name="dread_fields" rows="28" style="width:95%">#[DreadValue]#
19
+ <textarea class="form-control" name="dread_fields" rows="28">#[DreadValue]#
20
20
  N/A
21
21
 
22
22
  #[Damage]#
@@ -4,7 +4,7 @@
4
4
  <h4 class="header-underline">DREAD Risk Scoring -
5
5
  <span class="actions">
6
6
  <%= link_to dread_calculator.dread_project_issue_path(current_project, @issue) do %>
7
- <i class="fa fa-pencil"></i> Edit
7
+ <i class="fa-solid fa-pencil"></i> Edit
8
8
  <% end %>
9
9
  </h4>
10
10
 
@@ -1,5 +1,5 @@
1
1
  <% if Dradis::Plugins::Calculators::DREAD::Engine.settings.show.to_i == 1 %>
2
2
  <li class="nav-item">
3
- <a href="#dread-tab" data-toggle="tab" class="nav-link"><i class="fa fa-calculator"></i> DREAD</a>
3
+ <a href="#dread-tab" data-bs-toggle="tab" class="nav-link"><i class="fa-solid fa-calculator"></i> DREAD</a>
4
4
  </li>
5
5
  <% end %>
@@ -13,13 +13,13 @@
13
13
 
14
14
  <ul class="nav nav-pills w-100" id="cvss-tabs">
15
15
  <li class="nav-item">
16
- <a href="#dread-edit-impact" data-toggle="pill" class="nav-link active">Impact: <span id="impact-score">0</span></a>
16
+ <a href="#dread-edit-impact" data-bs-toggle="pill" class="nav-link active">Impact: <span id="impact-score">0</span></a>
17
17
  </li>
18
18
  <li class="nav-item">
19
- <a href="#dread-edit-likelihood" data-toggle="pill" class="nav-link">Likelihood: <span id="likelihood-score">0</span></a>
19
+ <a href="#dread-edit-likelihood" data-bs-toggle="pill" class="nav-link">Likelihood: <span id="likelihood-score">0</span></a>
20
20
  </li>
21
21
  <li class="nav-item pull-right">
22
- <a href="#dread-edit-result" data-toggle="pill" class="nav-link">Result: <span id="dread-score">0</span></a>
22
+ <a href="#dread-edit-result" data-bs-toggle="pill" class="nav-link">Result: <span id="dread-score">0</span></a>
23
23
  </li>
24
24
  </ul>
25
25
 
@@ -34,7 +34,7 @@
34
34
  <div class="tab-pane" id="dread-edit-result">
35
35
  <p class="lead text-center">DREAD = (Impact + Likelihood)/2</p>
36
36
 
37
- <textarea class="form-control" name="dread_fields" rows="10" style="width:95%">#[DreadValue]#
37
+ <textarea class="form-control" name="dread_fields" rows="10">#[DreadValue]#
38
38
  N/A
39
39
 
40
40
 
@@ -10,7 +10,7 @@
10
10
  </head>
11
11
  <body class="authenticated">
12
12
  <div class="container">
13
- <nav class="navbar navbar-light bg-light">
13
+ <nav class="navbar">
14
14
  <a href="javascript:void(0)" class="navbar-brand">DREAD score calculator</a>
15
15
  <ul class="navbar-nav pull-right">
16
16
  <li class="nav-item">
@@ -4,7 +4,7 @@ require 'dradis/plugins/calculators/dread/version'
4
4
 
5
5
  # Describe your gem and declare its dependencies:
6
6
  Gem::Specification.new do |spec|
7
- spec.platform = Gem::Platform::RUBY
7
+ spec.platform = Gem::Platform::RUBY
8
8
  spec.name = 'dradis-calculator_dread'
9
9
  spec.version = Dradis::Plugins::Calculators::DREAD::VERSION::STRING
10
10
  spec.summary = 'This plugin adds a DREAD score calculator to Dradis.'
@@ -13,14 +13,12 @@ Gem::Specification.new do |spec|
13
13
  spec.license = 'GPL-2'
14
14
 
15
15
  spec.authors = ['Daniel Martin']
16
- spec.email = ['etd@nomejortu.com']
17
- spec.homepage = 'http://dradisframework.org'
16
+ spec.homepage = 'https://dradis.com/support/guides/projects/calculators.html'
18
17
 
19
18
  spec.files = `git ls-files`.split($\)
20
- spec.executables = spec.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
19
+ spec.executables = spec.files.grep(%r{^bin/}).map { |f| File.basename(f) }
21
20
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
22
21
 
23
-
24
22
  # By not including Rails as a dependency, we can use the gem with different
25
23
  # versions of Rails (a sure recipe for disaster, I'm sure), which is needed
26
24
  # until we bump Dradis Pro to 4.1.
@@ -9,7 +9,7 @@ module Dradis
9
9
 
10
10
  module VERSION
11
11
  MAJOR = 4
12
- MINOR = 8
12
+ MINOR = 10
13
13
  TINY = 0
14
14
  PRE = nil
15
15
 
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: 4.8.0
4
+ version: 4.10.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: 2023-04-12 00:00:00.000000000 Z
11
+ date: 2023-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dradis-plugins
@@ -53,8 +53,7 @@ dependencies:
53
53
  - !ruby/object:Gem::Version
54
54
  version: '10.0'
55
55
  description: Display a DREAD score calculator in Dradis Framework.
56
- email:
57
- - etd@nomejortu.com
56
+ email:
58
57
  executables: []
59
58
  extensions: []
60
59
  extra_rdoc_files: []
@@ -90,7 +89,7 @@ files:
90
89
  - lib/dradis/plugins/calculators/dread/engine.rb
91
90
  - lib/dradis/plugins/calculators/dread/gem_version.rb
92
91
  - lib/dradis/plugins/calculators/dread/version.rb
93
- homepage: http://dradisframework.org
92
+ homepage: https://dradis.com/support/guides/projects/calculators.html
94
93
  licenses:
95
94
  - GPL-2
96
95
  metadata: {}