google-apis-securitycenter_v1beta1 0.62.0 → 0.64.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: 57e91e58b8bb7d46a143e3afc32d1dece011405877f7a331673a376e3afadf94
4
- data.tar.gz: b124e9ee0ee72a12f402e1d0d85c5a9b45e180d685b19b3541344be0fceb49bf
3
+ metadata.gz: 1e19d9864c42fa7a728c674001a552c2714fe64888620f51fcfe84c0478159d9
4
+ data.tar.gz: 98a284f7d6f79bf90de9d499387b06f33eaa6cd4ff5360db3ee18a27fe6f0d39
5
5
  SHA512:
6
- metadata.gz: 772b2972399d1afc90fc5acba71c813265d7aae7b3a31f39ac8b0500a767839d2a5e38566aea39ea8f3ebd7bc04cab63c9b5c9dbe8ed5dfece35994b6750f452
7
- data.tar.gz: '0987755768230cf02ba6b0338b8c0f3d6609b576420bdf0931bc7943ac78a213c5adbb75d119ac104560601bf52d8c7655dbb2c56f96c9ffd58046fbe1aabdbd'
6
+ metadata.gz: 14ecb686e42858d29efa7bc0f348906be63970e1e9c783e3a043f2821e2410ad3367b8a728ba48823c6f0596a19a50e61e0a444549ef6dd66a91afb297160b28
7
+ data.tar.gz: 963ed530b2160ce578b5916bd4002ac656a12f4c18328a89b6d46624768535ea72dd61a978edb073b5d6ee48c472138d50930623747db739d29ecc08da6ddfb1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-securitycenter_v1beta1
2
2
 
3
+ ### v0.64.0 (2023-11-05)
4
+
5
+ * Regenerated from discovery document revision 20231102
6
+
7
+ ### v0.63.0 (2023-10-29)
8
+
9
+ * Regenerated from discovery document revision 20231023
10
+
3
11
  ### v0.62.0 (2023-10-15)
4
12
 
5
13
  * Regenerated from discovery document revision 20231005
@@ -564,6 +564,48 @@ module Google
564
564
  end
565
565
  end
566
566
 
567
+ # Metadata taken from a [Cloud Logging LogEntry](https://cloud.google.com/
568
+ # logging/docs/reference/v2/rest/v2/LogEntry)
569
+ class CloudLoggingEntry
570
+ include Google::Apis::Core::Hashable
571
+
572
+ # A unique identifier for the log entry.
573
+ # Corresponds to the JSON property `insertId`
574
+ # @return [String]
575
+ attr_accessor :insert_id
576
+
577
+ # The type of the log (part of `log_name`. `log_name` is the resource name of
578
+ # the log to which this log entry belongs). For example: `cloudresourcemanager.
579
+ # googleapis.com/activity`. Note that this field is not URL-encoded, unlike the `
580
+ # LOG_ID` field in `LogEntry`.
581
+ # Corresponds to the JSON property `logId`
582
+ # @return [String]
583
+ attr_accessor :log_id
584
+
585
+ # The organization, folder, or project of the monitored resource that produced
586
+ # this log entry.
587
+ # Corresponds to the JSON property `resourceContainer`
588
+ # @return [String]
589
+ attr_accessor :resource_container
590
+
591
+ # The time the event described by the log entry occurred.
592
+ # Corresponds to the JSON property `timestamp`
593
+ # @return [String]
594
+ attr_accessor :timestamp
595
+
596
+ def initialize(**args)
597
+ update!(**args)
598
+ end
599
+
600
+ # Update properties of this object
601
+ def update!(**args)
602
+ @insert_id = args[:insert_id] if args.key?(:insert_id)
603
+ @log_id = args[:log_id] if args.key?(:log_id)
604
+ @resource_container = args[:resource_container] if args.key?(:resource_container)
605
+ @timestamp = args[:timestamp] if args.key?(:timestamp)
606
+ end
607
+ end
608
+
567
609
  # Contains compliance information about a security standard indicating unmet
568
610
  # recommendations.
569
611
  class Compliance
@@ -1307,6 +1349,11 @@ module Google
1307
1349
  # @return [Array<Google::Apis::SecuritycenterV1beta1::LoadBalancer>]
1308
1350
  attr_accessor :load_balancers
1309
1351
 
1352
+ # Log entries that are relevant to the finding.
1353
+ # Corresponds to the JSON property `logEntries`
1354
+ # @return [Array<Google::Apis::SecuritycenterV1beta1::LogEntry>]
1355
+ attr_accessor :log_entries
1356
+
1310
1357
  # MITRE ATT&CK tactics and techniques related to this finding. See: https://
1311
1358
  # attack.mitre.org
1312
1359
  # Corresponds to the JSON property `mitreAttack`
@@ -1352,6 +1399,11 @@ module Google
1352
1399
  # @return [String]
1353
1400
  attr_accessor :next_steps
1354
1401
 
1402
+ # Contains information about the org policies associated with the finding.
1403
+ # Corresponds to the JSON property `orgPolicies`
1404
+ # @return [Array<Google::Apis::SecuritycenterV1beta1::OrgPolicy>]
1405
+ attr_accessor :org_policies
1406
+
1355
1407
  # The relative resource name of the source the finding belongs to. See: https://
1356
1408
  # cloud.google.com/apis/design/resource_names#relative_resource_name This field
1357
1409
  # is immutable after creation time. For example: "organizations/`organization_id`
@@ -1450,6 +1502,7 @@ module Google
1450
1502
  @kernel_rootkit = args[:kernel_rootkit] if args.key?(:kernel_rootkit)
1451
1503
  @kubernetes = args[:kubernetes] if args.key?(:kubernetes)
1452
1504
  @load_balancers = args[:load_balancers] if args.key?(:load_balancers)
1505
+ @log_entries = args[:log_entries] if args.key?(:log_entries)
1453
1506
  @mitre_attack = args[:mitre_attack] if args.key?(:mitre_attack)
1454
1507
  @module_name = args[:module_name] if args.key?(:module_name)
1455
1508
  @mute = args[:mute] if args.key?(:mute)
@@ -1457,6 +1510,7 @@ module Google
1457
1510
  @mute_update_time = args[:mute_update_time] if args.key?(:mute_update_time)
1458
1511
  @name = args[:name] if args.key?(:name)
1459
1512
  @next_steps = args[:next_steps] if args.key?(:next_steps)
1513
+ @org_policies = args[:org_policies] if args.key?(:org_policies)
1460
1514
  @parent = args[:parent] if args.key?(:parent)
1461
1515
  @parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name)
1462
1516
  @processes = args[:processes] if args.key?(:processes)
@@ -1938,7 +1992,10 @@ module Google
1938
1992
 
1939
1993
  # This field will be ignored if provided on config creation. Format "
1940
1994
  # organizations/`organization`/muteConfigs/`mute_config`" "folders/`folder`/
1941
- # muteConfigs/`mute_config`" "projects/`project`/muteConfigs/`mute_config`"
1995
+ # muteConfigs/`mute_config`" "projects/`project`/muteConfigs/`mute_config`" "
1996
+ # organizations/`organization`/locations/global/muteConfigs/`mute_config`" "
1997
+ # folders/`folder`/locations/global/muteConfigs/`mute_config`" "projects/`
1998
+ # project`/locations/global/muteConfigs/`mute_config`"
1942
1999
  # Corresponds to the JSON property `name`
1943
2000
  # @return [String]
1944
2001
  attr_accessor :name
@@ -3423,6 +3480,26 @@ module Google
3423
3480
  end
3424
3481
  end
3425
3482
 
3483
+ # An individual entry in a log.
3484
+ class LogEntry
3485
+ include Google::Apis::Core::Hashable
3486
+
3487
+ # Metadata taken from a [Cloud Logging LogEntry](https://cloud.google.com/
3488
+ # logging/docs/reference/v2/rest/v2/LogEntry)
3489
+ # Corresponds to the JSON property `cloudLoggingEntry`
3490
+ # @return [Google::Apis::SecuritycenterV1beta1::CloudLoggingEntry]
3491
+ attr_accessor :cloud_logging_entry
3492
+
3493
+ def initialize(**args)
3494
+ update!(**args)
3495
+ end
3496
+
3497
+ # Update properties of this object
3498
+ def update!(**args)
3499
+ @cloud_logging_entry = args[:cloud_logging_entry] if args.key?(:cloud_logging_entry)
3500
+ end
3501
+ end
3502
+
3426
3503
  # A signature corresponding to memory page hashes.
3427
3504
  class MemoryHashSignature
3428
3505
  include Google::Apis::Core::Hashable
@@ -3548,6 +3625,11 @@ module Google
3548
3625
  class Object
3549
3626
  include Google::Apis::Core::Hashable
3550
3627
 
3628
+ # Pod containers associated with this finding, if any.
3629
+ # Corresponds to the JSON property `containers`
3630
+ # @return [Array<Google::Apis::SecuritycenterV1beta1::Container>]
3631
+ attr_accessor :containers
3632
+
3551
3633
  # Kubernetes object group, such as "policy.k8s.io/v1".
3552
3634
  # Corresponds to the JSON property `group`
3553
3635
  # @return [String]
@@ -3577,6 +3659,7 @@ module Google
3577
3659
 
3578
3660
  # Update properties of this object
3579
3661
  def update!(**args)
3662
+ @containers = args[:containers] if args.key?(:containers)
3580
3663
  @group = args[:group] if args.key?(:group)
3581
3664
  @kind = args[:kind] if args.key?(:kind)
3582
3665
  @name = args[:name] if args.key?(:name)
@@ -3646,6 +3729,26 @@ module Google
3646
3729
  end
3647
3730
  end
3648
3731
 
3732
+ # Contains information about the org policies associated with the finding.
3733
+ class OrgPolicy
3734
+ include Google::Apis::Core::Hashable
3735
+
3736
+ # The resource name of the org policy. Example: "organizations/`organization_id`/
3737
+ # policies/`constraint_name`"
3738
+ # Corresponds to the JSON property `name`
3739
+ # @return [String]
3740
+ attr_accessor :name
3741
+
3742
+ def initialize(**args)
3743
+ update!(**args)
3744
+ end
3745
+
3746
+ # Update properties of this object
3747
+ def update!(**args)
3748
+ @name = args[:name] if args.key?(:name)
3749
+ end
3750
+ end
3751
+
3649
3752
  # User specified settings that are attached to the Security Command Center
3650
3753
  # organization.
3651
3754
  class OrganizationSettings
@@ -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.62.0"
19
+ GEM_VERSION = "0.64.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
@@ -88,6 +88,12 @@ module Google
88
88
  include Google::Apis::Core::JsonObjectSupport
89
89
  end
90
90
 
91
+ class CloudLoggingEntry
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
91
97
  class Compliance
92
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
99
 
@@ -448,6 +454,12 @@ module Google
448
454
  include Google::Apis::Core::JsonObjectSupport
449
455
  end
450
456
 
457
+ class LogEntry
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
451
463
  class MemoryHashSignature
452
464
  class Representation < Google::Apis::Core::JsonRepresentation; end
453
465
 
@@ -484,6 +496,12 @@ module Google
484
496
  include Google::Apis::Core::JsonObjectSupport
485
497
  end
486
498
 
499
+ class OrgPolicy
500
+ class Representation < Google::Apis::Core::JsonRepresentation; end
501
+
502
+ include Google::Apis::Core::JsonObjectSupport
503
+ end
504
+
487
505
  class OrganizationSettings
488
506
  class Representation < Google::Apis::Core::JsonRepresentation; end
489
507
 
@@ -728,6 +746,16 @@ module Google
728
746
  end
729
747
  end
730
748
 
749
+ class CloudLoggingEntry
750
+ # @private
751
+ class Representation < Google::Apis::Core::JsonRepresentation
752
+ property :insert_id, as: 'insertId'
753
+ property :log_id, as: 'logId'
754
+ property :resource_container, as: 'resourceContainer'
755
+ property :timestamp, as: 'timestamp'
756
+ end
757
+ end
758
+
731
759
  class Compliance
732
760
  # @private
733
761
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -921,6 +949,8 @@ module Google
921
949
 
922
950
  collection :load_balancers, as: 'loadBalancers', class: Google::Apis::SecuritycenterV1beta1::LoadBalancer, decorator: Google::Apis::SecuritycenterV1beta1::LoadBalancer::Representation
923
951
 
952
+ collection :log_entries, as: 'logEntries', class: Google::Apis::SecuritycenterV1beta1::LogEntry, decorator: Google::Apis::SecuritycenterV1beta1::LogEntry::Representation
953
+
924
954
  property :mitre_attack, as: 'mitreAttack', class: Google::Apis::SecuritycenterV1beta1::MitreAttack, decorator: Google::Apis::SecuritycenterV1beta1::MitreAttack::Representation
925
955
 
926
956
  property :module_name, as: 'moduleName'
@@ -929,6 +959,8 @@ module Google
929
959
  property :mute_update_time, as: 'muteUpdateTime'
930
960
  property :name, as: 'name'
931
961
  property :next_steps, as: 'nextSteps'
962
+ collection :org_policies, as: 'orgPolicies', class: Google::Apis::SecuritycenterV1beta1::OrgPolicy, decorator: Google::Apis::SecuritycenterV1beta1::OrgPolicy::Representation
963
+
932
964
  property :parent, as: 'parent'
933
965
  property :parent_display_name, as: 'parentDisplayName'
934
966
  collection :processes, as: 'processes', class: Google::Apis::SecuritycenterV1beta1::Process, decorator: Google::Apis::SecuritycenterV1beta1::Process::Representation
@@ -1416,6 +1448,14 @@ module Google
1416
1448
  end
1417
1449
  end
1418
1450
 
1451
+ class LogEntry
1452
+ # @private
1453
+ class Representation < Google::Apis::Core::JsonRepresentation
1454
+ property :cloud_logging_entry, as: 'cloudLoggingEntry', class: Google::Apis::SecuritycenterV1beta1::CloudLoggingEntry, decorator: Google::Apis::SecuritycenterV1beta1::CloudLoggingEntry::Representation
1455
+
1456
+ end
1457
+ end
1458
+
1419
1459
  class MemoryHashSignature
1420
1460
  # @private
1421
1461
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1455,6 +1495,8 @@ module Google
1455
1495
  class Object
1456
1496
  # @private
1457
1497
  class Representation < Google::Apis::Core::JsonRepresentation
1498
+ collection :containers, as: 'containers', class: Google::Apis::SecuritycenterV1beta1::Container, decorator: Google::Apis::SecuritycenterV1beta1::Container::Representation
1499
+
1458
1500
  property :group, as: 'group'
1459
1501
  property :kind, as: 'kind'
1460
1502
  property :name, as: 'name'
@@ -1474,6 +1516,13 @@ module Google
1474
1516
  end
1475
1517
  end
1476
1518
 
1519
+ class OrgPolicy
1520
+ # @private
1521
+ class Representation < Google::Apis::Core::JsonRepresentation
1522
+ property :name, as: 'name'
1523
+ end
1524
+ end
1525
+
1477
1526
  class OrganizationSettings
1478
1527
  # @private
1479
1528
  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.62.0
4
+ version: 0.64.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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta1/v0.62.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta1/v0.64.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: []