google-cloud-security_center-v1 0.11.1 → 0.12.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 +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/security_center/v1/security_center/client.rb +2 -1
- data/lib/google/cloud/security_center/v1/version.rb +1 -1
- data/lib/google/cloud/securitycenter/v1/access_pb.rb +32 -0
- data/lib/google/cloud/securitycenter/v1/finding_pb.rb +3 -1
- data/lib/google/cloud/securitycenter/v1/securitycenter_service_pb.rb +1 -1
- data/proto_docs/google/cloud/securitycenter/v1/access.rb +61 -0
- data/proto_docs/google/cloud/securitycenter/v1/finding.rb +10 -5
- data/proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb +2 -1
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '08d77c3281c370e4f9eb518798afbeda57f2688f417bc42fca949bf6395bbbea'
|
4
|
+
data.tar.gz: '09dbdb49b657b136ad1565b96cf146fe74a270b144e425ef49139e5e7b23ec61'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb0aeaba3083f7d3064699149efaab44f53afdc89dbbd00d515eae5d7662f1caadbe76257d08cbd512b4c3f1c7a3e92421c4f541445aaea6c82656fd18a9d753
|
7
|
+
data.tar.gz: f6cd1d9ac94e2d65e70d99bb9b077d5f4ff9baeb5e6a803c6c805f23ae627cbf29b185ede1388b234a44102fba5c6a823088f4366da26fa594c0660960907de2
|
data/README.md
CHANGED
@@ -37,7 +37,7 @@ request = ::Google::Cloud::SecurityCenter::V1::BulkMuteFindingsRequest.new # (re
|
|
37
37
|
response = client.bulk_mute_findings request
|
38
38
|
```
|
39
39
|
|
40
|
-
View the [Client Library Documentation](https://
|
40
|
+
View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-security_center-v1/latest)
|
41
41
|
for class and method documentation.
|
42
42
|
|
43
43
|
See also the [Product Documentation](https://cloud.google.com/security-command-center)
|
@@ -3571,7 +3571,8 @@ module Google
|
|
3571
3571
|
# @param start_time [::Google::Protobuf::Timestamp, ::Hash]
|
3572
3572
|
# The time at which the updated SecurityMarks take effect.
|
3573
3573
|
# If not set uses current server time. Updates will be applied to the
|
3574
|
-
# SecurityMarks that are active immediately preceding this time.
|
3574
|
+
# SecurityMarks that are active immediately preceding this time. Must be
|
3575
|
+
# smaller or equal to the server time.
|
3575
3576
|
#
|
3576
3577
|
# @yield [response, operation] Access the result along with the RPC operation
|
3577
3578
|
# @yieldparam response [::Google::Cloud::SecurityCenter::V1::SecurityMarks]
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/cloud/securitycenter/v1/access.proto
|
3
|
+
|
4
|
+
require 'google/api/annotations_pb'
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
|
+
add_file("google/cloud/securitycenter/v1/access.proto", :syntax => :proto3) do
|
9
|
+
add_message "google.cloud.securitycenter.v1.Access" do
|
10
|
+
optional :principal_email, :string, 1
|
11
|
+
optional :caller_ip, :string, 2
|
12
|
+
optional :caller_ip_geo, :message, 3, "google.cloud.securitycenter.v1.Geolocation"
|
13
|
+
optional :user_agent_family, :string, 4
|
14
|
+
optional :service_name, :string, 5
|
15
|
+
optional :method_name, :string, 6
|
16
|
+
end
|
17
|
+
add_message "google.cloud.securitycenter.v1.Geolocation" do
|
18
|
+
optional :region_code, :string, 1
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
module Google
|
24
|
+
module Cloud
|
25
|
+
module SecurityCenter
|
26
|
+
module V1
|
27
|
+
Access = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Access").msgclass
|
28
|
+
Geolocation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Geolocation").msgclass
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
@@ -1,15 +1,16 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/securitycenter/v1/finding.proto
|
3
3
|
|
4
|
+
require 'google/api/annotations_pb'
|
4
5
|
require 'google/api/field_behavior_pb'
|
5
6
|
require 'google/api/resource_pb'
|
7
|
+
require 'google/cloud/securitycenter/v1/access_pb'
|
6
8
|
require 'google/cloud/securitycenter/v1/external_system_pb'
|
7
9
|
require 'google/cloud/securitycenter/v1/indicator_pb'
|
8
10
|
require 'google/cloud/securitycenter/v1/security_marks_pb'
|
9
11
|
require 'google/cloud/securitycenter/v1/vulnerability_pb'
|
10
12
|
require 'google/protobuf/struct_pb'
|
11
13
|
require 'google/protobuf/timestamp_pb'
|
12
|
-
require 'google/api/annotations_pb'
|
13
14
|
require 'google/protobuf'
|
14
15
|
|
15
16
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
@@ -33,6 +34,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
33
34
|
optional :vulnerability, :message, 20, "google.cloud.securitycenter.v1.Vulnerability"
|
34
35
|
optional :mute_update_time, :message, 21, "google.protobuf.Timestamp"
|
35
36
|
map :external_systems, :string, :message, 22, "google.cloud.securitycenter.v1.ExternalSystem"
|
37
|
+
optional :access, :message, 26, "google.cloud.securitycenter.v1.Access"
|
36
38
|
optional :mute_initiator, :string, 28
|
37
39
|
end
|
38
40
|
add_enum "google.cloud.securitycenter.v1.Finding.State" do
|
@@ -1,7 +1,6 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/securitycenter/v1/securitycenter_service.proto
|
3
3
|
|
4
|
-
require 'google/cloud/securitycenter/v1/run_asset_discovery_response_pb'
|
5
4
|
require 'google/api/annotations_pb'
|
6
5
|
require 'google/api/client_pb'
|
7
6
|
require 'google/api/field_behavior_pb'
|
@@ -13,6 +12,7 @@ require 'google/cloud/securitycenter/v1/folder_pb'
|
|
13
12
|
require 'google/cloud/securitycenter/v1/mute_config_pb'
|
14
13
|
require 'google/cloud/securitycenter/v1/notification_config_pb'
|
15
14
|
require 'google/cloud/securitycenter/v1/organization_settings_pb'
|
15
|
+
require 'google/cloud/securitycenter/v1/run_asset_discovery_response_pb'
|
16
16
|
require 'google/cloud/securitycenter/v1/security_marks_pb'
|
17
17
|
require 'google/cloud/securitycenter/v1/source_pb'
|
18
18
|
require 'google/iam/v1/iam_policy_pb'
|
@@ -0,0 +1,61 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2022 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module SecurityCenter
|
23
|
+
module V1
|
24
|
+
# Represents an access event.
|
25
|
+
# @!attribute [rw] principal_email
|
26
|
+
# @return [::String]
|
27
|
+
# Associated email, such as "foo@google.com".
|
28
|
+
# @!attribute [rw] caller_ip
|
29
|
+
# @return [::String]
|
30
|
+
# Caller's IP address, such as "1.1.1.1".
|
31
|
+
# @!attribute [rw] caller_ip_geo
|
32
|
+
# @return [::Google::Cloud::SecurityCenter::V1::Geolocation]
|
33
|
+
# The caller IP's geolocation, which identifies where the call came from.
|
34
|
+
# @!attribute [rw] user_agent_family
|
35
|
+
# @return [::String]
|
36
|
+
# What kind of user agent is associated, e.g. operating system shells,
|
37
|
+
# embedded or stand-alone applications, etc.
|
38
|
+
# @!attribute [rw] service_name
|
39
|
+
# @return [::String]
|
40
|
+
# This is the API service that the service account made a call to, e.g.
|
41
|
+
# "iam.googleapis.com"
|
42
|
+
# @!attribute [rw] method_name
|
43
|
+
# @return [::String]
|
44
|
+
# The method that the service account called, e.g. "SetIamPolicy".
|
45
|
+
class Access
|
46
|
+
include ::Google::Protobuf::MessageExts
|
47
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
48
|
+
end
|
49
|
+
|
50
|
+
# Represents a geographical location for a given access.
|
51
|
+
# @!attribute [rw] region_code
|
52
|
+
# @return [::String]
|
53
|
+
# A CLDR.
|
54
|
+
class Geolocation
|
55
|
+
include ::Google::Protobuf::MessageExts
|
56
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
@@ -75,11 +75,12 @@ module Google
|
|
75
75
|
# to the finding.
|
76
76
|
# @!attribute [rw] event_time
|
77
77
|
# @return [::Google::Protobuf::Timestamp]
|
78
|
-
# The time
|
79
|
-
#
|
80
|
-
#
|
81
|
-
#
|
82
|
-
#
|
78
|
+
# The time the finding was first detected. If an existing finding is updated,
|
79
|
+
# then this is the time the update occurred.
|
80
|
+
# For example, if the finding represents an open firewall, this property
|
81
|
+
# captures the time the detector believes the firewall became open. The
|
82
|
+
# accuracy is determined by the detector. If the finding is later resolved,
|
83
|
+
# then this time reflects when the finding was resolved. This must not
|
83
84
|
# be set to a value greater than the current timestamp.
|
84
85
|
# @!attribute [rw] create_time
|
85
86
|
# @return [::Google::Protobuf::Timestamp]
|
@@ -122,6 +123,10 @@ module Google
|
|
122
123
|
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::SecurityCenter::V1::ExternalSystem}]
|
123
124
|
# Output only. Third party SIEM/SOAR fields within SCC, contains external system
|
124
125
|
# information and external system finding fields.
|
126
|
+
# @!attribute [rw] access
|
127
|
+
# @return [::Google::Cloud::SecurityCenter::V1::Access]
|
128
|
+
# Access details associated to the Finding, such as more information on the
|
129
|
+
# caller, which method was accessed, from where, etc.
|
125
130
|
# @!attribute [rw] mute_initiator
|
126
131
|
# @return [::String]
|
127
132
|
# First known as mute_annotation. Records additional information about the
|
@@ -1245,7 +1245,8 @@ module Google
|
|
1245
1245
|
# @return [::Google::Protobuf::Timestamp]
|
1246
1246
|
# The time at which the updated SecurityMarks take effect.
|
1247
1247
|
# If not set uses current server time. Updates will be applied to the
|
1248
|
-
# SecurityMarks that are active immediately preceding this time.
|
1248
|
+
# SecurityMarks that are active immediately preceding this time. Must be
|
1249
|
+
# smaller or equal to the server time.
|
1249
1250
|
class UpdateSecurityMarksRequest
|
1250
1251
|
include ::Google::Protobuf::MessageExts
|
1251
1252
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-security_center-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.12.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: 2022-
|
11
|
+
date: 2022-02-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -197,6 +197,7 @@ files:
|
|
197
197
|
- lib/google/cloud/security_center/v1/security_center/operations.rb
|
198
198
|
- lib/google/cloud/security_center/v1/security_center/paths.rb
|
199
199
|
- lib/google/cloud/security_center/v1/version.rb
|
200
|
+
- lib/google/cloud/securitycenter/v1/access_pb.rb
|
200
201
|
- lib/google/cloud/securitycenter/v1/asset_pb.rb
|
201
202
|
- lib/google/cloud/securitycenter/v1/external_system_pb.rb
|
202
203
|
- lib/google/cloud/securitycenter/v1/finding_pb.rb
|
@@ -216,6 +217,7 @@ files:
|
|
216
217
|
- proto_docs/README.md
|
217
218
|
- proto_docs/google/api/field_behavior.rb
|
218
219
|
- proto_docs/google/api/resource.rb
|
220
|
+
- proto_docs/google/cloud/securitycenter/v1/access.rb
|
219
221
|
- proto_docs/google/cloud/securitycenter/v1/asset.rb
|
220
222
|
- proto_docs/google/cloud/securitycenter/v1/external_system.rb
|
221
223
|
- proto_docs/google/cloud/securitycenter/v1/finding.rb
|
@@ -262,7 +264,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
262
264
|
- !ruby/object:Gem::Version
|
263
265
|
version: '0'
|
264
266
|
requirements: []
|
265
|
-
rubygems_version: 3.3.
|
267
|
+
rubygems_version: 3.3.5
|
266
268
|
signing_key:
|
267
269
|
specification_version: 4
|
268
270
|
summary: API Client library for the Cloud Security Command Center V1 API
|