Skip to content

Conflict with documentation. #2

Open
@glerapic

Description

@glerapic

According to the RVSS whitepaper on section 4C RVSS v1.0 Specification table 4 (page 21) the entry safety reads as follows:
Screenshot from 2020-03-20 12-12-25

so when i run the argument HU on safety i get the following:

alfonso@alias:~$ rvss RVSS:1.0/AV:RN/AC:H/PR:N/UI:N/Y:Z/S:C/C:H/I:H/A:H/H:HU
Error parsing vector: Unknown vector key 'hu' for SafetyImpact

When i run H instead of HU, runs smoothly.

alfonso@alias:~$ rvss RVSS:1.0/AV:RN/AC:H/PR:N/UI:N/Y:Z/S:C/C:H/I:H/A:H/H:H
Base Score:	8.4
Temporal:	8.4
Environment:	8.4

i suggest changing the code to be consistent with the documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions