app/views/dradis/plugins/calculators/cvss/base/index.html.erb in dradis-calculator_cvss-3.15.0 vs app/views/dradis/plugins/calculators/cvss/base/index.html.erb in dradis-calculator_cvss-3.16.0
- old
+ new
@@ -2,15 +2,14 @@
<h1>CVSSv3 score calculator</h1>
<% end %>
<p class="lead">Use this page to calculate the <abbr title="Common Vulnerability Scoring System">CVSS</abbr> score of a given finding.</p>
-<p class="alert alert-error text-error hide" data-behavior="cvss-error"></p>
+<p class="alert alert-danger d-none" data-behavior="cvss-error"></p>
-
<div class="row">
- <div class="span8">
+ <div class="col-8">
<h2 title="The Base Metric group represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. Determine the vulnerable component and score Attack Vector, Attack Complexity, Privileges Required and User Interaction relative to this.">
Base: <span id="base-score">0</span>
</h2>
<%= render 'dradis/plugins/calculators/cvss/base/base' %>
@@ -24,12 +23,12 @@
Environmental: <span id="environmental-score">0</span>
</h2>
<%= render 'dradis/plugins/calculators/cvss/base/environmental' %>
</div>
- <div class="span4">
- <textarea name="cvss_fields" rows="52" style="width:100%">#[CVSSv3.Vector]#
+ <div class="col-4">
+ <textarea name="cvss_fields" rows="52" class="form-control" style="width:100%">#[CVSSv3.Vector]#
N/A
#[CVSSv3.BaseScore]#
N/A
@@ -54,11 +53,27 @@
#[CVSSv3.BaseUserInteraction]#
#[CVSSv3.BaseScope]#
#[CVSSv3.BaseConfidentiality]#
#[CVSSv3.BaseIntegrity]#
#[CVSSv3.BaseAvailability]#
+
+#[CVSSv3.TemporalExploitCodeMaturity]#
+#[CVSSv3.TemporalRemediationLevel]#
+#[CVSSv3.TemporalReportConfidence]#
+
#[CVSSv3.EnvironmentalConfidentialityRequirement]#
#[CVSSv3.EnvironmentalIntegrityRequirement]#
+#[CVSSv3.EnvironmentalAvailabilityRequirement]#
+
+#[CVSSv3.ModifiedAttackVector]#
+#[CVSSv3.ModifiedAttackComplexity]#
+#[CVSSv3.ModifiedPrivilegesRequired]#
+#[CVSSv3.ModifiedUserInteraction]#
+#[CVSSv3.ModifiedScope]#
+#[CVSSv3.ModifiedConfidentiality]#
+#[CVSSv3.ModifiedIntegrity]#
+#[CVSSv3.ModifiedAvailability]#
+
</textarea>
</div>
</div>