google-apis-ondemandscanning_v1 0.17.0 → 0.20.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 939337bc26736f0a965d37cfb27b33a3167934e4d0d20aafdc2ed4edc62bb5d9
|
4
|
+
data.tar.gz: 199cf477d9fe6d0c15d65cbd9a68135f7d7323626fc7e2fd3a5a0b1f79d99992
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2cd892ed5a8b8f6c4617fb0bc3bbac2bf59dea0ec1f5bed6112d38fc1679ed6ac37ffa3e331d8ecf9bde29d9b83af26eb8298da55177071dc6930a2f15e37f0
|
7
|
+
data.tar.gz: c87f6b703164f39e7a707b143ae7fd8a02be86d5be2c28a16ed4f2eb643c997352ce924dee9eb09cb9ca4d9bb061073f4bfca2242dfb788aca1da630939b832a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-ondemandscanning_v1
|
2
2
|
|
3
|
+
### v0.20.0 (2022-05-12)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220509
|
6
|
+
|
7
|
+
### v0.19.0 (2022-05-05)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220430
|
10
|
+
|
11
|
+
### v0.18.0 (2022-04-28)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220425
|
14
|
+
|
3
15
|
### v0.17.0 (2022-04-21)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220415
|
@@ -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
|
-
#
|
425
|
-
#
|
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
|
@@ -1239,6 +1278,34 @@ module Google
|
|
1239
1278
|
end
|
1240
1279
|
end
|
1241
1280
|
|
1281
|
+
# License information.
|
1282
|
+
class License
|
1283
|
+
include Google::Apis::Core::Hashable
|
1284
|
+
|
1285
|
+
# Comments
|
1286
|
+
# Corresponds to the JSON property `comments`
|
1287
|
+
# @return [String]
|
1288
|
+
attr_accessor :comments
|
1289
|
+
|
1290
|
+
# Often a single license can be used to represent the licensing terms. Sometimes
|
1291
|
+
# it is necessary to include a choice of one or more licenses or some
|
1292
|
+
# combination of license identifiers. Examples: "LGPL-2.1-only OR MIT", "LGPL-2.
|
1293
|
+
# 1-only AND MIT", "GPL-2.0-or-later WITH Bison-exception-2.2".
|
1294
|
+
# Corresponds to the JSON property `expression`
|
1295
|
+
# @return [String]
|
1296
|
+
attr_accessor :expression
|
1297
|
+
|
1298
|
+
def initialize(**args)
|
1299
|
+
update!(**args)
|
1300
|
+
end
|
1301
|
+
|
1302
|
+
# Update properties of this object
|
1303
|
+
def update!(**args)
|
1304
|
+
@comments = args[:comments] if args.key?(:comments)
|
1305
|
+
@expression = args[:expression] if args.key?(:expression)
|
1306
|
+
end
|
1307
|
+
end
|
1308
|
+
|
1242
1309
|
# The response message for Operations.ListOperations.
|
1243
1310
|
class ListOperationsResponse
|
1244
1311
|
include Google::Apis::Core::Hashable
|
@@ -1296,8 +1363,7 @@ module Google
|
|
1296
1363
|
class Location
|
1297
1364
|
include Google::Apis::Core::Hashable
|
1298
1365
|
|
1299
|
-
#
|
1300
|
-
# denoting the package manager version distributing a package.
|
1366
|
+
# Deprecated. The CPE URI in [CPE format](https://cpe.mitre.org/specification/)
|
1301
1367
|
# Corresponds to the JSON property `cpeUri`
|
1302
1368
|
# @return [String]
|
1303
1369
|
attr_accessor :cpe_uri
|
@@ -1645,6 +1711,17 @@ module Google
|
|
1645
1711
|
# @return [String]
|
1646
1712
|
attr_accessor :cpe_uri
|
1647
1713
|
|
1714
|
+
# The path to the jar file / go binary file.
|
1715
|
+
# Corresponds to the JSON property `fileLocation`
|
1716
|
+
# @return [Array<Google::Apis::OndemandscanningV1::FileLocation>]
|
1717
|
+
attr_accessor :file_location
|
1718
|
+
|
1719
|
+
# HashDigest stores the SHA512 hash digest of the jar file if the package is of
|
1720
|
+
# type Maven. This field will be unset for non Maven packages.
|
1721
|
+
# Corresponds to the JSON property `hashDigest`
|
1722
|
+
# @return [String]
|
1723
|
+
attr_accessor :hash_digest
|
1724
|
+
|
1648
1725
|
# The OS affected by a vulnerability This field is deprecated and the
|
1649
1726
|
# information is in cpe_uri
|
1650
1727
|
# Corresponds to the JSON property `os`
|
@@ -1667,12 +1744,6 @@ module Google
|
|
1667
1744
|
# @return [String]
|
1668
1745
|
attr_accessor :package_type
|
1669
1746
|
|
1670
|
-
# The path to the jar file / go binary file. The same jar file can be in
|
1671
|
-
# multiple locations - all of them will be listed.
|
1672
|
-
# Corresponds to the JSON property `pathToFile`
|
1673
|
-
# @return [Array<String>]
|
1674
|
-
attr_accessor :path_to_file
|
1675
|
-
|
1676
1747
|
#
|
1677
1748
|
# Corresponds to the JSON property `unused`
|
1678
1749
|
# @return [String]
|
@@ -1690,11 +1761,12 @@ module Google
|
|
1690
1761
|
# Update properties of this object
|
1691
1762
|
def update!(**args)
|
1692
1763
|
@cpe_uri = args[:cpe_uri] if args.key?(:cpe_uri)
|
1764
|
+
@file_location = args[:file_location] if args.key?(:file_location)
|
1765
|
+
@hash_digest = args[:hash_digest] if args.key?(:hash_digest)
|
1693
1766
|
@os = args[:os] if args.key?(:os)
|
1694
1767
|
@os_version = args[:os_version] if args.key?(:os_version)
|
1695
1768
|
@package = args[:package] if args.key?(:package)
|
1696
1769
|
@package_type = args[:package_type] if args.key?(:package_type)
|
1697
|
-
@path_to_file = args[:path_to_file] if args.key?(:path_to_file)
|
1698
1770
|
@unused = args[:unused] if args.key?(:unused)
|
1699
1771
|
@version = args[:version] if args.key?(:version)
|
1700
1772
|
end
|
@@ -1728,6 +1800,11 @@ module Google
|
|
1728
1800
|
# @return [String]
|
1729
1801
|
attr_accessor :effective_severity
|
1730
1802
|
|
1803
|
+
# The location at which this package was found.
|
1804
|
+
# Corresponds to the JSON property `fileLocation`
|
1805
|
+
# @return [Array<Google::Apis::OndemandscanningV1::GrafeasV1FileLocation>]
|
1806
|
+
attr_accessor :file_location
|
1807
|
+
|
1731
1808
|
# Output only. Whether a fix is available for this package.
|
1732
1809
|
# Corresponds to the JSON property `fixAvailable`
|
1733
1810
|
# @return [Boolean]
|
@@ -1766,6 +1843,7 @@ module Google
|
|
1766
1843
|
@affected_package = args[:affected_package] if args.key?(:affected_package)
|
1767
1844
|
@affected_version = args[:affected_version] if args.key?(:affected_version)
|
1768
1845
|
@effective_severity = args[:effective_severity] if args.key?(:effective_severity)
|
1846
|
+
@file_location = args[:file_location] if args.key?(:file_location)
|
1769
1847
|
@fix_available = args[:fix_available] if args.key?(:fix_available)
|
1770
1848
|
@fixed_cpe_uri = args[:fixed_cpe_uri] if args.key?(:fixed_cpe_uri)
|
1771
1849
|
@fixed_package = args[:fixed_package] if args.key?(:fixed_package)
|
@@ -1778,25 +1856,59 @@ module Google
|
|
1778
1856
|
class PackageOccurrence
|
1779
1857
|
include Google::Apis::Core::Hashable
|
1780
1858
|
|
1781
|
-
#
|
1782
|
-
#
|
1859
|
+
# Output only. The CPU architecture for which packages in this distribution
|
1860
|
+
# channel were built. Architecture will be blank for language packages.
|
1861
|
+
# Corresponds to the JSON property `architecture`
|
1862
|
+
# @return [String]
|
1863
|
+
attr_accessor :architecture
|
1864
|
+
|
1865
|
+
# Output only. The cpe_uri in [CPE format](https://cpe.mitre.org/specification/)
|
1866
|
+
# denoting the package manager version distributing a package. The cpe_uri will
|
1867
|
+
# be blank for language packages.
|
1868
|
+
# Corresponds to the JSON property `cpeUri`
|
1869
|
+
# @return [String]
|
1870
|
+
attr_accessor :cpe_uri
|
1871
|
+
|
1872
|
+
# License information.
|
1873
|
+
# Corresponds to the JSON property `license`
|
1874
|
+
# @return [Google::Apis::OndemandscanningV1::License]
|
1875
|
+
attr_accessor :license
|
1876
|
+
|
1877
|
+
# All of the places within the filesystem versions of this package have been
|
1878
|
+
# found.
|
1783
1879
|
# Corresponds to the JSON property `location`
|
1784
1880
|
# @return [Array<Google::Apis::OndemandscanningV1::Location>]
|
1785
1881
|
attr_accessor :location
|
1786
1882
|
|
1787
|
-
# Output only. The name of the installed package.
|
1883
|
+
# Required. Output only. The name of the installed package.
|
1788
1884
|
# Corresponds to the JSON property `name`
|
1789
1885
|
# @return [String]
|
1790
1886
|
attr_accessor :name
|
1791
1887
|
|
1888
|
+
# Output only. The type of package; whether native or non native (e.g., ruby
|
1889
|
+
# gems, node.js packages, etc.).
|
1890
|
+
# Corresponds to the JSON property `packageType`
|
1891
|
+
# @return [String]
|
1892
|
+
attr_accessor :package_type
|
1893
|
+
|
1894
|
+
# Version contains structured information about the version of a package.
|
1895
|
+
# Corresponds to the JSON property `version`
|
1896
|
+
# @return [Google::Apis::OndemandscanningV1::Version]
|
1897
|
+
attr_accessor :version
|
1898
|
+
|
1792
1899
|
def initialize(**args)
|
1793
1900
|
update!(**args)
|
1794
1901
|
end
|
1795
1902
|
|
1796
1903
|
# Update properties of this object
|
1797
1904
|
def update!(**args)
|
1905
|
+
@architecture = args[:architecture] if args.key?(:architecture)
|
1906
|
+
@cpe_uri = args[:cpe_uri] if args.key?(:cpe_uri)
|
1907
|
+
@license = args[:license] if args.key?(:license)
|
1798
1908
|
@location = args[:location] if args.key?(:location)
|
1799
1909
|
@name = args[:name] if args.key?(:name)
|
1910
|
+
@package_type = args[:package_type] if args.key?(:package_type)
|
1911
|
+
@version = args[:version] if args.key?(:version)
|
1800
1912
|
end
|
1801
1913
|
end
|
1802
1914
|
|
@@ -2504,9 +2616,8 @@ module Google
|
|
2504
2616
|
|
2505
2617
|
# Common Vulnerability Scoring System. For details, see https://www.first.org/
|
2506
2618
|
# cvss/specification-document This is a message we will try to use for storing
|
2507
|
-
#
|
2508
|
-
#
|
2509
|
-
# new protos for each new version of the score.
|
2619
|
+
# various versions of CVSS rather than making a separate proto for storing a
|
2620
|
+
# specific version.
|
2510
2621
|
# Corresponds to the JSON property `cvssv3`
|
2511
2622
|
# @return [Google::Apis::OndemandscanningV1::Cvss]
|
2512
2623
|
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.
|
19
|
+
GEM_VERSION = "0.20.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 = "
|
25
|
+
REVISION = "20220509"
|
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
|
|
@@ -226,6 +238,12 @@ module Google
|
|
226
238
|
include Google::Apis::Core::JsonObjectSupport
|
227
239
|
end
|
228
240
|
|
241
|
+
class License
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
229
247
|
class ListOperationsResponse
|
230
248
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
249
|
|
@@ -651,6 +669,13 @@ module Google
|
|
651
669
|
end
|
652
670
|
end
|
653
671
|
|
672
|
+
class FileLocation
|
673
|
+
# @private
|
674
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
675
|
+
property :file_path, as: 'filePath'
|
676
|
+
end
|
677
|
+
end
|
678
|
+
|
654
679
|
class Fingerprint
|
655
680
|
# @private
|
656
681
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -679,6 +704,13 @@ module Google
|
|
679
704
|
end
|
680
705
|
end
|
681
706
|
|
707
|
+
class GrafeasV1FileLocation
|
708
|
+
# @private
|
709
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
710
|
+
property :file_path, as: 'filePath'
|
711
|
+
end
|
712
|
+
end
|
713
|
+
|
682
714
|
class HashProp
|
683
715
|
# @private
|
684
716
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -749,6 +781,14 @@ module Google
|
|
749
781
|
end
|
750
782
|
end
|
751
783
|
|
784
|
+
class License
|
785
|
+
# @private
|
786
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
787
|
+
property :comments, as: 'comments'
|
788
|
+
property :expression, as: 'expression'
|
789
|
+
end
|
790
|
+
end
|
791
|
+
|
752
792
|
class ListOperationsResponse
|
753
793
|
# @private
|
754
794
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -857,11 +897,13 @@ module Google
|
|
857
897
|
# @private
|
858
898
|
class Representation < Google::Apis::Core::JsonRepresentation
|
859
899
|
property :cpe_uri, as: 'cpeUri'
|
900
|
+
collection :file_location, as: 'fileLocation', class: Google::Apis::OndemandscanningV1::FileLocation, decorator: Google::Apis::OndemandscanningV1::FileLocation::Representation
|
901
|
+
|
902
|
+
property :hash_digest, as: 'hashDigest'
|
860
903
|
property :os, as: 'os'
|
861
904
|
property :os_version, as: 'osVersion'
|
862
905
|
property :package, as: 'package'
|
863
906
|
property :package_type, as: 'packageType'
|
864
|
-
collection :path_to_file, as: 'pathToFile'
|
865
907
|
property :unused, as: 'unused'
|
866
908
|
property :version, as: 'version'
|
867
909
|
end
|
@@ -875,6 +917,8 @@ module Google
|
|
875
917
|
property :affected_version, as: 'affectedVersion', class: Google::Apis::OndemandscanningV1::Version, decorator: Google::Apis::OndemandscanningV1::Version::Representation
|
876
918
|
|
877
919
|
property :effective_severity, as: 'effectiveSeverity'
|
920
|
+
collection :file_location, as: 'fileLocation', class: Google::Apis::OndemandscanningV1::GrafeasV1FileLocation, decorator: Google::Apis::OndemandscanningV1::GrafeasV1FileLocation::Representation
|
921
|
+
|
878
922
|
property :fix_available, as: 'fixAvailable'
|
879
923
|
property :fixed_cpe_uri, as: 'fixedCpeUri'
|
880
924
|
property :fixed_package, as: 'fixedPackage'
|
@@ -887,9 +931,16 @@ module Google
|
|
887
931
|
class PackageOccurrence
|
888
932
|
# @private
|
889
933
|
class Representation < Google::Apis::Core::JsonRepresentation
|
934
|
+
property :architecture, as: 'architecture'
|
935
|
+
property :cpe_uri, as: 'cpeUri'
|
936
|
+
property :license, as: 'license', class: Google::Apis::OndemandscanningV1::License, decorator: Google::Apis::OndemandscanningV1::License::Representation
|
937
|
+
|
890
938
|
collection :location, as: 'location', class: Google::Apis::OndemandscanningV1::Location, decorator: Google::Apis::OndemandscanningV1::Location::Representation
|
891
939
|
|
892
940
|
property :name, as: 'name'
|
941
|
+
property :package_type, as: 'packageType'
|
942
|
+
property :version, as: 'version', class: Google::Apis::OndemandscanningV1::Version, decorator: Google::Apis::OndemandscanningV1::Version::Representation
|
943
|
+
|
893
944
|
end
|
894
945
|
end
|
895
946
|
|
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.
|
4
|
+
version: 0.20.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-
|
11
|
+
date: 2022-05-16 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.20.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: []
|