google-apis-containeranalysis_v1 0.73.0 → 0.75.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: cf7025f9d044b07d7da07b65f1cb5b73ed8e0c894479610b7407e930e5e99f70
4
- data.tar.gz: f374c3c88f78bc26ca29a4017ee822b1db4efe4f48f4509eba0cf6c02567d415
3
+ metadata.gz: 19be2c712a950a3256d0de5e43b70e4b7f342dc3c0b4f52fbcbae04d3981ff23
4
+ data.tar.gz: cf7083a1e69fd39f47a329a5c785e005926c865f48715e29181fa6292bfee901
5
5
  SHA512:
6
- metadata.gz: c30ac67267ae714ba90d0da5af4bb7267abb1e702dfab1d3a3c6138fbce7eabfc79fc4473c53a758639984d94f87dc8c57a6611c1fa872c9e2e3b26d5dc5c225
7
- data.tar.gz: 457a1be63782df465387ca25166bd4f730808de945ed858ff33ef70567ffe92d92a1a579721aa35d0b663683b5edd14ae88c1212172b2dec4ed7855c7fb7c11c
6
+ metadata.gz: 5ebd9d7e3323690bdb38909cf835ca485c18eb8ff1b8b662bb34ad0101a2432f3f41021655e2e64f89c509074cf2abba7d7499b4beb954014ed1d078224e977a
7
+ data.tar.gz: d744ed274f501fe86d1a9c4768efa3dbb57faa9a40dbabb6eec3658b74d2aa281c0d8589d7604f8e34c24c17b863e19f2acf150e8fe3f95f8e7b24c3b9426282
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-containeranalysis_v1
2
2
 
3
+ ### v0.75.0 (2026-05-31)
4
+
5
+ * Regenerated from discovery document revision 20260521
6
+
7
+ ### v0.74.0 (2026-05-17)
8
+
9
+ * Regenerated from discovery document revision 20260505
10
+
3
11
  ### v0.73.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::ContaineranalysisV1::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
@@ -974,23 +980,27 @@ module Google
974
980
  class Cvss
975
981
  include Google::Apis::Core::Hashable
976
982
 
977
- #
983
+ # Attack Complexity (AC). Defined in CVSS v2, v3, v4.
978
984
  # Corresponds to the JSON property `attackComplexity`
979
985
  # @return [String]
980
986
  attr_accessor :attack_complexity
981
987
 
982
- # Base Metrics Represents the intrinsic characteristics of a vulnerability that
983
- # 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.
984
994
  # Corresponds to the JSON property `attackVector`
985
995
  # @return [String]
986
996
  attr_accessor :attack_vector
987
997
 
988
- #
998
+ # Authentication (Au). Defined in CVSS v2.
989
999
  # Corresponds to the JSON property `authentication`
990
1000
  # @return [String]
991
1001
  attr_accessor :authentication
992
1002
 
993
- #
1003
+ # Availability Impact (A). Defined in CVSS v2, v3.
994
1004
  # Corresponds to the JSON property `availabilityImpact`
995
1005
  # @return [String]
996
1006
  attr_accessor :availability_impact
@@ -1000,7 +1010,7 @@ module Google
1000
1010
  # @return [Float]
1001
1011
  attr_accessor :base_score
1002
1012
 
1003
- #
1013
+ # Confidentiality Impact (C). Defined in CVSS v2, v3.
1004
1014
  # Corresponds to the JSON property `confidentialityImpact`
1005
1015
  # @return [String]
1006
1016
  attr_accessor :confidentiality_impact
@@ -1015,26 +1025,56 @@ module Google
1015
1025
  # @return [Float]
1016
1026
  attr_accessor :impact_score
1017
1027
 
1018
- #
1028
+ # Integrity Impact (I). Defined in CVSS v2, v3.
1019
1029
  # Corresponds to the JSON property `integrityImpact`
1020
1030
  # @return [String]
1021
1031
  attr_accessor :integrity_impact
1022
1032
 
1023
- #
1033
+ # Privileges Required (PR). Defined in CVSS v3, v4.
1024
1034
  # Corresponds to the JSON property `privilegesRequired`
1025
1035
  # @return [String]
1026
1036
  attr_accessor :privileges_required
1027
1037
 
1028
- #
1038
+ # Scope (S). Defined in CVSS v3.
1029
1039
  # Corresponds to the JSON property `scope`
1030
1040
  # @return [String]
1031
1041
  attr_accessor :scope
1032
1042
 
1033
- #
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.
1034
1059
  # Corresponds to the JSON property `userInteraction`
1035
1060
  # @return [String]
1036
1061
  attr_accessor :user_interaction
1037
1062
 
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
+
1038
1078
  def initialize(**args)
1039
1079
  update!(**args)
1040
1080
  end
@@ -1042,6 +1082,7 @@ module Google
1042
1082
  # Update properties of this object
1043
1083
  def update!(**args)
1044
1084
  @attack_complexity = args[:attack_complexity] if args.key?(:attack_complexity)
1085
+ @attack_requirements = args[:attack_requirements] if args.key?(:attack_requirements)
1045
1086
  @attack_vector = args[:attack_vector] if args.key?(:attack_vector)
1046
1087
  @authentication = args[:authentication] if args.key?(:authentication)
1047
1088
  @availability_impact = args[:availability_impact] if args.key?(:availability_impact)
@@ -1052,7 +1093,13 @@ module Google
1052
1093
  @integrity_impact = args[:integrity_impact] if args.key?(:integrity_impact)
1053
1094
  @privileges_required = args[:privileges_required] if args.key?(:privileges_required)
1054
1095
  @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)
1055
1099
  @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)
1056
1103
  end
1057
1104
  end
1058
1105
 
@@ -4374,35 +4421,47 @@ module Google
4374
4421
  # @return [String]
4375
4422
  attr_accessor :category
4376
4423
 
4377
- # Detailed description of the finding.
4378
- # Corresponds to the JSON property `description`
4379
- # @return [String]
4380
- attr_accessor :description
4381
-
4382
- # Path to the file where the finding was detected.
4383
- # Corresponds to the JSON property `filePath`
4384
- # @return [String]
4385
- attr_accessor :file_path
4424
+ # Location details with file path and line number.
4425
+ # Corresponds to the JSON property `location`
4426
+ # @return [Google::Apis::ContaineranalysisV1::FindingLocation]
4427
+ attr_accessor :location
4386
4428
 
4387
- # Unique identifier of the rule that produced this finding.
4388
- # Corresponds to the JSON property `ruleId`
4429
+ # Scanner determines which engine (e.g. static, llm) emitted the finding.
4430
+ # Corresponds to the JSON property `scanner`
4389
4431
  # @return [String]
4390
- attr_accessor :rule_id
4432
+ attr_accessor :scanner
4391
4433
 
4392
4434
  # Severity of the finding.
4393
4435
  # Corresponds to the JSON property `severity`
4394
4436
  # @return [String]
4395
4437
  attr_accessor :severity
4396
4438
 
4397
- # Code snippet relevant to the finding.
4398
- # Corresponds to the JSON property `snippet`
4399
- # @return [String]
4400
- attr_accessor :snippet
4439
+ def initialize(**args)
4440
+ update!(**args)
4441
+ end
4401
4442
 
4402
- # Title of the finding.
4403
- # Corresponds to the JSON property `title`
4443
+ # Update properties of this object
4444
+ def update!(**args)
4445
+ @category = args[:category] if args.key?(:category)
4446
+ @location = args[:location] if args.key?(:location)
4447
+ @scanner = args[:scanner] if args.key?(:scanner)
4448
+ @severity = args[:severity] if args.key?(:severity)
4449
+ end
4450
+ end
4451
+
4452
+ # Location details with file path and line number.
4453
+ class FindingLocation
4454
+ include Google::Apis::Core::Hashable
4455
+
4456
+ # Relative path of the file containing the finding.
4457
+ # Corresponds to the JSON property `filePath`
4404
4458
  # @return [String]
4405
- attr_accessor :title
4459
+ attr_accessor :file_path
4460
+
4461
+ # Line number (1-based), or 0 if whole File / unknown.
4462
+ # Corresponds to the JSON property `lineNumber`
4463
+ # @return [Fixnum]
4464
+ attr_accessor :line_number
4406
4465
 
4407
4466
  def initialize(**args)
4408
4467
  update!(**args)
@@ -4410,13 +4469,8 @@ module Google
4410
4469
 
4411
4470
  # Update properties of this object
4412
4471
  def update!(**args)
4413
- @category = args[:category] if args.key?(:category)
4414
- @description = args[:description] if args.key?(:description)
4415
4472
  @file_path = args[:file_path] if args.key?(:file_path)
4416
- @rule_id = args[:rule_id] if args.key?(:rule_id)
4417
- @severity = args[:severity] if args.key?(:severity)
4418
- @snippet = args[:snippet] if args.key?(:snippet)
4419
- @title = args[:title] if args.key?(:title)
4473
+ @line_number = args[:line_number] if args.key?(:line_number)
4420
4474
  end
4421
4475
  end
4422
4476
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContaineranalysisV1
18
18
  # Version of the google-apis-containeranalysis_v1 gem
19
- GEM_VERSION = "0.73.0"
19
+ GEM_VERSION = "0.75.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
@@ -628,6 +628,12 @@ module Google
628
628
  include Google::Apis::Core::JsonObjectSupport
629
629
  end
630
630
 
631
+ class FindingLocation
632
+ class Representation < Google::Apis::Core::JsonRepresentation; end
633
+
634
+ include Google::Apis::Core::JsonObjectSupport
635
+ end
636
+
631
637
  class Fingerprint
632
638
  class Representation < Google::Apis::Core::JsonRepresentation; end
633
639
 
@@ -1179,6 +1185,7 @@ module Google
1179
1185
  class Representation < Google::Apis::Core::JsonRepresentation
1180
1186
  collection :findings, as: 'findings', class: Google::Apis::ContaineranalysisV1::Finding, decorator: Google::Apis::ContaineranalysisV1::Finding::Representation
1181
1187
 
1188
+ property :max_severity, as: 'maxSeverity'
1182
1189
  property :skill_name, as: 'skillName'
1183
1190
  end
1184
1191
  end
@@ -1408,6 +1415,7 @@ module Google
1408
1415
  # @private
1409
1416
  class Representation < Google::Apis::Core::JsonRepresentation
1410
1417
  property :attack_complexity, as: 'attackComplexity'
1418
+ property :attack_requirements, as: 'attackRequirements'
1411
1419
  property :attack_vector, as: 'attackVector'
1412
1420
  property :authentication, as: 'authentication'
1413
1421
  property :availability_impact, as: 'availabilityImpact'
@@ -1418,7 +1426,13 @@ module Google
1418
1426
  property :integrity_impact, as: 'integrityImpact'
1419
1427
  property :privileges_required, as: 'privilegesRequired'
1420
1428
  property :scope, as: 'scope'
1429
+ property :subsequent_system_availability_impact, as: 'subsequentSystemAvailabilityImpact'
1430
+ property :subsequent_system_confidentiality_impact, as: 'subsequentSystemConfidentialityImpact'
1431
+ property :subsequent_system_integrity_impact, as: 'subsequentSystemIntegrityImpact'
1421
1432
  property :user_interaction, as: 'userInteraction'
1433
+ property :vulnerable_system_availability_impact, as: 'vulnerableSystemAvailabilityImpact'
1434
+ property :vulnerable_system_confidentiality_impact, as: 'vulnerableSystemConfidentialityImpact'
1435
+ property :vulnerable_system_integrity_impact, as: 'vulnerableSystemIntegrityImpact'
1422
1436
  end
1423
1437
  end
1424
1438
 
@@ -2301,12 +2315,18 @@ module Google
2301
2315
  # @private
2302
2316
  class Representation < Google::Apis::Core::JsonRepresentation
2303
2317
  property :category, as: 'category'
2304
- property :description, as: 'description'
2305
- property :file_path, as: 'filePath'
2306
- property :rule_id, as: 'ruleId'
2318
+ property :location, as: 'location', class: Google::Apis::ContaineranalysisV1::FindingLocation, decorator: Google::Apis::ContaineranalysisV1::FindingLocation::Representation
2319
+
2320
+ property :scanner, as: 'scanner'
2307
2321
  property :severity, as: 'severity'
2308
- property :snippet, as: 'snippet'
2309
- property :title, as: 'title'
2322
+ end
2323
+ end
2324
+
2325
+ class FindingLocation
2326
+ # @private
2327
+ class Representation < Google::Apis::Core::JsonRepresentation
2328
+ property :file_path, as: 'filePath'
2329
+ property :line_number, :numeric_string => true, as: 'lineNumber'
2310
2330
  end
2311
2331
  end
2312
2332
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-containeranalysis_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.73.0
4
+ version: 0.75.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_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1/v0.73.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1/v0.75.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1
62
62
  rdoc_options: []
63
63
  require_paths: