google-cloud-security_center 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/lib/google/cloud/security_center.rb +2 -2
- data/lib/google/cloud/security_center/v1.rb +2 -2
- data/lib/google/cloud/security_center/v1/doc/google/cloud/securitycenter/v1/securitycenter_service.rb +42 -5
- data/lib/google/cloud/security_center/v1/doc/google/iam/v1/policy.rb +2 -2
- data/lib/google/cloud/security_center/v1/security_center_client.rb +42 -5
- data/lib/google/cloud/security_center/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4941d18f2cb80ffc59b4669d822a6474e203f2a6c925b6f5e6c386427baa73a5
|
4
|
+
data.tar.gz: 4ce616b4f01d1f3c08954e98f070dc612e2ede8d7fc34ae5fb13a66cf2c51934
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3c50e440549473761997e7a5644546c159dc350e3a41f9609007558c2f4ef9f708220e393b0758924595e4225561b4c818868da75262069168654c3376253f1
|
7
|
+
data.tar.gz: bc2dbfae6af58e976744960c2d57a8829fad28682536e5b358c23c92569d241c36750502258a885404d34dec10de633d1ba1399c10572172b1c9f38e6c000e60
|
data/README.md
CHANGED
@@ -13,7 +13,7 @@ steps:
|
|
13
13
|
1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
|
14
14
|
2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
|
15
15
|
3. [Enable the Cloud Security Command Center API.](https://console.cloud.google.com/apis/library/securitycenter.googleapis.com)
|
16
|
-
4. [Setup Authentication.](https://googleapis.
|
16
|
+
4. [Setup Authentication.](https://googleapis.dev/ruby/google-cloud-security_center/latest/file.AUTHENTICATION.html)
|
17
17
|
|
18
18
|
### Installation
|
19
19
|
```
|
@@ -28,14 +28,14 @@ $ gem install google-cloud-security_center
|
|
28
28
|
- View this [repository's main README](https://github.com/googleapis/google-cloud-ruby/blob/master/README.md)
|
29
29
|
to see the full list of Cloud APIs that we cover.
|
30
30
|
|
31
|
-
[Client Library Documentation]: https://googleapis.
|
31
|
+
[Client Library Documentation]: https://googleapis.dev/ruby/google-cloud-security_center/latest
|
32
32
|
[Product Documentation]: https://cloud.google.com/security-command-center/
|
33
33
|
|
34
34
|
## Enabling Logging
|
35
35
|
|
36
36
|
To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
37
37
|
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib-2.5.0/libdoc/logger/rdoc/Logger.html) as shown below,
|
38
|
-
or a [`Google::Cloud::Logging::Logger`](https://googleapis.
|
38
|
+
or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
|
39
39
|
that will write logs to [Stackdriver Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
|
40
40
|
and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
41
41
|
|
@@ -35,7 +35,7 @@ module Google
|
|
35
35
|
# 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
|
36
36
|
# 2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
|
37
37
|
# 3. [Enable the Cloud Security Command Center API.](https://console.cloud.google.com/apis/library/securitycenter.googleapis.com)
|
38
|
-
# 4. [Setup Authentication.](https://googleapis.
|
38
|
+
# 4. [Setup Authentication.](https://googleapis.dev/ruby/google-cloud-security_center/latest/file.AUTHENTICATION.html)
|
39
39
|
#
|
40
40
|
# ### Installation
|
41
41
|
# ```
|
@@ -54,7 +54,7 @@ module Google
|
|
54
54
|
#
|
55
55
|
# To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
56
56
|
# The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib-2.5.0/libdoc/logger/rdoc/Logger.html) as shown below,
|
57
|
-
# or a [`Google::Cloud::Logging::Logger`](https://googleapis.
|
57
|
+
# or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
|
58
58
|
# that will write logs to [Stackdriver Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
|
59
59
|
# and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
60
60
|
#
|
@@ -37,7 +37,7 @@ module Google
|
|
37
37
|
# 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
|
38
38
|
# 2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
|
39
39
|
# 3. [Enable the Cloud Security Command Center API.](https://console.cloud.google.com/apis/library/securitycenter.googleapis.com)
|
40
|
-
# 4. [Setup Authentication.](https://googleapis.
|
40
|
+
# 4. [Setup Authentication.](https://googleapis.dev/ruby/google-cloud-security_center/latest/file.AUTHENTICATION.html)
|
41
41
|
#
|
42
42
|
# ### Installation
|
43
43
|
# ```
|
@@ -56,7 +56,7 @@ module Google
|
|
56
56
|
#
|
57
57
|
# To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
58
58
|
# The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib-2.5.0/libdoc/logger/rdoc/Logger.html) as shown below,
|
59
|
-
# or a [`Google::Cloud::Logging::Logger`](https://googleapis.
|
59
|
+
# or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
|
60
60
|
# that will write logs to [Stackdriver Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
|
61
61
|
# and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
62
62
|
#
|
@@ -93,8 +93,20 @@ module Google
|
|
93
93
|
#
|
94
94
|
# The following field and operator combinations are supported:
|
95
95
|
# name | '='
|
96
|
-
# update_time | '>', '<', '>=', '<='
|
97
|
-
#
|
96
|
+
# update_time | '=', '>', '<', '>=', '<='
|
97
|
+
#
|
98
|
+
# Usage: This should be milliseconds since epoch or an RFC3339 string.
|
99
|
+
# Examples:
|
100
|
+
# "update_time = \"2019-06-10T16:07:18-07:00\""
|
101
|
+
# "update_time = 1560208038000"
|
102
|
+
#
|
103
|
+
# create_time | '=', '>', '<', '>=', '<='
|
104
|
+
#
|
105
|
+
# Usage: This should be milliseconds since epoch or an RFC3339 string.
|
106
|
+
# Examples:
|
107
|
+
# "create_time = \"2019-06-10T16:07:18-07:00\""
|
108
|
+
# "create_time = 1560208038000"
|
109
|
+
#
|
98
110
|
# iam_policy.policy_blob | '=', ':'
|
99
111
|
# resource_properties | '=', ':', '>', '<', '>=', '<='
|
100
112
|
# security_marks | '=', ':'
|
@@ -225,7 +237,13 @@ module Google
|
|
225
237
|
# state | '=', ':'
|
226
238
|
# category | '=', ':'
|
227
239
|
# external_uri | '=', ':'
|
228
|
-
# event_time | `>`, `<`, `>=`, `<=`
|
240
|
+
# event_time | `=`, `>`, `<`, `>=`, `<=`
|
241
|
+
#
|
242
|
+
# Usage: This should be milliseconds since epoch or an RFC3339 string.
|
243
|
+
# Examples:
|
244
|
+
# "event_time = \"2019-06-10T16:07:18-07:00\""
|
245
|
+
# "event_time = 1560208038000"
|
246
|
+
#
|
229
247
|
# security_marks | '=', ':'
|
230
248
|
# source_properties | '=', ':', `>`, `<`, `>=`, `<=`
|
231
249
|
#
|
@@ -379,7 +397,20 @@ module Google
|
|
379
397
|
#
|
380
398
|
# The following are the allowed field and operator combinations:
|
381
399
|
# name | `=`
|
382
|
-
# update_time | `>`, `<`, `>=`, `<=`
|
400
|
+
# update_time | `=`, `>`, `<`, `>=`, `<=`
|
401
|
+
#
|
402
|
+
# Usage: This should be milliseconds since epoch or an RFC3339 string.
|
403
|
+
# Examples:
|
404
|
+
# "update_time = \"2019-06-10T16:07:18-07:00\""
|
405
|
+
# "update_time = 1560208038000"
|
406
|
+
#
|
407
|
+
# create_time | `=`, `>`, `<`, `>=`, `<=`
|
408
|
+
#
|
409
|
+
# Usage: This should be milliseconds since epoch or an RFC3339 string.
|
410
|
+
# Examples:
|
411
|
+
# "create_time = \"2019-06-10T16:07:18-07:00\""
|
412
|
+
# "create_time = 1560208038000"
|
413
|
+
#
|
383
414
|
# iam_policy.policy_blob | '=', ':'
|
384
415
|
# resource_properties | '=', ':', `>`, `<`, `>=`, `<=`
|
385
416
|
# security_marks | '=', ':'
|
@@ -545,7 +576,13 @@ module Google
|
|
545
576
|
# state | '=', ':'
|
546
577
|
# category | '=', ':'
|
547
578
|
# external_uri | '=', ':'
|
548
|
-
# event_time | `>`, `<`, `>=`, `<=`
|
579
|
+
# event_time | `=`, `>`, `<`, `>=`, `<=`
|
580
|
+
#
|
581
|
+
# Usage: This should be milliseconds since epoch or an RFC3339 string.
|
582
|
+
# Examples:
|
583
|
+
# "event_time = \"2019-06-10T16:07:18-07:00\""
|
584
|
+
# "event_time = 1560208038000"
|
585
|
+
#
|
549
586
|
# security_marks | '=', ':'
|
550
587
|
# source_properties | '=', ':', `>`, `<`, `>=`, `<=`
|
551
588
|
#
|
@@ -79,7 +79,7 @@ module Google
|
|
79
79
|
# ensure that their change will be applied to the same version of the policy.
|
80
80
|
#
|
81
81
|
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
|
82
|
-
# policy is overwritten
|
82
|
+
# policy is overwritten.
|
83
83
|
class Policy; end
|
84
84
|
|
85
85
|
# Associates `members` with a `role`.
|
@@ -99,7 +99,7 @@ module Google
|
|
99
99
|
# who is authenticated with a Google account or a service account.
|
100
100
|
#
|
101
101
|
# * `user:{emailid}`: An email address that represents a specific Google
|
102
|
-
# account. For example, `alice@
|
102
|
+
# account. For example, `alice@example.com` .
|
103
103
|
#
|
104
104
|
#
|
105
105
|
# * `serviceAccount:{emailid}`: An email address that represents a service
|
@@ -736,8 +736,20 @@ module Google
|
|
736
736
|
#
|
737
737
|
# The following field and operator combinations are supported:
|
738
738
|
# name | '='
|
739
|
-
# update_time | '>', '<', '>=', '<='
|
740
|
-
#
|
739
|
+
# update_time | '=', '>', '<', '>=', '<='
|
740
|
+
#
|
741
|
+
# Usage: This should be milliseconds since epoch or an RFC3339 string.
|
742
|
+
# Examples:
|
743
|
+
# "update_time = \"2019-06-10T16:07:18-07:00\""
|
744
|
+
# "update_time = 1560208038000"
|
745
|
+
#
|
746
|
+
# create_time | '=', '>', '<', '>=', '<='
|
747
|
+
#
|
748
|
+
# Usage: This should be milliseconds since epoch or an RFC3339 string.
|
749
|
+
# Examples:
|
750
|
+
# "create_time = \"2019-06-10T16:07:18-07:00\""
|
751
|
+
# "create_time = 1560208038000"
|
752
|
+
#
|
741
753
|
# iam_policy.policy_blob | '=', ':'
|
742
754
|
# resource_properties | '=', ':', '>', '<', '>=', '<='
|
743
755
|
# security_marks | '=', ':'
|
@@ -904,7 +916,13 @@ module Google
|
|
904
916
|
# state | '=', ':'
|
905
917
|
# category | '=', ':'
|
906
918
|
# external_uri | '=', ':'
|
907
|
-
# event_time | `>`, `<`, `>=`, `<=`
|
919
|
+
# event_time | `=`, `>`, `<`, `>=`, `<=`
|
920
|
+
#
|
921
|
+
# Usage: This should be milliseconds since epoch or an RFC3339 string.
|
922
|
+
# Examples:
|
923
|
+
# "event_time = \"2019-06-10T16:07:18-07:00\""
|
924
|
+
# "event_time = 1560208038000"
|
925
|
+
#
|
908
926
|
# security_marks | '=', ':'
|
909
927
|
# source_properties | '=', ':', `>`, `<`, `>=`, `<=`
|
910
928
|
#
|
@@ -1040,7 +1058,20 @@ module Google
|
|
1040
1058
|
#
|
1041
1059
|
# The following are the allowed field and operator combinations:
|
1042
1060
|
# name | `=`
|
1043
|
-
# update_time | `>`, `<`, `>=`, `<=`
|
1061
|
+
# update_time | `=`, `>`, `<`, `>=`, `<=`
|
1062
|
+
#
|
1063
|
+
# Usage: This should be milliseconds since epoch or an RFC3339 string.
|
1064
|
+
# Examples:
|
1065
|
+
# "update_time = \"2019-06-10T16:07:18-07:00\""
|
1066
|
+
# "update_time = 1560208038000"
|
1067
|
+
#
|
1068
|
+
# create_time | `=`, `>`, `<`, `>=`, `<=`
|
1069
|
+
#
|
1070
|
+
# Usage: This should be milliseconds since epoch or an RFC3339 string.
|
1071
|
+
# Examples:
|
1072
|
+
# "create_time = \"2019-06-10T16:07:18-07:00\""
|
1073
|
+
# "create_time = 1560208038000"
|
1074
|
+
#
|
1044
1075
|
# iam_policy.policy_blob | '=', ':'
|
1045
1076
|
# resource_properties | '=', ':', `>`, `<`, `>=`, `<=`
|
1046
1077
|
# security_marks | '=', ':'
|
@@ -1214,7 +1245,13 @@ module Google
|
|
1214
1245
|
# state | '=', ':'
|
1215
1246
|
# category | '=', ':'
|
1216
1247
|
# external_uri | '=', ':'
|
1217
|
-
# event_time | `>`, `<`, `>=`, `<=`
|
1248
|
+
# event_time | `=`, `>`, `<`, `>=`, `<=`
|
1249
|
+
#
|
1250
|
+
# Usage: This should be milliseconds since epoch or an RFC3339 string.
|
1251
|
+
# Examples:
|
1252
|
+
# "event_time = \"2019-06-10T16:07:18-07:00\""
|
1253
|
+
# "event_time = 1560208038000"
|
1254
|
+
#
|
1218
1255
|
# security_marks | '=', ':'
|
1219
1256
|
# source_properties | '=', ':', `>`, `<`, `>=`, `<=`
|
1220
1257
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-security_center
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-08-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-gax
|
@@ -170,7 +170,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
170
170
|
- !ruby/object:Gem::Version
|
171
171
|
version: '0'
|
172
172
|
requirements: []
|
173
|
-
rubygems_version: 3.0.
|
173
|
+
rubygems_version: 3.0.4
|
174
174
|
signing_key:
|
175
175
|
specification_version: 4
|
176
176
|
summary: API Client library for Cloud Security Command Center API
|