google-apis-securitycenter_v1 0.67.0 → 0.68.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: 99a92a13cfd51ed222b5b5386f92a36b4914ba9066a36b116f3a85f64725b2b4
4
- data.tar.gz: 5ef2d8138f3e102d4c5ca944ece70439aaea26efd80e5b5091552e41cccdc75f
3
+ metadata.gz: 54a82879f1cfdef2685e032924013865cfd504675e3a4241a9d17d58e96ce15a
4
+ data.tar.gz: 5c1cf71c1841fd047e56dafdbe4f50e9d61cb7d2bdc0e94fbe24ebbd763cdd64
5
5
  SHA512:
6
- metadata.gz: 9547015242691cd2db2e0a6e672b2156c730358223cd51d078a0fcde8b816aeee3c2e967d8f8176a17ab676ac4ac6a9911b8a3f935742439bccb59054beafe1f
7
- data.tar.gz: b9ad28c3447704eecd096de31a2702b5600eedae1773fda03be31f56be6aa460703b35325251a92108deb55392b4228ce462503debfc3cb90b4320a6f0529e03
6
+ metadata.gz: f06b3f9f9c3ad0554ebf472d14b17589aa1398e50268091f831af561e1a7cfe963217fe42b9b29cf6b229b97719736723718edeeca68670cec017ca27b64b861
7
+ data.tar.gz: 1a87858fec21a3a5187e08031c8d9326be0fd41463250d36ccb649392b30ddf8ff32338717582eee154f05ba6d1f0b3ab6cdd0fcf0cff54a11420811af358566
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-securitycenter_v1
2
2
 
3
+ ### v0.68.0 (2023-11-05)
4
+
5
+ * Regenerated from discovery document revision 20231102
6
+
3
7
  ### v0.67.0 (2023-10-29)
4
8
 
5
9
  * Regenerated from discovery document revision 20231023
@@ -801,6 +801,48 @@ module Google
801
801
  end
802
802
  end
803
803
 
804
+ # Metadata taken from a [Cloud Logging LogEntry](https://cloud.google.com/
805
+ # logging/docs/reference/v2/rest/v2/LogEntry)
806
+ class CloudLoggingEntry
807
+ include Google::Apis::Core::Hashable
808
+
809
+ # A unique identifier for the log entry.
810
+ # Corresponds to the JSON property `insertId`
811
+ # @return [String]
812
+ attr_accessor :insert_id
813
+
814
+ # The type of the log (part of `log_name`. `log_name` is the resource name of
815
+ # the log to which this log entry belongs). For example: `cloudresourcemanager.
816
+ # googleapis.com/activity`. Note that this field is not URL-encoded, unlike the `
817
+ # LOG_ID` field in `LogEntry`.
818
+ # Corresponds to the JSON property `logId`
819
+ # @return [String]
820
+ attr_accessor :log_id
821
+
822
+ # The organization, folder, or project of the monitored resource that produced
823
+ # this log entry.
824
+ # Corresponds to the JSON property `resourceContainer`
825
+ # @return [String]
826
+ attr_accessor :resource_container
827
+
828
+ # The time the event described by the log entry occurred.
829
+ # Corresponds to the JSON property `timestamp`
830
+ # @return [String]
831
+ attr_accessor :timestamp
832
+
833
+ def initialize(**args)
834
+ update!(**args)
835
+ end
836
+
837
+ # Update properties of this object
838
+ def update!(**args)
839
+ @insert_id = args[:insert_id] if args.key?(:insert_id)
840
+ @log_id = args[:log_id] if args.key?(:log_id)
841
+ @resource_container = args[:resource_container] if args.key?(:resource_container)
842
+ @timestamp = args[:timestamp] if args.key?(:timestamp)
843
+ end
844
+ end
845
+
804
846
  # Contains compliance information about a security standard indicating unmet
805
847
  # recommendations.
806
848
  class Compliance
@@ -1698,6 +1740,11 @@ module Google
1698
1740
  # @return [Array<Google::Apis::SecuritycenterV1::LoadBalancer>]
1699
1741
  attr_accessor :load_balancers
1700
1742
 
1743
+ # Log entries that are relevant to the finding.
1744
+ # Corresponds to the JSON property `logEntries`
1745
+ # @return [Array<Google::Apis::SecuritycenterV1::LogEntry>]
1746
+ attr_accessor :log_entries
1747
+
1701
1748
  # MITRE ATT&CK tactics and techniques related to this finding. See: https://
1702
1749
  # attack.mitre.org
1703
1750
  # Corresponds to the JSON property `mitreAttack`
@@ -1846,6 +1893,7 @@ module Google
1846
1893
  @kernel_rootkit = args[:kernel_rootkit] if args.key?(:kernel_rootkit)
1847
1894
  @kubernetes = args[:kubernetes] if args.key?(:kubernetes)
1848
1895
  @load_balancers = args[:load_balancers] if args.key?(:load_balancers)
1896
+ @log_entries = args[:log_entries] if args.key?(:log_entries)
1849
1897
  @mitre_attack = args[:mitre_attack] if args.key?(:mitre_attack)
1850
1898
  @module_name = args[:module_name] if args.key?(:module_name)
1851
1899
  @mute = args[:mute] if args.key?(:mute)
@@ -4093,6 +4141,26 @@ module Google
4093
4141
  end
4094
4142
  end
4095
4143
 
4144
+ # An individual entry in a log.
4145
+ class LogEntry
4146
+ include Google::Apis::Core::Hashable
4147
+
4148
+ # Metadata taken from a [Cloud Logging LogEntry](https://cloud.google.com/
4149
+ # logging/docs/reference/v2/rest/v2/LogEntry)
4150
+ # Corresponds to the JSON property `cloudLoggingEntry`
4151
+ # @return [Google::Apis::SecuritycenterV1::CloudLoggingEntry]
4152
+ attr_accessor :cloud_logging_entry
4153
+
4154
+ def initialize(**args)
4155
+ update!(**args)
4156
+ end
4157
+
4158
+ # Update properties of this object
4159
+ def update!(**args)
4160
+ @cloud_logging_entry = args[:cloud_logging_entry] if args.key?(:cloud_logging_entry)
4161
+ end
4162
+ end
4163
+
4096
4164
  # A signature corresponding to memory page hashes.
4097
4165
  class MemoryHashSignature
4098
4166
  include Google::Apis::Core::Hashable
@@ -4270,6 +4338,11 @@ module Google
4270
4338
  class Object
4271
4339
  include Google::Apis::Core::Hashable
4272
4340
 
4341
+ # Pod containers associated with this finding, if any.
4342
+ # Corresponds to the JSON property `containers`
4343
+ # @return [Array<Google::Apis::SecuritycenterV1::Container>]
4344
+ attr_accessor :containers
4345
+
4273
4346
  # Kubernetes object group, such as "policy.k8s.io/v1".
4274
4347
  # Corresponds to the JSON property `group`
4275
4348
  # @return [String]
@@ -4299,6 +4372,7 @@ module Google
4299
4372
 
4300
4373
  # Update properties of this object
4301
4374
  def update!(**args)
4375
+ @containers = args[:containers] if args.key?(:containers)
4302
4376
  @group = args[:group] if args.key?(:group)
4303
4377
  @kind = args[:kind] if args.key?(:kind)
4304
4378
  @name = args[:name] if args.key?(:name)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SecuritycenterV1
18
18
  # Version of the google-apis-securitycenter_v1 gem
19
- GEM_VERSION = "0.67.0"
19
+ GEM_VERSION = "0.68.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
@@ -124,6 +124,12 @@ module Google
124
124
  include Google::Apis::Core::JsonObjectSupport
125
125
  end
126
126
 
127
+ class CloudLoggingEntry
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
127
133
  class Compliance
128
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
135
 
@@ -568,6 +574,12 @@ module Google
568
574
  include Google::Apis::Core::JsonObjectSupport
569
575
  end
570
576
 
577
+ class LogEntry
578
+ class Representation < Google::Apis::Core::JsonRepresentation; end
579
+
580
+ include Google::Apis::Core::JsonObjectSupport
581
+ end
582
+
571
583
  class MemoryHashSignature
572
584
  class Representation < Google::Apis::Core::JsonRepresentation; end
573
585
 
@@ -1010,6 +1022,16 @@ module Google
1010
1022
  end
1011
1023
  end
1012
1024
 
1025
+ class CloudLoggingEntry
1026
+ # @private
1027
+ class Representation < Google::Apis::Core::JsonRepresentation
1028
+ property :insert_id, as: 'insertId'
1029
+ property :log_id, as: 'logId'
1030
+ property :resource_container, as: 'resourceContainer'
1031
+ property :timestamp, as: 'timestamp'
1032
+ end
1033
+ end
1034
+
1013
1035
  class Compliance
1014
1036
  # @private
1015
1037
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1246,6 +1268,8 @@ module Google
1246
1268
 
1247
1269
  collection :load_balancers, as: 'loadBalancers', class: Google::Apis::SecuritycenterV1::LoadBalancer, decorator: Google::Apis::SecuritycenterV1::LoadBalancer::Representation
1248
1270
 
1271
+ collection :log_entries, as: 'logEntries', class: Google::Apis::SecuritycenterV1::LogEntry, decorator: Google::Apis::SecuritycenterV1::LogEntry::Representation
1272
+
1249
1273
  property :mitre_attack, as: 'mitreAttack', class: Google::Apis::SecuritycenterV1::MitreAttack, decorator: Google::Apis::SecuritycenterV1::MitreAttack::Representation
1250
1274
 
1251
1275
  property :module_name, as: 'moduleName'
@@ -1830,6 +1854,14 @@ module Google
1830
1854
  end
1831
1855
  end
1832
1856
 
1857
+ class LogEntry
1858
+ # @private
1859
+ class Representation < Google::Apis::Core::JsonRepresentation
1860
+ property :cloud_logging_entry, as: 'cloudLoggingEntry', class: Google::Apis::SecuritycenterV1::CloudLoggingEntry, decorator: Google::Apis::SecuritycenterV1::CloudLoggingEntry::Representation
1861
+
1862
+ end
1863
+ end
1864
+
1833
1865
  class MemoryHashSignature
1834
1866
  # @private
1835
1867
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1881,6 +1913,8 @@ module Google
1881
1913
  class Object
1882
1914
  # @private
1883
1915
  class Representation < Google::Apis::Core::JsonRepresentation
1916
+ collection :containers, as: 'containers', class: Google::Apis::SecuritycenterV1::Container, decorator: Google::Apis::SecuritycenterV1::Container::Representation
1917
+
1884
1918
  property :group, as: 'group'
1885
1919
  property :kind, as: 'kind'
1886
1920
  property :name, as: 'name'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-securitycenter_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.67.0
4
+ version: 0.68.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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.67.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.68.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1
63
63
  post_install_message:
64
64
  rdoc_options: []