google-apis-containeranalysis_v1beta1 0.75.0 → 0.77.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1db4bc8ca2ba233ec391305225e1b447a9cc1b041bb97bdc698ca43d07673dfa
4
- data.tar.gz: 6e96aabaa3d9a15d7b896689cda21926d5ef26315834a297ab4f0da3a18a74e8
3
+ metadata.gz: 60fab316c5d4d33b82778952a0c500be8661faba6f201ad0bd749a7c90224c2a
4
+ data.tar.gz: 8053486e0825333e84b29508128cfc858ba74cbf54fa17238f96212448a9296a
5
5
  SHA512:
6
- metadata.gz: 22cd0f04b8a991583b40aa4ea97daf1c5f145594cfda575d15faf5226fe28f1e2a9e920a30d6760cbbd45c239c42d1f6e5a12711db619415db1fd1dbd06d70c1
7
- data.tar.gz: e8e8683a44914295c04bf1459cd3bc045056ea74486d5693e3249e966a905deb6941d4e5d583c9c528e3392d796263c7b0be1f731dcc0f0b2d09da1b458ccb0f
6
+ metadata.gz: '0681f92c2f092b13c30e73802cf652d633974d8476bf2ff7cc54948b09b9d22386348d3499e06b9e5de4ff99852637da0105ecfc9f40c4e6cf5fec1d30e6388f'
7
+ data.tar.gz: 7a3f7492b6495698ce19aae75b35f3aa3cca0c2e9a74c127b5394a867bd7bdfbacf6ad3e4d812e713b51ec2116db2246c04b1bd650f66d601a607817d5a827be
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-containeranalysis_v1beta1
2
2
 
3
+ ### v0.77.0 (2026-05-31)
4
+
5
+ * Regenerated from discovery document revision 20260521
6
+
7
+ ### v0.76.0 (2026-05-17)
8
+
9
+ * Regenerated from discovery document revision 20260505
10
+
3
11
  ### v0.75.0 (2026-05-03)
4
12
 
5
13
  * Regenerated from discovery document revision 20260423
@@ -44,6 +44,11 @@ module Google
44
44
  # @return [Array<Google::Apis::ContaineranalysisV1beta1::Finding>]
45
45
  attr_accessor :findings
46
46
 
47
+ # Maximum severity found among findings.
48
+ # Corresponds to the JSON property `maxSeverity`
49
+ # @return [String]
50
+ attr_accessor :max_severity
51
+
47
52
  # Name of the skill that produced this analysis.
48
53
  # Corresponds to the JSON property `skillName`
49
54
  # @return [String]
@@ -56,6 +61,7 @@ module Google
56
61
  # Update properties of this object
57
62
  def update!(**args)
58
63
  @findings = args[:findings] if args.key?(:findings)
64
+ @max_severity = args[:max_severity] if args.key?(:max_severity)
59
65
  @skill_name = args[:skill_name] if args.key?(:skill_name)
60
66
  end
61
67
  end
@@ -968,32 +974,37 @@ module Google
968
974
  end
969
975
  end
970
976
 
971
- # Common Vulnerability Scoring System. This message is compatible with CVSS v2
972
- # and v3. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2
973
- # calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3
974
- # details, see https://www.first.org/cvss/specification-document CVSS v3
975
- # calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator
977
+ # Common Vulnerability Scoring System. This message is compatible with CVSS v2,
978
+ # v3, and v4. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS
979
+ # v2 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS
980
+ # v3 details, see https://www.first.org/cvss/specification-document CVSS v3
981
+ # calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator For CVSS v4
982
+ # details, see https://www.first.org/cvss/v4.0/user-guide CVSS v4 calculator:
983
+ # https://nvd.nist.gov/vuln-metrics/cvss/v4-calculator
976
984
  class Cvss
977
985
  include Google::Apis::Core::Hashable
978
986
 
979
- # Defined in CVSS v3, CVSS v2
987
+ # Attack Complexity (AC). Defined in CVSS v2, v3, v4.
980
988
  # Corresponds to the JSON property `attackComplexity`
981
989
  # @return [String]
982
990
  attr_accessor :attack_complexity
983
991
 
984
- # Base Metrics Represents the intrinsic characteristics of a vulnerability that
985
- # are constant over time and across user environments. Defined in CVSS v3, CVSS
986
- # v2
992
+ # Attack Requirements (AT). Defined in CVSS v4.
993
+ # Corresponds to the JSON property `attackRequirements`
994
+ # @return [String]
995
+ attr_accessor :attack_requirements
996
+
997
+ # Attack Vector (AV). Defined in CVSS v2, v3, v4.
987
998
  # Corresponds to the JSON property `attackVector`
988
999
  # @return [String]
989
1000
  attr_accessor :attack_vector
990
1001
 
991
- # Defined in CVSS v2
1002
+ # Authentication (Au). Defined in CVSS v2.
992
1003
  # Corresponds to the JSON property `authentication`
993
1004
  # @return [String]
994
1005
  attr_accessor :authentication
995
1006
 
996
- # Defined in CVSS v3, CVSS v2
1007
+ # Availability Impact (A). Defined in CVSS v2, v3.
997
1008
  # Corresponds to the JSON property `availabilityImpact`
998
1009
  # @return [String]
999
1010
  attr_accessor :availability_impact
@@ -1003,7 +1014,7 @@ module Google
1003
1014
  # @return [Float]
1004
1015
  attr_accessor :base_score
1005
1016
 
1006
- # Defined in CVSS v3, CVSS v2
1017
+ # Confidentiality Impact (C). Defined in CVSS v2, v3.
1007
1018
  # Corresponds to the JSON property `confidentialityImpact`
1008
1019
  # @return [String]
1009
1020
  attr_accessor :confidentiality_impact
@@ -1018,26 +1029,56 @@ module Google
1018
1029
  # @return [Float]
1019
1030
  attr_accessor :impact_score
1020
1031
 
1021
- # Defined in CVSS v3, CVSS v2
1032
+ # Integrity Impact (I). Defined in CVSS v2, v3.
1022
1033
  # Corresponds to the JSON property `integrityImpact`
1023
1034
  # @return [String]
1024
1035
  attr_accessor :integrity_impact
1025
1036
 
1026
- # Defined in CVSS v3
1037
+ # Privileges Required (PR). Defined in CVSS v3, v4.
1027
1038
  # Corresponds to the JSON property `privilegesRequired`
1028
1039
  # @return [String]
1029
1040
  attr_accessor :privileges_required
1030
1041
 
1031
- # Defined in CVSS v3
1042
+ # Scope (S). Defined in CVSS v3.
1032
1043
  # Corresponds to the JSON property `scope`
1033
1044
  # @return [String]
1034
1045
  attr_accessor :scope
1035
1046
 
1036
- # Defined in CVSS v3
1047
+ # Subsequent System Availability Impact (SA). Defined in CVSS v4.
1048
+ # Corresponds to the JSON property `subsequentSystemAvailabilityImpact`
1049
+ # @return [String]
1050
+ attr_accessor :subsequent_system_availability_impact
1051
+
1052
+ # Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
1053
+ # Corresponds to the JSON property `subsequentSystemConfidentialityImpact`
1054
+ # @return [String]
1055
+ attr_accessor :subsequent_system_confidentiality_impact
1056
+
1057
+ # Subsequent System Integrity Impact (SI). Defined in CVSS v4.
1058
+ # Corresponds to the JSON property `subsequentSystemIntegrityImpact`
1059
+ # @return [String]
1060
+ attr_accessor :subsequent_system_integrity_impact
1061
+
1062
+ # User Interaction (UI). Defined in CVSS v3, v4.
1037
1063
  # Corresponds to the JSON property `userInteraction`
1038
1064
  # @return [String]
1039
1065
  attr_accessor :user_interaction
1040
1066
 
1067
+ # Vulnerable System Availability Impact (VA). Defined in CVSS v4.
1068
+ # Corresponds to the JSON property `vulnerableSystemAvailabilityImpact`
1069
+ # @return [String]
1070
+ attr_accessor :vulnerable_system_availability_impact
1071
+
1072
+ # Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
1073
+ # Corresponds to the JSON property `vulnerableSystemConfidentialityImpact`
1074
+ # @return [String]
1075
+ attr_accessor :vulnerable_system_confidentiality_impact
1076
+
1077
+ # Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
1078
+ # Corresponds to the JSON property `vulnerableSystemIntegrityImpact`
1079
+ # @return [String]
1080
+ attr_accessor :vulnerable_system_integrity_impact
1081
+
1041
1082
  def initialize(**args)
1042
1083
  update!(**args)
1043
1084
  end
@@ -1045,6 +1086,7 @@ module Google
1045
1086
  # Update properties of this object
1046
1087
  def update!(**args)
1047
1088
  @attack_complexity = args[:attack_complexity] if args.key?(:attack_complexity)
1089
+ @attack_requirements = args[:attack_requirements] if args.key?(:attack_requirements)
1048
1090
  @attack_vector = args[:attack_vector] if args.key?(:attack_vector)
1049
1091
  @authentication = args[:authentication] if args.key?(:authentication)
1050
1092
  @availability_impact = args[:availability_impact] if args.key?(:availability_impact)
@@ -1055,7 +1097,13 @@ module Google
1055
1097
  @integrity_impact = args[:integrity_impact] if args.key?(:integrity_impact)
1056
1098
  @privileges_required = args[:privileges_required] if args.key?(:privileges_required)
1057
1099
  @scope = args[:scope] if args.key?(:scope)
1100
+ @subsequent_system_availability_impact = args[:subsequent_system_availability_impact] if args.key?(:subsequent_system_availability_impact)
1101
+ @subsequent_system_confidentiality_impact = args[:subsequent_system_confidentiality_impact] if args.key?(:subsequent_system_confidentiality_impact)
1102
+ @subsequent_system_integrity_impact = args[:subsequent_system_integrity_impact] if args.key?(:subsequent_system_integrity_impact)
1058
1103
  @user_interaction = args[:user_interaction] if args.key?(:user_interaction)
1104
+ @vulnerable_system_availability_impact = args[:vulnerable_system_availability_impact] if args.key?(:vulnerable_system_availability_impact)
1105
+ @vulnerable_system_confidentiality_impact = args[:vulnerable_system_confidentiality_impact] if args.key?(:vulnerable_system_confidentiality_impact)
1106
+ @vulnerable_system_integrity_impact = args[:vulnerable_system_integrity_impact] if args.key?(:vulnerable_system_integrity_impact)
1059
1107
  end
1060
1108
  end
1061
1109
 
@@ -4370,35 +4418,47 @@ module Google
4370
4418
  # @return [String]
4371
4419
  attr_accessor :category
4372
4420
 
4373
- # Detailed description of the finding.
4374
- # Corresponds to the JSON property `description`
4375
- # @return [String]
4376
- attr_accessor :description
4377
-
4378
- # Path to the file where the finding was detected.
4379
- # Corresponds to the JSON property `filePath`
4380
- # @return [String]
4381
- attr_accessor :file_path
4421
+ # Location details with file path and line number.
4422
+ # Corresponds to the JSON property `location`
4423
+ # @return [Google::Apis::ContaineranalysisV1beta1::FindingLocation]
4424
+ attr_accessor :location
4382
4425
 
4383
- # Unique identifier of the rule that produced this finding.
4384
- # Corresponds to the JSON property `ruleId`
4426
+ # Scanner determines which engine (e.g. static, llm) emitted the finding.
4427
+ # Corresponds to the JSON property `scanner`
4385
4428
  # @return [String]
4386
- attr_accessor :rule_id
4429
+ attr_accessor :scanner
4387
4430
 
4388
4431
  # Severity of the finding.
4389
4432
  # Corresponds to the JSON property `severity`
4390
4433
  # @return [String]
4391
4434
  attr_accessor :severity
4392
4435
 
4393
- # Code snippet relevant to the finding.
4394
- # Corresponds to the JSON property `snippet`
4395
- # @return [String]
4396
- attr_accessor :snippet
4436
+ def initialize(**args)
4437
+ update!(**args)
4438
+ end
4397
4439
 
4398
- # Title of the finding.
4399
- # Corresponds to the JSON property `title`
4440
+ # Update properties of this object
4441
+ def update!(**args)
4442
+ @category = args[:category] if args.key?(:category)
4443
+ @location = args[:location] if args.key?(:location)
4444
+ @scanner = args[:scanner] if args.key?(:scanner)
4445
+ @severity = args[:severity] if args.key?(:severity)
4446
+ end
4447
+ end
4448
+
4449
+ # Location details with file path and line number.
4450
+ class FindingLocation
4451
+ include Google::Apis::Core::Hashable
4452
+
4453
+ # Relative path of the file containing the finding.
4454
+ # Corresponds to the JSON property `filePath`
4400
4455
  # @return [String]
4401
- attr_accessor :title
4456
+ attr_accessor :file_path
4457
+
4458
+ # Line number (1-based), or 0 if whole File / unknown.
4459
+ # Corresponds to the JSON property `lineNumber`
4460
+ # @return [Fixnum]
4461
+ attr_accessor :line_number
4402
4462
 
4403
4463
  def initialize(**args)
4404
4464
  update!(**args)
@@ -4406,13 +4466,8 @@ module Google
4406
4466
 
4407
4467
  # Update properties of this object
4408
4468
  def update!(**args)
4409
- @category = args[:category] if args.key?(:category)
4410
- @description = args[:description] if args.key?(:description)
4411
4469
  @file_path = args[:file_path] if args.key?(:file_path)
4412
- @rule_id = args[:rule_id] if args.key?(:rule_id)
4413
- @severity = args[:severity] if args.key?(:severity)
4414
- @snippet = args[:snippet] if args.key?(:snippet)
4415
- @title = args[:title] if args.key?(:title)
4470
+ @line_number = args[:line_number] if args.key?(:line_number)
4416
4471
  end
4417
4472
  end
4418
4473
 
@@ -4886,20 +4941,24 @@ module Google
4886
4941
  # @return [Float]
4887
4942
  attr_accessor :cvss_score
4888
4943
 
4889
- # Common Vulnerability Scoring System. This message is compatible with CVSS v2
4890
- # and v3. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2
4891
- # calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3
4892
- # details, see https://www.first.org/cvss/specification-document CVSS v3
4893
- # calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator
4944
+ # Common Vulnerability Scoring System. This message is compatible with CVSS v2,
4945
+ # v3, and v4. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS
4946
+ # v2 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS
4947
+ # v3 details, see https://www.first.org/cvss/specification-document CVSS v3
4948
+ # calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator For CVSS v4
4949
+ # details, see https://www.first.org/cvss/v4.0/user-guide CVSS v4 calculator:
4950
+ # https://nvd.nist.gov/vuln-metrics/cvss/v4-calculator
4894
4951
  # Corresponds to the JSON property `cvssV2`
4895
4952
  # @return [Google::Apis::ContaineranalysisV1beta1::Cvss]
4896
4953
  attr_accessor :cvss_v2
4897
4954
 
4898
- # Common Vulnerability Scoring System. This message is compatible with CVSS v2
4899
- # and v3. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2
4900
- # calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3
4901
- # details, see https://www.first.org/cvss/specification-document CVSS v3
4902
- # calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator
4955
+ # Common Vulnerability Scoring System. This message is compatible with CVSS v2,
4956
+ # v3, and v4. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS
4957
+ # v2 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS
4958
+ # v3 details, see https://www.first.org/cvss/specification-document CVSS v3
4959
+ # calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator For CVSS v4
4960
+ # details, see https://www.first.org/cvss/v4.0/user-guide CVSS v4 calculator:
4961
+ # https://nvd.nist.gov/vuln-metrics/cvss/v4-calculator
4903
4962
  # Corresponds to the JSON property `cvssV3`
4904
4963
  # @return [Google::Apis::ContaineranalysisV1beta1::Cvss]
4905
4964
  attr_accessor :cvss_v3
@@ -7596,11 +7655,13 @@ module Google
7596
7655
  # @return [Float]
7597
7656
  attr_accessor :cvss_score
7598
7657
 
7599
- # Common Vulnerability Scoring System. This message is compatible with CVSS v2
7600
- # and v3. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2
7601
- # calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3
7602
- # details, see https://www.first.org/cvss/specification-document CVSS v3
7603
- # calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator
7658
+ # Common Vulnerability Scoring System. This message is compatible with CVSS v2,
7659
+ # v3, and v4. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS
7660
+ # v2 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS
7661
+ # v3 details, see https://www.first.org/cvss/specification-document CVSS v3
7662
+ # calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator For CVSS v4
7663
+ # details, see https://www.first.org/cvss/v4.0/user-guide CVSS v4 calculator:
7664
+ # https://nvd.nist.gov/vuln-metrics/cvss/v4-calculator
7604
7665
  # Corresponds to the JSON property `cvssV2`
7605
7666
  # @return [Google::Apis::ContaineranalysisV1beta1::Cvss]
7606
7667
  attr_accessor :cvss_v2
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContaineranalysisV1beta1
18
18
  # Version of the google-apis-containeranalysis_v1beta1 gem
19
- GEM_VERSION = "0.75.0"
19
+ GEM_VERSION = "0.77.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260423"
25
+ REVISION = "20260521"
26
26
  end
27
27
  end
28
28
  end
@@ -622,6 +622,12 @@ module Google
622
622
  include Google::Apis::Core::JsonObjectSupport
623
623
  end
624
624
 
625
+ class FindingLocation
626
+ class Representation < Google::Apis::Core::JsonRepresentation; end
627
+
628
+ include Google::Apis::Core::JsonObjectSupport
629
+ end
630
+
625
631
  class Fingerprint
626
632
  class Representation < Google::Apis::Core::JsonRepresentation; end
627
633
 
@@ -1131,6 +1137,7 @@ module Google
1131
1137
  class Representation < Google::Apis::Core::JsonRepresentation
1132
1138
  collection :findings, as: 'findings', class: Google::Apis::ContaineranalysisV1beta1::Finding, decorator: Google::Apis::ContaineranalysisV1beta1::Finding::Representation
1133
1139
 
1140
+ property :max_severity, as: 'maxSeverity'
1134
1141
  property :skill_name, as: 'skillName'
1135
1142
  end
1136
1143
  end
@@ -1362,6 +1369,7 @@ module Google
1362
1369
  # @private
1363
1370
  class Representation < Google::Apis::Core::JsonRepresentation
1364
1371
  property :attack_complexity, as: 'attackComplexity'
1372
+ property :attack_requirements, as: 'attackRequirements'
1365
1373
  property :attack_vector, as: 'attackVector'
1366
1374
  property :authentication, as: 'authentication'
1367
1375
  property :availability_impact, as: 'availabilityImpact'
@@ -1372,7 +1380,13 @@ module Google
1372
1380
  property :integrity_impact, as: 'integrityImpact'
1373
1381
  property :privileges_required, as: 'privilegesRequired'
1374
1382
  property :scope, as: 'scope'
1383
+ property :subsequent_system_availability_impact, as: 'subsequentSystemAvailabilityImpact'
1384
+ property :subsequent_system_confidentiality_impact, as: 'subsequentSystemConfidentialityImpact'
1385
+ property :subsequent_system_integrity_impact, as: 'subsequentSystemIntegrityImpact'
1375
1386
  property :user_interaction, as: 'userInteraction'
1387
+ property :vulnerable_system_availability_impact, as: 'vulnerableSystemAvailabilityImpact'
1388
+ property :vulnerable_system_confidentiality_impact, as: 'vulnerableSystemConfidentialityImpact'
1389
+ property :vulnerable_system_integrity_impact, as: 'vulnerableSystemIntegrityImpact'
1376
1390
  end
1377
1391
  end
1378
1392
 
@@ -2241,12 +2255,18 @@ module Google
2241
2255
  # @private
2242
2256
  class Representation < Google::Apis::Core::JsonRepresentation
2243
2257
  property :category, as: 'category'
2244
- property :description, as: 'description'
2245
- property :file_path, as: 'filePath'
2246
- property :rule_id, as: 'ruleId'
2258
+ property :location, as: 'location', class: Google::Apis::ContaineranalysisV1beta1::FindingLocation, decorator: Google::Apis::ContaineranalysisV1beta1::FindingLocation::Representation
2259
+
2260
+ property :scanner, as: 'scanner'
2247
2261
  property :severity, as: 'severity'
2248
- property :snippet, as: 'snippet'
2249
- property :title, as: 'title'
2262
+ end
2263
+ end
2264
+
2265
+ class FindingLocation
2266
+ # @private
2267
+ class Representation < Google::Apis::Core::JsonRepresentation
2268
+ property :file_path, as: 'filePath'
2269
+ property :line_number, :numeric_string => true, as: 'lineNumber'
2250
2270
  end
2251
2271
  end
2252
2272
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-containeranalysis_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.75.0
4
+ version: 0.77.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1beta1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1beta1/v0.75.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1beta1/v0.77.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1beta1
62
62
  rdoc_options: []
63
63
  require_paths: