google-apis-securitycenter_v1beta1 0.63.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: 1039eaed174b6f8493bb39ff3e8bc3b382dd81aa1195d472c3dd418ed3ebd0e6
4
- data.tar.gz: 73e858e9fe50c42b608b0239b2cb48bd9d21c0c88ddf5f532a259387463e7537
3
+ metadata.gz: 1e19d9864c42fa7a728c674001a552c2714fe64888620f51fcfe84c0478159d9
4
+ data.tar.gz: 98a284f7d6f79bf90de9d499387b06f33eaa6cd4ff5360db3ee18a27fe6f0d39
5
5
  SHA512:
6
- metadata.gz: 628b5993da57aded8ef4f4415bef6520da2b24d086f6f627c5fe24ae0015fadc4574ce334ba5ebbfdf5945fd2713e8e4511876533d9ea416417ff1efaa2a1cc7
7
- data.tar.gz: aaed85be4908ce5f93019a0ce21029fc273c46ece8cd88ead4c645208846bf38bd7b180526df08146f7a9cbb64035f615f58881b0f26e876058d7eeb5d0c5e4d
6
+ metadata.gz: 14ecb686e42858d29efa7bc0f348906be63970e1e9c783e3a043f2821e2410ad3367b8a728ba48823c6f0596a19a50e61e0a444549ef6dd66a91afb297160b28
7
+ data.tar.gz: 963ed530b2160ce578b5916bd4002ac656a12f4c18328a89b6d46624768535ea72dd61a978edb073b5d6ee48c472138d50930623747db739d29ecc08da6ddfb1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.63.0 (2023-10-29)
4
8
 
5
9
  * Regenerated from discovery document revision 20231023
@@ -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`
@@ -1455,6 +1502,7 @@ module Google
1455
1502
  @kernel_rootkit = args[:kernel_rootkit] if args.key?(:kernel_rootkit)
1456
1503
  @kubernetes = args[:kubernetes] if args.key?(:kubernetes)
1457
1504
  @load_balancers = args[:load_balancers] if args.key?(:load_balancers)
1505
+ @log_entries = args[:log_entries] if args.key?(:log_entries)
1458
1506
  @mitre_attack = args[:mitre_attack] if args.key?(:mitre_attack)
1459
1507
  @module_name = args[:module_name] if args.key?(:module_name)
1460
1508
  @mute = args[:mute] if args.key?(:mute)
@@ -3432,6 +3480,26 @@ module Google
3432
3480
  end
3433
3481
  end
3434
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
+
3435
3503
  # A signature corresponding to memory page hashes.
3436
3504
  class MemoryHashSignature
3437
3505
  include Google::Apis::Core::Hashable
@@ -3557,6 +3625,11 @@ module Google
3557
3625
  class Object
3558
3626
  include Google::Apis::Core::Hashable
3559
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
+
3560
3633
  # Kubernetes object group, such as "policy.k8s.io/v1".
3561
3634
  # Corresponds to the JSON property `group`
3562
3635
  # @return [String]
@@ -3586,6 +3659,7 @@ module Google
3586
3659
 
3587
3660
  # Update properties of this object
3588
3661
  def update!(**args)
3662
+ @containers = args[:containers] if args.key?(:containers)
3589
3663
  @group = args[:group] if args.key?(:group)
3590
3664
  @kind = args[:kind] if args.key?(:kind)
3591
3665
  @name = args[:name] if args.key?(:name)
@@ -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.63.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 = "20231023"
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
 
@@ -734,6 +746,16 @@ module Google
734
746
  end
735
747
  end
736
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
+
737
759
  class Compliance
738
760
  # @private
739
761
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -927,6 +949,8 @@ module Google
927
949
 
928
950
  collection :load_balancers, as: 'loadBalancers', class: Google::Apis::SecuritycenterV1beta1::LoadBalancer, decorator: Google::Apis::SecuritycenterV1beta1::LoadBalancer::Representation
929
951
 
952
+ collection :log_entries, as: 'logEntries', class: Google::Apis::SecuritycenterV1beta1::LogEntry, decorator: Google::Apis::SecuritycenterV1beta1::LogEntry::Representation
953
+
930
954
  property :mitre_attack, as: 'mitreAttack', class: Google::Apis::SecuritycenterV1beta1::MitreAttack, decorator: Google::Apis::SecuritycenterV1beta1::MitreAttack::Representation
931
955
 
932
956
  property :module_name, as: 'moduleName'
@@ -1424,6 +1448,14 @@ module Google
1424
1448
  end
1425
1449
  end
1426
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
+
1427
1459
  class MemoryHashSignature
1428
1460
  # @private
1429
1461
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1463,6 +1495,8 @@ module Google
1463
1495
  class Object
1464
1496
  # @private
1465
1497
  class Representation < Google::Apis::Core::JsonRepresentation
1498
+ collection :containers, as: 'containers', class: Google::Apis::SecuritycenterV1beta1::Container, decorator: Google::Apis::SecuritycenterV1beta1::Container::Representation
1499
+
1466
1500
  property :group, as: 'group'
1467
1501
  property :kind, as: 'kind'
1468
1502
  property :name, as: 'name'
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.63.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-29 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.63.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: []