-
Notifications
You must be signed in to change notification settings - Fork 0
feat(metrics): add of temporal and environmental score handling #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
src/score-calculator.ts
Outdated
| // If ModifiedScope is Unchanged 6.42 × MISS | ||
| // If ModifiedScope is Changed 7.52 × (MISS - 0.029) - 3.25 × (MISS × 0.9731 - 0.02)13 | ||
| // ModifiedExploitability = 8.22 × ModifiedAttackVector × ModifiedAttackComplexity × ModifiedPrivilegesRequired × ModifiedUserInteraction | ||
| // Note : Math.pow is 15 in 3.0 but 13 int 3.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there is a typo error with int at the end of the sentence.
| TemporalMetric, | ||
| temporalMetrics, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe think of another name for temporalMetrics it might be difficult to differentiate the two variables in the code with just a plural and case difference.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
environmentalMetricMap would match better i suppose:
EnvironmentalMetric,
environmentalMetricMap,
EnvironmentalMetricValue,
No description provided.