google-apis-securitycenter_v1beta2 0.3.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: 9ab56556c211b9e9d38740d6c3b394ac5059570088377498f2ed441de5d0ebb4
4
- data.tar.gz: 5fb43ab879b460bdfee3e3e67315c84ab91bc5400a1683027a146f6ff1f36901
3
+ metadata.gz: 8b55f07a270d64c0b7253d5db1408f49990e43314e5a87f66e5d75852ece2ab8
4
+ data.tar.gz: 9e7cf60e1a9004157e1877566b827fbbb9d49ee9a6469291c38a76e7812bfd7a
5
5
  SHA512:
6
- metadata.gz: 191a26317e334c681529a1f3cf6b1a20a19dcdaf0cfe8f404a2fca50a3734eef63f00edb14639e10e11fbc865868ab89db09b2fa95bf19ceb6c2f9be55f96d18
7
- data.tar.gz: 6f237e25dd806bd98d608252871055708cd5255982c69b5991b08b5c8c443db293bd077044fb4f1a64d186e304fca32960d2ccc17182a904559cbfc7277f3a9e
6
+ metadata.gz: '07955765c2b1ad681eeb520ed5cd633bd43b720960ae89c69c7332510844fb9275339d31b9a22908943ca2e0a9b776c99c8939a16986df67ef8ce3f690a57677'
7
+ data.tar.gz: 61ab588129aa38c55a70906e136ff54e63d8a9fde2e327cbb2cd041268057c45123815fcb1df30ff9f25c2ecdb7d2eedad0ecebc1653e0c0c23d14a43a2bb65d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
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
+
7
+ ### v0.6.0 (2021-06-29)
8
+
9
+ * Regenerated using generator version 0.4.0
10
+
11
+ ### v0.5.0 (2021-06-24)
12
+
13
+ * Regenerated from discovery document revision 20210527
14
+ * Regenerated using generator version 0.3.0
15
+
16
+ ### v0.4.0 (2021-05-20)
17
+
18
+ * Unspecified changes
19
+
3
20
  ### v0.3.0 (2021-03-30)
4
21
 
5
22
  * Regenerated from discovery document revision 20210326
@@ -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.3.0"
19
+ GEM_VERSION = "0.7.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.2.0"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210326"
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,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-securitycenter_v1beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.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-04-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
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.1'
19
+ version: '0.4'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 2.a
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '0.4'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.1'
32
+ version: 2.a
27
33
  description: This is the simple REST client for Security Command Center API V1beta2.
28
34
  Simple REST clients are Ruby client libraries that provide access to Google services
29
35
  via their HTTP REST API endpoints. These libraries are generated and updated automatically
@@ -52,7 +58,7 @@ licenses:
52
58
  metadata:
53
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-securitycenter_v1beta2/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.3.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.7.0
56
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-securitycenter_v1beta2
57
63
  post_install_message:
58
64
  rdoc_options: []
@@ -69,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
75
  - !ruby/object:Gem::Version
70
76
  version: '0'
71
77
  requirements: []
72
- rubygems_version: 3.2.13
78
+ rubygems_version: 3.2.17
73
79
  signing_key:
74
80
  specification_version: 4
75
81
  summary: Simple REST client for Security Command Center API V1beta2