diff --git a/ghostwriter/reporting/models.py b/ghostwriter/reporting/models.py index 535f4168d..d8a1f65a3 100644 --- a/ghostwriter/reporting/models.py +++ b/ghostwriter/reporting/models.py @@ -193,16 +193,16 @@ class Finding(models.Model): help_text="Provide notes for your team that describes how the finding is intended to be used or edited during editing", ) cvss_score = models.FloatField( - "CVSS Score v3.0", + "CVSS Score", blank=True, null=True, help_text="Set the CVSS score for this finding", ) cvss_vector = models.CharField( - "CVSS Vector v3.0", + "CVSS Vector", blank=True, default="", - max_length=54, + max_length=255, help_text="Set the CVSS vector for this finding", ) tags = TaggableManager(blank=True) @@ -641,16 +641,16 @@ class ReportFindingLink(models.Model): help_text="Assign the task of editing this finding to a specific operator - defaults to the operator that added it to the report", ) cvss_score = models.FloatField( - "CVSS Score v3.0", + "CVSS Score", blank=True, null=True, help_text="Set the CVSS score for this finding", ) cvss_vector = models.CharField( - "CVSS Vector v3.0", + "CVSS Vector", blank=True, default="", - max_length=54, + max_length=255, help_text="Set the CVSS vector for this finding", ) extra_fields = models.JSONField(default=dict) diff --git a/ghostwriter/reporting/templates/snippets/cvss_scripts.html b/ghostwriter/reporting/templates/snippets/cvss_scripts.html index 0f0e82bf4..d8c4a76fc 100644 --- a/ghostwriter/reporting/templates/snippets/cvss_scripts.html +++ b/ghostwriter/reporting/templates/snippets/cvss_scripts.html @@ -1,6 +1,6 @@ {% load static %} - + + + + + + diff --git a/ghostwriter/reporting/templates/snippets/cvss_ui.html b/ghostwriter/reporting/templates/snippets/cvss_ui.html index 7e4f575ae..ba13ba09e 100644 --- a/ghostwriter/reporting/templates/snippets/cvss_ui.html +++ b/ghostwriter/reporting/templates/snippets/cvss_ui.html @@ -21,13 +21,13 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --> -