google-apis-securitycenter_v1 0.25.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
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-securitycenter_v1
|
2
2
|
|
3
|
+
### v0.28.0 (2022-04-19)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220414
|
6
|
+
|
7
|
+
### v0.27.0 (2022-04-12)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220408
|
10
|
+
|
11
|
+
### v0.26.0 (2022-04-05)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220401
|
14
|
+
|
3
15
|
### v0.25.0 (2022-03-22)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220318
|
@@ -276,7 +276,7 @@ module Google
|
|
276
276
|
# @return [Google::Apis::SecuritycenterV1::Expr]
|
277
277
|
attr_accessor :condition
|
278
278
|
|
279
|
-
# Specifies the principals requesting access for a Cloud
|
279
|
+
# Specifies the principals requesting access for a Google Cloud resource. `
|
280
280
|
# members` can have the following values: * `allUsers`: A special identifier
|
281
281
|
# that represents anyone who is on the internet; with or without a Google
|
282
282
|
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
@@ -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
|
@@ -608,6 +662,11 @@ module Google
|
|
608
662
|
# @return [String]
|
609
663
|
attr_accessor :finding_class
|
610
664
|
|
665
|
+
# Represents IAM bindings associated with the Finding.
|
666
|
+
# Corresponds to the JSON property `iamBindings`
|
667
|
+
# @return [Array<Google::Apis::SecuritycenterV1::IamBinding>]
|
668
|
+
attr_accessor :iam_bindings
|
669
|
+
|
611
670
|
# Represents what's commonly known as an Indicator of compromise (IoC) in
|
612
671
|
# computer forensics. This is an artifact observed on a network or in an
|
613
672
|
# operating system that, with high confidence, indicates a computer intrusion.
|
@@ -649,6 +708,11 @@ module Google
|
|
649
708
|
# @return [String]
|
650
709
|
attr_accessor :name
|
651
710
|
|
711
|
+
# Next steps associate to the finding.
|
712
|
+
# Corresponds to the JSON property `nextSteps`
|
713
|
+
# @return [String]
|
714
|
+
attr_accessor :next_steps
|
715
|
+
|
652
716
|
# The relative resource name of the source the finding belongs to. See: https://
|
653
717
|
# cloud.google.com/apis/design/resource_names#relative_resource_name This field
|
654
718
|
# is immutable after creation time. For example: "organizations/`organization_id`
|
@@ -707,17 +771,21 @@ module Google
|
|
707
771
|
@access = args[:access] if args.key?(:access)
|
708
772
|
@canonical_name = args[:canonical_name] if args.key?(:canonical_name)
|
709
773
|
@category = args[:category] if args.key?(:category)
|
774
|
+
@connections = args[:connections] if args.key?(:connections)
|
710
775
|
@create_time = args[:create_time] if args.key?(:create_time)
|
776
|
+
@description = args[:description] if args.key?(:description)
|
711
777
|
@event_time = args[:event_time] if args.key?(:event_time)
|
712
778
|
@external_systems = args[:external_systems] if args.key?(:external_systems)
|
713
779
|
@external_uri = args[:external_uri] if args.key?(:external_uri)
|
714
780
|
@finding_class = args[:finding_class] if args.key?(:finding_class)
|
781
|
+
@iam_bindings = args[:iam_bindings] if args.key?(:iam_bindings)
|
715
782
|
@indicator = args[:indicator] if args.key?(:indicator)
|
716
783
|
@mitre_attack = args[:mitre_attack] if args.key?(:mitre_attack)
|
717
784
|
@mute = args[:mute] if args.key?(:mute)
|
718
785
|
@mute_initiator = args[:mute_initiator] if args.key?(:mute_initiator)
|
719
786
|
@mute_update_time = args[:mute_update_time] if args.key?(:mute_update_time)
|
720
787
|
@name = args[:name] if args.key?(:name)
|
788
|
+
@next_steps = args[:next_steps] if args.key?(:next_steps)
|
721
789
|
@parent = args[:parent] if args.key?(:parent)
|
722
790
|
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
723
791
|
@security_marks = args[:security_marks] if args.key?(:security_marks)
|
@@ -1802,6 +1870,40 @@ module Google
|
|
1802
1870
|
end
|
1803
1871
|
end
|
1804
1872
|
|
1873
|
+
# Represents a particular IAM binding, which captures a member's role addition,
|
1874
|
+
# removal, or state.
|
1875
|
+
class IamBinding
|
1876
|
+
include Google::Apis::Core::Hashable
|
1877
|
+
|
1878
|
+
# The action that was performed on a Binding.
|
1879
|
+
# Corresponds to the JSON property `action`
|
1880
|
+
# @return [String]
|
1881
|
+
attr_accessor :action
|
1882
|
+
|
1883
|
+
# A single identity requesting access for a Cloud Platform resource, e.g. "foo@
|
1884
|
+
# google.com".
|
1885
|
+
# Corresponds to the JSON property `member`
|
1886
|
+
# @return [String]
|
1887
|
+
attr_accessor :member
|
1888
|
+
|
1889
|
+
# Role that is assigned to "members". For example, "roles/viewer", "roles/editor"
|
1890
|
+
# , or "roles/owner".
|
1891
|
+
# Corresponds to the JSON property `role`
|
1892
|
+
# @return [String]
|
1893
|
+
attr_accessor :role
|
1894
|
+
|
1895
|
+
def initialize(**args)
|
1896
|
+
update!(**args)
|
1897
|
+
end
|
1898
|
+
|
1899
|
+
# Update properties of this object
|
1900
|
+
def update!(**args)
|
1901
|
+
@action = args[:action] if args.key?(:action)
|
1902
|
+
@member = args[:member] if args.key?(:member)
|
1903
|
+
@role = args[:role] if args.key?(:role)
|
1904
|
+
end
|
1905
|
+
end
|
1906
|
+
|
1805
1907
|
# Cloud IAM Policy information associated with the Google Cloud resource
|
1806
1908
|
# described by the Security Command Center asset. This information is managed
|
1807
1909
|
# and defined by the Google Cloud resource and cannot be modified by the user.
|
@@ -2864,7 +2966,7 @@ module Google
|
|
2864
2966
|
include Google::Apis::Core::Hashable
|
2865
2967
|
|
2866
2968
|
# The set of permissions to check for the `resource`. Permissions with wildcards
|
2867
|
-
# (such as
|
2969
|
+
# (such as `*` or `storage.*`) are not allowed. For more information see [IAM
|
2868
2970
|
# Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
2869
2971
|
# Corresponds to the JSON property `permissions`
|
2870
2972
|
# @return [Array<String>]
|
@@ -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
|
|
@@ -232,6 +238,12 @@ module Google
|
|
232
238
|
include Google::Apis::Core::JsonObjectSupport
|
233
239
|
end
|
234
240
|
|
241
|
+
class IamBinding
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
235
247
|
class IamPolicy
|
236
248
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
249
|
|
@@ -486,6 +498,17 @@ module Google
|
|
486
498
|
end
|
487
499
|
end
|
488
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
|
+
|
489
512
|
class Cve
|
490
513
|
# @private
|
491
514
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -536,12 +559,17 @@ module Google
|
|
536
559
|
|
537
560
|
property :canonical_name, as: 'canonicalName'
|
538
561
|
property :category, as: 'category'
|
562
|
+
collection :connections, as: 'connections', class: Google::Apis::SecuritycenterV1::Connection, decorator: Google::Apis::SecuritycenterV1::Connection::Representation
|
563
|
+
|
539
564
|
property :create_time, as: 'createTime'
|
565
|
+
property :description, as: 'description'
|
540
566
|
property :event_time, as: 'eventTime'
|
541
567
|
hash :external_systems, as: 'externalSystems', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ExternalSystem, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ExternalSystem::Representation
|
542
568
|
|
543
569
|
property :external_uri, as: 'externalUri'
|
544
570
|
property :finding_class, as: 'findingClass'
|
571
|
+
collection :iam_bindings, as: 'iamBindings', class: Google::Apis::SecuritycenterV1::IamBinding, decorator: Google::Apis::SecuritycenterV1::IamBinding::Representation
|
572
|
+
|
545
573
|
property :indicator, as: 'indicator', class: Google::Apis::SecuritycenterV1::Indicator, decorator: Google::Apis::SecuritycenterV1::Indicator::Representation
|
546
574
|
|
547
575
|
property :mitre_attack, as: 'mitreAttack', class: Google::Apis::SecuritycenterV1::MitreAttack, decorator: Google::Apis::SecuritycenterV1::MitreAttack::Representation
|
@@ -550,6 +578,7 @@ module Google
|
|
550
578
|
property :mute_initiator, as: 'muteInitiator'
|
551
579
|
property :mute_update_time, as: 'muteUpdateTime'
|
552
580
|
property :name, as: 'name'
|
581
|
+
property :next_steps, as: 'nextSteps'
|
553
582
|
property :parent, as: 'parent'
|
554
583
|
property :resource_name, as: 'resourceName'
|
555
584
|
property :security_marks, as: 'securityMarks', class: Google::Apis::SecuritycenterV1::SecurityMarks, decorator: Google::Apis::SecuritycenterV1::SecurityMarks::Representation
|
@@ -800,6 +829,15 @@ module Google
|
|
800
829
|
end
|
801
830
|
end
|
802
831
|
|
832
|
+
class IamBinding
|
833
|
+
# @private
|
834
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
835
|
+
property :action, as: 'action'
|
836
|
+
property :member, as: 'member'
|
837
|
+
property :role, as: 'role'
|
838
|
+
end
|
839
|
+
end
|
840
|
+
|
803
841
|
class IamPolicy
|
804
842
|
# @private
|
805
843
|
class Representation < Google::Apis::Core::JsonRepresentation
|
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-
|
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: []
|