Private/Get-CVSSData.ps1
function Get-CVSSData { return @{ 'AV' = @{ 'N' = 0.85 'A' = 0.62 'L' = 0.55 'P' = 0.2 } 'AC' = @{ 'L' = 0.77 'H' = 0.44 } 'PR' = @{ 'N' = 0.85 'L' = 0.62 # (0.68 if Scope / Modified Scope is Changed) 'H' = 0.27 # (0.50 if Scope / Modified Scope is Changed) } 'UI' = @{ 'N' = 0.85 'R' = 0.62 } 'S' = @{ 'U' = 6.42 'C' = 7.52 } 'C' = @{ 'H' = 0.56 'L' = 0.22 'N' = 0 } 'I' = @{ 'H' = 0.56 'L' = 0.22 'N' = 0 } 'A' = @{ 'H' = 0.56 'L' = 0.22 'N' = 0 } 'E' = @{ 'X' = 1 'H' = 1 'F' = 0.97 'P' = 0.94 'U' = 0.91 } 'RL' = @{ 'X' = 1 'O' = 0.95 'T' = 0.96 'W' = 0.97 'U' = 1 } 'RC' = @{ 'X' = 1 'U' = 0.92 'R' = 0.96 'C' = 1 } 'CR' = @{ 'X' = 1 'L' = 0.5 'M' = 1 'H' = 1.5 } 'IR' = @{ 'X' = 1 'L' = 0.5 'M' = 1 'H' = 1.5 } 'AR' = @{ 'X' = 1 'L' = 0.5 'M' = 1 'H' = 1.5 } 'MAV' = @{ 'X' = 1 'N' = 0.85 'A' = 0.62 'L' = 0.55 'P' = 0.2 } 'MAC' = @{ 'X' = 1 'L' = 0.77 'H' = 0.44 } 'MPR' = @{ 'X' = 1 'N' = 0.85 'L' = 0.62 'H' = 0.27 } 'MUI' = @{ 'X' = 1 'N' = 0.85 'R' = 0.62 } 'MS' = @{ 'X' = 1 'U' = 6.42 'C' = 7.52 } 'MC' = @{ 'X' = 1 'N' = 0 'L' = 0.22 'H' = 0.56 } 'MI' = @{ 'X' = 1 'N' = 0 'L' = 0.22 'H' = 0.56 } 'MA' = @{ 'X' = 1 'N' = 0 'L' = 0.22 'H' = 0.56 } } } |