google-apis-containeranalysis_v1alpha1 0.83.0 → 0.84.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: 5e7576eb9bd4976037b8df860070771bed24618a00bcb565e57d62844b95d5c7
4
- data.tar.gz: 19e0a0a08118465944f5148ca99233957735890de41719b321eaf8792becf6fb
3
+ metadata.gz: e5e521e1c3525591bfaf69b09eec732ed3a37f967e365a92d3133e6a20a11d28
4
+ data.tar.gz: 15447c56dcedc10500e65f316dbcba32003057e9fde07a9d92091173f1026308
5
5
  SHA512:
6
- metadata.gz: 6f541c8d277c00929ea766e53fc6bcb642963c433c4d85053f95294137e6389c13c4ece1c329bf111ad87aced932938414b545d12ece5d6d20ba8647e88162ee
7
- data.tar.gz: 99ad951aa91cd3c7855f087cbc14fcefb9c064d441213b9e50c6a935da1ae02142886603b4614ce1b6aab0c9e0407f4d1ae3bf6fad470838a171989599cffff2
6
+ metadata.gz: 9679dc91813780a0886ca7f44464655e3ea3514e51aa8de71eec360a0a29a606ab5b157c3254857d7b94df2812e5c9ad0730e57fe3929cae96ed44a8e97dcead
7
+ data.tar.gz: b3739775ce7718985bfa1b77b78091af53ab97f90bc1d998f67d8a137c3adee2c2945800d08c799dda9f535eaba7cb7d9da7940d6c3183710fee565d2d649a25
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-containeranalysis_v1alpha1
2
2
 
3
+ ### v0.84.0 (2026-05-17)
4
+
5
+ * Regenerated from discovery document revision 20260505
6
+
3
7
  ### v0.83.0 (2026-05-03)
4
8
 
5
9
  * Regenerated from discovery document revision 20260423
@@ -44,6 +44,11 @@ module Google
44
44
  # @return [Array<Google::Apis::ContaineranalysisV1alpha1::Finding>]
45
45
  attr_accessor :findings
46
46
 
47
+ # Optional. Maximum severity found among findings.
48
+ # Corresponds to the JSON property `maxSeverity`
49
+ # @return [String]
50
+ attr_accessor :max_severity
51
+
47
52
  # Optional. 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
@@ -972,38 +978,43 @@ module Google
972
978
  # and v3. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2
973
979
  # calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3
974
980
  # details, see https://www.first.org/cvss/specification-document CVSS v3
975
- # calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator
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
+ # Optional. 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
+ # Optional. Attack Requirements (AT). Defined in CVSS v4.
993
+ # Corresponds to the JSON property `attackRequirements`
994
+ # @return [String]
995
+ attr_accessor :attack_requirements
996
+
997
+ # Optional. 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
+ # Optional. 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
+ # Optional. 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
1000
1011
 
1001
- # The base score is a function of the base metric scores.
1012
+ # Optional. The base score is a function of the base metric scores.
1002
1013
  # Corresponds to the JSON property `baseScore`
1003
1014
  # @return [Float]
1004
1015
  attr_accessor :base_score
1005
1016
 
1006
- # Defined in CVSS v3, CVSS v2
1017
+ # Optional. 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
+ # Optional. 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
+ # Optional. 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
+ # Optional. 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
+ # Optional. 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
+ # Optional. 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
+ # Optional. 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
+ # Optional. 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
+ # Optional. 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
+ # Optional. 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
+ # Optional. 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
 
@@ -4536,35 +4584,48 @@ module Google
4536
4584
  # @return [String]
4537
4585
  attr_accessor :category
4538
4586
 
4539
- # Optional. Detailed description of the finding.
4540
- # Corresponds to the JSON property `description`
4541
- # @return [String]
4542
- attr_accessor :description
4543
-
4544
- # Optional. Path to the file where the finding was detected.
4545
- # Corresponds to the JSON property `filePath`
4546
- # @return [String]
4547
- attr_accessor :file_path
4587
+ # Location details with file path and line number.
4588
+ # Corresponds to the JSON property `location`
4589
+ # @return [Google::Apis::ContaineranalysisV1alpha1::FindingLocation]
4590
+ attr_accessor :location
4548
4591
 
4549
- # Optional. Unique identifier of the rule that produced this finding.
4550
- # Corresponds to the JSON property `ruleId`
4592
+ # Optional. Scanner determines which engine (e.g. static, llm) emitted the
4593
+ # finding.
4594
+ # Corresponds to the JSON property `scanner`
4551
4595
  # @return [String]
4552
- attr_accessor :rule_id
4596
+ attr_accessor :scanner
4553
4597
 
4554
4598
  # Optional. Severity of the finding.
4555
4599
  # Corresponds to the JSON property `severity`
4556
4600
  # @return [String]
4557
4601
  attr_accessor :severity
4558
4602
 
4559
- # Optional. Code snippet relevant to the finding.
4560
- # Corresponds to the JSON property `snippet`
4561
- # @return [String]
4562
- attr_accessor :snippet
4603
+ def initialize(**args)
4604
+ update!(**args)
4605
+ end
4563
4606
 
4564
- # Optional. Title of the finding.
4565
- # Corresponds to the JSON property `title`
4607
+ # Update properties of this object
4608
+ def update!(**args)
4609
+ @category = args[:category] if args.key?(:category)
4610
+ @location = args[:location] if args.key?(:location)
4611
+ @scanner = args[:scanner] if args.key?(:scanner)
4612
+ @severity = args[:severity] if args.key?(:severity)
4613
+ end
4614
+ end
4615
+
4616
+ # Location details with file path and line number.
4617
+ class FindingLocation
4618
+ include Google::Apis::Core::Hashable
4619
+
4620
+ # Optional. Relative path of the file containing the finding.
4621
+ # Corresponds to the JSON property `filePath`
4566
4622
  # @return [String]
4567
- attr_accessor :title
4623
+ attr_accessor :file_path
4624
+
4625
+ # Optional. Line number (1-based), or 0 if whole File / unknown.
4626
+ # Corresponds to the JSON property `lineNumber`
4627
+ # @return [Fixnum]
4628
+ attr_accessor :line_number
4568
4629
 
4569
4630
  def initialize(**args)
4570
4631
  update!(**args)
@@ -4572,13 +4633,8 @@ module Google
4572
4633
 
4573
4634
  # Update properties of this object
4574
4635
  def update!(**args)
4575
- @category = args[:category] if args.key?(:category)
4576
- @description = args[:description] if args.key?(:description)
4577
4636
  @file_path = args[:file_path] if args.key?(:file_path)
4578
- @rule_id = args[:rule_id] if args.key?(:rule_id)
4579
- @severity = args[:severity] if args.key?(:severity)
4580
- @snippet = args[:snippet] if args.key?(:snippet)
4581
- @title = args[:title] if args.key?(:title)
4637
+ @line_number = args[:line_number] if args.key?(:line_number)
4582
4638
  end
4583
4639
  end
4584
4640
 
@@ -8483,7 +8539,9 @@ module Google
8483
8539
  # and v3. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2
8484
8540
  # calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3
8485
8541
  # details, see https://www.first.org/cvss/specification-document CVSS v3
8486
- # calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator
8542
+ # calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator For CVSS v4
8543
+ # details, see https://www.first.org/cvss/v4.0/user-guide CVSS v4 calculator:
8544
+ # https://nvd.nist.gov/vuln-metrics/cvss/v4-calculator
8487
8545
  # Corresponds to the JSON property `cvssV2`
8488
8546
  # @return [Google::Apis::ContaineranalysisV1alpha1::Cvss]
8489
8547
  attr_accessor :cvss_v2
@@ -8492,7 +8550,9 @@ module Google
8492
8550
  # and v3. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2
8493
8551
  # calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3
8494
8552
  # details, see https://www.first.org/cvss/specification-document CVSS v3
8495
- # calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator
8553
+ # calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator For CVSS v4
8554
+ # details, see https://www.first.org/cvss/v4.0/user-guide CVSS v4 calculator:
8555
+ # https://nvd.nist.gov/vuln-metrics/cvss/v4-calculator
8496
8556
  # Corresponds to the JSON property `cvssV3`
8497
8557
  # @return [Google::Apis::ContaineranalysisV1alpha1::Cvss]
8498
8558
  attr_accessor :cvss_v3
@@ -8630,7 +8690,9 @@ module Google
8630
8690
  # and v3. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2
8631
8691
  # calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3
8632
8692
  # details, see https://www.first.org/cvss/specification-document CVSS v3
8633
- # calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator
8693
+ # calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator For CVSS v4
8694
+ # details, see https://www.first.org/cvss/v4.0/user-guide CVSS v4 calculator:
8695
+ # https://nvd.nist.gov/vuln-metrics/cvss/v4-calculator
8634
8696
  # Corresponds to the JSON property `cvssV2`
8635
8697
  # @return [Google::Apis::ContaineranalysisV1alpha1::Cvss]
8636
8698
  attr_accessor :cvss_v2
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContaineranalysisV1alpha1
18
18
  # Version of the google-apis-containeranalysis_v1alpha1 gem
19
- GEM_VERSION = "0.83.0"
19
+ GEM_VERSION = "0.84.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 = "20260505"
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
 
@@ -1227,6 +1233,7 @@ module Google
1227
1233
  class Representation < Google::Apis::Core::JsonRepresentation
1228
1234
  collection :findings, as: 'findings', class: Google::Apis::ContaineranalysisV1alpha1::Finding, decorator: Google::Apis::ContaineranalysisV1alpha1::Finding::Representation
1229
1235
 
1236
+ property :max_severity, as: 'maxSeverity'
1230
1237
  property :skill_name, as: 'skillName'
1231
1238
  end
1232
1239
  end
@@ -1442,6 +1449,7 @@ module Google
1442
1449
  # @private
1443
1450
  class Representation < Google::Apis::Core::JsonRepresentation
1444
1451
  property :attack_complexity, as: 'attackComplexity'
1452
+ property :attack_requirements, as: 'attackRequirements'
1445
1453
  property :attack_vector, as: 'attackVector'
1446
1454
  property :authentication, as: 'authentication'
1447
1455
  property :availability_impact, as: 'availabilityImpact'
@@ -1452,7 +1460,13 @@ module Google
1452
1460
  property :integrity_impact, as: 'integrityImpact'
1453
1461
  property :privileges_required, as: 'privilegesRequired'
1454
1462
  property :scope, as: 'scope'
1463
+ property :subsequent_system_availability_impact, as: 'subsequentSystemAvailabilityImpact'
1464
+ property :subsequent_system_confidentiality_impact, as: 'subsequentSystemConfidentialityImpact'
1465
+ property :subsequent_system_integrity_impact, as: 'subsequentSystemIntegrityImpact'
1455
1466
  property :user_interaction, as: 'userInteraction'
1467
+ property :vulnerable_system_availability_impact, as: 'vulnerableSystemAvailabilityImpact'
1468
+ property :vulnerable_system_confidentiality_impact, as: 'vulnerableSystemConfidentialityImpact'
1469
+ property :vulnerable_system_integrity_impact, as: 'vulnerableSystemIntegrityImpact'
1456
1470
  end
1457
1471
  end
1458
1472
 
@@ -2367,12 +2381,18 @@ module Google
2367
2381
  # @private
2368
2382
  class Representation < Google::Apis::Core::JsonRepresentation
2369
2383
  property :category, as: 'category'
2370
- property :description, as: 'description'
2371
- property :file_path, as: 'filePath'
2372
- property :rule_id, as: 'ruleId'
2384
+ property :location, as: 'location', class: Google::Apis::ContaineranalysisV1alpha1::FindingLocation, decorator: Google::Apis::ContaineranalysisV1alpha1::FindingLocation::Representation
2385
+
2386
+ property :scanner, as: 'scanner'
2373
2387
  property :severity, as: 'severity'
2374
- property :snippet, as: 'snippet'
2375
- property :title, as: 'title'
2388
+ end
2389
+ end
2390
+
2391
+ class FindingLocation
2392
+ # @private
2393
+ class Representation < Google::Apis::Core::JsonRepresentation
2394
+ property :file_path, as: 'filePath'
2395
+ property :line_number, :numeric_string => true, as: 'lineNumber'
2376
2396
  end
2377
2397
  end
2378
2398
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-containeranalysis_v1alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.83.0
4
+ version: 0.84.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_v1alpha1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1alpha1/v0.83.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1alpha1/v0.84.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1alpha1
62
62
  rdoc_options: []
63
63
  require_paths: