dradis-calculator_cvss 4.9.0 → 4.11.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: b6db94136fad48779b42b1de7e2eed91f2ee31f6ec967ee4980a989230ee50bb
4
- data.tar.gz: c31893841640333942f54d4d91d603a2028ee63820c2236acf07636e2f869a94
3
+ metadata.gz: d6acd6e29e8fa4309712a19174e16c7eb93dcb274d5939b66b12dc32f415cafb
4
+ data.tar.gz: 736e35f1882e65a535b27ec62854310b01ff6366107dc5daf1e2e42d5f9c365e
5
5
  SHA512:
6
- metadata.gz: 0c4686cb1912a6bac3c8ea876d2f61300270baa8ade472d207122e9d33c1cde9535701ca5b11e8fd8433a5e931b3bf841e5a55c0bf06eb88d620d1a4eed82fe5
7
- data.tar.gz: eca5710c781b1c2897308c75408cbfffbafef0a833ac8bb0b7e0b41da65ea098fb3447035478bf0d23c684f850050ee4c63cf80279a4a351867d278b3ef16abd
6
+ metadata.gz: 32069f876d21f11181880564be41c990e41810865e6ecd8a8553e43c37830fa18fae4925f292cca32697e734fe7b7c11896c086cd41865badeb87c3d60656d3e
7
+ data.tar.gz: fa54b045f546487fc46e9f94a4109f312b3d2ae1d54da87b97ede1e588f45e948c8eea3dcbe815bb31e8208a4c519a9448f99d6bede105459726cc9b8095722f
@@ -1,3 +1,5 @@
1
+ Please review [CONTRIBUTING.md](https://github.com/dradis/dradis-ce/blob/develop/CONTRIBUTING.md) and remove this line.
2
+
1
3
  ### Summary
2
4
 
3
5
  Provide a general description of the code changes in your pull
@@ -6,6 +8,11 @@ these bugs have open GitHub issues, be sure to tag them here as well,
6
8
  to keep the conversation linked together.
7
9
 
8
10
 
11
+ ### Testing Steps
12
+
13
+ Provide steps to test functionality, described in detail for someone not familiar with this part of the application / code base
14
+
15
+
9
16
  ### Other Information
10
17
 
11
18
  If there's anything else that's important and relevant to your pull
@@ -26,11 +33,13 @@ products, we must have the copyright associated with the entire
26
33
  codebase. Any code you create which is merged must be owned by us.
27
34
  That's not us trying to be a jerks, that's just the way it works.
28
35
 
29
- Please review the [CONTRIBUTING.md](https://github.com/dradis/dradis-ce/blob/master/CONTRIBUTING.md)
30
- file for the details.
31
-
32
36
  You can delete this section, but the following sentence needs to
33
37
  remain in the PR's description:
34
38
 
35
39
  > I assign all rights, including copyright, to any future Dradis
36
40
  > work by myself to Security Roots.
41
+
42
+ ### Check List
43
+
44
+ - [ ] Added a CHANGELOG entry
45
+ - [ ] Added specs
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ v4.11.0 (January 2024)
2
+ - No changes
3
+
4
+ v4.10.0 (September 2023)
5
+ - Update gemspec links
6
+ - Update views for compatibility with Font Awesome 6
7
+
1
8
  v4.9.0 (June 2023)
2
9
  - Update views for compatibility with Bootstrap 5
3
10
 
data/README.md CHANGED
@@ -22,12 +22,12 @@ Restart your Dradis server and you should be good to go.
22
22
 
23
23
  ## More information
24
24
 
25
- See the Dradis Framework's [README.md](https://github.com/dradis/dradisframework/blob/master/README.md)
25
+ See the Dradis Framework's [README.md](https://github.com/dradis/dradis-ce/blob/develop/README.md)
26
26
 
27
27
 
28
28
  ## Contributing
29
29
 
30
- See the Dradis Framework's [CONTRIBUTING.md](https://github.com/dradis/dradisframework/blob/master/CONTRIBUTING.md)
30
+ See the Dradis Framework's [CONTRIBUTING.md](https://github.com/dradis/dradis-ce/blob/develop/CONTRIBUTING.md)
31
31
 
32
32
 
33
33
  ## License
@@ -1,5 +1,5 @@
1
1
  @import '_bootstrap';
2
- @import 'font-awesome.min';
2
+ @import 'font-awesome';
3
3
 
4
- @import "tylium/variables";
5
- @import "dradis/plugins/calculators/cvss/version_switch"
4
+ @import 'tylium/variables';
5
+ @import 'dradis/plugins/calculators/cvss/version_switch';
@@ -8,13 +8,13 @@
8
8
  <%= hidden_field_tag :av, @cvss_vector['AV'] %>
9
9
 
10
10
  <div class="btn-group mb-4 text-nowrap">
11
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['AV'] == 'N' %>" name="av" value="N" data-label="Network" data-cvss="AV_N_Label">Net. <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
11
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['AV'] == 'N' %>" name="av" value="N" data-label="Network" data-cvss="AV_N_Label">Net. <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
12
12
 
13
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['AV'] == 'A' %>" name="av" value="A" data-label="Adjacent" data-cvss="AV_A_Label">Adjacent <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
13
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['AV'] == 'A' %>" name="av" value="A" data-label="Adjacent" data-cvss="AV_A_Label">Adjacent <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
14
14
 
15
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['AV'] == 'L' %>" name="av" value="L" data-label="Local" data-cvss="AV_L_Label">Local <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
15
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['AV'] == 'L' %>" name="av" value="L" data-label="Local" data-cvss="AV_L_Label">Local <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
16
16
 
17
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['AV'] == 'P' %>" name="av" value="P" data-label="Physical" data-cvss="AV_P_Label">Physical <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
17
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['AV'] == 'P' %>" name="av" value="P" data-label="Physical" data-cvss="AV_P_Label">Physical <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
18
18
  </div>
19
19
  </div>
20
20
 
@@ -24,9 +24,9 @@
24
24
  <%= hidden_field_tag :ac, @cvss_vector['AC'] %>
25
25
 
26
26
  <div class="btn-group mb-4">
27
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['AC'] == 'L' %>" name="ac" value="L" data-label="Low" data-cvss="AC_L_Label">Low <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
27
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['AC'] == 'L' %>" name="ac" value="L" data-label="Low" data-cvss="AC_L_Label">Low <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
28
28
 
29
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['AC'] == 'H' %>" name="ac" value="H" data-label="High" data-cvss="AC_H_Label">High <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
29
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['AC'] == 'H' %>" name="ac" value="H" data-label="High" data-cvss="AC_H_Label">High <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
30
30
  </div>
31
31
  </div>
32
32
 
@@ -36,11 +36,11 @@
36
36
  <%= hidden_field_tag :pr, @cvss_vector['PR'] %>
37
37
 
38
38
  <div class="btn-group mb-4">
39
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['PR'] == 'N' %>" name="pr" value="N" data-label="None" data-cvss="PR_N_Label">None <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
39
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['PR'] == 'N' %>" name="pr" value="N" data-label="None" data-cvss="PR_N_Label">None <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
40
40
 
41
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['PR'] == 'L' %>" name="pr" value="L" data-label="Low" data-cvss="PR_L_Label">Low <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
41
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['PR'] == 'L' %>" name="pr" value="L" data-label="Low" data-cvss="PR_L_Label">Low <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
42
42
 
43
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['PR'] == 'H' %>" name="pr" value="H" data-label="High" data-cvss="PR_H_Label">High <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
43
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['PR'] == 'H' %>" name="pr" value="H" data-label="High" data-cvss="PR_H_Label">High <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
44
44
  </div>
45
45
  </div>
46
46
 
@@ -50,8 +50,8 @@
50
50
  <%= hidden_field_tag :ui, @cvss_vector['UI'] %>
51
51
 
52
52
  <div class="btn-group mb-4">
53
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['UI'] == 'N' %>" name="ui" value="N" data-label="None" data-cvss="UI_N_Label">None <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
54
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['UI'] == 'R' %>" name="ui" value="R" data-label="Required" data-cvss="UI_R_Label">Required <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
53
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['UI'] == 'N' %>" name="ui" value="N" data-label="None" data-cvss="UI_N_Label">None <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
54
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['UI'] == 'R' %>" name="ui" value="R" data-label="Required" data-cvss="UI_R_Label">Required <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
55
55
  </div>
56
56
  </div>
57
57
  </div>
@@ -63,9 +63,9 @@
63
63
  <%= hidden_field_tag :s, @cvss_vector['S'] %>
64
64
 
65
65
  <div class="btn-group mb-4">
66
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['S'] == 'U' %>" name="s" value="U" data-label="Unchanged" data-cvss="S_U_Label">Unchanged <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
66
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['S'] == 'U' %>" name="s" value="U" data-label="Unchanged" data-cvss="S_U_Label">Unchanged <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
67
67
 
68
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['S'] == 'C' %>" name="s" value="C" data-label="Changed" data-cvss="S_C_Label">Changed <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
68
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['S'] == 'C' %>" name="s" value="C" data-label="Changed" data-cvss="S_C_Label">Changed <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
69
69
  </div>
70
70
  </div>
71
71
 
@@ -75,11 +75,11 @@
75
75
  <%= hidden_field_tag :c, @cvss_vector['C'] %>
76
76
 
77
77
  <div class="btn-group mb-4">
78
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['C'] == 'N' %>" name="c" value="N" data-label="None" data-cvss="C_N_Label">None <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
78
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['C'] == 'N' %>" name="c" value="N" data-label="None" data-cvss="C_N_Label">None <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
79
79
 
80
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['C'] == 'L' %>" name="c" value="L" data-label="Low" data-cvss="C_L_Label">Low <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
80
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['C'] == 'L' %>" name="c" value="L" data-label="Low" data-cvss="C_L_Label">Low <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
81
81
 
82
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['C'] == 'H' %>" name="c" value="H" data-label="High" data-cvss="C_H_Label">High <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
82
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['C'] == 'H' %>" name="c" value="H" data-label="High" data-cvss="C_H_Label">High <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
83
83
  </div>
84
84
  </div>
85
85
 
@@ -89,11 +89,11 @@
89
89
  <%= hidden_field_tag :i, @cvss_vector['I'] %>
90
90
 
91
91
  <div class="btn-group mb-4">
92
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['I'] == 'N' %>" name="i" value="N" data-label="None" data-cvss="I_N_Label">None <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
92
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['I'] == 'N' %>" name="i" value="N" data-label="None" data-cvss="I_N_Label">None <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
93
93
 
94
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['I'] == 'L' %>" name="i" value="L" data-label="Low" data-cvss="I_L_Label">Low <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
94
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['I'] == 'L' %>" name="i" value="L" data-label="Low" data-cvss="I_L_Label">Low <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
95
95
 
96
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['I'] == 'H' %>" name="i" value="H" data-label="High" data-cvss="I_H_Label">High <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
96
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['I'] == 'H' %>" name="i" value="H" data-label="High" data-cvss="I_H_Label">High <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
97
97
  </div>
98
98
  </div>
99
99
 
@@ -103,11 +103,11 @@
103
103
  <%= hidden_field_tag :a, @cvss_vector['A'] %>
104
104
 
105
105
  <div class="btn-group mb-4">
106
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['A'] == 'N' %>" name="a" value="N" data-label="None" data-cvss="A_N_Label">None <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
106
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['A'] == 'N' %>" name="a" value="N" data-label="None" data-cvss="A_N_Label">None <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
107
107
 
108
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['A'] == 'L' %>" name="a" value="L" data-label="Low" data-cvss="A_L_Label">Low <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
108
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['A'] == 'L' %>" name="a" value="L" data-label="Low" data-cvss="A_L_Label">Low <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
109
109
 
110
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['A'] == 'H' %>" name="a" value="H" data-label="High" data-cvss="A_H_Label">High <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
110
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['A'] == 'H' %>" name="a" value="H" data-label="High" data-cvss="A_H_Label">High <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
111
111
  </div>
112
112
  </div>
113
113
  </div>
@@ -9,13 +9,13 @@
9
9
  <%= hidden_field_tag :cr, @cvss_vector['CR'] %>
10
10
 
11
11
  <div class="btn-group mb-4">
12
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['CR'] == 'X' %>" name="cr" value="X" data-label="Not Defined" data-cvss="CR_X_Label">N/D <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
12
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['CR'] == 'X' %>" name="cr" value="X" data-label="Not Defined" data-cvss="CR_X_Label">N/D <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
13
13
 
14
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['CR'] == 'L' %>" name="cr" value="L" data-label="Low" data-cvss="CR_L_Label">Low <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
14
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['CR'] == 'L' %>" name="cr" value="L" data-label="Low" data-cvss="CR_L_Label">Low <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
15
15
 
16
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['CR'] == 'M' %>" name="cr" value="M" data-label="Medium" data-cvss="CR_M_Label">Med <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
16
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['CR'] == 'M' %>" name="cr" value="M" data-label="Medium" data-cvss="CR_M_Label">Med <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
17
17
 
18
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['CR'] == 'H' %>" name="cr" value="H" data-label="High" data-cvss="CR_H_Label">High <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
18
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['CR'] == 'H' %>" name="cr" value="H" data-label="High" data-cvss="CR_H_Label">High <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
19
19
  </div>
20
20
  </div>
21
21
 
@@ -25,13 +25,13 @@
25
25
  <%= hidden_field_tag :ir, @cvss_vector['IR'] %>
26
26
 
27
27
  <div class="btn-group mb-4">
28
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['IR'] == 'X' %>" name="ir" value="X" data-label="Not Defined" data-cvss="IR_X_Label">N/D <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
28
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['IR'] == 'X' %>" name="ir" value="X" data-label="Not Defined" data-cvss="IR_X_Label">N/D <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
29
29
 
30
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['IR'] == 'L' %>" name="ir" value="L" data-label="Low" data-cvss="IR_L_Label">Low <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
30
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['IR'] == 'L' %>" name="ir" value="L" data-label="Low" data-cvss="IR_L_Label">Low <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
31
31
 
32
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['IR'] == 'M' %>" name="ir" value="M" data-label="Medium" data-cvss="IR_M_Label">Med <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
32
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['IR'] == 'M' %>" name="ir" value="M" data-label="Medium" data-cvss="IR_M_Label">Med <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
33
33
 
34
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['IR'] == 'H' %>" name="ir" value="H" data-label="High" data-cvss="IR_H_Label">High <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
34
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['IR'] == 'H' %>" name="ir" value="H" data-label="High" data-cvss="IR_H_Label">High <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
35
35
  </div>
36
36
  </div>
37
37
 
@@ -41,13 +41,13 @@
41
41
  <%= hidden_field_tag :ar, @cvss_vector['AR'] %>
42
42
 
43
43
  <div class="btn-group mb-4">
44
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['AR'] == 'X' %>" name="ar" value="X" data-label="Not Defined" data-cvss="AR_X_Label">N/D <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
44
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['AR'] == 'X' %>" name="ar" value="X" data-label="Not Defined" data-cvss="AR_X_Label">N/D <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
45
45
 
46
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['AR'] == 'L' %>" name="ar" value="L" data-label="Low" data-cvss="AR_L_Label">Low <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
46
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['AR'] == 'L' %>" name="ar" value="L" data-label="Low" data-cvss="AR_L_Label">Low <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
47
47
 
48
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['AR'] == 'M' %>" name="ar" value="M" data-label="Medium" data-cvss="AR_M_Label">Med <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
48
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['AR'] == 'M' %>" name="ar" value="M" data-label="Medium" data-cvss="AR_M_Label">Med <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
49
49
 
50
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['AR'] == 'H' %>" name="ar" value="H" data-label="High" data-cvss="AR_H_Label">High <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
50
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['AR'] == 'H' %>" name="ar" value="H" data-label="High" data-cvss="AR_H_Label">High <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
51
51
  </div>
52
52
  </div>
53
53
  </div>
@@ -60,15 +60,15 @@
60
60
  <%= hidden_field_tag :mav, @cvss_vector['MAV'] %>
61
61
 
62
62
  <div class="btn-group mb-4">
63
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MAV'] == 'X' %>" name="mav" value="X" data-label="Not Defined" data-cvss="MAV_X_Label">N/D <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
63
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MAV'] == 'X' %>" name="mav" value="X" data-label="Not Defined" data-cvss="MAV_X_Label">N/D <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
64
64
 
65
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MAV'] == 'N' %>" name="mav" value="N" data-label="Network" data-cvss="MAV_N_Label">Net. <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
65
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MAV'] == 'N' %>" name="mav" value="N" data-label="Network" data-cvss="MAV_N_Label">Net. <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
66
66
 
67
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MAV'] == 'A' %>" name="mav" value="A" data-label="Adjacent" data-cvss="MAV_A_Label">Adjacent <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
67
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MAV'] == 'A' %>" name="mav" value="A" data-label="Adjacent" data-cvss="MAV_A_Label">Adjacent <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
68
68
 
69
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MAV'] == 'L' %>" name="mav" value="L" data-label="Local" data-cvss="MAV_L_Label">Local <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
69
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MAV'] == 'L' %>" name="mav" value="L" data-label="Local" data-cvss="MAV_L_Label">Local <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
70
70
 
71
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MAV'] == 'P' %>" name="mav" value="P" data-label="Physical" data-cvss="MAV_P_Label">Physical <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
71
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MAV'] == 'P' %>" name="mav" value="P" data-label="Physical" data-cvss="MAV_P_Label">Physical <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
72
72
  </div>
73
73
  </div>
74
74
 
@@ -78,11 +78,11 @@
78
78
  <%= hidden_field_tag :mac, @cvss_vector['MAC'] %>
79
79
 
80
80
  <div class="btn-group mb-4">
81
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MAC'] == 'X' %>" name="mac" value="X" data-label="Not Defined" data-cvss="MAC_X_Label">N/D <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
81
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MAC'] == 'X' %>" name="mac" value="X" data-label="Not Defined" data-cvss="MAC_X_Label">N/D <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
82
82
 
83
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MAC'] == 'L' %>" name="mac" value="L" data-label="Low" data-cvss="MAC_L_Label">Low <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
83
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MAC'] == 'L' %>" name="mac" value="L" data-label="Low" data-cvss="MAC_L_Label">Low <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
84
84
 
85
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MAC'] == 'H' %>" name="mac" value="H" data-label="High" data-cvss="MAC_H_Label">High <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
85
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MAC'] == 'H' %>" name="mac" value="H" data-label="High" data-cvss="MAC_H_Label">High <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
86
86
  </div>
87
87
  </div>
88
88
 
@@ -92,13 +92,13 @@
92
92
  <%= hidden_field_tag :mpr, @cvss_vector['MPR'] %>
93
93
 
94
94
  <div class="btn-group mb-4">
95
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MPR'] == 'X' %>" name="mpr" value="X" data-label="Not Defined" data-cvss="MPR_X_Label">N/D <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
95
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MPR'] == 'X' %>" name="mpr" value="X" data-label="Not Defined" data-cvss="MPR_X_Label">N/D <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
96
96
 
97
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MPR'] == 'N' %>" name="mpr" value="N" data-label="None" data-cvss="MPR_N_Label">None <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
97
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MPR'] == 'N' %>" name="mpr" value="N" data-label="None" data-cvss="MPR_N_Label">None <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
98
98
 
99
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MPR'] == 'L' %>" name="mpr" value="L" data-label="Low" data-cvss="MPR_L_Label">Low <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
99
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MPR'] == 'L' %>" name="mpr" value="L" data-label="Low" data-cvss="MPR_L_Label">Low <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
100
100
 
101
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MPR'] == 'H' %>" name="mpr" value="H" data-label="High" data-cvss="MPR_H_Label">High <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
101
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MPR'] == 'H' %>" name="mpr" value="H" data-label="High" data-cvss="MPR_H_Label">High <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
102
102
  </div>
103
103
  </div>
104
104
 
@@ -108,11 +108,11 @@
108
108
  <%= hidden_field_tag :mui, @cvss_vector['MUI'] %>
109
109
 
110
110
  <div class="btn-group mb-4">
111
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MUI'] == 'X' %>" name="mui" value="X" data-label="Not Defined" data-cvss="MUI_X_Label">N/D <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
111
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MUI'] == 'X' %>" name="mui" value="X" data-label="Not Defined" data-cvss="MUI_X_Label">N/D <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
112
112
 
113
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MUI'] == 'N' %>" name="mui" value="N" data-label="None" data-cvss="MUI_N_Label">None <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
113
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MUI'] == 'N' %>" name="mui" value="N" data-label="None" data-cvss="MUI_N_Label">None <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
114
114
 
115
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MUI'] == 'R' %>" name="mui" value="R" data-label="Required" data-cvss="MUI_R_Label">Required <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
115
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MUI'] == 'R' %>" name="mui" value="R" data-label="Required" data-cvss="MUI_R_Label">Required <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
116
116
  </div>
117
117
  </div>
118
118
 
@@ -122,11 +122,11 @@
122
122
  <%= hidden_field_tag :ms, @cvss_vector['MS'] %>
123
123
 
124
124
  <div class="btn-group mb-4">
125
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MS'] == 'X' %>" name="ms" value="X" data-label="Not Defined" data-cvss="MS_X_Label">N/D <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
125
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MS'] == 'X' %>" name="ms" value="X" data-label="Not Defined" data-cvss="MS_X_Label">N/D <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
126
126
 
127
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MS'] == 'U' %>" name="ms" value="U" data-label="Unchanged" data-cvss="MS_U_Label">Unchanged <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
127
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MS'] == 'U' %>" name="ms" value="U" data-label="Unchanged" data-cvss="MS_U_Label">Unchanged <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
128
128
 
129
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MS'] == 'C' %>" name="ms" value="C" data-label="Changed" data-cvss="MS_C_Label">Changed <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
129
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MS'] == 'C' %>" name="ms" value="C" data-label="Changed" data-cvss="MS_C_Label">Changed <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
130
130
  </div>
131
131
  </div>
132
132
 
@@ -136,13 +136,13 @@
136
136
  <%= hidden_field_tag :mc, @cvss_vector['MC'] %>
137
137
 
138
138
  <div class="btn-group mb-4">
139
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MC'] == 'X' %>" name="mc" value="X" data-label="Not Defined" data-cvss="MC_X_Label">N/D <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
139
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MC'] == 'X' %>" name="mc" value="X" data-label="Not Defined" data-cvss="MC_X_Label">N/D <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
140
140
 
141
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MC'] == 'N' %>" name="mc" value="N" data-label="None" data-cvss="MC_N_Label">None <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
141
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MC'] == 'N' %>" name="mc" value="N" data-label="None" data-cvss="MC_N_Label">None <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
142
142
 
143
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MC'] == 'L' %>" name="mc" value="L" data-label="Low" data-cvss="MC_L_Label">Low<i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
143
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MC'] == 'L' %>" name="mc" value="L" data-label="Low" data-cvss="MC_L_Label">Low<i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
144
144
 
145
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MC'] == 'H' %>" name="mc" value="H" data-label="High" data-cvss="MC_H_Label">High <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
145
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MC'] == 'H' %>" name="mc" value="H" data-label="High" data-cvss="MC_H_Label">High <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
146
146
  </div>
147
147
  </div>
148
148
 
@@ -152,13 +152,13 @@
152
152
  <%= hidden_field_tag :mi, @cvss_vector['MI'] %>
153
153
 
154
154
  <div class="btn-group mb-4">
155
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MI'] == 'X' %>" name="mi" value="X" data-label="Not Defined" data-cvss="MI_X_Label">N/D <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
155
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MI'] == 'X' %>" name="mi" value="X" data-label="Not Defined" data-cvss="MI_X_Label">N/D <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
156
156
 
157
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MI'] == 'N' %>" name="mi" value="N" data-label="None" data-cvss="MI_N_Label">None <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
157
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MI'] == 'N' %>" name="mi" value="N" data-label="None" data-cvss="MI_N_Label">None <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
158
158
 
159
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MI'] == 'L' %>" name="mi" value="L" data-label="Low" data-cvss="MI_L_Label">Low <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
159
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MI'] == 'L' %>" name="mi" value="L" data-label="Low" data-cvss="MI_L_Label">Low <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
160
160
 
161
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MI'] == 'H' %>" name="mi" value="H" data-label="High" data-cvss="MI_H_Label">High <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
161
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MI'] == 'H' %>" name="mi" value="H" data-label="High" data-cvss="MI_H_Label">High <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
162
162
  </div>
163
163
  </div>
164
164
 
@@ -168,13 +168,13 @@
168
168
  <%= hidden_field_tag :ma, @cvss_vector['MA'] %>
169
169
 
170
170
  <div class="btn-group mb-4">
171
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MA'] == 'X' %>" name="ma" value="X" data-label="Not Defined" data-cvss="MA_X_Label">N/D <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
171
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MA'] == 'X' %>" name="ma" value="X" data-label="Not Defined" data-cvss="MA_X_Label">N/D <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
172
172
 
173
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MA'] == 'N' %>" name="ma" value="N" data-label="None" data-cvss="MA_N_Label">None <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
173
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MA'] == 'N' %>" name="ma" value="N" data-label="None" data-cvss="MA_N_Label">None <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
174
174
 
175
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MA'] == 'L' %>" name="ma" value="L" data-label="Low" data-cvss="MA_L_Label">Low <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
175
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MA'] == 'L' %>" name="ma" value="L" data-label="Low" data-cvss="MA_L_Label">Low <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
176
176
 
177
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MA'] == 'H' %>" name="ma" value="H" data-label="High" data-cvss="MA_H_Label">High <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
177
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MA'] == 'H' %>" name="ma" value="H" data-label="High" data-cvss="MA_H_Label">High <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
178
178
  </div>
179
179
  </div>
180
180
  </div>
@@ -8,15 +8,15 @@
8
8
  <%= hidden_field_tag :e, @cvss_vector['E'] %>
9
9
 
10
10
  <div class="btn-group mb-4">
11
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['E'] == 'X' %>" name="e" value="X" data-label="Not Defined" data-cvss="E_X_Label">Not Defined <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
11
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['E'] == 'X' %>" name="e" value="X" data-label="Not Defined" data-cvss="E_X_Label">Not Defined <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
12
12
 
13
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['E'] == 'U' %>" name="e" value="U" data-label="Unproven" data-cvss="E_U_Label">Unproven <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
13
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['E'] == 'U' %>" name="e" value="U" data-label="Unproven" data-cvss="E_U_Label">Unproven <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
14
14
 
15
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['E'] == 'P' %>" name="e" value="P" data-label="Proof-of-Concept" data-cvss="E_P_Label">Proof-of-Concept <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
15
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['E'] == 'P' %>" name="e" value="P" data-label="Proof-of-Concept" data-cvss="E_P_Label">Proof-of-Concept <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
16
16
 
17
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['E'] == 'F' %>" name="e" value="F" data-label="Functional" data-cvss="E_F_Label">Functional <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
17
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['E'] == 'F' %>" name="e" value="F" data-label="Functional" data-cvss="E_F_Label">Functional <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
18
18
 
19
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['E'] == 'H' %>" name="e" value="H" data-label="High" data-cvss="E_H_Label">High <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
19
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['E'] == 'H' %>" name="e" value="H" data-label="High" data-cvss="E_H_Label">High <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
20
20
  </div>
21
21
  </div>
22
22
 
@@ -28,15 +28,15 @@
28
28
  <%= hidden_field_tag :rl, @cvss_vector['RL'] %>
29
29
 
30
30
  <div class="btn-group mb-4">
31
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['RL'] == 'X' %>" name="rl" value="X" data-label="Not Defined" data-cvss="RL_X_Label">Not Defined <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
31
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['RL'] == 'X' %>" name="rl" value="X" data-label="Not Defined" data-cvss="RL_X_Label">Not Defined <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
32
32
 
33
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['RL'] == 'O' %>" name="rl" value="O" data-label="Official Fix" data-cvss="RL_O_Label">Official Fix <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
33
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['RL'] == 'O' %>" name="rl" value="O" data-label="Official Fix" data-cvss="RL_O_Label">Official Fix <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
34
34
 
35
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['RL'] == 'T' %>" name="rl" value="T" data-label="Temporary Fix" data-cvss="RL_T_Label">Temporary Fix <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
35
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['RL'] == 'T' %>" name="rl" value="T" data-label="Temporary Fix" data-cvss="RL_T_Label">Temporary Fix <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
36
36
 
37
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['RL'] == 'W' %>" name="rl" value="W" data-label="Workaround" data-cvss="RL_W_Label">Workaround <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
37
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['RL'] == 'W' %>" name="rl" value="W" data-label="Workaround" data-cvss="RL_W_Label">Workaround <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
38
38
 
39
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['RL'] == 'U' %>" name="rl" value="U" data-label="Unavailable" data-cvss="RL_U_Label">Unavailable <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
39
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['RL'] == 'U' %>" name="rl" value="U" data-label="Unavailable" data-cvss="RL_U_Label">Unavailable <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
40
40
  </div>
41
41
  </div>
42
42
 
@@ -48,13 +48,13 @@
48
48
  <%= hidden_field_tag :rc, @cvss_vector['RC'] %>
49
49
 
50
50
  <div class="btn-group mb-4">
51
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['RC'] == 'X' %>" name="rc" value="X" data-label="Not Defined" data-cvss="RC_X_Label">Not Defined <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
51
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['RC'] == 'X' %>" name="rc" value="X" data-label="Not Defined" data-cvss="RC_X_Label">Not Defined <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
52
52
 
53
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['RC'] == 'U' %>" name="rc" value="U" data-label="Unknown" data-cvss="RC_U_Label">Unknown <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
53
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['RC'] == 'U' %>" name="rc" value="U" data-label="Unknown" data-cvss="RC_U_Label">Unknown <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
54
54
 
55
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['RC'] == 'R' %>" name="rc" value="R" data-label="Reasonable" data-cvss="RC_R_Label">Reasonable <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
55
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['RC'] == 'R' %>" name="rc" value="R" data-label="Reasonable" data-cvss="RC_R_Label">Reasonable <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
56
56
 
57
- <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['RC'] == 'C' %>" name="rc" value="C" data-label="Confirmed" data-cvss="RC_C_Label">Confirmed <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
57
+ <button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['RC'] == 'C' %>" name="rc" value="C" data-label="Confirmed" data-cvss="RC_C_Label">Confirmed <i class="fa-regular fa-question-circle" aria-hidden="true"></i></button>
58
58
  </div>
59
59
 
60
60
  </div>
@@ -4,7 +4,7 @@
4
4
  <h4 class="header-underline">CVSS Risk Scoring -
5
5
  <span class="actions">
6
6
  <%= link_to cvss_calculator.cvss_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::CVSS::Engine.settings.show.to_i == 1 %>
2
2
  <li class="nav-item">
3
- <a href="#cvss-tab" data-bs-toggle="tab" class="nav-link"><i class="fa fa-calculator"></i> CVSS</a>
3
+ <a href="#cvss-tab" data-bs-toggle="tab" class="nav-link"><i class="fa-solid fa-calculator"></i> CVSS</a>
4
4
  </li>
5
5
  <% end %>
@@ -13,11 +13,10 @@ 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
22
  spec.add_dependency 'dradis-plugins', '~> 4.0'
@@ -9,7 +9,7 @@ module Dradis
9
9
 
10
10
  module VERSION
11
11
  MAJOR = 4
12
- MINOR = 9
12
+ MINOR = 11
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_cvss
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.9.0
4
+ version: 4.11.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: 2023-05-31 00:00:00.000000000 Z
11
+ date: 2024-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dradis-plugins
@@ -54,7 +54,6 @@ dependencies:
54
54
  version: '10.0'
55
55
  description: Display a CVSS score calculator in Dradis Framework.
56
56
  email:
57
- - etd@nomejortu.com
58
57
  executables: []
59
58
  extensions: []
60
59
  extra_rdoc_files: []
@@ -98,11 +97,11 @@ files:
98
97
  - lib/dradis/plugins/calculators/cvss/engine.rb
99
98
  - lib/dradis/plugins/calculators/cvss/gem_version.rb
100
99
  - lib/dradis/plugins/calculators/cvss/version.rb
101
- homepage: http://dradisframework.org
100
+ homepage: https://dradis.com/support/guides/projects/calculators.html
102
101
  licenses:
103
102
  - GPL-2
104
103
  metadata: {}
105
- post_install_message:
104
+ post_install_message:
106
105
  rdoc_options: []
107
106
  require_paths:
108
107
  - lib
@@ -117,8 +116,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
117
116
  - !ruby/object:Gem::Version
118
117
  version: '0'
119
118
  requirements: []
120
- rubygems_version: 3.1.4
121
- signing_key:
119
+ rubygems_version: 3.3.7
120
+ signing_key:
122
121
  specification_version: 4
123
122
  summary: This plugin adds a CVSS score calculator to Dradis.
124
123
  test_files: []