dradis-calculator_cvss 3.16.0 → 3.21.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +27 -3
- data/app/assets/stylesheets/dradis/plugins/calculators/cvss/manifests/application.css.scss +1 -1
- data/app/controllers/dradis/plugins/calculators/cvss/issues_controller.rb +1 -1
- data/app/views/dradis/plugins/calculators/cvss/_addons_menu.html.erb +1 -1
- data/app/views/layouts/dradis/plugins/calculators/cvss/base.html.erb +1 -1
- data/lib/dradis/plugins/calculators/cvss/engine.rb +5 -1
- data/lib/dradis/plugins/calculators/cvss/gem_version.rb +1 -1
- metadata +6 -7
- data/app/views/dradis/plugins/calculators/cvss/_addons_menu_bs4.html.erb +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e4134e4aee4bb92f93537a13ea9f5c9cd032caa502ca5de4cc5ed6886b94caf5
|
4
|
+
data.tar.gz: 92120c12a86fce7ed465dab3b3de43800ad6236cb145c23e0bfbe869d6a28c92
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77c7c8421048311b97dc7211cbbefbae79ef583f6aefaff548f796858d5228bf2c636e10b13dada2abe9757dc448685e91c6fad5dd6d2f746023ffb7a778a5db
|
7
|
+
data.tar.gz: c075cd74bb9f94d464988f5a8263687cf007c26e9a7d420a65c2cc161f9520bd344bd292d657c5a173595b0f904d55e837c55b2042af148bad0b9116f5e5eb34
|
data/CHANGELOG.md
CHANGED
@@ -1,14 +1,38 @@
|
|
1
|
-
|
1
|
+
## Dradis Framework 3.21 (February, 2021) ##
|
2
|
+
|
3
|
+
* Specify exact js and css file name when precompiling assets.
|
4
|
+
|
5
|
+
## Dradis Framework 3.20 (December, 2020) ##
|
6
|
+
|
7
|
+
* Use Bootstrap gem vs vendored assets.
|
8
|
+
|
9
|
+
|
10
|
+
## Dradis Framework 3.19 (September, 2020) ##
|
11
|
+
|
12
|
+
* No changes.
|
13
|
+
|
14
|
+
|
15
|
+
## Dradis Framework 3.18 (July, 2020) ##
|
16
|
+
|
17
|
+
* No changes.
|
18
|
+
|
19
|
+
|
20
|
+
## Dradis Framework 3.17 (May, 2020) ##
|
21
|
+
|
22
|
+
* Update REGEX reference for compatibility.
|
23
|
+
|
24
|
+
|
25
|
+
## Dradis Framework 3.16 (February, 2020) ##
|
2
26
|
|
3
27
|
* Update for compatibility with Tylium
|
4
28
|
|
5
29
|
|
6
|
-
|
30
|
+
## Dradis Framework 3.15 (November, 2019) ##
|
7
31
|
|
8
32
|
* No changes.
|
9
33
|
|
10
34
|
|
11
|
-
|
35
|
+
## Dradis Framework 3.14 (August, 2019) ##
|
12
36
|
|
13
37
|
* No changes.
|
14
38
|
|
@@ -7,7 +7,7 @@ module Dradis::Plugins::Calculators::CVSS
|
|
7
7
|
end
|
8
8
|
|
9
9
|
def update
|
10
|
-
cvss_fields = Hash[ *params[:cvss_fields].scan(
|
10
|
+
cvss_fields = Hash[ *params[:cvss_fields].scan(FieldParser::FIELDS_REGEX).flatten.map(&:strip) ]
|
11
11
|
cvss_fields.each do |name, value|
|
12
12
|
@issue.set_field(name, value)
|
13
13
|
end
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
<%= link_to 'Risk Calculators - CVSSv3', cvss_calculator.calculators_cvss_path, class: 'dropdown-item', data: { turbolinks: false } %>
|
@@ -14,7 +14,7 @@
|
|
14
14
|
<a href="javascript:void(0)" class="navbar-brand">CVSS score calculator</a>
|
15
15
|
<ul class="navbar-nav pull-right">
|
16
16
|
<li class="nav-item">
|
17
|
-
<%= link_to main_app.root_path, class: 'nav-link' do %>
|
17
|
+
<%= link_to main_app.root_path, class: 'nav-link', data: { turbolinks: false } do %>
|
18
18
|
Back to the app →
|
19
19
|
<% end %>
|
20
20
|
</li>
|
@@ -7,7 +7,11 @@ module Dradis::Plugins::Calculators::CVSS
|
|
7
7
|
description 'Risk Calculator: CVSSv3'
|
8
8
|
|
9
9
|
initializer 'calculator_cvss.asset_precompile_paths' do |app|
|
10
|
-
app.config.assets.precompile += [
|
10
|
+
app.config.assets.precompile += [
|
11
|
+
'dradis/plugins/calculators/cvss/manifests/application.css',
|
12
|
+
'dradis/plugins/calculators/cvss/manifests/application.js',
|
13
|
+
'dradis/plugins/calculators/cvss/manifests/tylium.js'
|
14
|
+
]
|
11
15
|
end
|
12
16
|
|
13
17
|
initializer "calculator_cvss.inflections" do |app|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dradis-calculator_cvss
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.21.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Martin
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-02-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dradis-plugins
|
@@ -77,7 +77,6 @@ files:
|
|
77
77
|
- app/controllers/dradis/plugins/calculators/cvss/issues_controller.rb
|
78
78
|
- app/models/dradis/plugins/calculators/cvss/v3.rb
|
79
79
|
- app/views/dradis/plugins/calculators/cvss/_addons_menu.html.erb
|
80
|
-
- app/views/dradis/plugins/calculators/cvss/_addons_menu_bs4.html.erb
|
81
80
|
- app/views/dradis/plugins/calculators/cvss/base/_base.html.erb
|
82
81
|
- app/views/dradis/plugins/calculators/cvss/base/_environmental.html.erb
|
83
82
|
- app/views/dradis/plugins/calculators/cvss/base/_temporal.html.erb
|
@@ -96,7 +95,7 @@ homepage: http://dradisframework.org
|
|
96
95
|
licenses:
|
97
96
|
- GPL-2
|
98
97
|
metadata: {}
|
99
|
-
post_install_message:
|
98
|
+
post_install_message:
|
100
99
|
rdoc_options: []
|
101
100
|
require_paths:
|
102
101
|
- lib
|
@@ -111,8 +110,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
111
110
|
- !ruby/object:Gem::Version
|
112
111
|
version: '0'
|
113
112
|
requirements: []
|
114
|
-
rubygems_version: 3.
|
115
|
-
signing_key:
|
113
|
+
rubygems_version: 3.2.4
|
114
|
+
signing_key:
|
116
115
|
specification_version: 4
|
117
116
|
summary: This plugin adds a CVSSv3 score calculator to Dradis.
|
118
117
|
test_files: []
|
@@ -1 +0,0 @@
|
|
1
|
-
<%= link_to 'Risk Calculators - CVSSv3', cvss_calculator.calculators_cvss_path, class: 'dropdown-item' %>
|