google-apis-ondemandscanning_v1beta1 0.11.0 → 0.12.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: 52b202d4a333e74f4364b9f8afc7e55e4566d1db69a4318896efaf8f5252658f
4
- data.tar.gz: d16e1e4e98f76c05fd9d9a1c591c59abed2c259afd9b67374daeb17d0a18fc25
3
+ metadata.gz: b2eb1d6576b030cda543ca6a9a46dda101046a0a8cc2b94d03cdadfcad1b7614
4
+ data.tar.gz: 44d74a2686ca1b76b9c396107d6676dacbfbe71e83885ee9f7a9080d08a9771b
5
5
  SHA512:
6
- metadata.gz: 38ce73d96723d99cf5b8c5171cd1029e375230b9bc408bcff0988f4d5e907427f0c3d2c978479ca5bc102c2562fbf622963bddf93586a129ce33528c8f5116de
7
- data.tar.gz: c40858ad1e6fad1dcc5709921af460844ceff58abcb637c67bc827ab35d5217ddb03d1ae927c1c5442e2f5d5b321c3aca02be161df479f950e46184adedea942
6
+ metadata.gz: 9ddd6817f010d7cbe05645bceb135f5a7d8c4e929eaa948b1b89ae735d4eaabdeeeb9d1e32044af5d2ce68be7de332cbe0022765222d185f4c0305da08bd3564
7
+ data.tar.gz: c5adc10f59bc03f647aeb95d71e4d7a6b13cd752467c8c3dcc27d2f0b94924880cb21b713f1c4b35c6f848dacf89da7241aa9bb50696db78b97eb5384d529040
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-ondemandscanning_v1beta1
2
2
 
3
+ ### v0.12.0 (2021-09-01)
4
+
5
+ * Regenerated from discovery document revision 20210824
6
+
3
7
  ### v0.11.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::OndemandscanningV1beta1::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::OndemandscanningV1beta1::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 OndemandscanningV1beta1
18
18
  # Version of the google-apis-ondemandscanning_v1beta1 gem
19
- GEM_VERSION = "0.11.0"
19
+ GEM_VERSION = "0.12.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::OndemandscanningV1beta1::Version, decorator: Google::Apis::OndemandscanningV1beta1::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::OndemandscanningV1beta1::Version, decorator: Google::Apis::OndemandscanningV1beta1::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 = 'V1beta1'
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_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.12.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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1beta1/v0.11.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1beta1/v0.12.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-ondemandscanning_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []