google-apis-ondemandscanning_v1 0.8.0 → 0.9.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: e4c96d2269729b21f009800c4aef8bc0497d309e7de22e90c7693a4073248b28
4
- data.tar.gz: bd386ca026a341af1269184db84128069038226bf793fcb3cdf7add804fd98b2
3
+ metadata.gz: 4ed26d9982ec130feb05ef564a2f09f869f5d6d78c547241f7f813fbede31e8a
4
+ data.tar.gz: 40a32b96d9eb76688ebe8bd5d091c9187f8e8886bf5ff387cf4f7855b49bc333
5
5
  SHA512:
6
- metadata.gz: 7c2ffad6f0b9bea816428cfcf345f4c6850a038917a81da0e6359cae1964277f9e3687a8ee6a4a0fac67e03451520000920b1ea32cbada18e51a614320f7e56e
7
- data.tar.gz: 475d59e609b85951642263b3a1cbcecc130a850173f67aea5b4ca8a61251ab37396b414537320428753d39e0754641e68aadd020ce058564e89ac8de045e8d18
6
+ metadata.gz: 96aed441f63cafcc58ffc22ddcb088a35422f155c549aa9b5116bd7dac8f1b599818f1e075565b90ad74188f931000e4643b67f1055f8bd7b1b358fea4fd398d
7
+ data.tar.gz: 9f69b038f29a7bd7e1ac1da4067e49b9074f1c3d10260b6a2b6630af431942acec0b3e510a05620192090f5b6e00f7342f6732f5743eca63a06f07ce8f4b35eb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-ondemandscanning_v1
2
2
 
3
+ ### v0.9.0 (2021-09-01)
4
+
5
+ * Regenerated from discovery document revision 20210824
6
+
3
7
  ### v0.8.0 (2021-08-05)
4
8
 
5
9
  * Regenerated from discovery document revision 20210731
@@ -1567,6 +1567,13 @@ module Google
1567
1567
  # @return [Google::Apis::OndemandscanningV1::Version]
1568
1568
  attr_accessor :affected_version
1569
1569
 
1570
+ # Output only. The distro or language system assigned severity for this
1571
+ # vulnerability when that is available and note provider assigned severity when
1572
+ # it is not available.
1573
+ # Corresponds to the JSON property `effectiveSeverity`
1574
+ # @return [String]
1575
+ attr_accessor :effective_severity
1576
+
1570
1577
  # Output only. Whether a fix is available for this package.
1571
1578
  # Corresponds to the JSON property `fixAvailable`
1572
1579
  # @return [Boolean]
@@ -1590,6 +1597,11 @@ module Google
1590
1597
  # @return [Google::Apis::OndemandscanningV1::Version]
1591
1598
  attr_accessor :fixed_version
1592
1599
 
1600
+ # The type of package (e.g. OS, MAVEN, GO).
1601
+ # Corresponds to the JSON property `packageType`
1602
+ # @return [String]
1603
+ attr_accessor :package_type
1604
+
1593
1605
  def initialize(**args)
1594
1606
  update!(**args)
1595
1607
  end
@@ -1599,10 +1611,12 @@ module Google
1599
1611
  @affected_cpe_uri = args[:affected_cpe_uri] if args.key?(:affected_cpe_uri)
1600
1612
  @affected_package = args[:affected_package] if args.key?(:affected_package)
1601
1613
  @affected_version = args[:affected_version] if args.key?(:affected_version)
1614
+ @effective_severity = args[:effective_severity] if args.key?(:effective_severity)
1602
1615
  @fix_available = args[:fix_available] if args.key?(:fix_available)
1603
1616
  @fixed_cpe_uri = args[:fixed_cpe_uri] if args.key?(:fixed_cpe_uri)
1604
1617
  @fixed_package = args[:fixed_package] if args.key?(:fixed_package)
1605
1618
  @fixed_version = args[:fixed_version] if args.key?(:fixed_version)
1619
+ @package_type = args[:package_type] if args.key?(:package_type)
1606
1620
  end
1607
1621
  end
1608
1622
 
@@ -1666,9 +1680,11 @@ module Google
1666
1680
  # Collection of all external inputs that influenced the build on top of recipe.
1667
1681
  # definedInMaterial and recipe.entryPoint. For example, if the recipe type were "
1668
1682
  # make", then this might be the flags passed to make aside from the target,
1669
- # which is captured in recipe.entryPoint.
1683
+ # which is captured in recipe.entryPoint. Since the arguments field can greatly
1684
+ # vary in structure, depending on the builder and recipe type, this is of form "
1685
+ # Any".
1670
1686
  # Corresponds to the JSON property `arguments`
1671
- # @return [Array<String>]
1687
+ # @return [Array<Hash<String,Object>>]
1672
1688
  attr_accessor :arguments
1673
1689
 
1674
1690
  # Index in materials containing the recipe steps that are not implied by recipe.
@@ -1691,9 +1707,10 @@ module Google
1691
1707
 
1692
1708
  # Any other builder-controlled inputs necessary for correctly evaluating the
1693
1709
  # recipe. Usually only needed for reproducing the build but not evaluated as
1694
- # part of policy.
1710
+ # part of policy. Since the environment field can greatly vary in structure,
1711
+ # depending on the builder and recipe type, this is of form "Any".
1695
1712
  # Corresponds to the JSON property `environment`
1696
- # @return [Hash<String,String>]
1713
+ # @return [Array<Hash<String,Object>>]
1697
1714
  attr_accessor :environment
1698
1715
 
1699
1716
  # URI indicating what type of recipe was performed. It determines the meaning of
@@ -2127,7 +2144,13 @@ module Google
2127
2144
  attr_accessor :cvss_score
2128
2145
 
2129
2146
  # The distro assigned severity for this vulnerability when it is available,
2130
- # otherwise this is the note provider assigned severity.
2147
+ # otherwise this is the note provider assigned severity. When there are multiple
2148
+ # PackageIssues for this vulnerability, they can have different effective
2149
+ # severities because some might be provided by the distro while others are
2150
+ # provided by the language ecosystem for a language pack. For this reason, it is
2151
+ # advised to use the effective severity on the PackageIssue level. In the case
2152
+ # where multiple PackageIssues have differing effective severities, this field
2153
+ # should be the highest severity for any of the PackageIssues.
2131
2154
  # Corresponds to the JSON property `effectiveSeverity`
2132
2155
  # @return [String]
2133
2156
  attr_accessor :effective_severity
@@ -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.8.0"
19
+ GEM_VERSION = "0.9.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210731"
25
+ REVISION = "20210824"
26
26
  end
27
27
  end
28
28
  end
@@ -799,11 +799,13 @@ module Google
799
799
  property :affected_package, as: 'affectedPackage'
800
800
  property :affected_version, as: 'affectedVersion', class: Google::Apis::OndemandscanningV1::Version, decorator: Google::Apis::OndemandscanningV1::Version::Representation
801
801
 
802
+ property :effective_severity, as: 'effectiveSeverity'
802
803
  property :fix_available, as: 'fixAvailable'
803
804
  property :fixed_cpe_uri, as: 'fixedCpeUri'
804
805
  property :fixed_package, as: 'fixedPackage'
805
806
  property :fixed_version, as: 'fixedVersion', class: Google::Apis::OndemandscanningV1::Version, decorator: Google::Apis::OndemandscanningV1::Version::Representation
806
807
 
808
+ property :package_type, as: 'packageType'
807
809
  end
808
810
  end
809
811
 
@@ -830,7 +832,7 @@ module Google
830
832
  collection :arguments, as: 'arguments'
831
833
  property :defined_in_material, :numeric_string => true, as: 'definedInMaterial'
832
834
  property :entry_point, as: 'entryPoint'
833
- hash :environment, as: 'environment'
835
+ collection :environment, as: 'environment'
834
836
  property :type, as: 'type'
835
837
  end
836
838
  end
@@ -29,7 +29,7 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1'
31
31
 
32
- # See, edit, configure, and delete your Google Cloud Platform data
32
+ # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
34
34
  end
35
35
  end
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.8.0
4
+ version: 0.9.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: 2021-08-09 00:00:00.000000000 Z
11
+ date: 2021-09-06 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/master/generated/google-apis-ondemandscanning_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.8.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.9.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-ondemandscanning_v1
63
63
  post_install_message:
64
64
  rdoc_options: []