View source: R/scoring_primitives.R
| severity_to_weight | R Documentation |
Converts canonical severity labels to numeric penalty multipliers on a 0–1 scale.
severity_to_weight(severity)
severity |
Character vector of canonical severity values
( |
Default mapping:
info = 0.00
low = 0.25
medium = 0.50
high = 0.75
critical = 1.00
Numeric vector of weights.
severity_to_weight(c("low", "high", "critical"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.