google-apis-securitycenter_v1beta1 0.60.0 → 0.61.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: 4fc87bcfa1032a2597d57a82ffe42afeb7166ba85e620486e750a6dedf52fad2
4
- data.tar.gz: 7e63d348cba8b6069b06b4613c1f388416e2b4dcc7c00e505945793e5f7152e4
3
+ metadata.gz: 5fd15059ca5c199847ded89d3b916f71eb0aad65b36eba50f00073df097cf813
4
+ data.tar.gz: 3b47d1df2e8c0ba9245905945d788d2c4907aefef1323934c2340511bdd4a02c
5
5
  SHA512:
6
- metadata.gz: ce231b036074cdaa0e2b4ba2edc6a93607bdaf2ca204fe90f9961cd3b5d6050c35213814d8922bf025967c26d16f8108f140b8c7315c16d7f14ad3cac9cbf0f7
7
- data.tar.gz: 5f37e9961d8b6c1166a5e8b5102eabccc9fb664ce0bedf9b261b345d7b780cc7e93da23b04d4731ad87ef41e3592b4b4784a55585093e75d67458715de6cb4f1
6
+ metadata.gz: 31e715fcacd692d15b641a77fa1deb1166596c9a4bc05db025c110f5655302912d6010daa85d3fbb5ea09738a3e4741bf5e8c5ad3a79837a4e4f85a496aaf3cd
7
+ data.tar.gz: d6252c2d9f58edba793e3f894385688ae55f3087cef3edd337676af50a5bec78c9afa702789f2c23a82b687e850f677e7ad44baa70854af4f3fac5fb69926379
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-securitycenter_v1beta1
2
2
 
3
+ ### v0.61.0 (2023-10-08)
4
+
5
+ * Regenerated from discovery document revision 20231001
6
+
3
7
  ### v0.60.0 (2023-09-10)
4
8
 
5
9
  * Regenerated from discovery document revision 20230904
@@ -1302,6 +1302,11 @@ module Google
1302
1302
  # @return [Google::Apis::SecuritycenterV1beta1::Kubernetes]
1303
1303
  attr_accessor :kubernetes
1304
1304
 
1305
+ # The load balancers associated with the finding.
1306
+ # Corresponds to the JSON property `loadBalancers`
1307
+ # @return [Array<Google::Apis::SecuritycenterV1beta1::LoadBalancer>]
1308
+ attr_accessor :load_balancers
1309
+
1305
1310
  # MITRE ATT&CK tactics and techniques related to this finding. See: https://
1306
1311
  # attack.mitre.org
1307
1312
  # Corresponds to the JSON property `mitreAttack`
@@ -1383,6 +1388,14 @@ module Google
1383
1388
  # @return [Google::Apis::SecuritycenterV1beta1::SecurityMarks]
1384
1389
  attr_accessor :security_marks
1385
1390
 
1391
+ # Represents a posture that is deployed on Google Cloud by the Security Command
1392
+ # Center Posture Management service. A posture contains one or more policy sets.
1393
+ # A policy set is a group of policies that enforce a set of security rules on
1394
+ # Google Cloud.
1395
+ # Corresponds to the JSON property `securityPosture`
1396
+ # @return [Google::Apis::SecuritycenterV1beta1::SecurityPosture]
1397
+ attr_accessor :security_posture
1398
+
1386
1399
  # The severity of the finding. This field is managed by the source that writes
1387
1400
  # the finding.
1388
1401
  # Corresponds to the JSON property `severity`
@@ -1436,6 +1449,7 @@ module Google
1436
1449
  @indicator = args[:indicator] if args.key?(:indicator)
1437
1450
  @kernel_rootkit = args[:kernel_rootkit] if args.key?(:kernel_rootkit)
1438
1451
  @kubernetes = args[:kubernetes] if args.key?(:kubernetes)
1452
+ @load_balancers = args[:load_balancers] if args.key?(:load_balancers)
1439
1453
  @mitre_attack = args[:mitre_attack] if args.key?(:mitre_attack)
1440
1454
  @module_name = args[:module_name] if args.key?(:module_name)
1441
1455
  @mute = args[:mute] if args.key?(:mute)
@@ -1448,6 +1462,7 @@ module Google
1448
1462
  @processes = args[:processes] if args.key?(:processes)
1449
1463
  @resource_name = args[:resource_name] if args.key?(:resource_name)
1450
1464
  @security_marks = args[:security_marks] if args.key?(:security_marks)
1465
+ @security_posture = args[:security_posture] if args.key?(:security_posture)
1451
1466
  @severity = args[:severity] if args.key?(:severity)
1452
1467
  @source_properties = args[:source_properties] if args.key?(:source_properties)
1453
1468
  @state = args[:state] if args.key?(:state)
@@ -3169,6 +3184,11 @@ module Google
3169
3184
  # @return [Array<Google::Apis::SecuritycenterV1beta1::Node>]
3170
3185
  attr_accessor :nodes
3171
3186
 
3187
+ # Kubernetes objects related to the finding.
3188
+ # Corresponds to the JSON property `objects`
3189
+ # @return [Array<Google::Apis::SecuritycenterV1beta1::Object>]
3190
+ attr_accessor :objects
3191
+
3172
3192
  # Kubernetes [Pods](https://cloud.google.com/kubernetes-engine/docs/concepts/pod)
3173
3193
  # associated with the finding. This field contains Pod records for each
3174
3194
  # container that is owned by a Pod.
@@ -3193,6 +3213,7 @@ module Google
3193
3213
  @bindings = args[:bindings] if args.key?(:bindings)
3194
3214
  @node_pools = args[:node_pools] if args.key?(:node_pools)
3195
3215
  @nodes = args[:nodes] if args.key?(:nodes)
3216
+ @objects = args[:objects] if args.key?(:objects)
3196
3217
  @pods = args[:pods] if args.key?(:pods)
3197
3218
  @roles = args[:roles] if args.key?(:roles)
3198
3219
  end
@@ -3383,6 +3404,25 @@ module Google
3383
3404
  end
3384
3405
  end
3385
3406
 
3407
+ # Contains information related to the load balancer associated with the finding.
3408
+ class LoadBalancer
3409
+ include Google::Apis::Core::Hashable
3410
+
3411
+ # The name of the load balancer associated with the finding.
3412
+ # Corresponds to the JSON property `name`
3413
+ # @return [String]
3414
+ attr_accessor :name
3415
+
3416
+ def initialize(**args)
3417
+ update!(**args)
3418
+ end
3419
+
3420
+ # Update properties of this object
3421
+ def update!(**args)
3422
+ @name = args[:name] if args.key?(:name)
3423
+ end
3424
+ end
3425
+
3386
3426
  # A signature corresponding to memory page hashes.
3387
3427
  class MemoryHashSignature
3388
3428
  include Google::Apis::Core::Hashable
@@ -3503,6 +3543,47 @@ module Google
3503
3543
  end
3504
3544
  end
3505
3545
 
3546
+ # Kubernetes object related to the finding, uniquely identified by GKNN. Used if
3547
+ # the object Kind is not one of Pod, Node, NodePool, Binding, or AccessReview.
3548
+ class Object
3549
+ include Google::Apis::Core::Hashable
3550
+
3551
+ # Kubernetes object group, such as "policy.k8s.io/v1".
3552
+ # Corresponds to the JSON property `group`
3553
+ # @return [String]
3554
+ attr_accessor :group
3555
+
3556
+ # Kubernetes object kind, such as “Namespace”.
3557
+ # Corresponds to the JSON property `kind`
3558
+ # @return [String]
3559
+ attr_accessor :kind
3560
+
3561
+ # Kubernetes object name. For details see https://kubernetes.io/docs/concepts/
3562
+ # overview/working-with-objects/names/.
3563
+ # Corresponds to the JSON property `name`
3564
+ # @return [String]
3565
+ attr_accessor :name
3566
+
3567
+ # Kubernetes object namespace. Must be a valid DNS label. Named "ns" to avoid
3568
+ # collision with C++ namespace keyword. For details see https://kubernetes.io/
3569
+ # docs/tasks/administer-cluster/namespaces/.
3570
+ # Corresponds to the JSON property `ns`
3571
+ # @return [String]
3572
+ attr_accessor :ns
3573
+
3574
+ def initialize(**args)
3575
+ update!(**args)
3576
+ end
3577
+
3578
+ # Update properties of this object
3579
+ def update!(**args)
3580
+ @group = args[:group] if args.key?(:group)
3581
+ @kind = args[:kind] if args.key?(:kind)
3582
+ @name = args[:name] if args.key?(:name)
3583
+ @ns = args[:ns] if args.key?(:ns)
3584
+ end
3585
+ end
3586
+
3506
3587
  # This resource represents a long-running operation that is the result of a
3507
3588
  # network API call.
3508
3589
  class Operation
@@ -4004,6 +4085,56 @@ module Google
4004
4085
  end
4005
4086
  end
4006
4087
 
4088
+ # Represents a posture that is deployed on Google Cloud by the Security Command
4089
+ # Center Posture Management service. A posture contains one or more policy sets.
4090
+ # A policy set is a group of policies that enforce a set of security rules on
4091
+ # Google Cloud.
4092
+ class SecurityPosture
4093
+ include Google::Apis::Core::Hashable
4094
+
4095
+ # The name of the policy that has been updated, for example, `projects/`
4096
+ # project_id`/policies/`constraint_name``.
4097
+ # Corresponds to the JSON property `changedPolicy`
4098
+ # @return [String]
4099
+ attr_accessor :changed_policy
4100
+
4101
+ # Name of the posture, for example, `organizations/`org_id`/locations/`location`/
4102
+ # postures/`posture_name``.
4103
+ # Corresponds to the JSON property `name`
4104
+ # @return [String]
4105
+ attr_accessor :name
4106
+
4107
+ # The name of the posture deployment, for example, `projects/`project_id`/
4108
+ # posturedeployments/`posture_deployment_id``.
4109
+ # Corresponds to the JSON property `postureDeployment`
4110
+ # @return [String]
4111
+ attr_accessor :posture_deployment
4112
+
4113
+ # The project, folder, or organization on which the posture is deployed, for
4114
+ # example, `projects/`project_id``.
4115
+ # Corresponds to the JSON property `postureDeploymentResource`
4116
+ # @return [String]
4117
+ attr_accessor :posture_deployment_resource
4118
+
4119
+ # The version of the posture, for example, `c7cfa2a8`.
4120
+ # Corresponds to the JSON property `revisionId`
4121
+ # @return [String]
4122
+ attr_accessor :revision_id
4123
+
4124
+ def initialize(**args)
4125
+ update!(**args)
4126
+ end
4127
+
4128
+ # Update properties of this object
4129
+ def update!(**args)
4130
+ @changed_policy = args[:changed_policy] if args.key?(:changed_policy)
4131
+ @name = args[:name] if args.key?(:name)
4132
+ @posture_deployment = args[:posture_deployment] if args.key?(:posture_deployment)
4133
+ @posture_deployment_resource = args[:posture_deployment_resource] if args.key?(:posture_deployment_resource)
4134
+ @revision_id = args[:revision_id] if args.key?(:revision_id)
4135
+ end
4136
+ end
4137
+
4007
4138
  # Identity delegation history of an authenticated service account.
4008
4139
  class ServiceAccountDelegationInfo
4009
4140
  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.60.0"
19
+ GEM_VERSION = "0.61.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 = "20230904"
25
+ REVISION = "20231001"
26
26
  end
27
27
  end
28
28
  end
@@ -442,6 +442,12 @@ module Google
442
442
  include Google::Apis::Core::JsonObjectSupport
443
443
  end
444
444
 
445
+ class LoadBalancer
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
445
451
  class MemoryHashSignature
446
452
  class Representation < Google::Apis::Core::JsonRepresentation; end
447
453
 
@@ -466,6 +472,12 @@ module Google
466
472
  include Google::Apis::Core::JsonObjectSupport
467
473
  end
468
474
 
475
+ class Object
476
+ class Representation < Google::Apis::Core::JsonRepresentation; end
477
+
478
+ include Google::Apis::Core::JsonObjectSupport
479
+ end
480
+
469
481
  class Operation
470
482
  class Representation < Google::Apis::Core::JsonRepresentation; end
471
483
 
@@ -532,6 +544,12 @@ module Google
532
544
  include Google::Apis::Core::JsonObjectSupport
533
545
  end
534
546
 
547
+ class SecurityPosture
548
+ class Representation < Google::Apis::Core::JsonRepresentation; end
549
+
550
+ include Google::Apis::Core::JsonObjectSupport
551
+ end
552
+
535
553
  class ServiceAccountDelegationInfo
536
554
  class Representation < Google::Apis::Core::JsonRepresentation; end
537
555
 
@@ -901,6 +919,8 @@ module Google
901
919
 
902
920
  property :kubernetes, as: 'kubernetes', class: Google::Apis::SecuritycenterV1beta1::Kubernetes, decorator: Google::Apis::SecuritycenterV1beta1::Kubernetes::Representation
903
921
 
922
+ collection :load_balancers, as: 'loadBalancers', class: Google::Apis::SecuritycenterV1beta1::LoadBalancer, decorator: Google::Apis::SecuritycenterV1beta1::LoadBalancer::Representation
923
+
904
924
  property :mitre_attack, as: 'mitreAttack', class: Google::Apis::SecuritycenterV1beta1::MitreAttack, decorator: Google::Apis::SecuritycenterV1beta1::MitreAttack::Representation
905
925
 
906
926
  property :module_name, as: 'moduleName'
@@ -916,6 +936,8 @@ module Google
916
936
  property :resource_name, as: 'resourceName'
917
937
  property :security_marks, as: 'securityMarks', class: Google::Apis::SecuritycenterV1beta1::SecurityMarks, decorator: Google::Apis::SecuritycenterV1beta1::SecurityMarks::Representation
918
938
 
939
+ property :security_posture, as: 'securityPosture', class: Google::Apis::SecuritycenterV1beta1::SecurityPosture, decorator: Google::Apis::SecuritycenterV1beta1::SecurityPosture::Representation
940
+
919
941
  property :severity, as: 'severity'
920
942
  hash :source_properties, as: 'sourceProperties'
921
943
  property :state, as: 'state'
@@ -1321,6 +1343,8 @@ module Google
1321
1343
 
1322
1344
  collection :nodes, as: 'nodes', class: Google::Apis::SecuritycenterV1beta1::Node, decorator: Google::Apis::SecuritycenterV1beta1::Node::Representation
1323
1345
 
1346
+ collection :objects, as: 'objects', class: Google::Apis::SecuritycenterV1beta1::Object, decorator: Google::Apis::SecuritycenterV1beta1::Object::Representation
1347
+
1324
1348
  collection :pods, as: 'pods', class: Google::Apis::SecuritycenterV1beta1::Pod, decorator: Google::Apis::SecuritycenterV1beta1::Pod::Representation
1325
1349
 
1326
1350
  collection :roles, as: 'roles', class: Google::Apis::SecuritycenterV1beta1::Role, decorator: Google::Apis::SecuritycenterV1beta1::Role::Representation
@@ -1385,6 +1409,13 @@ module Google
1385
1409
  end
1386
1410
  end
1387
1411
 
1412
+ class LoadBalancer
1413
+ # @private
1414
+ class Representation < Google::Apis::Core::JsonRepresentation
1415
+ property :name, as: 'name'
1416
+ end
1417
+ end
1418
+
1388
1419
  class MemoryHashSignature
1389
1420
  # @private
1390
1421
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1421,6 +1452,16 @@ module Google
1421
1452
  end
1422
1453
  end
1423
1454
 
1455
+ class Object
1456
+ # @private
1457
+ class Representation < Google::Apis::Core::JsonRepresentation
1458
+ property :group, as: 'group'
1459
+ property :kind, as: 'kind'
1460
+ property :name, as: 'name'
1461
+ property :ns, as: 'ns'
1462
+ end
1463
+ end
1464
+
1424
1465
  class Operation
1425
1466
  # @private
1426
1467
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1540,6 +1581,17 @@ module Google
1540
1581
  end
1541
1582
  end
1542
1583
 
1584
+ class SecurityPosture
1585
+ # @private
1586
+ class Representation < Google::Apis::Core::JsonRepresentation
1587
+ property :changed_policy, as: 'changedPolicy'
1588
+ property :name, as: 'name'
1589
+ property :posture_deployment, as: 'postureDeployment'
1590
+ property :posture_deployment_resource, as: 'postureDeploymentResource'
1591
+ property :revision_id, as: 'revisionId'
1592
+ end
1593
+ end
1594
+
1543
1595
  class ServiceAccountDelegationInfo
1544
1596
  # @private
1545
1597
  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.60.0
4
+ version: 0.61.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-09-10 00:00:00.000000000 Z
11
+ date: 2023-10-08 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.60.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta1/v0.61.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: []