google-apis-securitycenter_v1beta1 0.39.0 → 0.41.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: 896d2595f169b7408daa5f981aee1445125d366638f9c8764827b8c528904ad7
4
- data.tar.gz: 116b46c49cb88e0950525acb1548c8c5cf7d647ecb7abee70374e4feb35b3f9a
3
+ metadata.gz: 149760ca33f2d66d5c990494b7a8522f2970d0fb9eefe3af281e0afe27a046d7
4
+ data.tar.gz: 9fee1b7cbec7c0fb901ee4561745ef4bc545aeb9815040f4e4964c46e28a4f91
5
5
  SHA512:
6
- metadata.gz: b72cc8e8f553085ad32dc57d21ea83a26393b470b6bbd42b35016eda05da942dd7df917e44cceab93828a3b407aa41e9a7a0221e7f589d95561d3a82ff0d7b2e
7
- data.tar.gz: 3fdcb84cfda4b313f1974cb265d27da7dbb5987b68f3bffbf310ca7852be5f670fb995b2e0be26c7aa6edf41e21c324eff56bd2f286675453c79ea6f5605e541
6
+ metadata.gz: 40d6ec4dd0ed206aa9e0bfd0b50adffdb12bf5f2c8a0ed6dd08611af20c43a1c79b8102b50e9e1c3f385096f90a1d1471fa128b90a4b4b187ab850d087045e24
7
+ data.tar.gz: 9c9a372e1b51e242e0c2dfa33141de94b183bbd859ed70d5160477ab4ffbce2df9fd1d25f3ee08f1611af3d5afd1e884f40fe6dc523b9e60239a42e101509754
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Release history for google-apis-securitycenter_v1beta1
2
2
 
3
+ ### v0.41.0 (2022-10-27)
4
+
5
+ * Regenerated from discovery document revision 20221014
6
+ * Regenerated using generator version 0.11.0
7
+
8
+ ### v0.40.0 (2022-09-30)
9
+
10
+ * Regenerated from discovery document revision 20220921
11
+ * Regenerated using generator version 0.10.0
12
+
3
13
  ### v0.39.0 (2022-09-16)
4
14
 
5
15
  * Regenerated from discovery document revision 20220909
@@ -91,6 +91,14 @@ module Google
91
91
  # @return [String]
92
92
  attr_accessor :user_agent_family
93
93
 
94
+ # A string representing a username. This is likely not an IAM principal. For
95
+ # instance, this may be the system user name if the finding is VM-related, or
96
+ # this may be some type of application login user name, depending on the type of
97
+ # finding.
98
+ # Corresponds to the JSON property `userName`
99
+ # @return [String]
100
+ attr_accessor :user_name
101
+
94
102
  def initialize(**args)
95
103
  update!(**args)
96
104
  end
@@ -106,6 +114,7 @@ module Google
106
114
  @service_account_key_name = args[:service_account_key_name] if args.key?(:service_account_key_name)
107
115
  @service_name = args[:service_name] if args.key?(:service_name)
108
116
  @user_agent_family = args[:user_agent_family] if args.key?(:user_agent_family)
117
+ @user_name = args[:user_name] if args.key?(:user_name)
109
118
  end
110
119
  end
111
120
 
@@ -253,6 +262,32 @@ module Google
253
262
  end
254
263
  end
255
264
 
265
+ # A finding that is associated with this node in the exposure path.
266
+ class AssociatedFinding
267
+ include Google::Apis::Core::Hashable
268
+
269
+ # Canonical name of the associated findings. Example: organizations/123/sources/
270
+ # 456/findings/789
271
+ # Corresponds to the JSON property `canonicalFindingName`
272
+ # @return [String]
273
+ attr_accessor :canonical_finding_name
274
+
275
+ # The additional taxonomy group within findings from a given source.
276
+ # Corresponds to the JSON property `findingCategory`
277
+ # @return [String]
278
+ attr_accessor :finding_category
279
+
280
+ def initialize(**args)
281
+ update!(**args)
282
+ end
283
+
284
+ # Update properties of this object
285
+ def update!(**args)
286
+ @canonical_finding_name = args[:canonical_finding_name] if args.key?(:canonical_finding_name)
287
+ @finding_category = args[:finding_category] if args.key?(:finding_category)
288
+ end
289
+ end
290
+
256
291
  # Specifies the audit configuration for a service. The configuration determines
257
292
  # which permission types are logged, and what identities, if any, are exempted
258
293
  # from logging. An AuditConfig must have one or more AuditLogConfigs. If there
@@ -760,6 +795,32 @@ module Google
760
795
  end
761
796
  end
762
797
 
798
+ # Represents a connection between a source node and a destination node in this
799
+ # exposure path.
800
+ class Edge
801
+ include Google::Apis::Core::Hashable
802
+
803
+ # This is the resource name of the destination node.
804
+ # Corresponds to the JSON property `destination`
805
+ # @return [String]
806
+ attr_accessor :destination
807
+
808
+ # This is the resource name of the source node.
809
+ # Corresponds to the JSON property `source`
810
+ # @return [String]
811
+ attr_accessor :source
812
+
813
+ def initialize(**args)
814
+ update!(**args)
815
+ end
816
+
817
+ # Update properties of this object
818
+ def update!(**args)
819
+ @destination = args[:destination] if args.key?(:destination)
820
+ @source = args[:source] if args.key?(:source)
821
+ end
822
+ end
823
+
763
824
  # A generic empty message that you can re-use to avoid defining duplicated empty
764
825
  # messages in your APIs. A typical example is to use it as the request or the
765
826
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -1007,7 +1068,7 @@ module Google
1007
1068
  # @return [Array<Google::Apis::SecuritycenterV1beta1::Connection>]
1008
1069
  attr_accessor :connections
1009
1070
 
1010
- # Output only. Map containing the point of contacts for the given finding. The
1071
+ # Output only. Map containing the points of contact for the given finding. The
1011
1072
  # key represents the type of contact, while the value contains a list of all the
1012
1073
  # contacts that pertain. Please refer to: https://cloud.google.com/resource-
1013
1074
  # manager/docs/managing-notification-contacts#notification-categories ` "
@@ -1143,7 +1204,7 @@ module Google
1143
1204
  attr_accessor :parent
1144
1205
 
1145
1206
  # Output only. The human readable display name of the finding source such as "
1146
- # Event Threat Detection" or "Security Health Analytics"
1207
+ # Event Threat Detection" or "Security Health Analytics".
1147
1208
  # Corresponds to the JSON property `parentDisplayName`
1148
1209
  # @return [String]
1149
1210
  attr_accessor :parent_display_name
@@ -1462,6 +1523,96 @@ module Google
1462
1523
  end
1463
1524
  end
1464
1525
 
1526
+ # A resource that is exposed as a result of a finding.
1527
+ class GoogleCloudSecuritycenterV1ExposedResource
1528
+ include Google::Apis::Core::Hashable
1529
+
1530
+ # Human readable name of the resource that is exposed.
1531
+ # Corresponds to the JSON property `displayName`
1532
+ # @return [String]
1533
+ attr_accessor :display_name
1534
+
1535
+ # The ways in which this resource is exposed. Examples: Read, Write
1536
+ # Corresponds to the JSON property `methods`
1537
+ # @return [Array<String>]
1538
+ attr_accessor :methods_prop
1539
+
1540
+ # Exposed Resource Name e.g.: `organizations/123/attackExposureResults/456/
1541
+ # exposedResources/789`
1542
+ # Corresponds to the JSON property `name`
1543
+ # @return [String]
1544
+ attr_accessor :name
1545
+
1546
+ # The name of the resource that is exposed. See: https://cloud.google.com/apis/
1547
+ # design/resource_names#full_resource_name
1548
+ # Corresponds to the JSON property `resource`
1549
+ # @return [String]
1550
+ attr_accessor :resource
1551
+
1552
+ # The resource type of the exposed resource. See: https://cloud.google.com/asset-
1553
+ # inventory/docs/supported-asset-types
1554
+ # Corresponds to the JSON property `resourceType`
1555
+ # @return [String]
1556
+ attr_accessor :resource_type
1557
+
1558
+ # How valuable this resource is.
1559
+ # Corresponds to the JSON property `resourceValue`
1560
+ # @return [String]
1561
+ attr_accessor :resource_value
1562
+
1563
+ def initialize(**args)
1564
+ update!(**args)
1565
+ end
1566
+
1567
+ # Update properties of this object
1568
+ def update!(**args)
1569
+ @display_name = args[:display_name] if args.key?(:display_name)
1570
+ @methods_prop = args[:methods_prop] if args.key?(:methods_prop)
1571
+ @name = args[:name] if args.key?(:name)
1572
+ @resource = args[:resource] if args.key?(:resource)
1573
+ @resource_type = args[:resource_type] if args.key?(:resource_type)
1574
+ @resource_value = args[:resource_value] if args.key?(:resource_value)
1575
+ end
1576
+ end
1577
+
1578
+ # A path that an attacker could take to reach an exposed resource.
1579
+ class GoogleCloudSecuritycenterV1ExposurePath
1580
+ include Google::Apis::Core::Hashable
1581
+
1582
+ # A list of the edges between nodes in this exposure path.
1583
+ # Corresponds to the JSON property `edges`
1584
+ # @return [Array<Google::Apis::SecuritycenterV1beta1::Edge>]
1585
+ attr_accessor :edges
1586
+
1587
+ # A resource that is exposed as a result of a finding.
1588
+ # Corresponds to the JSON property `exposedResource`
1589
+ # @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1ExposedResource]
1590
+ attr_accessor :exposed_resource
1591
+
1592
+ # Exposure Path Name e.g.: `organizations/123/attackExposureResults/456/
1593
+ # exposurePaths/789`
1594
+ # Corresponds to the JSON property `name`
1595
+ # @return [String]
1596
+ attr_accessor :name
1597
+
1598
+ # A list of nodes that exist in this exposure path.
1599
+ # Corresponds to the JSON property `pathNodes`
1600
+ # @return [Array<Google::Apis::SecuritycenterV1beta1::PathNode>]
1601
+ attr_accessor :path_nodes
1602
+
1603
+ def initialize(**args)
1604
+ update!(**args)
1605
+ end
1606
+
1607
+ # Update properties of this object
1608
+ def update!(**args)
1609
+ @edges = args[:edges] if args.key?(:edges)
1610
+ @exposed_resource = args[:exposed_resource] if args.key?(:exposed_resource)
1611
+ @name = args[:name] if args.key?(:name)
1612
+ @path_nodes = args[:path_nodes] if args.key?(:path_nodes)
1613
+ end
1614
+ end
1615
+
1465
1616
  # Representation of third party SIEM/SOAR fields within SCC.
1466
1617
  class GoogleCloudSecuritycenterV1ExternalSystem
1467
1618
  include Google::Apis::Core::Hashable
@@ -2966,6 +3117,46 @@ module Google
2966
3117
  end
2967
3118
  end
2968
3119
 
3120
+ # Represents one point that an attacker passes through in this exposure path.
3121
+ class PathNode
3122
+ include Google::Apis::Core::Hashable
3123
+
3124
+ # The findings associated with this node in the exposure path.
3125
+ # Corresponds to the JSON property `associatedFindings`
3126
+ # @return [Array<Google::Apis::SecuritycenterV1beta1::AssociatedFinding>]
3127
+ attr_accessor :associated_findings
3128
+
3129
+ # Human readable name of this resource.
3130
+ # Corresponds to the JSON property `displayName`
3131
+ # @return [String]
3132
+ attr_accessor :display_name
3133
+
3134
+ # The name of the resource at this point in the exposure path. The format of the
3135
+ # name is: https://cloud.google.com/apis/design/resource_names#
3136
+ # full_resource_name
3137
+ # Corresponds to the JSON property `resource`
3138
+ # @return [String]
3139
+ attr_accessor :resource
3140
+
3141
+ # The resource type of this resource. See: https://cloud.google.com/asset-
3142
+ # inventory/docs/supported-asset-types
3143
+ # Corresponds to the JSON property `resourceType`
3144
+ # @return [String]
3145
+ attr_accessor :resource_type
3146
+
3147
+ def initialize(**args)
3148
+ update!(**args)
3149
+ end
3150
+
3151
+ # Update properties of this object
3152
+ def update!(**args)
3153
+ @associated_findings = args[:associated_findings] if args.key?(:associated_findings)
3154
+ @display_name = args[:display_name] if args.key?(:display_name)
3155
+ @resource = args[:resource] if args.key?(:resource)
3156
+ @resource_type = args[:resource_type] if args.key?(:resource_type)
3157
+ end
3158
+ end
3159
+
2969
3160
  # Kubernetes Pod.
2970
3161
  class Pod
2971
3162
  include Google::Apis::Core::Hashable
@@ -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.39.0"
19
+ GEM_VERSION = "0.41.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.9.0"
22
+ GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220909"
25
+ REVISION = "20221014"
26
26
  end
27
27
  end
28
28
  end
@@ -46,6 +46,12 @@ module Google
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
+ class AssociatedFinding
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
49
55
  class AuditConfig
50
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
57
 
@@ -124,6 +130,12 @@ module Google
124
130
  include Google::Apis::Core::JsonObjectSupport
125
131
  end
126
132
 
133
+ class Edge
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
127
139
  class Empty
128
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
141
 
@@ -208,6 +220,18 @@ module Google
208
220
  include Google::Apis::Core::JsonObjectSupport
209
221
  end
210
222
 
223
+ class GoogleCloudSecuritycenterV1ExposedResource
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class GoogleCloudSecuritycenterV1ExposurePath
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
211
235
  class GoogleCloudSecuritycenterV1ExternalSystem
212
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
237
 
@@ -418,6 +442,12 @@ module Google
418
442
  include Google::Apis::Core::JsonObjectSupport
419
443
  end
420
444
 
445
+ class PathNode
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
421
451
  class Pod
422
452
  class Representation < Google::Apis::Core::JsonRepresentation; end
423
453
 
@@ -546,6 +576,7 @@ module Google
546
576
  property :service_account_key_name, as: 'serviceAccountKeyName'
547
577
  property :service_name, as: 'serviceName'
548
578
  property :user_agent_family, as: 'userAgentFamily'
579
+ property :user_name, as: 'userName'
549
580
  end
550
581
  end
551
582
 
@@ -584,6 +615,14 @@ module Google
584
615
  end
585
616
  end
586
617
 
618
+ class AssociatedFinding
619
+ # @private
620
+ class Representation < Google::Apis::Core::JsonRepresentation
621
+ property :canonical_finding_name, as: 'canonicalFindingName'
622
+ property :finding_category, as: 'findingCategory'
623
+ end
624
+ end
625
+
587
626
  class AuditConfig
588
627
  # @private
589
628
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -709,6 +748,14 @@ module Google
709
748
  end
710
749
  end
711
750
 
751
+ class Edge
752
+ # @private
753
+ class Representation < Google::Apis::Core::JsonRepresentation
754
+ property :destination, as: 'destination'
755
+ property :source, as: 'source'
756
+ end
757
+ end
758
+
712
759
  class Empty
713
760
  # @private
714
761
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -879,6 +926,31 @@ module Google
879
926
  end
880
927
  end
881
928
 
929
+ class GoogleCloudSecuritycenterV1ExposedResource
930
+ # @private
931
+ class Representation < Google::Apis::Core::JsonRepresentation
932
+ property :display_name, as: 'displayName'
933
+ collection :methods_prop, as: 'methods'
934
+ property :name, as: 'name'
935
+ property :resource, as: 'resource'
936
+ property :resource_type, as: 'resourceType'
937
+ property :resource_value, as: 'resourceValue'
938
+ end
939
+ end
940
+
941
+ class GoogleCloudSecuritycenterV1ExposurePath
942
+ # @private
943
+ class Representation < Google::Apis::Core::JsonRepresentation
944
+ collection :edges, as: 'edges', class: Google::Apis::SecuritycenterV1beta1::Edge, decorator: Google::Apis::SecuritycenterV1beta1::Edge::Representation
945
+
946
+ property :exposed_resource, as: 'exposedResource', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1ExposedResource, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1ExposedResource::Representation
947
+
948
+ property :name, as: 'name'
949
+ collection :path_nodes, as: 'pathNodes', class: Google::Apis::SecuritycenterV1beta1::PathNode, decorator: Google::Apis::SecuritycenterV1beta1::PathNode::Representation
950
+
951
+ end
952
+ end
953
+
882
954
  class GoogleCloudSecuritycenterV1ExternalSystem
883
955
  # @private
884
956
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1251,6 +1323,17 @@ module Google
1251
1323
  end
1252
1324
  end
1253
1325
 
1326
+ class PathNode
1327
+ # @private
1328
+ class Representation < Google::Apis::Core::JsonRepresentation
1329
+ collection :associated_findings, as: 'associatedFindings', class: Google::Apis::SecuritycenterV1beta1::AssociatedFinding, decorator: Google::Apis::SecuritycenterV1beta1::AssociatedFinding::Representation
1330
+
1331
+ property :display_name, as: 'displayName'
1332
+ property :resource, as: 'resource'
1333
+ property :resource_type, as: 'resourceType'
1334
+ end
1335
+ end
1336
+
1254
1337
  class Pod
1255
1338
  # @private
1256
1339
  class Representation < Google::Apis::Core::JsonRepresentation
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.39.0
4
+ version: 0.41.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-09-19 00:00:00.000000000 Z
11
+ date: 2022-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.7.2
19
+ version: 0.9.1
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.7.2
29
+ version: 0.9.1
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.39.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta1/v0.41.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: []