public class CvssV2 extends Object implements Serializable
| Constructor and Description |
|---|
CvssV2(float score,
String accessVector,
String accessComplexity,
String authentication,
String confidentialityImpact,
String integrityImpact,
String availabilityImpact,
String severity)
Constructs a new CVSS V2 object.
|
CvssV2(float score,
String accessVector,
String accessComplexity,
String authentication,
String confidentialityImpact,
String integrityImpact,
String availabilityImpact,
String severity,
Float exploitabilityScore,
Float impactScore,
Boolean acInsufInfo,
Boolean obtainAllPrivilege,
Boolean obtainUserPrivilege,
Boolean obtainOtherPrivilege,
Boolean userInteractionRequired,
String version)
Constructs a new CVSS V2 object.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAccessComplexity()
Get the value of accessComplexity.
|
String |
getAccessVector()
Get the value of accessVector.
|
String |
getAuthentication()
Get the value of authentication.
|
String |
getAvailabilityImpact()
Get the value of availabilityImpact.
|
String |
getConfidentialityImpact()
Get the value of confidentialityImpact.
|
Float |
getExploitabilityScore()
Returns the exploitabilityScore for the vulnerability.
|
Float |
getImpactScore()
Returns the impactScore for the vulnerability.
|
String |
getIntegrityImpact()
Get the value of integrityImpact.
|
float |
getScore()
Get the value of score.
|
String |
getSeverity()
Returns the severity for the vulnerability.
|
String |
getVersion()
Get the value of version.
|
Boolean |
isAcInsufInfo()
Returns the acInsufInfo for the vulnerability.
|
Boolean |
isObtainAllPrivilege()
Returns the obtainAllPrivilege for the vulnerability.
|
Boolean |
isObtainOtherPrivilege()
Returns the obtainOtherPrivilege for the vulnerability.
|
Boolean |
isObtainUserPrivilege()
Returns the obtainUserPrivilege for the vulnerability.
|
Boolean |
isUserInteractionRequired()
Returns the userInteractionRequired for the vulnerability.
|
String |
toString() |
public CvssV2(float score,
String accessVector,
String accessComplexity,
String authentication,
String confidentialityImpact,
String integrityImpact,
String availabilityImpact,
String severity)
score - the scoreaccessVector - the access vectoraccessComplexity - the access complexityauthentication - the authenticationconfidentialityImpact - the confidentiality impactintegrityImpact - the integrity impactavailabilityImpact - the availability impactseverity - the severitypublic CvssV2(float score,
String accessVector,
String accessComplexity,
String authentication,
String confidentialityImpact,
String integrityImpact,
String availabilityImpact,
String severity,
Float exploitabilityScore,
Float impactScore,
Boolean acInsufInfo,
Boolean obtainAllPrivilege,
Boolean obtainUserPrivilege,
Boolean obtainOtherPrivilege,
Boolean userInteractionRequired,
String version)
score - the scoreaccessVector - the access vectoraccessComplexity - the access complexityauthentication - the authenticationconfidentialityImpact - the confidentiality impactintegrityImpact - the integrity impactavailabilityImpact - the availability impactseverity - the severityexploitabilityScore - the exploitability scoreimpactScore - the impact scoreacInsufInfo - the acInsufInfoobtainAllPrivilege - whether or not the vulnerability allows one to obtain all privilegesobtainUserPrivilege - whether or not the vulnerability allows one to obtain user privilegesobtainOtherPrivilege - whether or not the vulnerability allows one to obtain other privilegesuserInteractionRequired - whether or not user interaction is requiredversion - the CVSS versionpublic float getScore()
public String getAccessVector()
public String getAccessComplexity()
public String getAuthentication()
public String getConfidentialityImpact()
public String getIntegrityImpact()
public String getAvailabilityImpact()
public String getVersion()
public String getSeverity()
public Float getExploitabilityScore()
public Float getImpactScore()
public Boolean isAcInsufInfo()
public Boolean isObtainAllPrivilege()
public Boolean isObtainUserPrivilege()
public Boolean isObtainOtherPrivilege()
public Boolean isUserInteractionRequired()
Copyright © 2012–2021 OWASP. All rights reserved.