google-apis-securitycenter_v1beta2 0.6.0 → 0.7.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: d538b8779a330129b8b6c60bc71bc3d6fe60a33ad7cd5bcbdb29acd66b5cc48e
4
- data.tar.gz: f3133d44f803d2cc3853d3a6015b8b9332738510ac34deb45dd96400357d71dc
3
+ metadata.gz: 8b55f07a270d64c0b7253d5db1408f49990e43314e5a87f66e5d75852ece2ab8
4
+ data.tar.gz: 9e7cf60e1a9004157e1877566b827fbbb9d49ee9a6469291c38a76e7812bfd7a
5
5
  SHA512:
6
- metadata.gz: 2dfb486b835ca21b8aa3c711433a4ac8e1dc890f84e1bfb5b248deae68e442e5ed3eea0c4f4c93e19e7a92f9c354299ef637cfe9a9693da664681c1a62ac0195
7
- data.tar.gz: 790eeb184381aa1ceee570491be185ad18c94936977f315d3bc69239f1649ac8c60dfcd36aea8c28fec478575794eb9103608c4f9747ab68722be779f75cc39e
6
+ metadata.gz: '07955765c2b1ad681eeb520ed5cd633bd43b720960ae89c69c7332510844fb9275339d31b9a22908943ca2e0a9b776c99c8939a16986df67ef8ce3f690a57677'
7
+ data.tar.gz: 61ab588129aa38c55a70906e136ff54e63d8a9fde2e327cbb2cd041268057c45123815fcb1df30ff9f25c2ecdb7d2eedad0ecebc1653e0c0c23d14a43a2bb65d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-securitycenter_v1beta2
2
2
 
3
+ ### v0.7.0 (2021-07-20)
4
+
5
+ * Regenerated from discovery document revision 20210716
6
+
3
7
  ### v0.6.0 (2021-06-29)
4
8
 
5
9
  * Regenerated using generator version 0.4.0
@@ -218,6 +218,19 @@ module Google
218
218
  # @return [String]
219
219
  attr_accessor :external_uri
220
220
 
221
+ # The class of the finding.
222
+ # Corresponds to the JSON property `findingClass`
223
+ # @return [String]
224
+ attr_accessor :finding_class
225
+
226
+ # Represents what's commonly known as an Indicator of compromise (IoC) in
227
+ # computer forensics. This is an artifact observed on a network or in an
228
+ # operating system that, with high confidence, indicates a computer intrusion.
229
+ # Reference: https://en.wikipedia.org/wiki/Indicator_of_compromise
230
+ # Corresponds to the JSON property `indicator`
231
+ # @return [Google::Apis::SecuritycenterV1beta2::Indicator]
232
+ attr_accessor :indicator
233
+
221
234
  # The relative resource name of this finding. See: https://cloud.google.com/apis/
222
235
  # design/resource_names#relative_resource_name Example: "organizations/`
223
236
  # organization_id`/sources/`source_id`/findings/`finding_id`"
@@ -280,6 +293,8 @@ module Google
280
293
  @create_time = args[:create_time] if args.key?(:create_time)
281
294
  @event_time = args[:event_time] if args.key?(:event_time)
282
295
  @external_uri = args[:external_uri] if args.key?(:external_uri)
296
+ @finding_class = args[:finding_class] if args.key?(:finding_class)
297
+ @indicator = args[:indicator] if args.key?(:indicator)
283
298
  @name = args[:name] if args.key?(:name)
284
299
  @parent = args[:parent] if args.key?(:parent)
285
300
  @resource_name = args[:resource_name] if args.key?(:resource_name)
@@ -753,6 +768,34 @@ module Google
753
768
  end
754
769
  end
755
770
 
771
+ # Represents what's commonly known as an Indicator of compromise (IoC) in
772
+ # computer forensics. This is an artifact observed on a network or in an
773
+ # operating system that, with high confidence, indicates a computer intrusion.
774
+ # Reference: https://en.wikipedia.org/wiki/Indicator_of_compromise
775
+ class Indicator
776
+ include Google::Apis::Core::Hashable
777
+
778
+ # List of domains associated to the Finding.
779
+ # Corresponds to the JSON property `domains`
780
+ # @return [Array<String>]
781
+ attr_accessor :domains
782
+
783
+ # List of ip addresses associated to the Finding.
784
+ # Corresponds to the JSON property `ipAddresses`
785
+ # @return [Array<String>]
786
+ attr_accessor :ip_addresses
787
+
788
+ def initialize(**args)
789
+ update!(**args)
790
+ end
791
+
792
+ # Update properties of this object
793
+ def update!(**args)
794
+ @domains = args[:domains] if args.key?(:domains)
795
+ @ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
796
+ end
797
+ end
798
+
756
799
  # Resource capturing the settings for Security Center.
757
800
  class SecurityCenterSettings
758
801
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SecuritycenterV1beta2
18
18
  # Version of the google-apis-securitycenter_v1beta2 gem
19
- GEM_VERSION = "0.6.0"
19
+ GEM_VERSION = "0.7.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210527"
25
+ REVISION = "20210716"
26
26
  end
27
27
  end
28
28
  end
@@ -118,6 +118,12 @@ module Google
118
118
  include Google::Apis::Core::JsonObjectSupport
119
119
  end
120
120
 
121
+ class Indicator
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
121
127
  class SecurityCenterSettings
122
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
129
 
@@ -196,6 +202,9 @@ module Google
196
202
  property :create_time, as: 'createTime'
197
203
  property :event_time, as: 'eventTime'
198
204
  property :external_uri, as: 'externalUri'
205
+ property :finding_class, as: 'findingClass'
206
+ property :indicator, as: 'indicator', class: Google::Apis::SecuritycenterV1beta2::Indicator, decorator: Google::Apis::SecuritycenterV1beta2::Indicator::Representation
207
+
199
208
  property :name, as: 'name'
200
209
  property :parent, as: 'parent'
201
210
  property :resource_name, as: 'resourceName'
@@ -323,6 +332,14 @@ module Google
323
332
  end
324
333
  end
325
334
 
335
+ class Indicator
336
+ # @private
337
+ class Representation < Google::Apis::Core::JsonRepresentation
338
+ collection :domains, as: 'domains'
339
+ collection :ip_addresses, as: 'ipAddresses'
340
+ end
341
+ end
342
+
326
343
  class SecurityCenterSettings
327
344
  # @private
328
345
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-securitycenter_v1beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.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: 2021-07-05 00:00:00.000000000 Z
11
+ date: 2021-07-26 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/master/generated/google-apis-securitycenter_v1beta2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.6.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.7.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-securitycenter_v1beta2
63
63
  post_install_message:
64
64
  rdoc_options: []