google-apis-securitycenter_v1beta2 0.56.0 → 0.57.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 576684b6fd1300e39a10b6926eb3d61f457f4bf9f403ef30e576b0e4e6c3c250
4
- data.tar.gz: 0fd6f328c9cdf41b4464002bbc79536e043c9f808e0e37287097c478dcdeb6fa
3
+ metadata.gz: d949460d992af5bf0f8ddca37dbc084930d908075f45213a974c6d12797e61eb
4
+ data.tar.gz: 9ac0ed5bad850d6ea3f0a17b6beb60cfedd731fa23f18f5c142f588bbb73fbf0
5
5
  SHA512:
6
- metadata.gz: dd472834874756064b5102b4c241b8243c7d97a3c451db4d1ffc4bfeb5ad4dc48c15036310409261a13fb1b5e066de54527209816df696998f66acd03e587ee2
7
- data.tar.gz: 250504f69fab8a0b4ebff0dea9f7ba801831273ba8a4d31ae6375792f66ade48f706829e40707bc50c461568cb8ff82ea1758cd68fc5d8d871d8c67c12b6ed7b
6
+ metadata.gz: f17d0276e32348ab524bd9cbdec307207b45fd4e63a937c7daea7a5a8f4d0a9d8149e1aec34d7abed65d55071211dd9f479f8fd2f493b4726f8cc15e0956bbe3
7
+ data.tar.gz: 602fc654c518c081bad4e26358cd2bb0e75c5a5741382ddf5ca72b066313e84d2931f6a5bb2adf38800c86ae306bf10f2100d06b627f3d659112f98ed92692ba
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-securitycenter_v1beta2
2
2
 
3
+ ### v0.57.0 (2023-11-05)
4
+
5
+ * Regenerated from discovery document revision 20231102
6
+
3
7
  ### v0.56.0 (2023-10-15)
4
8
 
5
9
  * Regenerated from discovery document revision 20231005
@@ -318,6 +318,48 @@ module Google
318
318
  end
319
319
  end
320
320
 
321
+ # Metadata taken from a [Cloud Logging LogEntry](https://cloud.google.com/
322
+ # logging/docs/reference/v2/rest/v2/LogEntry)
323
+ class CloudLoggingEntry
324
+ include Google::Apis::Core::Hashable
325
+
326
+ # A unique identifier for the log entry.
327
+ # Corresponds to the JSON property `insertId`
328
+ # @return [String]
329
+ attr_accessor :insert_id
330
+
331
+ # The type of the log (part of `log_name`. `log_name` is the resource name of
332
+ # the log to which this log entry belongs). For example: `cloudresourcemanager.
333
+ # googleapis.com/activity`. Note that this field is not URL-encoded, unlike the `
334
+ # LOG_ID` field in `LogEntry`.
335
+ # Corresponds to the JSON property `logId`
336
+ # @return [String]
337
+ attr_accessor :log_id
338
+
339
+ # The organization, folder, or project of the monitored resource that produced
340
+ # this log entry.
341
+ # Corresponds to the JSON property `resourceContainer`
342
+ # @return [String]
343
+ attr_accessor :resource_container
344
+
345
+ # The time the event described by the log entry occurred.
346
+ # Corresponds to the JSON property `timestamp`
347
+ # @return [String]
348
+ attr_accessor :timestamp
349
+
350
+ def initialize(**args)
351
+ update!(**args)
352
+ end
353
+
354
+ # Update properties of this object
355
+ def update!(**args)
356
+ @insert_id = args[:insert_id] if args.key?(:insert_id)
357
+ @log_id = args[:log_id] if args.key?(:log_id)
358
+ @resource_container = args[:resource_container] if args.key?(:resource_container)
359
+ @timestamp = args[:timestamp] if args.key?(:timestamp)
360
+ end
361
+ end
362
+
321
363
  # Contains compliance information about a security standard indicating unmet
322
364
  # recommendations.
323
365
  class Compliance
@@ -1196,6 +1238,11 @@ module Google
1196
1238
  # @return [Array<Google::Apis::SecuritycenterV1beta2::LoadBalancer>]
1197
1239
  attr_accessor :load_balancers
1198
1240
 
1241
+ # Log entries that are relevant to the finding.
1242
+ # Corresponds to the JSON property `logEntries`
1243
+ # @return [Array<Google::Apis::SecuritycenterV1beta2::LogEntry>]
1244
+ attr_accessor :log_entries
1245
+
1199
1246
  # MITRE ATT&CK tactics and techniques related to this finding. See: https://
1200
1247
  # attack.mitre.org
1201
1248
  # Corresponds to the JSON property `mitreAttack`
@@ -1241,6 +1288,11 @@ module Google
1241
1288
  # @return [String]
1242
1289
  attr_accessor :next_steps
1243
1290
 
1291
+ # Contains information about the org policies associated with the finding.
1292
+ # Corresponds to the JSON property `orgPolicies`
1293
+ # @return [Array<Google::Apis::SecuritycenterV1beta2::OrgPolicy>]
1294
+ attr_accessor :org_policies
1295
+
1244
1296
  # The relative resource name of the source the finding belongs to. See: https://
1245
1297
  # cloud.google.com/apis/design/resource_names#relative_resource_name This field
1246
1298
  # is immutable after creation time. For example: "organizations/`organization_id`
@@ -1339,6 +1391,7 @@ module Google
1339
1391
  @kernel_rootkit = args[:kernel_rootkit] if args.key?(:kernel_rootkit)
1340
1392
  @kubernetes = args[:kubernetes] if args.key?(:kubernetes)
1341
1393
  @load_balancers = args[:load_balancers] if args.key?(:load_balancers)
1394
+ @log_entries = args[:log_entries] if args.key?(:log_entries)
1342
1395
  @mitre_attack = args[:mitre_attack] if args.key?(:mitre_attack)
1343
1396
  @module_name = args[:module_name] if args.key?(:module_name)
1344
1397
  @mute = args[:mute] if args.key?(:mute)
@@ -1346,6 +1399,7 @@ module Google
1346
1399
  @mute_update_time = args[:mute_update_time] if args.key?(:mute_update_time)
1347
1400
  @name = args[:name] if args.key?(:name)
1348
1401
  @next_steps = args[:next_steps] if args.key?(:next_steps)
1402
+ @org_policies = args[:org_policies] if args.key?(:org_policies)
1349
1403
  @parent = args[:parent] if args.key?(:parent)
1350
1404
  @parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name)
1351
1405
  @processes = args[:processes] if args.key?(:processes)
@@ -1780,7 +1834,10 @@ module Google
1780
1834
 
1781
1835
  # This field will be ignored if provided on config creation. Format "
1782
1836
  # organizations/`organization`/muteConfigs/`mute_config`" "folders/`folder`/
1783
- # muteConfigs/`mute_config`" "projects/`project`/muteConfigs/`mute_config`"
1837
+ # muteConfigs/`mute_config`" "projects/`project`/muteConfigs/`mute_config`" "
1838
+ # organizations/`organization`/locations/global/muteConfigs/`mute_config`" "
1839
+ # folders/`folder`/locations/global/muteConfigs/`mute_config`" "projects/`
1840
+ # project`/locations/global/muteConfigs/`mute_config`"
1784
1841
  # Corresponds to the JSON property `name`
1785
1842
  # @return [String]
1786
1843
  attr_accessor :name
@@ -2737,6 +2794,26 @@ module Google
2737
2794
  end
2738
2795
  end
2739
2796
 
2797
+ # An individual entry in a log.
2798
+ class LogEntry
2799
+ include Google::Apis::Core::Hashable
2800
+
2801
+ # Metadata taken from a [Cloud Logging LogEntry](https://cloud.google.com/
2802
+ # logging/docs/reference/v2/rest/v2/LogEntry)
2803
+ # Corresponds to the JSON property `cloudLoggingEntry`
2804
+ # @return [Google::Apis::SecuritycenterV1beta2::CloudLoggingEntry]
2805
+ attr_accessor :cloud_logging_entry
2806
+
2807
+ def initialize(**args)
2808
+ update!(**args)
2809
+ end
2810
+
2811
+ # Update properties of this object
2812
+ def update!(**args)
2813
+ @cloud_logging_entry = args[:cloud_logging_entry] if args.key?(:cloud_logging_entry)
2814
+ end
2815
+ end
2816
+
2740
2817
  # A signature corresponding to memory page hashes.
2741
2818
  class MemoryHashSignature
2742
2819
  include Google::Apis::Core::Hashable
@@ -2862,6 +2939,11 @@ module Google
2862
2939
  class Object
2863
2940
  include Google::Apis::Core::Hashable
2864
2941
 
2942
+ # Pod containers associated with this finding, if any.
2943
+ # Corresponds to the JSON property `containers`
2944
+ # @return [Array<Google::Apis::SecuritycenterV1beta2::Container>]
2945
+ attr_accessor :containers
2946
+
2865
2947
  # Kubernetes object group, such as "policy.k8s.io/v1".
2866
2948
  # Corresponds to the JSON property `group`
2867
2949
  # @return [String]
@@ -2891,6 +2973,7 @@ module Google
2891
2973
 
2892
2974
  # Update properties of this object
2893
2975
  def update!(**args)
2976
+ @containers = args[:containers] if args.key?(:containers)
2894
2977
  @group = args[:group] if args.key?(:group)
2895
2978
  @kind = args[:kind] if args.key?(:kind)
2896
2979
  @name = args[:name] if args.key?(:name)
@@ -2898,6 +2981,26 @@ module Google
2898
2981
  end
2899
2982
  end
2900
2983
 
2984
+ # Contains information about the org policies associated with the finding.
2985
+ class OrgPolicy
2986
+ include Google::Apis::Core::Hashable
2987
+
2988
+ # The resource name of the org policy. Example: "organizations/`organization_id`/
2989
+ # policies/`constraint_name`"
2990
+ # Corresponds to the JSON property `name`
2991
+ # @return [String]
2992
+ attr_accessor :name
2993
+
2994
+ def initialize(**args)
2995
+ update!(**args)
2996
+ end
2997
+
2998
+ # Update properties of this object
2999
+ def update!(**args)
3000
+ @name = args[:name] if args.key?(:name)
3001
+ end
3002
+ end
3003
+
2901
3004
  # A Kubernetes Pod.
2902
3005
  class Pod
2903
3006
  include Google::Apis::Core::Hashable
@@ -3138,7 +3241,7 @@ module Google
3138
3241
  end
3139
3242
  end
3140
3243
 
3141
- # Resource capturing the settings for Security Center.
3244
+ # Resource capturing the settings for Security Center. Next ID: 12
3142
3245
  class SecurityCenterSettings
3143
3246
  include Google::Apis::Core::Hashable
3144
3247
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SecuritycenterV1beta2
18
18
  # Version of the google-apis-securitycenter_v1beta2 gem
19
- GEM_VERSION = "0.56.0"
19
+ GEM_VERSION = "0.57.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231005"
25
+ REVISION = "20231102"
26
26
  end
27
27
  end
28
28
  end
@@ -52,6 +52,12 @@ module Google
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
+ class CloudLoggingEntry
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
55
61
  class Compliance
56
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
63
 
@@ -346,6 +352,12 @@ module Google
346
352
  include Google::Apis::Core::JsonObjectSupport
347
353
  end
348
354
 
355
+ class LogEntry
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
349
361
  class MemoryHashSignature
350
362
  class Representation < Google::Apis::Core::JsonRepresentation; end
351
363
 
@@ -376,6 +388,12 @@ module Google
376
388
  include Google::Apis::Core::JsonObjectSupport
377
389
  end
378
390
 
391
+ class OrgPolicy
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
379
397
  class Pod
380
398
  class Representation < Google::Apis::Core::JsonRepresentation; end
381
399
 
@@ -541,6 +559,16 @@ module Google
541
559
  end
542
560
  end
543
561
 
562
+ class CloudLoggingEntry
563
+ # @private
564
+ class Representation < Google::Apis::Core::JsonRepresentation
565
+ property :insert_id, as: 'insertId'
566
+ property :log_id, as: 'logId'
567
+ property :resource_container, as: 'resourceContainer'
568
+ property :timestamp, as: 'timestamp'
569
+ end
570
+ end
571
+
544
572
  class Compliance
545
573
  # @private
546
574
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -768,6 +796,8 @@ module Google
768
796
 
769
797
  collection :load_balancers, as: 'loadBalancers', class: Google::Apis::SecuritycenterV1beta2::LoadBalancer, decorator: Google::Apis::SecuritycenterV1beta2::LoadBalancer::Representation
770
798
 
799
+ collection :log_entries, as: 'logEntries', class: Google::Apis::SecuritycenterV1beta2::LogEntry, decorator: Google::Apis::SecuritycenterV1beta2::LogEntry::Representation
800
+
771
801
  property :mitre_attack, as: 'mitreAttack', class: Google::Apis::SecuritycenterV1beta2::MitreAttack, decorator: Google::Apis::SecuritycenterV1beta2::MitreAttack::Representation
772
802
 
773
803
  property :module_name, as: 'moduleName'
@@ -776,6 +806,8 @@ module Google
776
806
  property :mute_update_time, as: 'muteUpdateTime'
777
807
  property :name, as: 'name'
778
808
  property :next_steps, as: 'nextSteps'
809
+ collection :org_policies, as: 'orgPolicies', class: Google::Apis::SecuritycenterV1beta2::OrgPolicy, decorator: Google::Apis::SecuritycenterV1beta2::OrgPolicy::Representation
810
+
779
811
  property :parent, as: 'parent'
780
812
  property :parent_display_name, as: 'parentDisplayName'
781
813
  collection :processes, as: 'processes', class: Google::Apis::SecuritycenterV1beta2::Process, decorator: Google::Apis::SecuritycenterV1beta2::Process::Representation
@@ -1123,6 +1155,14 @@ module Google
1123
1155
  end
1124
1156
  end
1125
1157
 
1158
+ class LogEntry
1159
+ # @private
1160
+ class Representation < Google::Apis::Core::JsonRepresentation
1161
+ property :cloud_logging_entry, as: 'cloudLoggingEntry', class: Google::Apis::SecuritycenterV1beta2::CloudLoggingEntry, decorator: Google::Apis::SecuritycenterV1beta2::CloudLoggingEntry::Representation
1162
+
1163
+ end
1164
+ end
1165
+
1126
1166
  class MemoryHashSignature
1127
1167
  # @private
1128
1168
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1162,6 +1202,8 @@ module Google
1162
1202
  class Object
1163
1203
  # @private
1164
1204
  class Representation < Google::Apis::Core::JsonRepresentation
1205
+ collection :containers, as: 'containers', class: Google::Apis::SecuritycenterV1beta2::Container, decorator: Google::Apis::SecuritycenterV1beta2::Container::Representation
1206
+
1165
1207
  property :group, as: 'group'
1166
1208
  property :kind, as: 'kind'
1167
1209
  property :name, as: 'name'
@@ -1169,6 +1211,13 @@ module Google
1169
1211
  end
1170
1212
  end
1171
1213
 
1214
+ class OrgPolicy
1215
+ # @private
1216
+ class Representation < Google::Apis::Core::JsonRepresentation
1217
+ property :name, as: 'name'
1218
+ end
1219
+ end
1220
+
1172
1221
  class Pod
1173
1222
  # @private
1174
1223
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-securitycenter_v1beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.56.0
4
+ version: 0.57.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: 2023-10-15 00:00:00.000000000 Z
11
+ date: 2023-11-05 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_v1beta2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.56.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.57.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1beta2
63
63
  post_install_message:
64
64
  rdoc_options: []