google-apis-containeranalysis_v1 0.73.0 → 0.74.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: b0313ff0f05638740eb96626ce72abffe80bf3171479970acedcf6712646a029
|
|
4
|
+
data.tar.gz: c1d8c552782ea8208db486422fd2d38dcea172765c2766e23f0c54bcc948fe1a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: acc78d0bd1ee82bd9f72f6f643ebb078e7998d4ddc3ef75ac4b9238c3553fcef03b2a8c620fefadde878468c3c7546ecc4e6c74cbf33c14b6a055c13afb764a7
|
|
7
|
+
data.tar.gz: 6a0c1aff548206c4c782498a9c10a7700f778ddcb1cd0b6ccfcea2ce29bef95bbaed2342e6f36e9b72f507159414d110e0114b4afee79e7ec59510d457822f2b
|
data/CHANGELOG.md
CHANGED
|
@@ -44,6 +44,11 @@ module Google
|
|
|
44
44
|
# @return [Array<Google::Apis::ContaineranalysisV1::Finding>]
|
|
45
45
|
attr_accessor :findings
|
|
46
46
|
|
|
47
|
+
# Maximum severity found among findings.
|
|
48
|
+
# Corresponds to the JSON property `maxSeverity`
|
|
49
|
+
# @return [String]
|
|
50
|
+
attr_accessor :max_severity
|
|
51
|
+
|
|
47
52
|
# Name of the skill that produced this analysis.
|
|
48
53
|
# Corresponds to the JSON property `skillName`
|
|
49
54
|
# @return [String]
|
|
@@ -56,6 +61,7 @@ module Google
|
|
|
56
61
|
# Update properties of this object
|
|
57
62
|
def update!(**args)
|
|
58
63
|
@findings = args[:findings] if args.key?(:findings)
|
|
64
|
+
@max_severity = args[:max_severity] if args.key?(:max_severity)
|
|
59
65
|
@skill_name = args[:skill_name] if args.key?(:skill_name)
|
|
60
66
|
end
|
|
61
67
|
end
|
|
@@ -4374,35 +4380,47 @@ module Google
|
|
|
4374
4380
|
# @return [String]
|
|
4375
4381
|
attr_accessor :category
|
|
4376
4382
|
|
|
4377
|
-
#
|
|
4378
|
-
# Corresponds to the JSON property `
|
|
4379
|
-
# @return [
|
|
4380
|
-
attr_accessor :
|
|
4381
|
-
|
|
4382
|
-
# Path to the file where the finding was detected.
|
|
4383
|
-
# Corresponds to the JSON property `filePath`
|
|
4384
|
-
# @return [String]
|
|
4385
|
-
attr_accessor :file_path
|
|
4383
|
+
# Location details with file path and line number.
|
|
4384
|
+
# Corresponds to the JSON property `location`
|
|
4385
|
+
# @return [Google::Apis::ContaineranalysisV1::FindingLocation]
|
|
4386
|
+
attr_accessor :location
|
|
4386
4387
|
|
|
4387
|
-
#
|
|
4388
|
-
# Corresponds to the JSON property `
|
|
4388
|
+
# Scanner determines which engine (e.g. static, llm) emitted the finding.
|
|
4389
|
+
# Corresponds to the JSON property `scanner`
|
|
4389
4390
|
# @return [String]
|
|
4390
|
-
attr_accessor :
|
|
4391
|
+
attr_accessor :scanner
|
|
4391
4392
|
|
|
4392
4393
|
# Severity of the finding.
|
|
4393
4394
|
# Corresponds to the JSON property `severity`
|
|
4394
4395
|
# @return [String]
|
|
4395
4396
|
attr_accessor :severity
|
|
4396
4397
|
|
|
4397
|
-
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
attr_accessor :snippet
|
|
4398
|
+
def initialize(**args)
|
|
4399
|
+
update!(**args)
|
|
4400
|
+
end
|
|
4401
4401
|
|
|
4402
|
-
#
|
|
4403
|
-
|
|
4402
|
+
# Update properties of this object
|
|
4403
|
+
def update!(**args)
|
|
4404
|
+
@category = args[:category] if args.key?(:category)
|
|
4405
|
+
@location = args[:location] if args.key?(:location)
|
|
4406
|
+
@scanner = args[:scanner] if args.key?(:scanner)
|
|
4407
|
+
@severity = args[:severity] if args.key?(:severity)
|
|
4408
|
+
end
|
|
4409
|
+
end
|
|
4410
|
+
|
|
4411
|
+
# Location details with file path and line number.
|
|
4412
|
+
class FindingLocation
|
|
4413
|
+
include Google::Apis::Core::Hashable
|
|
4414
|
+
|
|
4415
|
+
# Relative path of the file containing the finding.
|
|
4416
|
+
# Corresponds to the JSON property `filePath`
|
|
4404
4417
|
# @return [String]
|
|
4405
|
-
attr_accessor :
|
|
4418
|
+
attr_accessor :file_path
|
|
4419
|
+
|
|
4420
|
+
# Line number (1-based), or 0 if whole File / unknown.
|
|
4421
|
+
# Corresponds to the JSON property `lineNumber`
|
|
4422
|
+
# @return [Fixnum]
|
|
4423
|
+
attr_accessor :line_number
|
|
4406
4424
|
|
|
4407
4425
|
def initialize(**args)
|
|
4408
4426
|
update!(**args)
|
|
@@ -4410,13 +4428,8 @@ module Google
|
|
|
4410
4428
|
|
|
4411
4429
|
# Update properties of this object
|
|
4412
4430
|
def update!(**args)
|
|
4413
|
-
@category = args[:category] if args.key?(:category)
|
|
4414
|
-
@description = args[:description] if args.key?(:description)
|
|
4415
4431
|
@file_path = args[:file_path] if args.key?(:file_path)
|
|
4416
|
-
@
|
|
4417
|
-
@severity = args[:severity] if args.key?(:severity)
|
|
4418
|
-
@snippet = args[:snippet] if args.key?(:snippet)
|
|
4419
|
-
@title = args[:title] if args.key?(:title)
|
|
4432
|
+
@line_number = args[:line_number] if args.key?(:line_number)
|
|
4420
4433
|
end
|
|
4421
4434
|
end
|
|
4422
4435
|
|
|
@@ -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.74.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260505"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -628,6 +628,12 @@ module Google
|
|
|
628
628
|
include Google::Apis::Core::JsonObjectSupport
|
|
629
629
|
end
|
|
630
630
|
|
|
631
|
+
class FindingLocation
|
|
632
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
633
|
+
|
|
634
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
635
|
+
end
|
|
636
|
+
|
|
631
637
|
class Fingerprint
|
|
632
638
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
633
639
|
|
|
@@ -1179,6 +1185,7 @@ module Google
|
|
|
1179
1185
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1180
1186
|
collection :findings, as: 'findings', class: Google::Apis::ContaineranalysisV1::Finding, decorator: Google::Apis::ContaineranalysisV1::Finding::Representation
|
|
1181
1187
|
|
|
1188
|
+
property :max_severity, as: 'maxSeverity'
|
|
1182
1189
|
property :skill_name, as: 'skillName'
|
|
1183
1190
|
end
|
|
1184
1191
|
end
|
|
@@ -2301,12 +2308,18 @@ module Google
|
|
|
2301
2308
|
# @private
|
|
2302
2309
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2303
2310
|
property :category, as: 'category'
|
|
2304
|
-
property :
|
|
2305
|
-
|
|
2306
|
-
property :
|
|
2311
|
+
property :location, as: 'location', class: Google::Apis::ContaineranalysisV1::FindingLocation, decorator: Google::Apis::ContaineranalysisV1::FindingLocation::Representation
|
|
2312
|
+
|
|
2313
|
+
property :scanner, as: 'scanner'
|
|
2307
2314
|
property :severity, as: 'severity'
|
|
2308
|
-
|
|
2309
|
-
|
|
2315
|
+
end
|
|
2316
|
+
end
|
|
2317
|
+
|
|
2318
|
+
class FindingLocation
|
|
2319
|
+
# @private
|
|
2320
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2321
|
+
property :file_path, as: 'filePath'
|
|
2322
|
+
property :line_number, :numeric_string => true, as: 'lineNumber'
|
|
2310
2323
|
end
|
|
2311
2324
|
end
|
|
2312
2325
|
|
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.74.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.74.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:
|