google-apis-containeranalysis_v1 0.58.0 → 0.60.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: ea0ae0ba5cbce6b8385fc0cf7827920660670064414598b6e0fb74061a63ae78
|
4
|
+
data.tar.gz: f030dc50bc6aadabeceb665f5367389cf4b598350e25763a4841a65632c430f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff02377a3f85806193330c7adfb163803fe33286c4193bd576e5217a15e588b3d89e8a6639eeb0cbfb54fa07dc27a874ee978e7512bf5f105a21ea759929b07c
|
7
|
+
data.tar.gz: 50106ad0bf0f23dde177801485237c4a3e7654fb65f47de07bad24c74205e5eadf0e28a1054b5e782be4db4b607ae968488d36957a9525544229c589e9c1c6c1
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-containeranalysis_v1
|
2
2
|
|
3
|
+
### v0.60.0 (2025-06-08)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250528
|
6
|
+
* Regenerated using generator version 0.18.0
|
7
|
+
|
8
|
+
### v0.59.0 (2025-05-18)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20250509
|
11
|
+
|
3
12
|
### v0.58.0 (2025-05-04)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20250425
|
@@ -2513,9 +2513,8 @@ module Google
|
|
2513
2513
|
class ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository
|
2514
2514
|
include Google::Apis::Core::Hashable
|
2515
2515
|
|
2516
|
-
# The Developer Connect Git repository link
|
2517
|
-
#
|
2518
|
-
# /gitRepositoryLink/*`
|
2516
|
+
# The Developer Connect Git repository link formatted as `projects/*/locations/*/
|
2517
|
+
# connections/*/gitRepositoryLink/*`
|
2519
2518
|
# Corresponds to the JSON property `developerConnect`
|
2520
2519
|
# @return [String]
|
2521
2520
|
attr_accessor :developer_connect
|
@@ -3686,6 +3685,11 @@ module Google
|
|
3686
3685
|
# @return [String]
|
3687
3686
|
attr_accessor :cpe
|
3688
3687
|
|
3688
|
+
# Files that make up the resource described by the occurrence.
|
3689
|
+
# Corresponds to the JSON property `files`
|
3690
|
+
# @return [Array<Google::Apis::ContaineranalysisV1::File>]
|
3691
|
+
attr_accessor :files
|
3692
|
+
|
3689
3693
|
# The last time this resource was scanned.
|
3690
3694
|
# Corresponds to the JSON property `lastScanTime`
|
3691
3695
|
# @return [String]
|
@@ -3709,6 +3713,7 @@ module Google
|
|
3709
3713
|
@archive_time = args[:archive_time] if args.key?(:archive_time)
|
3710
3714
|
@continuous_analysis = args[:continuous_analysis] if args.key?(:continuous_analysis)
|
3711
3715
|
@cpe = args[:cpe] if args.key?(:cpe)
|
3716
|
+
@files = args[:files] if args.key?(:files)
|
3712
3717
|
@last_scan_time = args[:last_scan_time] if args.key?(:last_scan_time)
|
3713
3718
|
@sbom_status = args[:sbom_status] if args.key?(:sbom_status)
|
3714
3719
|
end
|
@@ -3936,6 +3941,31 @@ module Google
|
|
3936
3941
|
end
|
3937
3942
|
end
|
3938
3943
|
|
3944
|
+
#
|
3945
|
+
class File
|
3946
|
+
include Google::Apis::Core::Hashable
|
3947
|
+
|
3948
|
+
#
|
3949
|
+
# Corresponds to the JSON property `digest`
|
3950
|
+
# @return [Hash<String,String>]
|
3951
|
+
attr_accessor :digest
|
3952
|
+
|
3953
|
+
#
|
3954
|
+
# Corresponds to the JSON property `name`
|
3955
|
+
# @return [String]
|
3956
|
+
attr_accessor :name
|
3957
|
+
|
3958
|
+
def initialize(**args)
|
3959
|
+
update!(**args)
|
3960
|
+
end
|
3961
|
+
|
3962
|
+
# Update properties of this object
|
3963
|
+
def update!(**args)
|
3964
|
+
@digest = args[:digest] if args.key?(:digest)
|
3965
|
+
@name = args[:name] if args.key?(:name)
|
3966
|
+
end
|
3967
|
+
end
|
3968
|
+
|
3939
3969
|
# Container message for hashes of byte content of files, used in source messages
|
3940
3970
|
# to verify integrity of source input to the build.
|
3941
3971
|
class FileHashes
|
@@ -4766,6 +4796,12 @@ module Google
|
|
4766
4796
|
# @return [Array<Google::Apis::ContaineranalysisV1::BaseImage>]
|
4767
4797
|
attr_accessor :base_images
|
4768
4798
|
|
4799
|
+
# The layer chain ID (sha256 hash) of the layer in the container image. https://
|
4800
|
+
# github.com/opencontainers/image-spec/blob/main/config.md#layer-chainid
|
4801
|
+
# Corresponds to the JSON property `chainId`
|
4802
|
+
# @return [String]
|
4803
|
+
attr_accessor :chain_id
|
4804
|
+
|
4769
4805
|
# The layer build command that was used to build the layer. This may not be
|
4770
4806
|
# found in all layers depending on how the container image is built.
|
4771
4807
|
# Corresponds to the JSON property `command`
|
@@ -4789,6 +4825,7 @@ module Google
|
|
4789
4825
|
# Update properties of this object
|
4790
4826
|
def update!(**args)
|
4791
4827
|
@base_images = args[:base_images] if args.key?(:base_images)
|
4828
|
+
@chain_id = args[:chain_id] if args.key?(:chain_id)
|
4792
4829
|
@command = args[:command] if args.key?(:command)
|
4793
4830
|
@diff_id = args[:diff_id] if args.key?(:diff_id)
|
4794
4831
|
@index = args[:index] if args.key?(:index)
|
@@ -5138,6 +5175,11 @@ module Google
|
|
5138
5175
|
# @return [Google::Apis::ContaineranalysisV1::SbomReferenceNote]
|
5139
5176
|
attr_accessor :sbom_reference
|
5140
5177
|
|
5178
|
+
# The note representing a secret.
|
5179
|
+
# Corresponds to the JSON property `secret`
|
5180
|
+
# @return [Google::Apis::ContaineranalysisV1::SecretNote]
|
5181
|
+
attr_accessor :secret
|
5182
|
+
|
5141
5183
|
# A one sentence description of this note.
|
5142
5184
|
# Corresponds to the JSON property `shortDescription`
|
5143
5185
|
# @return [String]
|
@@ -5190,6 +5232,7 @@ module Google
|
|
5190
5232
|
@related_note_names = args[:related_note_names] if args.key?(:related_note_names)
|
5191
5233
|
@related_url = args[:related_url] if args.key?(:related_url)
|
5192
5234
|
@sbom_reference = args[:sbom_reference] if args.key?(:sbom_reference)
|
5235
|
+
@secret = args[:secret] if args.key?(:secret)
|
5193
5236
|
@short_description = args[:short_description] if args.key?(:short_description)
|
5194
5237
|
@update_time = args[:update_time] if args.key?(:update_time)
|
5195
5238
|
@upgrade = args[:upgrade] if args.key?(:upgrade)
|
@@ -5300,6 +5343,11 @@ module Google
|
|
5300
5343
|
# @return [Google::Apis::ContaineranalysisV1::SbomReferenceOccurrence]
|
5301
5344
|
attr_accessor :sbom_reference
|
5302
5345
|
|
5346
|
+
# The occurrence provides details of a secret.
|
5347
|
+
# Corresponds to the JSON property `secret`
|
5348
|
+
# @return [Google::Apis::ContaineranalysisV1::SecretOccurrence]
|
5349
|
+
attr_accessor :secret
|
5350
|
+
|
5303
5351
|
# Output only. The time this occurrence was last updated.
|
5304
5352
|
# Corresponds to the JSON property `updateTime`
|
5305
5353
|
# @return [String]
|
@@ -5341,6 +5389,7 @@ module Google
|
|
5341
5389
|
@remediation = args[:remediation] if args.key?(:remediation)
|
5342
5390
|
@resource_uri = args[:resource_uri] if args.key?(:resource_uri)
|
5343
5391
|
@sbom_reference = args[:sbom_reference] if args.key?(:sbom_reference)
|
5392
|
+
@secret = args[:secret] if args.key?(:secret)
|
5344
5393
|
@update_time = args[:update_time] if args.key?(:update_time)
|
5345
5394
|
@upgrade = args[:upgrade] if args.key?(:upgrade)
|
5346
5395
|
@vulnerability = args[:vulnerability] if args.key?(:vulnerability)
|
@@ -6181,6 +6230,100 @@ module Google
|
|
6181
6230
|
end
|
6182
6231
|
end
|
6183
6232
|
|
6233
|
+
# The location of the secret.
|
6234
|
+
class SecretLocation
|
6235
|
+
include Google::Apis::Core::Hashable
|
6236
|
+
|
6237
|
+
# Indicates the location at which a package was found.
|
6238
|
+
# Corresponds to the JSON property `fileLocation`
|
6239
|
+
# @return [Google::Apis::ContaineranalysisV1::GrafeasV1FileLocation]
|
6240
|
+
attr_accessor :file_location
|
6241
|
+
|
6242
|
+
def initialize(**args)
|
6243
|
+
update!(**args)
|
6244
|
+
end
|
6245
|
+
|
6246
|
+
# Update properties of this object
|
6247
|
+
def update!(**args)
|
6248
|
+
@file_location = args[:file_location] if args.key?(:file_location)
|
6249
|
+
end
|
6250
|
+
end
|
6251
|
+
|
6252
|
+
# The note representing a secret.
|
6253
|
+
class SecretNote
|
6254
|
+
include Google::Apis::Core::Hashable
|
6255
|
+
|
6256
|
+
def initialize(**args)
|
6257
|
+
update!(**args)
|
6258
|
+
end
|
6259
|
+
|
6260
|
+
# Update properties of this object
|
6261
|
+
def update!(**args)
|
6262
|
+
end
|
6263
|
+
end
|
6264
|
+
|
6265
|
+
# The occurrence provides details of a secret.
|
6266
|
+
class SecretOccurrence
|
6267
|
+
include Google::Apis::Core::Hashable
|
6268
|
+
|
6269
|
+
# Required. Type of secret.
|
6270
|
+
# Corresponds to the JSON property `kind`
|
6271
|
+
# @return [String]
|
6272
|
+
attr_accessor :kind
|
6273
|
+
|
6274
|
+
# Optional. Locations where the secret is detected.
|
6275
|
+
# Corresponds to the JSON property `locations`
|
6276
|
+
# @return [Array<Google::Apis::ContaineranalysisV1::SecretLocation>]
|
6277
|
+
attr_accessor :locations
|
6278
|
+
|
6279
|
+
# Optional. Status of the secret.
|
6280
|
+
# Corresponds to the JSON property `statuses`
|
6281
|
+
# @return [Array<Google::Apis::ContaineranalysisV1::SecretStatus>]
|
6282
|
+
attr_accessor :statuses
|
6283
|
+
|
6284
|
+
def initialize(**args)
|
6285
|
+
update!(**args)
|
6286
|
+
end
|
6287
|
+
|
6288
|
+
# Update properties of this object
|
6289
|
+
def update!(**args)
|
6290
|
+
@kind = args[:kind] if args.key?(:kind)
|
6291
|
+
@locations = args[:locations] if args.key?(:locations)
|
6292
|
+
@statuses = args[:statuses] if args.key?(:statuses)
|
6293
|
+
end
|
6294
|
+
end
|
6295
|
+
|
6296
|
+
# The status of the secret with a timestamp.
|
6297
|
+
class SecretStatus
|
6298
|
+
include Google::Apis::Core::Hashable
|
6299
|
+
|
6300
|
+
# Optional. Optional message about the status code.
|
6301
|
+
# Corresponds to the JSON property `message`
|
6302
|
+
# @return [String]
|
6303
|
+
attr_accessor :message
|
6304
|
+
|
6305
|
+
# Optional. The status of the secret.
|
6306
|
+
# Corresponds to the JSON property `status`
|
6307
|
+
# @return [String]
|
6308
|
+
attr_accessor :status
|
6309
|
+
|
6310
|
+
# Optional. The time the secret status was last updated.
|
6311
|
+
# Corresponds to the JSON property `updateTime`
|
6312
|
+
# @return [String]
|
6313
|
+
attr_accessor :update_time
|
6314
|
+
|
6315
|
+
def initialize(**args)
|
6316
|
+
update!(**args)
|
6317
|
+
end
|
6318
|
+
|
6319
|
+
# Update properties of this object
|
6320
|
+
def update!(**args)
|
6321
|
+
@message = args[:message] if args.key?(:message)
|
6322
|
+
@status = args[:status] if args.key?(:status)
|
6323
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
6324
|
+
end
|
6325
|
+
end
|
6326
|
+
|
6184
6327
|
# Request message for `SetIamPolicy` method.
|
6185
6328
|
class SetIamPolicyRequest
|
6186
6329
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ContaineranalysisV1
|
18
18
|
# Version of the google-apis-containeranalysis_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.60.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250528"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -550,6 +550,12 @@ module Google
|
|
550
550
|
include Google::Apis::Core::JsonObjectSupport
|
551
551
|
end
|
552
552
|
|
553
|
+
class File
|
554
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
555
|
+
|
556
|
+
include Google::Apis::Core::JsonObjectSupport
|
557
|
+
end
|
558
|
+
|
553
559
|
class FileHashes
|
554
560
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
555
561
|
|
@@ -892,6 +898,30 @@ module Google
|
|
892
898
|
include Google::Apis::Core::JsonObjectSupport
|
893
899
|
end
|
894
900
|
|
901
|
+
class SecretLocation
|
902
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
903
|
+
|
904
|
+
include Google::Apis::Core::JsonObjectSupport
|
905
|
+
end
|
906
|
+
|
907
|
+
class SecretNote
|
908
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
909
|
+
|
910
|
+
include Google::Apis::Core::JsonObjectSupport
|
911
|
+
end
|
912
|
+
|
913
|
+
class SecretOccurrence
|
914
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
915
|
+
|
916
|
+
include Google::Apis::Core::JsonObjectSupport
|
917
|
+
end
|
918
|
+
|
919
|
+
class SecretStatus
|
920
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
921
|
+
|
922
|
+
include Google::Apis::Core::JsonObjectSupport
|
923
|
+
end
|
924
|
+
|
895
925
|
class SetIamPolicyRequest
|
896
926
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
897
927
|
|
@@ -2002,6 +2032,8 @@ module Google
|
|
2002
2032
|
property :archive_time, as: 'archiveTime'
|
2003
2033
|
property :continuous_analysis, as: 'continuousAnalysis'
|
2004
2034
|
property :cpe, as: 'cpe'
|
2035
|
+
collection :files, as: 'files', class: Google::Apis::ContaineranalysisV1::File, decorator: Google::Apis::ContaineranalysisV1::File::Representation
|
2036
|
+
|
2005
2037
|
property :last_scan_time, as: 'lastScanTime'
|
2006
2038
|
property :sbom_status, as: 'sbomStatus', class: Google::Apis::ContaineranalysisV1::SbomStatus, decorator: Google::Apis::ContaineranalysisV1::SbomStatus::Representation
|
2007
2039
|
|
@@ -2070,6 +2102,14 @@ module Google
|
|
2070
2102
|
end
|
2071
2103
|
end
|
2072
2104
|
|
2105
|
+
class File
|
2106
|
+
# @private
|
2107
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2108
|
+
hash :digest, as: 'digest'
|
2109
|
+
property :name, as: 'name'
|
2110
|
+
end
|
2111
|
+
end
|
2112
|
+
|
2073
2113
|
class FileHashes
|
2074
2114
|
# @private
|
2075
2115
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2324,6 +2364,7 @@ module Google
|
|
2324
2364
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2325
2365
|
collection :base_images, as: 'baseImages', class: Google::Apis::ContaineranalysisV1::BaseImage, decorator: Google::Apis::ContaineranalysisV1::BaseImage::Representation
|
2326
2366
|
|
2367
|
+
property :chain_id, as: 'chainId'
|
2327
2368
|
property :command, as: 'command'
|
2328
2369
|
property :diff_id, as: 'diffId'
|
2329
2370
|
property :index, as: 'index'
|
@@ -2433,6 +2474,8 @@ module Google
|
|
2433
2474
|
|
2434
2475
|
property :sbom_reference, as: 'sbomReference', class: Google::Apis::ContaineranalysisV1::SbomReferenceNote, decorator: Google::Apis::ContaineranalysisV1::SbomReferenceNote::Representation
|
2435
2476
|
|
2477
|
+
property :secret, as: 'secret', class: Google::Apis::ContaineranalysisV1::SecretNote, decorator: Google::Apis::ContaineranalysisV1::SecretNote::Representation
|
2478
|
+
|
2436
2479
|
property :short_description, as: 'shortDescription'
|
2437
2480
|
property :update_time, as: 'updateTime'
|
2438
2481
|
property :upgrade, as: 'upgrade', class: Google::Apis::ContaineranalysisV1::UpgradeNote, decorator: Google::Apis::ContaineranalysisV1::UpgradeNote::Representation
|
@@ -2473,6 +2516,8 @@ module Google
|
|
2473
2516
|
property :resource_uri, as: 'resourceUri'
|
2474
2517
|
property :sbom_reference, as: 'sbomReference', class: Google::Apis::ContaineranalysisV1::SbomReferenceOccurrence, decorator: Google::Apis::ContaineranalysisV1::SbomReferenceOccurrence::Representation
|
2475
2518
|
|
2519
|
+
property :secret, as: 'secret', class: Google::Apis::ContaineranalysisV1::SecretOccurrence, decorator: Google::Apis::ContaineranalysisV1::SecretOccurrence::Representation
|
2520
|
+
|
2476
2521
|
property :update_time, as: 'updateTime'
|
2477
2522
|
property :upgrade, as: 'upgrade', class: Google::Apis::ContaineranalysisV1::UpgradeOccurrence, decorator: Google::Apis::ContaineranalysisV1::UpgradeOccurrence::Representation
|
2478
2523
|
|
@@ -2695,6 +2740,40 @@ module Google
|
|
2695
2740
|
end
|
2696
2741
|
end
|
2697
2742
|
|
2743
|
+
class SecretLocation
|
2744
|
+
# @private
|
2745
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2746
|
+
property :file_location, as: 'fileLocation', class: Google::Apis::ContaineranalysisV1::GrafeasV1FileLocation, decorator: Google::Apis::ContaineranalysisV1::GrafeasV1FileLocation::Representation
|
2747
|
+
|
2748
|
+
end
|
2749
|
+
end
|
2750
|
+
|
2751
|
+
class SecretNote
|
2752
|
+
# @private
|
2753
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2754
|
+
end
|
2755
|
+
end
|
2756
|
+
|
2757
|
+
class SecretOccurrence
|
2758
|
+
# @private
|
2759
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2760
|
+
property :kind, as: 'kind'
|
2761
|
+
collection :locations, as: 'locations', class: Google::Apis::ContaineranalysisV1::SecretLocation, decorator: Google::Apis::ContaineranalysisV1::SecretLocation::Representation
|
2762
|
+
|
2763
|
+
collection :statuses, as: 'statuses', class: Google::Apis::ContaineranalysisV1::SecretStatus, decorator: Google::Apis::ContaineranalysisV1::SecretStatus::Representation
|
2764
|
+
|
2765
|
+
end
|
2766
|
+
end
|
2767
|
+
|
2768
|
+
class SecretStatus
|
2769
|
+
# @private
|
2770
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2771
|
+
property :message, as: 'message'
|
2772
|
+
property :status, as: 'status'
|
2773
|
+
property :update_time, as: 'updateTime'
|
2774
|
+
end
|
2775
|
+
end
|
2776
|
+
|
2698
2777
|
class SetIamPolicyRequest
|
2699
2778
|
# @private
|
2700
2779
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-containeranalysis_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.60.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1/v0.60.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
75
|
requirements: []
|
76
|
-
rubygems_version: 3.6.
|
76
|
+
rubygems_version: 3.6.9
|
77
77
|
specification_version: 4
|
78
78
|
summary: Simple REST client for Container Analysis API V1
|
79
79
|
test_files: []
|