google-apis-ondemandscanning_v1beta1 0.18.0 → 0.21.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: 738f1b9fb083bec970aed7afe0f3c02f8503a37bfd2325bd2d4a169bd46c5782
4
- data.tar.gz: c7079a8a784f3953899ea53d6dfd728ad085522b7e4e9487310ad98a55c591ba
3
+ metadata.gz: 8b2ae2aaf33df3f4daeb1b348238272be509d5fe78f2d71bb95e9d5295c43f45
4
+ data.tar.gz: c76e887740a926d30b7dab7820160abc1e0dbcbbb119c537e425775815db4869
5
5
  SHA512:
6
- metadata.gz: b4abba9a3bfc068dc6f1bb9ee51e552da980d6fed9b9b1c02ad5c4e84af0b57cc3f8bcfef9728ac58299c02ebb490ae2b06580f4ac3ce030842b2d8b39a26c67
7
- data.tar.gz: 6b21df2b82a8c319bbc1ce766f09175d864e546ec8fb1f5e8b3f996fb645f504121e5b4c7ee975e0425e368aa37f28fff6daaf2c0ebb1e9211b84e7b9d5ee6bb
6
+ metadata.gz: 2afc16d58067e0bc4bf539679a4c059add225fccbb4b2b42b44d8bdc5c03eb0e8216e50f6414a7e0cb88f997dbff7c26b4cbcc96fec5472b8e26792f36fc81b6
7
+ data.tar.gz: 98b55741c7dfa5f5e01169a7aa7e26de00f5520e3b8bced6e2ac58d0999c0be39434632b5b66400cf0df2234eb6252232869b848a351307a596de0d075dab831
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-ondemandscanning_v1beta1
2
2
 
3
+ ### v0.21.0 (2022-05-05)
4
+
5
+ * Regenerated from discovery document revision 20220430
6
+
7
+ ### v0.20.0 (2022-04-28)
8
+
9
+ * Regenerated from discovery document revision 20220425
10
+
11
+ ### v0.19.0 (2022-04-21)
12
+
13
+ * Regenerated from discovery document revision 20220415
14
+
3
15
  ### v0.18.0 (2022-03-30)
4
16
 
5
17
  * Regenerated from discovery document revision 20220326
@@ -413,9 +413,8 @@ module Google
413
413
 
414
414
  # Common Vulnerability Scoring System. For details, see https://www.first.org/
415
415
  # cvss/specification-document This is a message we will try to use for storing
416
- # multiple versions of CVSS. The intention is that as new versions of CVSS
417
- # scores get added, we will be able to modify this message rather than adding
418
- # new protos for each new version of the score.
416
+ # various versions of CVSS rather than making a separate proto for storing a
417
+ # specific version.
419
418
  class Cvss
420
419
  include Google::Apis::Core::Hashable
421
420
 
@@ -908,6 +907,26 @@ module Google
908
907
  end
909
908
  end
910
909
 
910
+ # Indicates the location at which a package was found.
911
+ class FileLocation
912
+ include Google::Apis::Core::Hashable
913
+
914
+ # For jars that are contained inside .war files, this filepath can indicate the
915
+ # path to war file combined with the path to jar file.
916
+ # Corresponds to the JSON property `filePath`
917
+ # @return [String]
918
+ attr_accessor :file_path
919
+
920
+ def initialize(**args)
921
+ update!(**args)
922
+ end
923
+
924
+ # Update properties of this object
925
+ def update!(**args)
926
+ @file_path = args[:file_path] if args.key?(:file_path)
927
+ end
928
+ end
929
+
911
930
  # A set of properties that uniquely identify a given Docker image.
912
931
  class Fingerprint
913
932
  include Google::Apis::Core::Hashable
@@ -1006,6 +1025,26 @@ module Google
1006
1025
  end
1007
1026
  end
1008
1027
 
1028
+ # Indicates the location at which a package was found.
1029
+ class GrafeasV1FileLocation
1030
+ include Google::Apis::Core::Hashable
1031
+
1032
+ # For jars that are contained inside .war files, this filepath can indicate the
1033
+ # path to war file combined with the path to jar file.
1034
+ # Corresponds to the JSON property `filePath`
1035
+ # @return [String]
1036
+ attr_accessor :file_path
1037
+
1038
+ def initialize(**args)
1039
+ update!(**args)
1040
+ end
1041
+
1042
+ # Update properties of this object
1043
+ def update!(**args)
1044
+ @file_path = args[:file_path] if args.key?(:file_path)
1045
+ end
1046
+ end
1047
+
1009
1048
  # Container message for hash values.
1010
1049
  class HashProp
1011
1050
  include Google::Apis::Core::Hashable
@@ -1637,6 +1676,17 @@ module Google
1637
1676
  # @return [String]
1638
1677
  attr_accessor :cpe_uri
1639
1678
 
1679
+ # The path to the jar file / go binary file.
1680
+ # Corresponds to the JSON property `fileLocation`
1681
+ # @return [Array<Google::Apis::OndemandscanningV1beta1::FileLocation>]
1682
+ attr_accessor :file_location
1683
+
1684
+ # HashDigest stores the SHA512 hash digest of the jar file if the package is of
1685
+ # type Maven. This field will be unset for non Maven packages.
1686
+ # Corresponds to the JSON property `hashDigest`
1687
+ # @return [String]
1688
+ attr_accessor :hash_digest
1689
+
1640
1690
  # The OS affected by a vulnerability This field is deprecated and the
1641
1691
  # information is in cpe_uri
1642
1692
  # Corresponds to the JSON property `os`
@@ -1676,6 +1726,8 @@ module Google
1676
1726
  # Update properties of this object
1677
1727
  def update!(**args)
1678
1728
  @cpe_uri = args[:cpe_uri] if args.key?(:cpe_uri)
1729
+ @file_location = args[:file_location] if args.key?(:file_location)
1730
+ @hash_digest = args[:hash_digest] if args.key?(:hash_digest)
1679
1731
  @os = args[:os] if args.key?(:os)
1680
1732
  @os_version = args[:os_version] if args.key?(:os_version)
1681
1733
  @package = args[:package] if args.key?(:package)
@@ -1713,6 +1765,11 @@ module Google
1713
1765
  # @return [String]
1714
1766
  attr_accessor :effective_severity
1715
1767
 
1768
+ # The location at which this package was found.
1769
+ # Corresponds to the JSON property `fileLocation`
1770
+ # @return [Array<Google::Apis::OndemandscanningV1beta1::GrafeasV1FileLocation>]
1771
+ attr_accessor :file_location
1772
+
1716
1773
  # Output only. Whether a fix is available for this package.
1717
1774
  # Corresponds to the JSON property `fixAvailable`
1718
1775
  # @return [Boolean]
@@ -1751,6 +1808,7 @@ module Google
1751
1808
  @affected_package = args[:affected_package] if args.key?(:affected_package)
1752
1809
  @affected_version = args[:affected_version] if args.key?(:affected_version)
1753
1810
  @effective_severity = args[:effective_severity] if args.key?(:effective_severity)
1811
+ @file_location = args[:file_location] if args.key?(:file_location)
1754
1812
  @fix_available = args[:fix_available] if args.key?(:fix_available)
1755
1813
  @fixed_cpe_uri = args[:fixed_cpe_uri] if args.key?(:fixed_cpe_uri)
1756
1814
  @fixed_package = args[:fixed_package] if args.key?(:fixed_package)
@@ -2489,9 +2547,8 @@ module Google
2489
2547
 
2490
2548
  # Common Vulnerability Scoring System. For details, see https://www.first.org/
2491
2549
  # cvss/specification-document This is a message we will try to use for storing
2492
- # multiple versions of CVSS. The intention is that as new versions of CVSS
2493
- # scores get added, we will be able to modify this message rather than adding
2494
- # new protos for each new version of the score.
2550
+ # various versions of CVSS rather than making a separate proto for storing a
2551
+ # specific version.
2495
2552
  # Corresponds to the JSON property `cvssv3`
2496
2553
  # @return [Google::Apis::OndemandscanningV1beta1::Cvss]
2497
2554
  attr_accessor :cvssv3
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module OndemandscanningV1beta1
18
18
  # Version of the google-apis-ondemandscanning_v1beta1 gem
19
- GEM_VERSION = "0.18.0"
19
+ GEM_VERSION = "0.21.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220326"
25
+ REVISION = "20220430"
26
26
  end
27
27
  end
28
28
  end
@@ -166,6 +166,12 @@ module Google
166
166
  include Google::Apis::Core::JsonObjectSupport
167
167
  end
168
168
 
169
+ class FileLocation
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
169
175
  class Fingerprint
170
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
177
 
@@ -184,6 +190,12 @@ module Google
184
190
  include Google::Apis::Core::JsonObjectSupport
185
191
  end
186
192
 
193
+ class GrafeasV1FileLocation
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
187
199
  class HashProp
188
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
201
 
@@ -650,6 +662,13 @@ module Google
650
662
  end
651
663
  end
652
664
 
665
+ class FileLocation
666
+ # @private
667
+ class Representation < Google::Apis::Core::JsonRepresentation
668
+ property :file_path, as: 'filePath'
669
+ end
670
+ end
671
+
653
672
  class Fingerprint
654
673
  # @private
655
674
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -678,6 +697,13 @@ module Google
678
697
  end
679
698
  end
680
699
 
700
+ class GrafeasV1FileLocation
701
+ # @private
702
+ class Representation < Google::Apis::Core::JsonRepresentation
703
+ property :file_path, as: 'filePath'
704
+ end
705
+ end
706
+
681
707
  class HashProp
682
708
  # @private
683
709
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -856,6 +882,9 @@ module Google
856
882
  # @private
857
883
  class Representation < Google::Apis::Core::JsonRepresentation
858
884
  property :cpe_uri, as: 'cpeUri'
885
+ collection :file_location, as: 'fileLocation', class: Google::Apis::OndemandscanningV1beta1::FileLocation, decorator: Google::Apis::OndemandscanningV1beta1::FileLocation::Representation
886
+
887
+ property :hash_digest, as: 'hashDigest'
859
888
  property :os, as: 'os'
860
889
  property :os_version, as: 'osVersion'
861
890
  property :package, as: 'package'
@@ -873,6 +902,8 @@ module Google
873
902
  property :affected_version, as: 'affectedVersion', class: Google::Apis::OndemandscanningV1beta1::Version, decorator: Google::Apis::OndemandscanningV1beta1::Version::Representation
874
903
 
875
904
  property :effective_severity, as: 'effectiveSeverity'
905
+ collection :file_location, as: 'fileLocation', class: Google::Apis::OndemandscanningV1beta1::GrafeasV1FileLocation, decorator: Google::Apis::OndemandscanningV1beta1::GrafeasV1FileLocation::Representation
906
+
876
907
  property :fix_available, as: 'fixAvailable'
877
908
  property :fixed_cpe_uri, as: 'fixedCpeUri'
878
909
  property :fixed_package, as: 'fixedPackage'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-ondemandscanning_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.0
4
+ version: 0.21.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-04 00:00:00.000000000 Z
11
+ date: 2022-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-ondemandscanning_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1beta1/v0.18.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1beta1/v0.21.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-ondemandscanning_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []