google-apis-ondemandscanning_v1beta1 0.19.0 → 0.22.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: 3714a33d13b823cf1c93622b211b4c2b54b84f74997a7529c2252c0578d6f9a1
|
4
|
+
data.tar.gz: 8cc921cacd8ccea2cda634d84eb0123d834903cfc3580748549d2f57600770a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9660df4268dff06920c94efc0a3c593e059cfde9070cb4ab7e286f233a2180fc6270a88193efd3ca7eb3c14a4352c65e314f7757209dcd499769d7a71d55297
|
7
|
+
data.tar.gz: 556ce38e5a30802794dc30cd714a64ed26eb2f210a5db73dfa501171886e004221cb028316fa85bcd601440cbe9a398da3f6bef1a30fd39a3f6d62c52b6b5f5f
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-ondemandscanning_v1beta1
|
2
2
|
|
3
|
+
### v0.22.0 (2022-05-11)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220509
|
6
|
+
|
7
|
+
### v0.21.0 (2022-05-05)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220430
|
10
|
+
|
11
|
+
### v0.20.0 (2022-04-28)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220425
|
14
|
+
|
3
15
|
### v0.19.0 (2022-04-21)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220415
|
@@ -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
|
-
#
|
417
|
-
#
|
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
|
@@ -1231,6 +1270,34 @@ module Google
|
|
1231
1270
|
end
|
1232
1271
|
end
|
1233
1272
|
|
1273
|
+
# License information.
|
1274
|
+
class License
|
1275
|
+
include Google::Apis::Core::Hashable
|
1276
|
+
|
1277
|
+
# Comments
|
1278
|
+
# Corresponds to the JSON property `comments`
|
1279
|
+
# @return [String]
|
1280
|
+
attr_accessor :comments
|
1281
|
+
|
1282
|
+
# Often a single license can be used to represent the licensing terms. Sometimes
|
1283
|
+
# it is necessary to include a choice of one or more licenses or some
|
1284
|
+
# combination of license identifiers. Examples: "LGPL-2.1-only OR MIT", "LGPL-2.
|
1285
|
+
# 1-only AND MIT", "GPL-2.0-or-later WITH Bison-exception-2.2".
|
1286
|
+
# Corresponds to the JSON property `expression`
|
1287
|
+
# @return [String]
|
1288
|
+
attr_accessor :expression
|
1289
|
+
|
1290
|
+
def initialize(**args)
|
1291
|
+
update!(**args)
|
1292
|
+
end
|
1293
|
+
|
1294
|
+
# Update properties of this object
|
1295
|
+
def update!(**args)
|
1296
|
+
@comments = args[:comments] if args.key?(:comments)
|
1297
|
+
@expression = args[:expression] if args.key?(:expression)
|
1298
|
+
end
|
1299
|
+
end
|
1300
|
+
|
1234
1301
|
# The response message for Operations.ListOperations.
|
1235
1302
|
class ListOperationsResponse
|
1236
1303
|
include Google::Apis::Core::Hashable
|
@@ -1288,8 +1355,7 @@ module Google
|
|
1288
1355
|
class Location
|
1289
1356
|
include Google::Apis::Core::Hashable
|
1290
1357
|
|
1291
|
-
#
|
1292
|
-
# denoting the package manager version distributing a package.
|
1358
|
+
# Deprecated. The CPE URI in [CPE format](https://cpe.mitre.org/specification/)
|
1293
1359
|
# Corresponds to the JSON property `cpeUri`
|
1294
1360
|
# @return [String]
|
1295
1361
|
attr_accessor :cpe_uri
|
@@ -1637,6 +1703,17 @@ module Google
|
|
1637
1703
|
# @return [String]
|
1638
1704
|
attr_accessor :cpe_uri
|
1639
1705
|
|
1706
|
+
# The path to the jar file / go binary file.
|
1707
|
+
# Corresponds to the JSON property `fileLocation`
|
1708
|
+
# @return [Array<Google::Apis::OndemandscanningV1beta1::FileLocation>]
|
1709
|
+
attr_accessor :file_location
|
1710
|
+
|
1711
|
+
# HashDigest stores the SHA512 hash digest of the jar file if the package is of
|
1712
|
+
# type Maven. This field will be unset for non Maven packages.
|
1713
|
+
# Corresponds to the JSON property `hashDigest`
|
1714
|
+
# @return [String]
|
1715
|
+
attr_accessor :hash_digest
|
1716
|
+
|
1640
1717
|
# The OS affected by a vulnerability This field is deprecated and the
|
1641
1718
|
# information is in cpe_uri
|
1642
1719
|
# Corresponds to the JSON property `os`
|
@@ -1659,12 +1736,6 @@ module Google
|
|
1659
1736
|
# @return [String]
|
1660
1737
|
attr_accessor :package_type
|
1661
1738
|
|
1662
|
-
# The path to the jar file / go binary file. The same jar file can be in
|
1663
|
-
# multiple locations - all of them will be listed.
|
1664
|
-
# Corresponds to the JSON property `pathToFile`
|
1665
|
-
# @return [Array<String>]
|
1666
|
-
attr_accessor :path_to_file
|
1667
|
-
|
1668
1739
|
#
|
1669
1740
|
# Corresponds to the JSON property `unused`
|
1670
1741
|
# @return [String]
|
@@ -1682,11 +1753,12 @@ module Google
|
|
1682
1753
|
# Update properties of this object
|
1683
1754
|
def update!(**args)
|
1684
1755
|
@cpe_uri = args[:cpe_uri] if args.key?(:cpe_uri)
|
1756
|
+
@file_location = args[:file_location] if args.key?(:file_location)
|
1757
|
+
@hash_digest = args[:hash_digest] if args.key?(:hash_digest)
|
1685
1758
|
@os = args[:os] if args.key?(:os)
|
1686
1759
|
@os_version = args[:os_version] if args.key?(:os_version)
|
1687
1760
|
@package = args[:package] if args.key?(:package)
|
1688
1761
|
@package_type = args[:package_type] if args.key?(:package_type)
|
1689
|
-
@path_to_file = args[:path_to_file] if args.key?(:path_to_file)
|
1690
1762
|
@unused = args[:unused] if args.key?(:unused)
|
1691
1763
|
@version = args[:version] if args.key?(:version)
|
1692
1764
|
end
|
@@ -1720,6 +1792,11 @@ module Google
|
|
1720
1792
|
# @return [String]
|
1721
1793
|
attr_accessor :effective_severity
|
1722
1794
|
|
1795
|
+
# The location at which this package was found.
|
1796
|
+
# Corresponds to the JSON property `fileLocation`
|
1797
|
+
# @return [Array<Google::Apis::OndemandscanningV1beta1::GrafeasV1FileLocation>]
|
1798
|
+
attr_accessor :file_location
|
1799
|
+
|
1723
1800
|
# Output only. Whether a fix is available for this package.
|
1724
1801
|
# Corresponds to the JSON property `fixAvailable`
|
1725
1802
|
# @return [Boolean]
|
@@ -1758,6 +1835,7 @@ module Google
|
|
1758
1835
|
@affected_package = args[:affected_package] if args.key?(:affected_package)
|
1759
1836
|
@affected_version = args[:affected_version] if args.key?(:affected_version)
|
1760
1837
|
@effective_severity = args[:effective_severity] if args.key?(:effective_severity)
|
1838
|
+
@file_location = args[:file_location] if args.key?(:file_location)
|
1761
1839
|
@fix_available = args[:fix_available] if args.key?(:fix_available)
|
1762
1840
|
@fixed_cpe_uri = args[:fixed_cpe_uri] if args.key?(:fixed_cpe_uri)
|
1763
1841
|
@fixed_package = args[:fixed_package] if args.key?(:fixed_package)
|
@@ -1770,25 +1848,59 @@ module Google
|
|
1770
1848
|
class PackageOccurrence
|
1771
1849
|
include Google::Apis::Core::Hashable
|
1772
1850
|
|
1773
|
-
#
|
1774
|
-
#
|
1851
|
+
# Output only. The CPU architecture for which packages in this distribution
|
1852
|
+
# channel were built. Architecture will be blank for language packages.
|
1853
|
+
# Corresponds to the JSON property `architecture`
|
1854
|
+
# @return [String]
|
1855
|
+
attr_accessor :architecture
|
1856
|
+
|
1857
|
+
# Output only. The cpe_uri in [CPE format](https://cpe.mitre.org/specification/)
|
1858
|
+
# denoting the package manager version distributing a package. The cpe_uri will
|
1859
|
+
# be blank for language packages.
|
1860
|
+
# Corresponds to the JSON property `cpeUri`
|
1861
|
+
# @return [String]
|
1862
|
+
attr_accessor :cpe_uri
|
1863
|
+
|
1864
|
+
# License information.
|
1865
|
+
# Corresponds to the JSON property `license`
|
1866
|
+
# @return [Google::Apis::OndemandscanningV1beta1::License]
|
1867
|
+
attr_accessor :license
|
1868
|
+
|
1869
|
+
# All of the places within the filesystem versions of this package have been
|
1870
|
+
# found.
|
1775
1871
|
# Corresponds to the JSON property `location`
|
1776
1872
|
# @return [Array<Google::Apis::OndemandscanningV1beta1::Location>]
|
1777
1873
|
attr_accessor :location
|
1778
1874
|
|
1779
|
-
# Output only. The name of the installed package.
|
1875
|
+
# Required. Output only. The name of the installed package.
|
1780
1876
|
# Corresponds to the JSON property `name`
|
1781
1877
|
# @return [String]
|
1782
1878
|
attr_accessor :name
|
1783
1879
|
|
1880
|
+
# Output only. The type of package; whether native or non native (e.g., ruby
|
1881
|
+
# gems, node.js packages, etc.).
|
1882
|
+
# Corresponds to the JSON property `packageType`
|
1883
|
+
# @return [String]
|
1884
|
+
attr_accessor :package_type
|
1885
|
+
|
1886
|
+
# Version contains structured information about the version of a package.
|
1887
|
+
# Corresponds to the JSON property `version`
|
1888
|
+
# @return [Google::Apis::OndemandscanningV1beta1::Version]
|
1889
|
+
attr_accessor :version
|
1890
|
+
|
1784
1891
|
def initialize(**args)
|
1785
1892
|
update!(**args)
|
1786
1893
|
end
|
1787
1894
|
|
1788
1895
|
# Update properties of this object
|
1789
1896
|
def update!(**args)
|
1897
|
+
@architecture = args[:architecture] if args.key?(:architecture)
|
1898
|
+
@cpe_uri = args[:cpe_uri] if args.key?(:cpe_uri)
|
1899
|
+
@license = args[:license] if args.key?(:license)
|
1790
1900
|
@location = args[:location] if args.key?(:location)
|
1791
1901
|
@name = args[:name] if args.key?(:name)
|
1902
|
+
@package_type = args[:package_type] if args.key?(:package_type)
|
1903
|
+
@version = args[:version] if args.key?(:version)
|
1792
1904
|
end
|
1793
1905
|
end
|
1794
1906
|
|
@@ -2496,9 +2608,8 @@ module Google
|
|
2496
2608
|
|
2497
2609
|
# Common Vulnerability Scoring System. For details, see https://www.first.org/
|
2498
2610
|
# cvss/specification-document This is a message we will try to use for storing
|
2499
|
-
#
|
2500
|
-
#
|
2501
|
-
# new protos for each new version of the score.
|
2611
|
+
# various versions of CVSS rather than making a separate proto for storing a
|
2612
|
+
# specific version.
|
2502
2613
|
# Corresponds to the JSON property `cvssv3`
|
2503
2614
|
# @return [Google::Apis::OndemandscanningV1beta1::Cvss]
|
2504
2615
|
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.
|
19
|
+
GEM_VERSION = "0.22.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
|
|
@@ -650,6 +668,13 @@ module Google
|
|
650
668
|
end
|
651
669
|
end
|
652
670
|
|
671
|
+
class FileLocation
|
672
|
+
# @private
|
673
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
674
|
+
property :file_path, as: 'filePath'
|
675
|
+
end
|
676
|
+
end
|
677
|
+
|
653
678
|
class Fingerprint
|
654
679
|
# @private
|
655
680
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -678,6 +703,13 @@ module Google
|
|
678
703
|
end
|
679
704
|
end
|
680
705
|
|
706
|
+
class GrafeasV1FileLocation
|
707
|
+
# @private
|
708
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
709
|
+
property :file_path, as: 'filePath'
|
710
|
+
end
|
711
|
+
end
|
712
|
+
|
681
713
|
class HashProp
|
682
714
|
# @private
|
683
715
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -748,6 +780,14 @@ module Google
|
|
748
780
|
end
|
749
781
|
end
|
750
782
|
|
783
|
+
class License
|
784
|
+
# @private
|
785
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
786
|
+
property :comments, as: 'comments'
|
787
|
+
property :expression, as: 'expression'
|
788
|
+
end
|
789
|
+
end
|
790
|
+
|
751
791
|
class ListOperationsResponse
|
752
792
|
# @private
|
753
793
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -856,11 +896,13 @@ module Google
|
|
856
896
|
# @private
|
857
897
|
class Representation < Google::Apis::Core::JsonRepresentation
|
858
898
|
property :cpe_uri, as: 'cpeUri'
|
899
|
+
collection :file_location, as: 'fileLocation', class: Google::Apis::OndemandscanningV1beta1::FileLocation, decorator: Google::Apis::OndemandscanningV1beta1::FileLocation::Representation
|
900
|
+
|
901
|
+
property :hash_digest, as: 'hashDigest'
|
859
902
|
property :os, as: 'os'
|
860
903
|
property :os_version, as: 'osVersion'
|
861
904
|
property :package, as: 'package'
|
862
905
|
property :package_type, as: 'packageType'
|
863
|
-
collection :path_to_file, as: 'pathToFile'
|
864
906
|
property :unused, as: 'unused'
|
865
907
|
property :version, as: 'version'
|
866
908
|
end
|
@@ -874,6 +916,8 @@ module Google
|
|
874
916
|
property :affected_version, as: 'affectedVersion', class: Google::Apis::OndemandscanningV1beta1::Version, decorator: Google::Apis::OndemandscanningV1beta1::Version::Representation
|
875
917
|
|
876
918
|
property :effective_severity, as: 'effectiveSeverity'
|
919
|
+
collection :file_location, as: 'fileLocation', class: Google::Apis::OndemandscanningV1beta1::GrafeasV1FileLocation, decorator: Google::Apis::OndemandscanningV1beta1::GrafeasV1FileLocation::Representation
|
920
|
+
|
877
921
|
property :fix_available, as: 'fixAvailable'
|
878
922
|
property :fixed_cpe_uri, as: 'fixedCpeUri'
|
879
923
|
property :fixed_package, as: 'fixedPackage'
|
@@ -886,9 +930,16 @@ module Google
|
|
886
930
|
class PackageOccurrence
|
887
931
|
# @private
|
888
932
|
class Representation < Google::Apis::Core::JsonRepresentation
|
933
|
+
property :architecture, as: 'architecture'
|
934
|
+
property :cpe_uri, as: 'cpeUri'
|
935
|
+
property :license, as: 'license', class: Google::Apis::OndemandscanningV1beta1::License, decorator: Google::Apis::OndemandscanningV1beta1::License::Representation
|
936
|
+
|
889
937
|
collection :location, as: 'location', class: Google::Apis::OndemandscanningV1beta1::Location, decorator: Google::Apis::OndemandscanningV1beta1::Location::Representation
|
890
938
|
|
891
939
|
property :name, as: 'name'
|
940
|
+
property :package_type, as: 'packageType'
|
941
|
+
property :version, as: 'version', class: Google::Apis::OndemandscanningV1beta1::Version, decorator: Google::Apis::OndemandscanningV1beta1::Version::Representation
|
942
|
+
|
892
943
|
end
|
893
944
|
end
|
894
945
|
|
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.
|
4
|
+
version: 0.22.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_v1beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1beta1/v0.22.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: []
|