google-apis-securitycenter_v1 0.9.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 74b7f836503eb687c7971cc2949aa88ee7d4920b5bdf21cdca01b6c5f5c4ac6d
|
4
|
+
data.tar.gz: 752122cd77642bcd63034b0ea56dfbecf3d3ef511b7da71a02a2ac88d6aaa684
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 806ed92d12e00b3b6115fddc13c989e0ace06d5bfd2ae3fa93da894665bddd49461454f400d1cbfb28be5ddd048678a119ab87942e1a38e949c9ec84ebe056e0
|
7
|
+
data.tar.gz: d6bf2b2a91f3b1a8ac9e91f2d80f63026d48ab66d1428be1973a0a9f32f8d3befb5f28e0acfa2f0e7817532df885e6190731b5df9447e975b13184b8a9758841
|
data/CHANGELOG.md
CHANGED
@@ -389,6 +389,19 @@ module Google
|
|
389
389
|
# @return [String]
|
390
390
|
attr_accessor :external_uri
|
391
391
|
|
392
|
+
# The class of the finding.
|
393
|
+
# Corresponds to the JSON property `findingClass`
|
394
|
+
# @return [String]
|
395
|
+
attr_accessor :finding_class
|
396
|
+
|
397
|
+
# Represents what's commonly known as an Indicator of compromise (IoC) in
|
398
|
+
# computer forensics. This is an artifact observed on a network or in an
|
399
|
+
# operating system that, with high confidence, indicates a computer intrusion.
|
400
|
+
# Reference: https://en.wikipedia.org/wiki/Indicator_of_compromise
|
401
|
+
# Corresponds to the JSON property `indicator`
|
402
|
+
# @return [Google::Apis::SecuritycenterV1::Indicator]
|
403
|
+
attr_accessor :indicator
|
404
|
+
|
392
405
|
# The relative resource name of this finding. See: https://cloud.google.com/apis/
|
393
406
|
# design/resource_names#relative_resource_name Example: "organizations/`
|
394
407
|
# organization_id`/sources/`source_id`/findings/`finding_id`"
|
@@ -451,6 +464,8 @@ module Google
|
|
451
464
|
@create_time = args[:create_time] if args.key?(:create_time)
|
452
465
|
@event_time = args[:event_time] if args.key?(:event_time)
|
453
466
|
@external_uri = args[:external_uri] if args.key?(:external_uri)
|
467
|
+
@finding_class = args[:finding_class] if args.key?(:finding_class)
|
468
|
+
@indicator = args[:indicator] if args.key?(:indicator)
|
454
469
|
@name = args[:name] if args.key?(:name)
|
455
470
|
@parent = args[:parent] if args.key?(:parent)
|
456
471
|
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
@@ -1307,6 +1322,34 @@ module Google
|
|
1307
1322
|
end
|
1308
1323
|
end
|
1309
1324
|
|
1325
|
+
# Represents what's commonly known as an Indicator of compromise (IoC) in
|
1326
|
+
# computer forensics. This is an artifact observed on a network or in an
|
1327
|
+
# operating system that, with high confidence, indicates a computer intrusion.
|
1328
|
+
# Reference: https://en.wikipedia.org/wiki/Indicator_of_compromise
|
1329
|
+
class Indicator
|
1330
|
+
include Google::Apis::Core::Hashable
|
1331
|
+
|
1332
|
+
# List of domains associated to the Finding.
|
1333
|
+
# Corresponds to the JSON property `domains`
|
1334
|
+
# @return [Array<String>]
|
1335
|
+
attr_accessor :domains
|
1336
|
+
|
1337
|
+
# List of ip addresses associated to the Finding.
|
1338
|
+
# Corresponds to the JSON property `ipAddresses`
|
1339
|
+
# @return [Array<String>]
|
1340
|
+
attr_accessor :ip_addresses
|
1341
|
+
|
1342
|
+
def initialize(**args)
|
1343
|
+
update!(**args)
|
1344
|
+
end
|
1345
|
+
|
1346
|
+
# Update properties of this object
|
1347
|
+
def update!(**args)
|
1348
|
+
@domains = args[:domains] if args.key?(:domains)
|
1349
|
+
@ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
|
1350
|
+
end
|
1351
|
+
end
|
1352
|
+
|
1310
1353
|
# Response message for listing assets.
|
1311
1354
|
class ListAssetsResponse
|
1312
1355
|
include Google::Apis::Core::Hashable
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.10.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 = "
|
25
|
+
REVISION = "20210716"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -184,6 +184,12 @@ module Google
|
|
184
184
|
include Google::Apis::Core::JsonObjectSupport
|
185
185
|
end
|
186
186
|
|
187
|
+
class Indicator
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
187
193
|
class ListAssetsResponse
|
188
194
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
195
|
|
@@ -393,6 +399,9 @@ module Google
|
|
393
399
|
property :create_time, as: 'createTime'
|
394
400
|
property :event_time, as: 'eventTime'
|
395
401
|
property :external_uri, as: 'externalUri'
|
402
|
+
property :finding_class, as: 'findingClass'
|
403
|
+
property :indicator, as: 'indicator', class: Google::Apis::SecuritycenterV1::Indicator, decorator: Google::Apis::SecuritycenterV1::Indicator::Representation
|
404
|
+
|
396
405
|
property :name, as: 'name'
|
397
406
|
property :parent, as: 'parent'
|
398
407
|
property :resource_name, as: 'resourceName'
|
@@ -596,6 +605,14 @@ module Google
|
|
596
605
|
end
|
597
606
|
end
|
598
607
|
|
608
|
+
class Indicator
|
609
|
+
# @private
|
610
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
611
|
+
collection :domains, as: 'domains'
|
612
|
+
collection :ip_addresses, as: 'ipAddresses'
|
613
|
+
end
|
614
|
+
end
|
615
|
+
|
599
616
|
class ListAssetsResponse
|
600
617
|
# @private
|
601
618
|
class Representation < Google::Apis::Core::JsonRepresentation
|
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.
|
4
|
+
version: 0.10.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-
|
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_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.10.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-securitycenter_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|