google-apis-securitycenter_v1beta1 0.59.0 → 0.61.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: 5f4e54ba93261577562d127b0b951fa1949eb8fc8ac88fb827d3fb542373c52f
4
- data.tar.gz: aa24e23bd1236a63bccf8ae3acc04cfa49df45ea5f0bab1e6767683dc51a5715
3
+ metadata.gz: 5fd15059ca5c199847ded89d3b916f71eb0aad65b36eba50f00073df097cf813
4
+ data.tar.gz: 3b47d1df2e8c0ba9245905945d788d2c4907aefef1323934c2340511bdd4a02c
5
5
  SHA512:
6
- metadata.gz: 3f7f56fa2f08675f4a67f513a9c9546c38466c9b0d86b8863478a46fc5e5d0ed14feb764ed86db8ee65ccc641cd9ea5063ceaca7ead613a267fc684309805281
7
- data.tar.gz: 42e25bd72afa944e9633bc05992217221dda10c135fc712c23accd42f3cd239c5cf7cfc3c2195a8de036aba94609b1a3f124960aa47ec776a59f6d1a2a704c0a
6
+ metadata.gz: 31e715fcacd692d15b641a77fa1deb1166596c9a4bc05db025c110f5655302912d6010daa85d3fbb5ea09738a3e4741bf5e8c5ad3a79837a4e4f85a496aaf3cd
7
+ data.tar.gz: d6252c2d9f58edba793e3f894385688ae55f3087cef3edd337676af50a5bec78c9afa702789f2c23a82b687e850f677e7ad44baa70854af4f3fac5fb69926379
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.60.0 (2023-09-10)
8
+
9
+ * Regenerated from discovery document revision 20230904
10
+
3
11
  ### v0.59.0 (2023-08-13)
4
12
 
5
13
  * Regenerated from discovery document revision 20230803
@@ -1019,6 +1019,11 @@ module Google
1019
1019
  # @return [Array<Google::Apis::SecuritycenterV1beta1::ExfilResource>]
1020
1020
  attr_accessor :targets
1021
1021
 
1022
+ # Total exfiltrated bytes processed for the entire job.
1023
+ # Corresponds to the JSON property `totalExfiltratedBytes`
1024
+ # @return [Fixnum]
1025
+ attr_accessor :total_exfiltrated_bytes
1026
+
1022
1027
  def initialize(**args)
1023
1028
  update!(**args)
1024
1029
  end
@@ -1027,6 +1032,7 @@ module Google
1027
1032
  def update!(**args)
1028
1033
  @sources = args[:sources] if args.key?(:sources)
1029
1034
  @targets = args[:targets] if args.key?(:targets)
1035
+ @total_exfiltrated_bytes = args[:total_exfiltrated_bytes] if args.key?(:total_exfiltrated_bytes)
1030
1036
  end
1031
1037
  end
1032
1038
 
@@ -1296,6 +1302,11 @@ module Google
1296
1302
  # @return [Google::Apis::SecuritycenterV1beta1::Kubernetes]
1297
1303
  attr_accessor :kubernetes
1298
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
+
1299
1310
  # MITRE ATT&CK tactics and techniques related to this finding. See: https://
1300
1311
  # attack.mitre.org
1301
1312
  # Corresponds to the JSON property `mitreAttack`
@@ -1377,6 +1388,14 @@ module Google
1377
1388
  # @return [Google::Apis::SecuritycenterV1beta1::SecurityMarks]
1378
1389
  attr_accessor :security_marks
1379
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
+
1380
1399
  # The severity of the finding. This field is managed by the source that writes
1381
1400
  # the finding.
1382
1401
  # Corresponds to the JSON property `severity`
@@ -1430,6 +1449,7 @@ module Google
1430
1449
  @indicator = args[:indicator] if args.key?(:indicator)
1431
1450
  @kernel_rootkit = args[:kernel_rootkit] if args.key?(:kernel_rootkit)
1432
1451
  @kubernetes = args[:kubernetes] if args.key?(:kubernetes)
1452
+ @load_balancers = args[:load_balancers] if args.key?(:load_balancers)
1433
1453
  @mitre_attack = args[:mitre_attack] if args.key?(:mitre_attack)
1434
1454
  @module_name = args[:module_name] if args.key?(:module_name)
1435
1455
  @mute = args[:mute] if args.key?(:mute)
@@ -1442,6 +1462,7 @@ module Google
1442
1462
  @processes = args[:processes] if args.key?(:processes)
1443
1463
  @resource_name = args[:resource_name] if args.key?(:resource_name)
1444
1464
  @security_marks = args[:security_marks] if args.key?(:security_marks)
1465
+ @security_posture = args[:security_posture] if args.key?(:security_posture)
1445
1466
  @severity = args[:severity] if args.key?(:severity)
1446
1467
  @source_properties = args[:source_properties] if args.key?(:source_properties)
1447
1468
  @state = args[:state] if args.key?(:state)
@@ -1834,13 +1855,13 @@ module Google
1834
1855
  # @return [Array<String>]
1835
1856
  attr_accessor :assignees
1836
1857
 
1837
- # The most recent time when the corresponding finding's ticket/tracker was
1838
- # updated in the external system.
1858
+ # The time when the case was last updated, as reported by the external system.
1839
1859
  # Corresponds to the JSON property `externalSystemUpdateTime`
1840
1860
  # @return [String]
1841
1861
  attr_accessor :external_system_update_time
1842
1862
 
1843
- # Identifier that's used to track the given finding in the external system.
1863
+ # The identifier that's used to track the finding's corresponding case in the
1864
+ # external system.
1844
1865
  # Corresponds to the JSON property `externalUid`
1845
1866
  # @return [String]
1846
1867
  attr_accessor :external_uid
@@ -1853,7 +1874,7 @@ module Google
1853
1874
  # @return [String]
1854
1875
  attr_accessor :name
1855
1876
 
1856
- # Most recent status of the corresponding finding's ticket/tracker in the
1877
+ # The most recent status of the finding's corresponding case, as reported by the
1857
1878
  # external system.
1858
1879
  # Corresponds to the JSON property `status`
1859
1880
  # @return [String]
@@ -3163,6 +3184,11 @@ module Google
3163
3184
  # @return [Array<Google::Apis::SecuritycenterV1beta1::Node>]
3164
3185
  attr_accessor :nodes
3165
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
+
3166
3192
  # Kubernetes [Pods](https://cloud.google.com/kubernetes-engine/docs/concepts/pod)
3167
3193
  # associated with the finding. This field contains Pod records for each
3168
3194
  # container that is owned by a Pod.
@@ -3187,6 +3213,7 @@ module Google
3187
3213
  @bindings = args[:bindings] if args.key?(:bindings)
3188
3214
  @node_pools = args[:node_pools] if args.key?(:node_pools)
3189
3215
  @nodes = args[:nodes] if args.key?(:nodes)
3216
+ @objects = args[:objects] if args.key?(:objects)
3190
3217
  @pods = args[:pods] if args.key?(:pods)
3191
3218
  @roles = args[:roles] if args.key?(:roles)
3192
3219
  end
@@ -3377,6 +3404,25 @@ module Google
3377
3404
  end
3378
3405
  end
3379
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
+
3380
3426
  # A signature corresponding to memory page hashes.
3381
3427
  class MemoryHashSignature
3382
3428
  include Google::Apis::Core::Hashable
@@ -3497,6 +3543,47 @@ module Google
3497
3543
  end
3498
3544
  end
3499
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
+
3500
3587
  # This resource represents a long-running operation that is the result of a
3501
3588
  # network API call.
3502
3589
  class Operation
@@ -3998,6 +4085,56 @@ module Google
3998
4085
  end
3999
4086
  end
4000
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
+
4001
4138
  # Identity delegation history of an authenticated service account.
4002
4139
  class ServiceAccountDelegationInfo
4003
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.59.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 = "20230803"
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
 
@@ -833,6 +851,7 @@ module Google
833
851
 
834
852
  collection :targets, as: 'targets', class: Google::Apis::SecuritycenterV1beta1::ExfilResource, decorator: Google::Apis::SecuritycenterV1beta1::ExfilResource::Representation
835
853
 
854
+ property :total_exfiltrated_bytes, :numeric_string => true, as: 'totalExfiltratedBytes'
836
855
  end
837
856
  end
838
857
 
@@ -900,6 +919,8 @@ module Google
900
919
 
901
920
  property :kubernetes, as: 'kubernetes', class: Google::Apis::SecuritycenterV1beta1::Kubernetes, decorator: Google::Apis::SecuritycenterV1beta1::Kubernetes::Representation
902
921
 
922
+ collection :load_balancers, as: 'loadBalancers', class: Google::Apis::SecuritycenterV1beta1::LoadBalancer, decorator: Google::Apis::SecuritycenterV1beta1::LoadBalancer::Representation
923
+
903
924
  property :mitre_attack, as: 'mitreAttack', class: Google::Apis::SecuritycenterV1beta1::MitreAttack, decorator: Google::Apis::SecuritycenterV1beta1::MitreAttack::Representation
904
925
 
905
926
  property :module_name, as: 'moduleName'
@@ -915,6 +936,8 @@ module Google
915
936
  property :resource_name, as: 'resourceName'
916
937
  property :security_marks, as: 'securityMarks', class: Google::Apis::SecuritycenterV1beta1::SecurityMarks, decorator: Google::Apis::SecuritycenterV1beta1::SecurityMarks::Representation
917
938
 
939
+ property :security_posture, as: 'securityPosture', class: Google::Apis::SecuritycenterV1beta1::SecurityPosture, decorator: Google::Apis::SecuritycenterV1beta1::SecurityPosture::Representation
940
+
918
941
  property :severity, as: 'severity'
919
942
  hash :source_properties, as: 'sourceProperties'
920
943
  property :state, as: 'state'
@@ -1320,6 +1343,8 @@ module Google
1320
1343
 
1321
1344
  collection :nodes, as: 'nodes', class: Google::Apis::SecuritycenterV1beta1::Node, decorator: Google::Apis::SecuritycenterV1beta1::Node::Representation
1322
1345
 
1346
+ collection :objects, as: 'objects', class: Google::Apis::SecuritycenterV1beta1::Object, decorator: Google::Apis::SecuritycenterV1beta1::Object::Representation
1347
+
1323
1348
  collection :pods, as: 'pods', class: Google::Apis::SecuritycenterV1beta1::Pod, decorator: Google::Apis::SecuritycenterV1beta1::Pod::Representation
1324
1349
 
1325
1350
  collection :roles, as: 'roles', class: Google::Apis::SecuritycenterV1beta1::Role, decorator: Google::Apis::SecuritycenterV1beta1::Role::Representation
@@ -1384,6 +1409,13 @@ module Google
1384
1409
  end
1385
1410
  end
1386
1411
 
1412
+ class LoadBalancer
1413
+ # @private
1414
+ class Representation < Google::Apis::Core::JsonRepresentation
1415
+ property :name, as: 'name'
1416
+ end
1417
+ end
1418
+
1387
1419
  class MemoryHashSignature
1388
1420
  # @private
1389
1421
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1420,6 +1452,16 @@ module Google
1420
1452
  end
1421
1453
  end
1422
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
+
1423
1465
  class Operation
1424
1466
  # @private
1425
1467
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1539,6 +1581,17 @@ module Google
1539
1581
  end
1540
1582
  end
1541
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
+
1542
1595
  class ServiceAccountDelegationInfo
1543
1596
  # @private
1544
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.59.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-08-13 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.59.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Security Command Center API V1beta1