google-apis-securitycenter_v1 0.27.0 → 0.30.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: bc41d713e9986c7ba8d1323652df6142c95fcbf171f915c39b7509124e4222db
|
4
|
+
data.tar.gz: 46307a122aa4650f50f09c40d76b12e075c6b3b12f64d03969708a393bdbefd8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6f614b2c049b1d5b93665c99c768c0c0bc2c821ec8d9b08e6aa2ad035e30b161a49cde3c196bb563d49319ec4952e3702e3d68d8b250271939676e1d1e8f590
|
7
|
+
data.tar.gz: 9672dd2afc2730f75e3a774a9e2dcafa5cae28109fc27d1b6e1eb15e3b0b900fbfbdd89e5dbbffd02f4681064a9b4b4580034f9213dc164acc2748d7ac82c8d2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-securitycenter_v1
|
2
2
|
|
3
|
+
### v0.30.0 (2022-05-10)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220506
|
6
|
+
|
7
|
+
### v0.29.0 (2022-05-04)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220428
|
10
|
+
|
11
|
+
### v0.28.0 (2022-04-19)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220414
|
14
|
+
|
3
15
|
### v0.27.0 (2022-04-12)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220408
|
@@ -195,8 +195,8 @@ module Google
|
|
195
195
|
# "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
|
196
196
|
# , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
|
197
197
|
# this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
|
198
|
-
# exempts jose@example.com from DATA_READ logging, and aliya@example.com
|
199
|
-
# DATA_WRITE logging.
|
198
|
+
# exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com`
|
199
|
+
# from DATA_WRITE logging.
|
200
200
|
class AuditConfig
|
201
201
|
include Google::Apis::Core::Hashable
|
202
202
|
|
@@ -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.30.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 = "20220506"
|
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
|
|
@@ -2171,8 +2171,9 @@ module Google
|
|
2171
2171
|
|
2172
2172
|
# Gets the access control policy on the specified Source.
|
2173
2173
|
# @param [String] resource
|
2174
|
-
# REQUIRED: The resource for which the policy is being requested. See
|
2175
|
-
#
|
2174
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
2175
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
2176
|
+
# appropriate value for this field.
|
2176
2177
|
# @param [Google::Apis::SecuritycenterV1::GetIamPolicyRequest] get_iam_policy_request_object
|
2177
2178
|
# @param [String] fields
|
2178
2179
|
# Selector specifying which fields to include in a partial response.
|
@@ -2285,8 +2286,9 @@ module Google
|
|
2285
2286
|
|
2286
2287
|
# Sets the access control policy on the specified Source.
|
2287
2288
|
# @param [String] resource
|
2288
|
-
# REQUIRED: The resource for which the policy is being specified. See
|
2289
|
-
#
|
2289
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
2290
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
2291
|
+
# appropriate value for this field.
|
2290
2292
|
# @param [Google::Apis::SecuritycenterV1::SetIamPolicyRequest] set_iam_policy_request_object
|
2291
2293
|
# @param [String] fields
|
2292
2294
|
# Selector specifying which fields to include in a partial response.
|
@@ -2319,8 +2321,9 @@ module Google
|
|
2319
2321
|
|
2320
2322
|
# Returns the permissions that a caller has on the specified source.
|
2321
2323
|
# @param [String] resource
|
2322
|
-
# REQUIRED: The resource for which the policy detail is being requested. See
|
2323
|
-
#
|
2324
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
2325
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
2326
|
+
# appropriate value for this field.
|
2324
2327
|
# @param [Google::Apis::SecuritycenterV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
2325
2328
|
# @param [String] fields
|
2326
2329
|
# Selector specifying which fields to include in a partial response.
|
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.30.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-
|
11
|
+
date: 2022-05-16 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.30.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: []
|