google-cloud-security_center-v1 0.16.0 → 0.17.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: 137349fd5941ad792aa7a6e88ac8d8f4743b103c854f57fabc07801dd17c8db6
4
- data.tar.gz: 816b02ef077b8c64ecaf0aea7f08d4360010b8593d4d66427a73670ac4420699
3
+ metadata.gz: e3ae250857d52e75b05799e39d34463565c53bc1f5e18ce96a342f2e5829ece5
4
+ data.tar.gz: 19a1d075069e65f39a958e685403bbc3f890185f650bd17738a7c30b1d1530c1
5
5
  SHA512:
6
- metadata.gz: 2dc560bed92702466e2c3441ba9571435f7db903d3338195bd5e0bbb03315a94110cddea277c57624725b7f898a7d5dafccb564a4a839ed5565d78c152fede12
7
- data.tar.gz: 142d65f1b2a722530aae4a34495cc8689ed1790e6ddd64a90010eaba6ccb9faea3d6df20b798cf09bf6c7f0d240936da22909580ac612b5c035c0800430c9bdb
6
+ metadata.gz: 189bcee49d131fc318bb64f83ccfa81fb404336d30ba06891e9ff018ce5dd94e53fe4405170e8b648e4e6259a1d26e4603195ef69388ab8ef8c1688df11ce17b
7
+ data.tar.gz: d4829dddaf03d5bfd1ea81ed607b94e651b3f20a514075893868c1b55ce564d1c91dc2b45b600a42429bdeb276f21ab5dc19a72b46ebe3b25788126d3e09997a
data/README.md CHANGED
@@ -76,14 +76,14 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
76
76
 
77
77
  ## Supported Ruby Versions
78
78
 
79
- This library is supported on Ruby 2.5+.
79
+ This library is supported on Ruby 2.6+.
80
80
 
81
81
  Google provides official support for Ruby versions that are actively supported
82
82
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
83
- in security maintenance, and not end of life. Currently, this means Ruby 2.5
84
- and later. Older versions of Ruby _may_ still work, but are unsupported and not
85
- recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details
86
- about the Ruby support schedule.
83
+ in security maintenance, and not end of life. Older versions of Ruby _may_
84
+ still work, but are unsupported and not recommended. See
85
+ https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
86
+ support schedule.
87
87
 
88
88
  ## Which client should I use?
89
89
 
@@ -95,6 +95,9 @@ module Google
95
95
  channel_args: @config.channel_args,
96
96
  interceptors: @config.interceptors
97
97
  )
98
+
99
+ # Used by an LRO wrapper for some methods of this service
100
+ @operations_client = self
98
101
  end
99
102
 
100
103
  # Service calls
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module SecurityCenter
23
23
  module V1
24
- VERSION = "0.16.0"
24
+ VERSION = "0.17.0"
25
25
  end
26
26
  end
27
27
  end
@@ -0,0 +1,26 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/securitycenter/v1/contact_details.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_file("google/cloud/securitycenter/v1/contact_details.proto", :syntax => :proto3) do
8
+ add_message "google.cloud.securitycenter.v1.ContactDetails" do
9
+ repeated :contacts, :message, 1, "google.cloud.securitycenter.v1.Contact"
10
+ end
11
+ add_message "google.cloud.securitycenter.v1.Contact" do
12
+ optional :email, :string, 1
13
+ end
14
+ end
15
+ end
16
+
17
+ module Google
18
+ module Cloud
19
+ module SecurityCenter
20
+ module V1
21
+ ContactDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.ContactDetails").msgclass
22
+ Contact = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Contact").msgclass
23
+ end
24
+ end
25
+ end
26
+ end
@@ -8,6 +8,7 @@ require 'google/api/resource_pb'
8
8
  require 'google/cloud/securitycenter/v1/access_pb'
9
9
  require 'google/cloud/securitycenter/v1/compliance_pb'
10
10
  require 'google/cloud/securitycenter/v1/connection_pb'
11
+ require 'google/cloud/securitycenter/v1/contact_details_pb'
11
12
  require 'google/cloud/securitycenter/v1/exfiltration_pb'
12
13
  require 'google/cloud/securitycenter/v1/external_system_pb'
13
14
  require 'google/cloud/securitycenter/v1/iam_binding_pb'
@@ -45,6 +46,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
45
46
  repeated :connections, :message, 31, "google.cloud.securitycenter.v1.Connection"
46
47
  optional :mute_initiator, :string, 28
47
48
  repeated :processes, :message, 30, "google.cloud.securitycenter.v1.Process"
49
+ map :contacts, :string, :message, 33, "google.cloud.securitycenter.v1.ContactDetails"
48
50
  repeated :compliances, :message, 34, "google.cloud.securitycenter.v1.Compliance"
49
51
  optional :description, :string, 37
50
52
  optional :exfiltration, :message, 38, "google.cloud.securitycenter.v1.Exfiltration"
@@ -8,6 +8,24 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
8
8
  add_message "google.cloud.securitycenter.v1.Indicator" do
9
9
  repeated :ip_addresses, :string, 1
10
10
  repeated :domains, :string, 2
11
+ repeated :signatures, :message, 3, "google.cloud.securitycenter.v1.Indicator.ProcessSignature"
12
+ end
13
+ add_message "google.cloud.securitycenter.v1.Indicator.ProcessSignature" do
14
+ oneof :signature do
15
+ optional :memory_hash_signature, :message, 6, "google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature"
16
+ optional :yara_rule_signature, :message, 7, "google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature"
17
+ end
18
+ end
19
+ add_message "google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature" do
20
+ optional :binary_family, :string, 1
21
+ repeated :detections, :message, 4, "google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection"
22
+ end
23
+ add_message "google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection" do
24
+ optional :binary, :string, 2
25
+ optional :percent_pages_matched, :double, 3
26
+ end
27
+ add_message "google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature" do
28
+ optional :yara_rule, :string, 5
11
29
  end
12
30
  end
13
31
  end
@@ -17,6 +35,10 @@ module Google
17
35
  module SecurityCenter
18
36
  module V1
19
37
  Indicator = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Indicator").msgclass
38
+ Indicator::ProcessSignature = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Indicator.ProcessSignature").msgclass
39
+ Indicator::ProcessSignature::MemoryHashSignature = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature").msgclass
40
+ Indicator::ProcessSignature::MemoryHashSignature::Detection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection").msgclass
41
+ Indicator::ProcessSignature::YaraRuleSignature = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature").msgclass
20
42
  end
21
43
  end
22
44
  end
@@ -8,6 +8,7 @@ require 'google/cloud/securitycenter/v1/file_pb'
8
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
9
  add_file("google/cloud/securitycenter/v1/process.proto", :syntax => :proto3) do
10
10
  add_message "google.cloud.securitycenter.v1.Process" do
11
+ optional :name, :string, 12
11
12
  optional :binary, :message, 3, "google.cloud.securitycenter.v1.File"
12
13
  repeated :libraries, :message, 4, "google.cloud.securitycenter.v1.File"
13
14
  optional :script, :message, 5, "google.cloud.securitycenter.v1.File"
@@ -0,0 +1,44 @@
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
+ # The details pertaining to specific contacts
25
+ # @!attribute [rw] contacts
26
+ # @return [::Array<::Google::Cloud::SecurityCenter::V1::Contact>]
27
+ # A list of contacts
28
+ class ContactDetails
29
+ include ::Google::Protobuf::MessageExts
30
+ extend ::Google::Protobuf::MessageExts::ClassMethods
31
+ end
32
+
33
+ # Representa a single contact's email address
34
+ # @!attribute [rw] email
35
+ # @return [::String]
36
+ # An email address e.g. "person123@company.com"
37
+ class Contact
38
+ include ::Google::Protobuf::MessageExts
39
+ extend ::Google::Protobuf::MessageExts::ClassMethods
40
+ end
41
+ end
42
+ end
43
+ end
44
+ end
@@ -32,7 +32,7 @@ module Google
32
32
  # @!attribute [rw] sha256
33
33
  # @return [::String]
34
34
  # SHA256 hash of the first hashed_size bytes of the file encoded as a
35
- # hex string. If hashed_size == size, hash_sha256 represents the SHA256 hash
35
+ # hex string. If hashed_size == size, sha256 represents the SHA256 hash
36
36
  # of the entire file.
37
37
  # @!attribute [rw] hashed_size
38
38
  # @return [::Integer]
@@ -122,8 +122,8 @@ module Google
122
122
  # Output only. The most recent time this finding was muted or unmuted.
123
123
  # @!attribute [r] external_systems
124
124
  # @return [::Google::Protobuf::Map{::String => ::Google::Cloud::SecurityCenter::V1::ExternalSystem}]
125
- # Output only. Third party SIEM/SOAR fields within SCC, contains external
126
- # system information and external system finding fields.
125
+ # Output only. Third party SIEM/SOAR fields within SCC, contains external system
126
+ # information and external system finding fields.
127
127
  # @!attribute [rw] mitre_attack
128
128
  # @return [::Google::Cloud::SecurityCenter::V1::MitreAttack]
129
129
  # MITRE ATT&CK tactics and techniques related to this finding.
@@ -144,6 +144,25 @@ module Google
144
144
  # @!attribute [rw] processes
145
145
  # @return [::Array<::Google::Cloud::SecurityCenter::V1::Process>]
146
146
  # Represents operating system processes associated with the Finding.
147
+ # @!attribute [r] contacts
148
+ # @return [::Google::Protobuf::Map{::String => ::Google::Cloud::SecurityCenter::V1::ContactDetails}]
149
+ # Output only. Map containing the point of contacts for the given finding. The key
150
+ # represents the type of contact, while the value contains a list of all the
151
+ # contacts that pertain. Please refer to:
152
+ # https://cloud.google.com/resource-manager/docs/managing-notification-contacts#notification-categories
153
+ #
154
+ # {
155
+ # "security": {
156
+ # "contacts": [
157
+ # {
158
+ # "email": "person1@company.com"
159
+ # },
160
+ # {
161
+ # "email": "person2@company.com"
162
+ # }
163
+ # ]
164
+ # }
165
+ # }
147
166
  # @!attribute [rw] compliances
148
167
  # @return [::Array<::Google::Cloud::SecurityCenter::V1::Compliance>]
149
168
  # Contains compliance information for security standards associated to the
@@ -182,6 +201,15 @@ module Google
182
201
  extend ::Google::Protobuf::MessageExts::ClassMethods
183
202
  end
184
203
 
204
+ # @!attribute [rw] key
205
+ # @return [::String]
206
+ # @!attribute [rw] value
207
+ # @return [::Google::Cloud::SecurityCenter::V1::ContactDetails]
208
+ class ContactsEntry
209
+ include ::Google::Protobuf::MessageExts
210
+ extend ::Google::Protobuf::MessageExts::ClassMethods
211
+ end
212
+
185
213
  # The state of the finding.
186
214
  module State
187
215
  # Unspecified state.
@@ -31,9 +31,61 @@ module Google
31
31
  # @!attribute [rw] domains
32
32
  # @return [::Array<::String>]
33
33
  # List of domains associated to the Finding.
34
+ # @!attribute [rw] signatures
35
+ # @return [::Array<::Google::Cloud::SecurityCenter::V1::Indicator::ProcessSignature>]
36
+ # The list of matched signatures indicating that the given
37
+ # process is present in the environment.
34
38
  class Indicator
35
39
  include ::Google::Protobuf::MessageExts
36
40
  extend ::Google::Protobuf::MessageExts::ClassMethods
41
+
42
+ # Indicates what signature matched this process.
43
+ # @!attribute [rw] memory_hash_signature
44
+ # @return [::Google::Cloud::SecurityCenter::V1::Indicator::ProcessSignature::MemoryHashSignature]
45
+ # Signature indicating that a binary family was matched.
46
+ # @!attribute [rw] yara_rule_signature
47
+ # @return [::Google::Cloud::SecurityCenter::V1::Indicator::ProcessSignature::YaraRuleSignature]
48
+ # Signature indicating that a YARA rule was matched.
49
+ class ProcessSignature
50
+ include ::Google::Protobuf::MessageExts
51
+ extend ::Google::Protobuf::MessageExts::ClassMethods
52
+
53
+ # A signature corresponding to memory page hashes.
54
+ # @!attribute [rw] binary_family
55
+ # @return [::String]
56
+ # The binary family.
57
+ # @!attribute [rw] detections
58
+ # @return [::Array<::Google::Cloud::SecurityCenter::V1::Indicator::ProcessSignature::MemoryHashSignature::Detection>]
59
+ # The list of memory hash detections contributing to the binary family
60
+ # match.
61
+ class MemoryHashSignature
62
+ include ::Google::Protobuf::MessageExts
63
+ extend ::Google::Protobuf::MessageExts::ClassMethods
64
+
65
+ # Memory hash detection contributing to the binary family match.
66
+ # @!attribute [rw] binary
67
+ # @return [::String]
68
+ # The name of the binary associated with the memory hash
69
+ # signature detection.
70
+ # @!attribute [rw] percent_pages_matched
71
+ # @return [::Float]
72
+ # The percentage of memory page hashes in the signature
73
+ # that were matched.
74
+ class Detection
75
+ include ::Google::Protobuf::MessageExts
76
+ extend ::Google::Protobuf::MessageExts::ClassMethods
77
+ end
78
+ end
79
+
80
+ # A signature corresponding to a YARA rule.
81
+ # @!attribute [rw] yara_rule
82
+ # @return [::String]
83
+ # The name of the YARA rule.
84
+ class YaraRuleSignature
85
+ include ::Google::Protobuf::MessageExts
86
+ extend ::Google::Protobuf::MessageExts::ClassMethods
87
+ end
88
+ end
37
89
  end
38
90
  end
39
91
  end
@@ -22,6 +22,10 @@ module Google
22
22
  module SecurityCenter
23
23
  module V1
24
24
  # Represents an operating system process.
25
+ # @!attribute [rw] name
26
+ # @return [::String]
27
+ # The process name visible in utilities like `top` and `ps`; it can
28
+ # be accessed via `/proc/[pid]/comm` and changed with `prctl(PR_SET_NAME)`.
25
29
  # @!attribute [rw] binary
26
30
  # @return [::Google::Cloud::SecurityCenter::V1::File]
27
31
  # File information for the process executable.
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.16.0
4
+ version: 0.17.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-06-09 00:00:00.000000000 Z
11
+ date: 2022-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.7'
19
+ version: '0.10'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.7'
29
+ version: '0.10'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -64,28 +64,28 @@ dependencies:
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: 1.25.1
67
+ version: 1.26.1
68
68
  type: :development
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: 1.25.1
74
+ version: 1.26.1
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: minitest
77
77
  requirement: !ruby/object:Gem::Requirement
78
78
  requirements:
79
79
  - - "~>"
80
80
  - !ruby/object:Gem::Version
81
- version: '5.14'
81
+ version: '5.16'
82
82
  type: :development
83
83
  prerelease: false
84
84
  version_requirements: !ruby/object:Gem::Requirement
85
85
  requirements:
86
86
  - - "~>"
87
87
  - !ruby/object:Gem::Version
88
- version: '5.14'
88
+ version: '5.16'
89
89
  - !ruby/object:Gem::Dependency
90
90
  name: minitest-focus
91
91
  requirement: !ruby/object:Gem::Requirement
@@ -120,14 +120,14 @@ dependencies:
120
120
  requirements:
121
121
  - - ">="
122
122
  - !ruby/object:Gem::Version
123
- version: '12.0'
123
+ version: '13.0'
124
124
  type: :development
125
125
  prerelease: false
126
126
  version_requirements: !ruby/object:Gem::Requirement
127
127
  requirements:
128
128
  - - ">="
129
129
  - !ruby/object:Gem::Version
130
- version: '12.0'
130
+ version: '13.0'
131
131
  - !ruby/object:Gem::Dependency
132
132
  name: redcarpet
133
133
  requirement: !ruby/object:Gem::Requirement
@@ -196,6 +196,7 @@ files:
196
196
  - lib/google/cloud/securitycenter/v1/bigquery_export_pb.rb
197
197
  - lib/google/cloud/securitycenter/v1/compliance_pb.rb
198
198
  - lib/google/cloud/securitycenter/v1/connection_pb.rb
199
+ - lib/google/cloud/securitycenter/v1/contact_details_pb.rb
199
200
  - lib/google/cloud/securitycenter/v1/exfiltration_pb.rb
200
201
  - lib/google/cloud/securitycenter/v1/external_system_pb.rb
201
202
  - lib/google/cloud/securitycenter/v1/file_pb.rb
@@ -224,6 +225,7 @@ files:
224
225
  - proto_docs/google/cloud/securitycenter/v1/bigquery_export.rb
225
226
  - proto_docs/google/cloud/securitycenter/v1/compliance.rb
226
227
  - proto_docs/google/cloud/securitycenter/v1/connection.rb
228
+ - proto_docs/google/cloud/securitycenter/v1/contact_details.rb
227
229
  - proto_docs/google/cloud/securitycenter/v1/exfiltration.rb
228
230
  - proto_docs/google/cloud/securitycenter/v1/external_system.rb
229
231
  - proto_docs/google/cloud/securitycenter/v1/file.rb
@@ -267,7 +269,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
267
269
  requirements:
268
270
  - - ">="
269
271
  - !ruby/object:Gem::Version
270
- version: '2.5'
272
+ version: '2.6'
271
273
  required_rubygems_version: !ruby/object:Gem::Requirement
272
274
  requirements:
273
275
  - - ">="