Constants

synopsis:Constants used across the ptp library.
ptp.libptp.constants.UNKNOWN = 0

int: Value of an unknown/unranked vulnerability.

ptp.libptp.constants.INFO = 1

int: Value of an informational risk vulnerability.

ptp.libptp.constants.LOW = 2

int: Value of a low risk vulnerability.

ptp.libptp.constants.MEDIUM = 3

int: Value of a medium risk vulnerability.

ptp.libptp.constants.HIGH = 4

int: Value of a high risk vulnerability.

ptp.libptp.constants.RANKING_SCALE = {4: 4, 3: 3, 2: 2, 1: 1, 0: 0}

dict: ptp’s scale of the ranking values.