google-apis-securitycenter_v1 0.27.0 → 0.28.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: 9b6d29340ca9074214d3b518928540493b588751cf8848c377e5ec7313ecd0cb
|
4
|
+
data.tar.gz: 6f5b54a49b21cd74aa8daea5cd7a9fe26b4434ed714d88c3e3678ea9938e72d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0f3c8e82ee1c8c6cac12358eb084fed9f26e415dc59984c685a4a3749da7d88e51faed90601919064cad19f82a8470b8976609f5197159635e7eff0cbe3719d
|
7
|
+
data.tar.gz: 0a440da5848cce3855c74513d0bb0c1b72d231cbb390bf0e34287685991b4237d7a6f55a8638ebce20cbb713d6a28caf7602e92e841b2deeff015ea7302a2bf3
|
data/CHANGELOG.md
CHANGED
@@ -360,6 +360,50 @@ module Google
|
|
360
360
|
end
|
361
361
|
end
|
362
362
|
|
363
|
+
# Contains information about the IP connection associated with the finding.
|
364
|
+
class Connection
|
365
|
+
include Google::Apis::Core::Hashable
|
366
|
+
|
367
|
+
# Destination IP address. Not present for sockets that are listening and not
|
368
|
+
# connected.
|
369
|
+
# Corresponds to the JSON property `destinationIp`
|
370
|
+
# @return [String]
|
371
|
+
attr_accessor :destination_ip
|
372
|
+
|
373
|
+
# Destination port. Not present for sockets that are listening and not connected.
|
374
|
+
# Corresponds to the JSON property `destinationPort`
|
375
|
+
# @return [Fixnum]
|
376
|
+
attr_accessor :destination_port
|
377
|
+
|
378
|
+
# IANA Internet Protocol Number such as TCP(6) and UDP(17).
|
379
|
+
# Corresponds to the JSON property `protocol`
|
380
|
+
# @return [String]
|
381
|
+
attr_accessor :protocol
|
382
|
+
|
383
|
+
# Source IP address.
|
384
|
+
# Corresponds to the JSON property `sourceIp`
|
385
|
+
# @return [String]
|
386
|
+
attr_accessor :source_ip
|
387
|
+
|
388
|
+
# Source port.
|
389
|
+
# Corresponds to the JSON property `sourcePort`
|
390
|
+
# @return [Fixnum]
|
391
|
+
attr_accessor :source_port
|
392
|
+
|
393
|
+
def initialize(**args)
|
394
|
+
update!(**args)
|
395
|
+
end
|
396
|
+
|
397
|
+
# Update properties of this object
|
398
|
+
def update!(**args)
|
399
|
+
@destination_ip = args[:destination_ip] if args.key?(:destination_ip)
|
400
|
+
@destination_port = args[:destination_port] if args.key?(:destination_port)
|
401
|
+
@protocol = args[:protocol] if args.key?(:protocol)
|
402
|
+
@source_ip = args[:source_ip] if args.key?(:source_ip)
|
403
|
+
@source_port = args[:source_port] if args.key?(:source_port)
|
404
|
+
end
|
405
|
+
end
|
406
|
+
|
363
407
|
# CVE stands for Common Vulnerabilities and Exposures. More information: https://
|
364
408
|
# cve.mitre.org
|
365
409
|
class Cve
|
@@ -575,11 +619,21 @@ module Google
|
|
575
619
|
# @return [String]
|
576
620
|
attr_accessor :category
|
577
621
|
|
622
|
+
# Contains information about the IP connection associated with the finding.
|
623
|
+
# Corresponds to the JSON property `connections`
|
624
|
+
# @return [Array<Google::Apis::SecuritycenterV1::Connection>]
|
625
|
+
attr_accessor :connections
|
626
|
+
|
578
627
|
# The time at which the finding was created in Security Command Center.
|
579
628
|
# Corresponds to the JSON property `createTime`
|
580
629
|
# @return [String]
|
581
630
|
attr_accessor :create_time
|
582
631
|
|
632
|
+
# Contains more detail about the finding.
|
633
|
+
# Corresponds to the JSON property `description`
|
634
|
+
# @return [String]
|
635
|
+
attr_accessor :description
|
636
|
+
|
583
637
|
# The time the finding was first detected. If an existing finding is updated,
|
584
638
|
# then this is the time the update occurred. For example, if the finding
|
585
639
|
# represents an open firewall, this property captures the time the detector
|
@@ -717,7 +771,9 @@ module Google
|
|
717
771
|
@access = args[:access] if args.key?(:access)
|
718
772
|
@canonical_name = args[:canonical_name] if args.key?(:canonical_name)
|
719
773
|
@category = args[:category] if args.key?(:category)
|
774
|
+
@connections = args[:connections] if args.key?(:connections)
|
720
775
|
@create_time = args[:create_time] if args.key?(:create_time)
|
776
|
+
@description = args[:description] if args.key?(:description)
|
721
777
|
@event_time = args[:event_time] if args.key?(:event_time)
|
722
778
|
@external_systems = args[:external_systems] if args.key?(:external_systems)
|
723
779
|
@external_uri = args[:external_uri] if args.key?(:external_uri)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module SecuritycenterV1
|
18
18
|
# Version of the google-apis-securitycenter_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.28.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 = "20220414"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -64,6 +64,12 @@ module Google
|
|
64
64
|
include Google::Apis::Core::JsonObjectSupport
|
65
65
|
end
|
66
66
|
|
67
|
+
class Connection
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
67
73
|
class Cve
|
68
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
75
|
|
@@ -492,6 +498,17 @@ module Google
|
|
492
498
|
end
|
493
499
|
end
|
494
500
|
|
501
|
+
class Connection
|
502
|
+
# @private
|
503
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
504
|
+
property :destination_ip, as: 'destinationIp'
|
505
|
+
property :destination_port, as: 'destinationPort'
|
506
|
+
property :protocol, as: 'protocol'
|
507
|
+
property :source_ip, as: 'sourceIp'
|
508
|
+
property :source_port, as: 'sourcePort'
|
509
|
+
end
|
510
|
+
end
|
511
|
+
|
495
512
|
class Cve
|
496
513
|
# @private
|
497
514
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -542,7 +559,10 @@ module Google
|
|
542
559
|
|
543
560
|
property :canonical_name, as: 'canonicalName'
|
544
561
|
property :category, as: 'category'
|
562
|
+
collection :connections, as: 'connections', class: Google::Apis::SecuritycenterV1::Connection, decorator: Google::Apis::SecuritycenterV1::Connection::Representation
|
563
|
+
|
545
564
|
property :create_time, as: 'createTime'
|
565
|
+
property :description, as: 'description'
|
546
566
|
property :event_time, as: 'eventTime'
|
547
567
|
hash :external_systems, as: 'externalSystems', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ExternalSystem, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ExternalSystem::Representation
|
548
568
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-securitycenter_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.28.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-04-
|
11
|
+
date: 2022-04-25 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-securitycenter_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.28.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|