google-apis-securitycenter_v1beta1 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: 3ee4054d1d2d0a5250af0a788b3daa562c86033407aef49945fd64006a0b5ec1
4
- data.tar.gz: fd56fe3dc65d4e0f8ffe2c6cbda64883f2a440a9dbb1a864d899dfedce335d34
3
+ metadata.gz: fc3db235caa76f167a4602598feb3ab05acf3f2b2968556e1868f8d7ce3cb9eb
4
+ data.tar.gz: 805cd91387c74917838c5614019194826dff146f5e1f13f4b1b504f983bf56cc
5
5
  SHA512:
6
- metadata.gz: fdc6de52309cef9755bb41e8e00bb60d667d968acadf2cfec3e8a6413bb796f71c23330ef825ad6e5a8d31ee5be598cc45a92aa0cb7cdfe5e0da2bab938943d1
7
- data.tar.gz: 5cade21faad3e68473a214c7ad94a879fd463770303434a0b870b8e262e5579cf91b012b22330d2e8639c9fdde9e9619763f5c71aadc0e003857505d2b15ee67
6
+ metadata.gz: eae08d379bb7db5dc1eed7a949b36bb89fb1e9d978a7c9ad17c23a967486ff6af5068470dc3f66b56b0a4e6762981486b261a84820cd404c549f3e8dfbede6e6
7
+ data.tar.gz: 15de7e58b4064ac5b421240449c3a838144f38afa83069abe777f03a4b4652264e6db7b07855f1a6e5d4e3b628158fd05856422e823c6bea1e1f0dae37774ff9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-securitycenter_v1beta1
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
@@ -379,6 +379,19 @@ module Google
379
379
  # @return [String]
380
380
  attr_accessor :external_uri
381
381
 
382
+ # The class of the finding.
383
+ # Corresponds to the JSON property `findingClass`
384
+ # @return [String]
385
+ attr_accessor :finding_class
386
+
387
+ # Represents what's commonly known as an Indicator of compromise (IoC) in
388
+ # computer forensics. This is an artifact observed on a network or in an
389
+ # operating system that, with high confidence, indicates a computer intrusion.
390
+ # Reference: https://en.wikipedia.org/wiki/Indicator_of_compromise
391
+ # Corresponds to the JSON property `indicator`
392
+ # @return [Google::Apis::SecuritycenterV1beta1::Indicator]
393
+ attr_accessor :indicator
394
+
382
395
  # The relative resource name of this finding. See: https://cloud.google.com/apis/
383
396
  # design/resource_names#relative_resource_name Example: "organizations/`
384
397
  # organization_id`/sources/`source_id`/findings/`finding_id`"
@@ -441,6 +454,8 @@ module Google
441
454
  @create_time = args[:create_time] if args.key?(:create_time)
442
455
  @event_time = args[:event_time] if args.key?(:event_time)
443
456
  @external_uri = args[:external_uri] if args.key?(:external_uri)
457
+ @finding_class = args[:finding_class] if args.key?(:finding_class)
458
+ @indicator = args[:indicator] if args.key?(:indicator)
444
459
  @name = args[:name] if args.key?(:name)
445
460
  @parent = args[:parent] if args.key?(:parent)
446
461
  @resource_name = args[:resource_name] if args.key?(:resource_name)
@@ -1330,6 +1345,34 @@ module Google
1330
1345
  end
1331
1346
  end
1332
1347
 
1348
+ # Represents what's commonly known as an Indicator of compromise (IoC) in
1349
+ # computer forensics. This is an artifact observed on a network or in an
1350
+ # operating system that, with high confidence, indicates a computer intrusion.
1351
+ # Reference: https://en.wikipedia.org/wiki/Indicator_of_compromise
1352
+ class Indicator
1353
+ include Google::Apis::Core::Hashable
1354
+
1355
+ # List of domains associated to the Finding.
1356
+ # Corresponds to the JSON property `domains`
1357
+ # @return [Array<String>]
1358
+ attr_accessor :domains
1359
+
1360
+ # List of ip addresses associated to the Finding.
1361
+ # Corresponds to the JSON property `ipAddresses`
1362
+ # @return [Array<String>]
1363
+ attr_accessor :ip_addresses
1364
+
1365
+ def initialize(**args)
1366
+ update!(**args)
1367
+ end
1368
+
1369
+ # Update properties of this object
1370
+ def update!(**args)
1371
+ @domains = args[:domains] if args.key?(:domains)
1372
+ @ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
1373
+ end
1374
+ end
1375
+
1333
1376
  # Response message for listing assets.
1334
1377
  class ListAssetsResponse
1335
1378
  include Google::Apis::Core::Hashable
@@ -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.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 = "20210326"
25
+ REVISION = "20210716"
26
26
  end
27
27
  end
28
28
  end
@@ -196,6 +196,12 @@ module Google
196
196
  include Google::Apis::Core::JsonObjectSupport
197
197
  end
198
198
 
199
+ class Indicator
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
199
205
  class ListAssetsResponse
200
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
207
 
@@ -377,6 +383,9 @@ module Google
377
383
  property :create_time, as: 'createTime'
378
384
  property :event_time, as: 'eventTime'
379
385
  property :external_uri, as: 'externalUri'
386
+ property :finding_class, as: 'findingClass'
387
+ property :indicator, as: 'indicator', class: Google::Apis::SecuritycenterV1beta1::Indicator, decorator: Google::Apis::SecuritycenterV1beta1::Indicator::Representation
388
+
380
389
  property :name, as: 'name'
381
390
  property :parent, as: 'parent'
382
391
  property :resource_name, as: 'resourceName'
@@ -595,6 +604,14 @@ module Google
595
604
  end
596
605
  end
597
606
 
607
+ class Indicator
608
+ # @private
609
+ class Representation < Google::Apis::Core::JsonRepresentation
610
+ collection :domains, as: 'domains'
611
+ collection :ip_addresses, as: 'ipAddresses'
612
+ end
613
+ end
614
+
598
615
  class ListAssetsResponse
599
616
  # @private
600
617
  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.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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta1/v0.6.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta1/v0.7.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-securitycenter_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []