google-apis-securitycenter_v1 0.6.0 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/lib/google/apis/securitycenter_v1/classes.rb +54 -8
- data/lib/google/apis/securitycenter_v1/gem_version.rb +3 -3
- data/lib/google/apis/securitycenter_v1/representations.rb +17 -0
- data/lib/google/apis/securitycenter_v1/service.rb +36 -24
- metadata +13 -7
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
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-securitycenter_v1
|
2
2
|
|
3
|
+
### v0.10.0 (2021-07-20)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210716
|
6
|
+
|
7
|
+
### v0.9.0 (2021-06-29)
|
8
|
+
|
9
|
+
* Regenerated using generator version 0.4.0
|
10
|
+
|
11
|
+
### v0.8.0 (2021-06-24)
|
12
|
+
|
13
|
+
* Unspecified changes
|
14
|
+
|
15
|
+
### v0.7.0 (2021-06-15)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210611
|
18
|
+
* Regenerated using generator version 0.3.0
|
19
|
+
|
3
20
|
### v0.6.0 (2021-05-20)
|
4
21
|
|
5
22
|
* Unspecified changes
|
@@ -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)
|
@@ -1160,14 +1175,17 @@ module Google
|
|
1160
1175
|
# false` without quotes. The following field and operator combinations are
|
1161
1176
|
# supported: * name: `=` * parent: `=`, `:` * resource_name: `=`, `:` * state: `=
|
1162
1177
|
# `, `:` * category: `=`, `:` * external_uri: `=`, `:` * event_time: `=`, `>`, `<
|
1163
|
-
# `, `>=`, `<=`
|
1164
|
-
#
|
1165
|
-
# `
|
1166
|
-
# source_properties: `=`, `:`, `>`, `<`, `>=`,
|
1167
|
-
# source_properties.size = 100` is a valid filter string. Use
|
1168
|
-
# the empty string to filter based on a property existing: `
|
1169
|
-
# my_property : ""` Use a negated partial match on the empty
|
1170
|
-
# based on a property not existing: `-source_properties.
|
1178
|
+
# `, `>=`, `<=` Usage: This should be milliseconds since epoch or an RFC3339
|
1179
|
+
# string. Examples: `event_time = "2019-06-10T16:07:18-07:00"` `event_time =
|
1180
|
+
# 1560208038000` * severity: `=`, `:` * workflow_state: `=`, `:` *
|
1181
|
+
# security_marks.marks: `=`, `:` * source_properties: `=`, `:`, `>`, `<`, `>=`, `
|
1182
|
+
# <=` For example, `source_properties.size = 100` is a valid filter string. Use
|
1183
|
+
# a partial match on the empty string to filter based on a property existing: `
|
1184
|
+
# source_properties.my_property : ""` Use a negated partial match on the empty
|
1185
|
+
# string to filter based on a property not existing: `-source_properties.
|
1186
|
+
# my_property : ""` * resource: * resource.name: `=`, `:` * resource.parent_name:
|
1187
|
+
# `=`, `:` * resource.parent_display_name: `=`, `:` * resource.project_name: `=`
|
1188
|
+
# , `:` * resource.project_display_name: `=`, `:` * resource.type: `=`, `:`
|
1171
1189
|
# Corresponds to the JSON property `filter`
|
1172
1190
|
# @return [String]
|
1173
1191
|
attr_accessor :filter
|
@@ -1304,6 +1322,34 @@ module Google
|
|
1304
1322
|
end
|
1305
1323
|
end
|
1306
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
|
+
|
1307
1353
|
# Response message for listing assets.
|
1308
1354
|
class ListAssetsResponse
|
1309
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
|
-
GENERATOR_VERSION = "0.
|
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
|
@@ -376,14 +376,18 @@ module Google
|
|
376
376
|
# false` without quotes. The following field and operator combinations are
|
377
377
|
# supported: * name: `=` * parent: `=`, `:` * resource_name: `=`, `:` * state: `=
|
378
378
|
# `, `:` * category: `=`, `:` * external_uri: `=`, `:` * event_time: `=`, `>`, `<
|
379
|
-
# `, `>=`, `<=`
|
380
|
-
#
|
381
|
-
# `
|
382
|
-
# source_properties: `=`, `:`, `>`, `<`, `>=`,
|
383
|
-
# source_properties.size = 100` is a valid filter string. Use
|
384
|
-
# the empty string to filter based on a property existing: `
|
385
|
-
# my_property : ""` Use a negated partial match on the empty
|
386
|
-
# based on a property not existing: `-source_properties.
|
379
|
+
# `, `>=`, `<=` Usage: This should be milliseconds since epoch or an RFC3339
|
380
|
+
# string. Examples: `event_time = "2019-06-10T16:07:18-07:00"` `event_time =
|
381
|
+
# 1560208038000` * severity: `=`, `:` * workflow_state: `=`, `:` *
|
382
|
+
# security_marks.marks: `=`, `:` * source_properties: `=`, `:`, `>`, `<`, `>=`, `
|
383
|
+
# <=` For example, `source_properties.size = 100` is a valid filter string. Use
|
384
|
+
# a partial match on the empty string to filter based on a property existing: `
|
385
|
+
# source_properties.my_property : ""` Use a negated partial match on the empty
|
386
|
+
# string to filter based on a property not existing: `-source_properties.
|
387
|
+
# my_property : ""` * resource: * resource.name: `=`, `:` * resource.parent_name:
|
388
|
+
# `=`, `:` * resource.parent_display_name: `=`, `:` * resource.project_name: `=`
|
389
|
+
# , `:` * resource.project_display_name: `=`, `:` * resource.type: `=`, `:` *
|
390
|
+
# resource.folders.resource_folder: `=`, `:`
|
387
391
|
# @param [String] order_by
|
388
392
|
# Expression that defines what fields and order to use for sorting. The string
|
389
393
|
# value should follow SQL syntax: comma separated list of fields. For example: "
|
@@ -1569,14 +1573,18 @@ module Google
|
|
1569
1573
|
# false` without quotes. The following field and operator combinations are
|
1570
1574
|
# supported: * name: `=` * parent: `=`, `:` * resource_name: `=`, `:` * state: `=
|
1571
1575
|
# `, `:` * category: `=`, `:` * external_uri: `=`, `:` * event_time: `=`, `>`, `<
|
1572
|
-
# `, `>=`, `<=`
|
1573
|
-
#
|
1574
|
-
# `
|
1575
|
-
# source_properties: `=`, `:`, `>`, `<`, `>=`,
|
1576
|
-
# source_properties.size = 100` is a valid filter string. Use
|
1577
|
-
# the empty string to filter based on a property existing: `
|
1578
|
-
# my_property : ""` Use a negated partial match on the empty
|
1579
|
-
# based on a property not existing: `-source_properties.
|
1576
|
+
# `, `>=`, `<=` Usage: This should be milliseconds since epoch or an RFC3339
|
1577
|
+
# string. Examples: `event_time = "2019-06-10T16:07:18-07:00"` `event_time =
|
1578
|
+
# 1560208038000` * severity: `=`, `:` * workflow_state: `=`, `:` *
|
1579
|
+
# security_marks.marks: `=`, `:` * source_properties: `=`, `:`, `>`, `<`, `>=`, `
|
1580
|
+
# <=` For example, `source_properties.size = 100` is a valid filter string. Use
|
1581
|
+
# a partial match on the empty string to filter based on a property existing: `
|
1582
|
+
# source_properties.my_property : ""` Use a negated partial match on the empty
|
1583
|
+
# string to filter based on a property not existing: `-source_properties.
|
1584
|
+
# my_property : ""` * resource: * resource.name: `=`, `:` * resource.parent_name:
|
1585
|
+
# `=`, `:` * resource.parent_display_name: `=`, `:` * resource.project_name: `=`
|
1586
|
+
# , `:` * resource.project_display_name: `=`, `:` * resource.type: `=`, `:` *
|
1587
|
+
# resource.folders.resource_folder: `=`, `:`
|
1580
1588
|
# @param [String] order_by
|
1581
1589
|
# Expression that defines what fields and order to use for sorting. The string
|
1582
1590
|
# value should follow SQL syntax: comma separated list of fields. For example: "
|
@@ -2082,14 +2090,18 @@ module Google
|
|
2082
2090
|
# false` without quotes. The following field and operator combinations are
|
2083
2091
|
# supported: * name: `=` * parent: `=`, `:` * resource_name: `=`, `:` * state: `=
|
2084
2092
|
# `, `:` * category: `=`, `:` * external_uri: `=`, `:` * event_time: `=`, `>`, `<
|
2085
|
-
# `, `>=`, `<=`
|
2086
|
-
#
|
2087
|
-
# `
|
2088
|
-
# source_properties: `=`, `:`, `>`, `<`, `>=`,
|
2089
|
-
# source_properties.size = 100` is a valid filter string. Use
|
2090
|
-
# the empty string to filter based on a property existing: `
|
2091
|
-
# my_property : ""` Use a negated partial match on the empty
|
2092
|
-
# based on a property not existing: `-source_properties.
|
2093
|
+
# `, `>=`, `<=` Usage: This should be milliseconds since epoch or an RFC3339
|
2094
|
+
# string. Examples: `event_time = "2019-06-10T16:07:18-07:00"` `event_time =
|
2095
|
+
# 1560208038000` * severity: `=`, `:` * workflow_state: `=`, `:` *
|
2096
|
+
# security_marks.marks: `=`, `:` * source_properties: `=`, `:`, `>`, `<`, `>=`, `
|
2097
|
+
# <=` For example, `source_properties.size = 100` is a valid filter string. Use
|
2098
|
+
# a partial match on the empty string to filter based on a property existing: `
|
2099
|
+
# source_properties.my_property : ""` Use a negated partial match on the empty
|
2100
|
+
# string to filter based on a property not existing: `-source_properties.
|
2101
|
+
# my_property : ""` * resource: * resource.name: `=`, `:` * resource.parent_name:
|
2102
|
+
# `=`, `:` * resource.parent_display_name: `=`, `:` * resource.project_name: `=`
|
2103
|
+
# , `:` * resource.project_display_name: `=`, `:` * resource.type: `=`, `:` *
|
2104
|
+
# resource.folders.resource_folder: `=`, `:`
|
2093
2105
|
# @param [String] order_by
|
2094
2106
|
# Expression that defines what fields and order to use for sorting. The string
|
2095
2107
|
# value should follow SQL syntax: comma separated list of fields. For example: "
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
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-
|
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.
|
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:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for Security Command Center API V1. Simple
|
28
34
|
REST clients are Ruby client libraries that provide access to Google services via
|
29
35
|
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_v1/CHANGELOG.md
|
55
|
-
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
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-securitycenter_v1
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|