google-apis-securitycenter_v1beta1 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: f46045623837cd89fccf5924200b76ecf2d4aeb84da3639e574c28a2e731b9c2
4
- data.tar.gz: a2d3dd66ff5efc555cef48578646ee7abbc91219a0d49845f991c573f09b8188
3
+ metadata.gz: fc3db235caa76f167a4602598feb3ab05acf3f2b2968556e1868f8d7ce3cb9eb
4
+ data.tar.gz: 805cd91387c74917838c5614019194826dff146f5e1f13f4b1b504f983bf56cc
5
5
  SHA512:
6
- metadata.gz: 6ebd1ca1d0c100a7eb3bfc383bbbd5de85c786d375c222d73b38de56f1a18cd2a2c4904a2fd46073a5fa022c9707db7f61ee0197ae9b758535a6b0c1dbae8561
7
- data.tar.gz: afa8428e184702acdcb3eae4a2bc429d5efba9ea609fc51b5160c65e3779cec40467d85a6671bfcb63e777622c2b9f10616db23d92ebaf92d3acc72c1179ca8b
6
+ metadata.gz: eae08d379bb7db5dc1eed7a949b36bb89fb1e9d978a7c9ad17c23a967486ff6af5068470dc3f66b56b0a4e6762981486b261a84820cd404c549f3e8dfbede6e6
7
+ data.tar.gz: 15de7e58b4064ac5b421240449c3a838144f38afa83069abe777f03a4b4652264e6db7b07855f1a6e5d4e3b628158fd05856422e823c6bea1e1f0dae37774ff9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
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
+
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 using generator version 0.3.0
14
+
15
+ ### v0.4.0 (2021-05-20)
16
+
17
+ * Unspecified changes
18
+
3
19
  ### v0.3.0 (2021-03-30)
4
20
 
5
21
  * Regenerated from discovery document revision 20210326
@@ -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.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
@@ -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,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-securitycenter_v1beta1
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 V1beta1.
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_v1beta1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta1/v0.3.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta1/v0.7.0
56
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-securitycenter_v1beta1
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 V1beta1