@@ -980,23 +980,27 @@ def update!(**args)
980980 class Cvss
981981 include Google ::Apis ::Core ::Hashable
982982
983- #
983+ # Attack Complexity (AC). Defined in CVSS v2, v3, v4.
984984 # Corresponds to the JSON property `attackComplexity`
985985 # @return [String]
986986 attr_accessor :attack_complexity
987987
988- # Base Metrics Represents the intrinsic characteristics of a vulnerability that
989- # are constant over time and across user environments.
988+ # Attack Requirements (AT). Defined in CVSS v4.
989+ # Corresponds to the JSON property `attackRequirements`
990+ # @return [String]
991+ attr_accessor :attack_requirements
992+
993+ # Attack Vector (AV). Defined in CVSS v2, v3, v4.
990994 # Corresponds to the JSON property `attackVector`
991995 # @return [String]
992996 attr_accessor :attack_vector
993997
994- #
998+ # Authentication (Au). Defined in CVSS v2.
995999 # Corresponds to the JSON property `authentication`
9961000 # @return [String]
9971001 attr_accessor :authentication
9981002
999- #
1003+ # Availability Impact (A). Defined in CVSS v2, v3.
10001004 # Corresponds to the JSON property `availabilityImpact`
10011005 # @return [String]
10021006 attr_accessor :availability_impact
@@ -1006,7 +1010,7 @@ class Cvss
10061010 # @return [Float]
10071011 attr_accessor :base_score
10081012
1009- #
1013+ # Confidentiality Impact (C). Defined in CVSS v2, v3.
10101014 # Corresponds to the JSON property `confidentialityImpact`
10111015 # @return [String]
10121016 attr_accessor :confidentiality_impact
@@ -1021,33 +1025,64 @@ class Cvss
10211025 # @return [Float]
10221026 attr_accessor :impact_score
10231027
1024- #
1028+ # Integrity Impact (I). Defined in CVSS v2, v3.
10251029 # Corresponds to the JSON property `integrityImpact`
10261030 # @return [String]
10271031 attr_accessor :integrity_impact
10281032
1029- #
1033+ # Privileges Required (PR). Defined in CVSS v3, v4.
10301034 # Corresponds to the JSON property `privilegesRequired`
10311035 # @return [String]
10321036 attr_accessor :privileges_required
10331037
1034- #
1038+ # Scope (S). Defined in CVSS v3.
10351039 # Corresponds to the JSON property `scope`
10361040 # @return [String]
10371041 attr_accessor :scope
10381042
1039- #
1043+ # Subsequent System Availability Impact (SA). Defined in CVSS v4.
1044+ # Corresponds to the JSON property `subsequentSystemAvailabilityImpact`
1045+ # @return [String]
1046+ attr_accessor :subsequent_system_availability_impact
1047+
1048+ # Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
1049+ # Corresponds to the JSON property `subsequentSystemConfidentialityImpact`
1050+ # @return [String]
1051+ attr_accessor :subsequent_system_confidentiality_impact
1052+
1053+ # Subsequent System Integrity Impact (SI). Defined in CVSS v4.
1054+ # Corresponds to the JSON property `subsequentSystemIntegrityImpact`
1055+ # @return [String]
1056+ attr_accessor :subsequent_system_integrity_impact
1057+
1058+ # User Interaction (UI). Defined in CVSS v3, v4.
10401059 # Corresponds to the JSON property `userInteraction`
10411060 # @return [String]
10421061 attr_accessor :user_interaction
10431062
1063+ # Vulnerable System Availability Impact (VA). Defined in CVSS v4.
1064+ # Corresponds to the JSON property `vulnerableSystemAvailabilityImpact`
1065+ # @return [String]
1066+ attr_accessor :vulnerable_system_availability_impact
1067+
1068+ # Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
1069+ # Corresponds to the JSON property `vulnerableSystemConfidentialityImpact`
1070+ # @return [String]
1071+ attr_accessor :vulnerable_system_confidentiality_impact
1072+
1073+ # Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
1074+ # Corresponds to the JSON property `vulnerableSystemIntegrityImpact`
1075+ # @return [String]
1076+ attr_accessor :vulnerable_system_integrity_impact
1077+
10441078 def initialize ( **args )
10451079 update! ( **args )
10461080 end
10471081
10481082 # Update properties of this object
10491083 def update! ( **args )
10501084 @attack_complexity = args [ :attack_complexity ] if args . key? ( :attack_complexity )
1085+ @attack_requirements = args [ :attack_requirements ] if args . key? ( :attack_requirements )
10511086 @attack_vector = args [ :attack_vector ] if args . key? ( :attack_vector )
10521087 @authentication = args [ :authentication ] if args . key? ( :authentication )
10531088 @availability_impact = args [ :availability_impact ] if args . key? ( :availability_impact )
@@ -1058,7 +1093,13 @@ def update!(**args)
10581093 @integrity_impact = args [ :integrity_impact ] if args . key? ( :integrity_impact )
10591094 @privileges_required = args [ :privileges_required ] if args . key? ( :privileges_required )
10601095 @scope = args [ :scope ] if args . key? ( :scope )
1096+ @subsequent_system_availability_impact = args [ :subsequent_system_availability_impact ] if args . key? ( :subsequent_system_availability_impact )
1097+ @subsequent_system_confidentiality_impact = args [ :subsequent_system_confidentiality_impact ] if args . key? ( :subsequent_system_confidentiality_impact )
1098+ @subsequent_system_integrity_impact = args [ :subsequent_system_integrity_impact ] if args . key? ( :subsequent_system_integrity_impact )
10611099 @user_interaction = args [ :user_interaction ] if args . key? ( :user_interaction )
1100+ @vulnerable_system_availability_impact = args [ :vulnerable_system_availability_impact ] if args . key? ( :vulnerable_system_availability_impact )
1101+ @vulnerable_system_confidentiality_impact = args [ :vulnerable_system_confidentiality_impact ] if args . key? ( :vulnerable_system_confidentiality_impact )
1102+ @vulnerable_system_integrity_impact = args [ :vulnerable_system_integrity_impact ] if args . key? ( :vulnerable_system_integrity_impact )
10621103 end
10631104 end
10641105
0 commit comments