google-apis-securitycenter_v1beta1 0.24.0 → 0.27.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/lib/google/apis/securitycenter_v1beta1/classes.rb +58 -2
- data/lib/google/apis/securitycenter_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/securitycenter_v1beta1/representations.rb +20 -0
- data/lib/google/apis/securitycenter_v1beta1/service.rb +9 -6
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2cf974e9192c10fe0fad7ec1b37e0cf0d7ec527c4d716f4a6aa6266bc3a68fb4
|
4
|
+
data.tar.gz: fb48edf9f9a6edf1168ac4ae64299b19691b104601dcba51f5b8ec4457df614f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20960f77c05bd1c1c806b81b90ba9b2b355ab700f3900cdacf1e36554c785ac1032f9ca016503a0335550e67697b2ed2ce53faaa99a898dba10af1544204259f
|
7
|
+
data.tar.gz: a6fe2f8cb7d527d5c0015a1fa89be6a125b3836487be7aaff49a6e4f293e99d91c6b68c669ebf6b961d14ee978dde0c65d26802b9485fb4f153d5ef828807d13
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-securitycenter_v1beta1
|
2
2
|
|
3
|
+
### v0.27.0 (2022-05-10)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220506
|
6
|
+
|
7
|
+
### v0.26.0 (2022-05-04)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220428
|
10
|
+
|
11
|
+
### v0.25.0 (2022-04-19)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220414
|
14
|
+
|
3
15
|
### v0.24.0 (2022-04-12)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220408
|
@@ -172,8 +172,8 @@ module Google
|
|
172
172
|
# "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
|
173
173
|
# , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
|
174
174
|
# this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
|
175
|
-
# exempts jose@example.com from DATA_READ logging, and aliya@example.com
|
176
|
-
# DATA_WRITE logging.
|
175
|
+
# exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com`
|
176
|
+
# from DATA_WRITE logging.
|
177
177
|
class AuditConfig
|
178
178
|
include Google::Apis::Core::Hashable
|
179
179
|
|
@@ -314,6 +314,50 @@ module Google
|
|
314
314
|
end
|
315
315
|
end
|
316
316
|
|
317
|
+
# Contains information about the IP connection associated with the finding.
|
318
|
+
class Connection
|
319
|
+
include Google::Apis::Core::Hashable
|
320
|
+
|
321
|
+
# Destination IP address. Not present for sockets that are listening and not
|
322
|
+
# connected.
|
323
|
+
# Corresponds to the JSON property `destinationIp`
|
324
|
+
# @return [String]
|
325
|
+
attr_accessor :destination_ip
|
326
|
+
|
327
|
+
# Destination port. Not present for sockets that are listening and not connected.
|
328
|
+
# Corresponds to the JSON property `destinationPort`
|
329
|
+
# @return [Fixnum]
|
330
|
+
attr_accessor :destination_port
|
331
|
+
|
332
|
+
# IANA Internet Protocol Number such as TCP(6) and UDP(17).
|
333
|
+
# Corresponds to the JSON property `protocol`
|
334
|
+
# @return [String]
|
335
|
+
attr_accessor :protocol
|
336
|
+
|
337
|
+
# Source IP address.
|
338
|
+
# Corresponds to the JSON property `sourceIp`
|
339
|
+
# @return [String]
|
340
|
+
attr_accessor :source_ip
|
341
|
+
|
342
|
+
# Source port.
|
343
|
+
# Corresponds to the JSON property `sourcePort`
|
344
|
+
# @return [Fixnum]
|
345
|
+
attr_accessor :source_port
|
346
|
+
|
347
|
+
def initialize(**args)
|
348
|
+
update!(**args)
|
349
|
+
end
|
350
|
+
|
351
|
+
# Update properties of this object
|
352
|
+
def update!(**args)
|
353
|
+
@destination_ip = args[:destination_ip] if args.key?(:destination_ip)
|
354
|
+
@destination_port = args[:destination_port] if args.key?(:destination_port)
|
355
|
+
@protocol = args[:protocol] if args.key?(:protocol)
|
356
|
+
@source_ip = args[:source_ip] if args.key?(:source_ip)
|
357
|
+
@source_port = args[:source_port] if args.key?(:source_port)
|
358
|
+
end
|
359
|
+
end
|
360
|
+
|
317
361
|
# CVE stands for Common Vulnerabilities and Exposures. More information: https://
|
318
362
|
# cve.mitre.org
|
319
363
|
class Cve
|
@@ -529,11 +573,21 @@ module Google
|
|
529
573
|
# @return [String]
|
530
574
|
attr_accessor :category
|
531
575
|
|
576
|
+
# Contains information about the IP connection associated with the finding.
|
577
|
+
# Corresponds to the JSON property `connections`
|
578
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta1::Connection>]
|
579
|
+
attr_accessor :connections
|
580
|
+
|
532
581
|
# The time at which the finding was created in Security Command Center.
|
533
582
|
# Corresponds to the JSON property `createTime`
|
534
583
|
# @return [String]
|
535
584
|
attr_accessor :create_time
|
536
585
|
|
586
|
+
# Contains more detail about the finding.
|
587
|
+
# Corresponds to the JSON property `description`
|
588
|
+
# @return [String]
|
589
|
+
attr_accessor :description
|
590
|
+
|
537
591
|
# The time the finding was first detected. If an existing finding is updated,
|
538
592
|
# then this is the time the update occurred. For example, if the finding
|
539
593
|
# represents an open firewall, this property captures the time the detector
|
@@ -671,7 +725,9 @@ module Google
|
|
671
725
|
@access = args[:access] if args.key?(:access)
|
672
726
|
@canonical_name = args[:canonical_name] if args.key?(:canonical_name)
|
673
727
|
@category = args[:category] if args.key?(:category)
|
728
|
+
@connections = args[:connections] if args.key?(:connections)
|
674
729
|
@create_time = args[:create_time] if args.key?(:create_time)
|
730
|
+
@description = args[:description] if args.key?(:description)
|
675
731
|
@event_time = args[:event_time] if args.key?(:event_time)
|
676
732
|
@external_systems = args[:external_systems] if args.key?(:external_systems)
|
677
733
|
@external_uri = args[:external_uri] if args.key?(:external_uri)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module SecuritycenterV1beta1
|
18
18
|
# Version of the google-apis-securitycenter_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.27.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
|
|
@@ -444,6 +450,17 @@ module Google
|
|
444
450
|
end
|
445
451
|
end
|
446
452
|
|
453
|
+
class Connection
|
454
|
+
# @private
|
455
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
456
|
+
property :destination_ip, as: 'destinationIp'
|
457
|
+
property :destination_port, as: 'destinationPort'
|
458
|
+
property :protocol, as: 'protocol'
|
459
|
+
property :source_ip, as: 'sourceIp'
|
460
|
+
property :source_port, as: 'sourcePort'
|
461
|
+
end
|
462
|
+
end
|
463
|
+
|
447
464
|
class Cve
|
448
465
|
# @private
|
449
466
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -494,7 +511,10 @@ module Google
|
|
494
511
|
|
495
512
|
property :canonical_name, as: 'canonicalName'
|
496
513
|
property :category, as: 'category'
|
514
|
+
collection :connections, as: 'connections', class: Google::Apis::SecuritycenterV1beta1::Connection, decorator: Google::Apis::SecuritycenterV1beta1::Connection::Representation
|
515
|
+
|
497
516
|
property :create_time, as: 'createTime'
|
517
|
+
property :description, as: 'description'
|
498
518
|
property :event_time, as: 'eventTime'
|
499
519
|
hash :external_systems, as: 'externalSystems', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1ExternalSystem, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1ExternalSystem::Representation
|
500
520
|
|
@@ -538,8 +538,9 @@ module Google
|
|
538
538
|
|
539
539
|
# Gets the access control policy on the specified Source.
|
540
540
|
# @param [String] resource
|
541
|
-
# REQUIRED: The resource for which the policy is being requested. See
|
542
|
-
#
|
541
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
542
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
543
|
+
# appropriate value for this field.
|
543
544
|
# @param [Google::Apis::SecuritycenterV1beta1::GetIamPolicyRequest] get_iam_policy_request_object
|
544
545
|
# @param [String] fields
|
545
546
|
# Selector specifying which fields to include in a partial response.
|
@@ -650,8 +651,9 @@ module Google
|
|
650
651
|
|
651
652
|
# Sets the access control policy on the specified Source.
|
652
653
|
# @param [String] resource
|
653
|
-
# REQUIRED: The resource for which the policy is being specified. See
|
654
|
-
#
|
654
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
655
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
656
|
+
# appropriate value for this field.
|
655
657
|
# @param [Google::Apis::SecuritycenterV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
|
656
658
|
# @param [String] fields
|
657
659
|
# Selector specifying which fields to include in a partial response.
|
@@ -684,8 +686,9 @@ module Google
|
|
684
686
|
|
685
687
|
# Returns the permissions that a caller has on the specified source.
|
686
688
|
# @param [String] resource
|
687
|
-
# REQUIRED: The resource for which the policy detail is being requested. See
|
688
|
-
#
|
689
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
690
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
691
|
+
# appropriate value for this field.
|
689
692
|
# @param [Google::Apis::SecuritycenterV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
690
693
|
# @param [String] fields
|
691
694
|
# 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_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.27.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_v1beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta1/v0.27.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|