google-apis-ondemandscanning_v1 0.16.0 → 0.19.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a87d33960f4f977d6b3b940a20f7b531925f6791a80f5260ac703baefba96f81
4
- data.tar.gz: b96d6248e649c0282e120be4d9f2fac64f15879b6905c057838ed58f18d12010
3
+ metadata.gz: eb8d75a8df35fa88a0933a1fb557efb7e7692abc0e5b3c29d68a22d27b043bbc
4
+ data.tar.gz: 2933df6f31a6dedc06451d9e4001afa5877948379f55f8d48235b83d0ddae0dd
5
5
  SHA512:
6
- metadata.gz: 224c6dcb34a1c30ecf039c29541cea5d5d4032c1c2bd5c8c18dc81911829bb39b115bb4e682a398224f4ad8414fbfc8cc85780d435f202eb792915b1e9dd4bad
7
- data.tar.gz: c5aa3d7a43a1876576a8ce7a91d389aa815261892b149960357a76fc7b2d724968beab69b334f9c7b21780e28287995a0b69d6b111a3a8038bfa8fcb77833651
6
+ metadata.gz: 9f7a2b9c2fa18a48084b13ee93b20392a247f500ed79483844de5ea9f555a2ed19365484a5992dd1df1521503abd28e3f98503d4479c241ca658ea98e53300cb
7
+ data.tar.gz: e98d04abdcfabdb480d4dafc96cc461072960623fe8b792862cefb7cf29978648bb0b042d64c561cfea1e7c1d62a98089af65408d4a8d9e6cec6fec1bca832fa
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-ondemandscanning_v1
2
2
 
3
+ ### v0.19.0 (2022-05-05)
4
+
5
+ * Regenerated from discovery document revision 20220430
6
+
7
+ ### v0.18.0 (2022-04-28)
8
+
9
+ * Regenerated from discovery document revision 20220425
10
+
11
+ ### v0.17.0 (2022-04-21)
12
+
13
+ * Regenerated from discovery document revision 20220415
14
+
3
15
  ### v0.16.0 (2022-03-30)
4
16
 
5
17
  * Regenerated from discovery document revision 20220326
@@ -421,9 +421,8 @@ module Google
421
421
 
422
422
  # Common Vulnerability Scoring System. For details, see https://www.first.org/
423
423
  # cvss/specification-document This is a message we will try to use for storing
424
- # multiple versions of CVSS. The intention is that as new versions of CVSS
425
- # scores get added, we will be able to modify this message rather than adding
426
- # new protos for each new version of the score.
424
+ # various versions of CVSS rather than making a separate proto for storing a
425
+ # specific version.
427
426
  class Cvss
428
427
  include Google::Apis::Core::Hashable
429
428
 
@@ -916,6 +915,26 @@ module Google
916
915
  end
917
916
  end
918
917
 
918
+ # Indicates the location at which a package was found.
919
+ class FileLocation
920
+ include Google::Apis::Core::Hashable
921
+
922
+ # For jars that are contained inside .war files, this filepath can indicate the
923
+ # path to war file combined with the path to jar file.
924
+ # Corresponds to the JSON property `filePath`
925
+ # @return [String]
926
+ attr_accessor :file_path
927
+
928
+ def initialize(**args)
929
+ update!(**args)
930
+ end
931
+
932
+ # Update properties of this object
933
+ def update!(**args)
934
+ @file_path = args[:file_path] if args.key?(:file_path)
935
+ end
936
+ end
937
+
919
938
  # A set of properties that uniquely identify a given Docker image.
920
939
  class Fingerprint
921
940
  include Google::Apis::Core::Hashable
@@ -1014,6 +1033,26 @@ module Google
1014
1033
  end
1015
1034
  end
1016
1035
 
1036
+ # Indicates the location at which a package was found.
1037
+ class GrafeasV1FileLocation
1038
+ include Google::Apis::Core::Hashable
1039
+
1040
+ # For jars that are contained inside .war files, this filepath can indicate the
1041
+ # path to war file combined with the path to jar file.
1042
+ # Corresponds to the JSON property `filePath`
1043
+ # @return [String]
1044
+ attr_accessor :file_path
1045
+
1046
+ def initialize(**args)
1047
+ update!(**args)
1048
+ end
1049
+
1050
+ # Update properties of this object
1051
+ def update!(**args)
1052
+ @file_path = args[:file_path] if args.key?(:file_path)
1053
+ end
1054
+ end
1055
+
1017
1056
  # Container message for hash values.
1018
1057
  class HashProp
1019
1058
  include Google::Apis::Core::Hashable
@@ -1645,6 +1684,17 @@ module Google
1645
1684
  # @return [String]
1646
1685
  attr_accessor :cpe_uri
1647
1686
 
1687
+ # The path to the jar file / go binary file.
1688
+ # Corresponds to the JSON property `fileLocation`
1689
+ # @return [Array<Google::Apis::OndemandscanningV1::FileLocation>]
1690
+ attr_accessor :file_location
1691
+
1692
+ # HashDigest stores the SHA512 hash digest of the jar file if the package is of
1693
+ # type Maven. This field will be unset for non Maven packages.
1694
+ # Corresponds to the JSON property `hashDigest`
1695
+ # @return [String]
1696
+ attr_accessor :hash_digest
1697
+
1648
1698
  # The OS affected by a vulnerability This field is deprecated and the
1649
1699
  # information is in cpe_uri
1650
1700
  # Corresponds to the JSON property `os`
@@ -1684,6 +1734,8 @@ module Google
1684
1734
  # Update properties of this object
1685
1735
  def update!(**args)
1686
1736
  @cpe_uri = args[:cpe_uri] if args.key?(:cpe_uri)
1737
+ @file_location = args[:file_location] if args.key?(:file_location)
1738
+ @hash_digest = args[:hash_digest] if args.key?(:hash_digest)
1687
1739
  @os = args[:os] if args.key?(:os)
1688
1740
  @os_version = args[:os_version] if args.key?(:os_version)
1689
1741
  @package = args[:package] if args.key?(:package)
@@ -1721,6 +1773,11 @@ module Google
1721
1773
  # @return [String]
1722
1774
  attr_accessor :effective_severity
1723
1775
 
1776
+ # The location at which this package was found.
1777
+ # Corresponds to the JSON property `fileLocation`
1778
+ # @return [Array<Google::Apis::OndemandscanningV1::GrafeasV1FileLocation>]
1779
+ attr_accessor :file_location
1780
+
1724
1781
  # Output only. Whether a fix is available for this package.
1725
1782
  # Corresponds to the JSON property `fixAvailable`
1726
1783
  # @return [Boolean]
@@ -1759,6 +1816,7 @@ module Google
1759
1816
  @affected_package = args[:affected_package] if args.key?(:affected_package)
1760
1817
  @affected_version = args[:affected_version] if args.key?(:affected_version)
1761
1818
  @effective_severity = args[:effective_severity] if args.key?(:effective_severity)
1819
+ @file_location = args[:file_location] if args.key?(:file_location)
1762
1820
  @fix_available = args[:fix_available] if args.key?(:fix_available)
1763
1821
  @fixed_cpe_uri = args[:fixed_cpe_uri] if args.key?(:fixed_cpe_uri)
1764
1822
  @fixed_package = args[:fixed_package] if args.key?(:fixed_package)
@@ -2497,9 +2555,8 @@ module Google
2497
2555
 
2498
2556
  # Common Vulnerability Scoring System. For details, see https://www.first.org/
2499
2557
  # cvss/specification-document This is a message we will try to use for storing
2500
- # multiple versions of CVSS. The intention is that as new versions of CVSS
2501
- # scores get added, we will be able to modify this message rather than adding
2502
- # new protos for each new version of the score.
2558
+ # various versions of CVSS rather than making a separate proto for storing a
2559
+ # specific version.
2503
2560
  # Corresponds to the JSON property `cvssv3`
2504
2561
  # @return [Google::Apis::OndemandscanningV1::Cvss]
2505
2562
  attr_accessor :cvssv3
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module OndemandscanningV1
18
18
  # Version of the google-apis-ondemandscanning_v1 gem
19
- GEM_VERSION = "0.16.0"
19
+ GEM_VERSION = "0.19.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
 
@@ -651,6 +663,13 @@ module Google
651
663
  end
652
664
  end
653
665
 
666
+ class FileLocation
667
+ # @private
668
+ class Representation < Google::Apis::Core::JsonRepresentation
669
+ property :file_path, as: 'filePath'
670
+ end
671
+ end
672
+
654
673
  class Fingerprint
655
674
  # @private
656
675
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -679,6 +698,13 @@ module Google
679
698
  end
680
699
  end
681
700
 
701
+ class GrafeasV1FileLocation
702
+ # @private
703
+ class Representation < Google::Apis::Core::JsonRepresentation
704
+ property :file_path, as: 'filePath'
705
+ end
706
+ end
707
+
682
708
  class HashProp
683
709
  # @private
684
710
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -857,6 +883,9 @@ module Google
857
883
  # @private
858
884
  class Representation < Google::Apis::Core::JsonRepresentation
859
885
  property :cpe_uri, as: 'cpeUri'
886
+ collection :file_location, as: 'fileLocation', class: Google::Apis::OndemandscanningV1::FileLocation, decorator: Google::Apis::OndemandscanningV1::FileLocation::Representation
887
+
888
+ property :hash_digest, as: 'hashDigest'
860
889
  property :os, as: 'os'
861
890
  property :os_version, as: 'osVersion'
862
891
  property :package, as: 'package'
@@ -874,6 +903,8 @@ module Google
874
903
  property :affected_version, as: 'affectedVersion', class: Google::Apis::OndemandscanningV1::Version, decorator: Google::Apis::OndemandscanningV1::Version::Representation
875
904
 
876
905
  property :effective_severity, as: 'effectiveSeverity'
906
+ collection :file_location, as: 'fileLocation', class: Google::Apis::OndemandscanningV1::GrafeasV1FileLocation, decorator: Google::Apis::OndemandscanningV1::GrafeasV1FileLocation::Representation
907
+
877
908
  property :fix_available, as: 'fixAvailable'
878
909
  property :fixed_cpe_uri, as: 'fixedCpeUri'
879
910
  property :fixed_package, as: 'fixedPackage'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-ondemandscanning_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.19.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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.16.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.19.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-ondemandscanning_v1
63
63
  post_install_message:
64
64
  rdoc_options: []