google-cloud-security_center-v1 0.15.0 → 0.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -0
- data/lib/google/cloud/security_center/v1/version.rb +1 -1
- data/lib/google/cloud/securitycenter/v1/asset_pb.rb +2 -1
- data/lib/google/cloud/securitycenter/v1/bigquery_export_pb.rb +2 -1
- data/lib/google/cloud/securitycenter/v1/compliance_pb.rb +24 -0
- data/lib/google/cloud/securitycenter/v1/exfiltration_pb.rb +28 -0
- data/lib/google/cloud/securitycenter/v1/external_system_pb.rb +2 -1
- data/lib/google/cloud/securitycenter/v1/file_pb.rb +27 -0
- data/lib/google/cloud/securitycenter/v1/finding_pb.rb +8 -1
- data/lib/google/cloud/securitycenter/v1/mitre_attack_pb.rb +1 -0
- data/lib/google/cloud/securitycenter/v1/mute_config_pb.rb +2 -1
- data/lib/google/cloud/securitycenter/v1/notification_config_pb.rb +2 -1
- data/lib/google/cloud/securitycenter/v1/notification_message_pb.rb +2 -1
- data/lib/google/cloud/securitycenter/v1/organization_settings_pb.rb +2 -1
- data/lib/google/cloud/securitycenter/v1/process_pb.rb +37 -0
- data/lib/google/cloud/securitycenter/v1/resource_pb.rb +2 -1
- data/lib/google/cloud/securitycenter/v1/run_asset_discovery_response_pb.rb +2 -1
- data/lib/google/cloud/securitycenter/v1/security_marks_pb.rb +2 -1
- data/lib/google/cloud/securitycenter/v1/securitycenter_service_pb.rb +2 -1
- data/lib/google/cloud/securitycenter/v1/source_pb.rb +2 -1
- data/proto_docs/google/cloud/securitycenter/v1/compliance.rb +43 -0
- data/proto_docs/google/cloud/securitycenter/v1/exfiltration.rb +59 -0
- data/proto_docs/google/cloud/securitycenter/v1/file.rb +56 -0
- data/proto_docs/google/cloud/securitycenter/v1/finding.rb +12 -2
- data/proto_docs/google/cloud/securitycenter/v1/mitre_attack.rb +3 -1
- data/proto_docs/google/cloud/securitycenter/v1/process.rb +75 -0
- data/proto_docs/google/protobuf/any.rb +3 -3
- data/proto_docs/google/protobuf/struct.rb +2 -2
- metadata +11 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 137349fd5941ad792aa7a6e88ac8d8f4743b103c854f57fabc07801dd17c8db6
|
4
|
+
data.tar.gz: 816b02ef077b8c64ecaf0aea7f08d4360010b8593d4d66427a73670ac4420699
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2dc560bed92702466e2c3441ba9571435f7db903d3338195bd5e0bbb03315a94110cddea277c57624725b7f898a7d5dafccb564a4a839ed5565d78c152fede12
|
7
|
+
data.tar.gz: 142d65f1b2a722530aae4a34495cc8689ed1790e6ddd64a90010eaba6ccb9faea3d6df20b798cf09bf6c7f0d240936da22909580ac612b5c035c0800430c9bdb
|
data/README.md
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/securitycenter/v1/asset.proto
|
3
3
|
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
4
6
|
require 'google/api/resource_pb'
|
5
7
|
require 'google/cloud/securitycenter/v1/folder_pb'
|
6
8
|
require 'google/cloud/securitycenter/v1/security_marks_pb'
|
7
9
|
require 'google/protobuf/struct_pb'
|
8
10
|
require 'google/protobuf/timestamp_pb'
|
9
|
-
require 'google/protobuf'
|
10
11
|
|
11
12
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
12
13
|
add_file("google/cloud/securitycenter/v1/asset.proto", :syntax => :proto3) do
|
@@ -1,10 +1,11 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/securitycenter/v1/bigquery_export.proto
|
3
3
|
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
4
6
|
require 'google/api/field_behavior_pb'
|
5
7
|
require 'google/api/resource_pb'
|
6
8
|
require 'google/protobuf/timestamp_pb'
|
7
|
-
require 'google/protobuf'
|
8
9
|
|
9
10
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
11
|
add_file("google/cloud/securitycenter/v1/bigquery_export.proto", :syntax => :proto3) do
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/cloud/securitycenter/v1/compliance.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_file("google/cloud/securitycenter/v1/compliance.proto", :syntax => :proto3) do
|
8
|
+
add_message "google.cloud.securitycenter.v1.Compliance" do
|
9
|
+
optional :standard, :string, 1
|
10
|
+
optional :version, :string, 2
|
11
|
+
repeated :ids, :string, 3
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
module Google
|
17
|
+
module Cloud
|
18
|
+
module SecurityCenter
|
19
|
+
module V1
|
20
|
+
Compliance = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Compliance").msgclass
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/cloud/securitycenter/v1/exfiltration.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_file("google/cloud/securitycenter/v1/exfiltration.proto", :syntax => :proto3) do
|
8
|
+
add_message "google.cloud.securitycenter.v1.Exfiltration" do
|
9
|
+
repeated :sources, :message, 1, "google.cloud.securitycenter.v1.ExfilResource"
|
10
|
+
repeated :targets, :message, 2, "google.cloud.securitycenter.v1.ExfilResource"
|
11
|
+
end
|
12
|
+
add_message "google.cloud.securitycenter.v1.ExfilResource" do
|
13
|
+
optional :name, :string, 1
|
14
|
+
repeated :components, :string, 2
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
module Google
|
20
|
+
module Cloud
|
21
|
+
module SecurityCenter
|
22
|
+
module V1
|
23
|
+
Exfiltration = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Exfiltration").msgclass
|
24
|
+
ExfilResource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.ExfilResource").msgclass
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -1,9 +1,10 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/securitycenter/v1/external_system.proto
|
3
3
|
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
4
6
|
require 'google/api/resource_pb'
|
5
7
|
require 'google/protobuf/timestamp_pb'
|
6
|
-
require 'google/protobuf'
|
7
8
|
|
8
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
10
|
add_file("google/cloud/securitycenter/v1/external_system.proto", :syntax => :proto3) do
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/cloud/securitycenter/v1/file.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_file("google/cloud/securitycenter/v1/file.proto", :syntax => :proto3) do
|
8
|
+
add_message "google.cloud.securitycenter.v1.File" do
|
9
|
+
optional :path, :string, 1
|
10
|
+
optional :size, :int64, 2
|
11
|
+
optional :sha256, :string, 3
|
12
|
+
optional :hashed_size, :int64, 4
|
13
|
+
optional :partially_hashed, :bool, 5
|
14
|
+
optional :contents, :string, 6
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
module Google
|
20
|
+
module Cloud
|
21
|
+
module SecurityCenter
|
22
|
+
module V1
|
23
|
+
File = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.File").msgclass
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -1,19 +1,23 @@
|
|
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/protobuf'
|
5
|
+
|
4
6
|
require 'google/api/field_behavior_pb'
|
5
7
|
require 'google/api/resource_pb'
|
6
8
|
require 'google/cloud/securitycenter/v1/access_pb'
|
9
|
+
require 'google/cloud/securitycenter/v1/compliance_pb'
|
7
10
|
require 'google/cloud/securitycenter/v1/connection_pb'
|
11
|
+
require 'google/cloud/securitycenter/v1/exfiltration_pb'
|
8
12
|
require 'google/cloud/securitycenter/v1/external_system_pb'
|
9
13
|
require 'google/cloud/securitycenter/v1/iam_binding_pb'
|
10
14
|
require 'google/cloud/securitycenter/v1/indicator_pb'
|
11
15
|
require 'google/cloud/securitycenter/v1/mitre_attack_pb'
|
16
|
+
require 'google/cloud/securitycenter/v1/process_pb'
|
12
17
|
require 'google/cloud/securitycenter/v1/security_marks_pb'
|
13
18
|
require 'google/cloud/securitycenter/v1/vulnerability_pb'
|
14
19
|
require 'google/protobuf/struct_pb'
|
15
20
|
require 'google/protobuf/timestamp_pb'
|
16
|
-
require 'google/protobuf'
|
17
21
|
|
18
22
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
19
23
|
add_file("google/cloud/securitycenter/v1/finding.proto", :syntax => :proto3) do
|
@@ -40,7 +44,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
40
44
|
optional :access, :message, 26, "google.cloud.securitycenter.v1.Access"
|
41
45
|
repeated :connections, :message, 31, "google.cloud.securitycenter.v1.Connection"
|
42
46
|
optional :mute_initiator, :string, 28
|
47
|
+
repeated :processes, :message, 30, "google.cloud.securitycenter.v1.Process"
|
48
|
+
repeated :compliances, :message, 34, "google.cloud.securitycenter.v1.Compliance"
|
43
49
|
optional :description, :string, 37
|
50
|
+
optional :exfiltration, :message, 38, "google.cloud.securitycenter.v1.Exfiltration"
|
44
51
|
repeated :iam_bindings, :message, 39, "google.cloud.securitycenter.v1.IamBinding"
|
45
52
|
optional :next_steps, :string, 40
|
46
53
|
end
|
@@ -1,10 +1,11 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/securitycenter/v1/mute_config.proto
|
3
3
|
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
4
6
|
require 'google/api/field_behavior_pb'
|
5
7
|
require 'google/api/resource_pb'
|
6
8
|
require 'google/protobuf/timestamp_pb'
|
7
|
-
require 'google/protobuf'
|
8
9
|
|
9
10
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
11
|
add_file("google/cloud/securitycenter/v1/mute_config.proto", :syntax => :proto3) do
|
@@ -1,9 +1,10 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/securitycenter/v1/notification_config.proto
|
3
3
|
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
4
6
|
require 'google/api/field_behavior_pb'
|
5
7
|
require 'google/api/resource_pb'
|
6
|
-
require 'google/protobuf'
|
7
8
|
|
8
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
10
|
add_file("google/cloud/securitycenter/v1/notification_config.proto", :syntax => :proto3) do
|
@@ -1,9 +1,10 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/securitycenter/v1/notification_message.proto
|
3
3
|
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
4
6
|
require 'google/cloud/securitycenter/v1/finding_pb'
|
5
7
|
require 'google/cloud/securitycenter/v1/resource_pb'
|
6
|
-
require 'google/protobuf'
|
7
8
|
|
8
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
10
|
add_file("google/cloud/securitycenter/v1/notification_message.proto", :syntax => :proto3) do
|
@@ -1,9 +1,10 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/securitycenter/v1/organization_settings.proto
|
3
3
|
|
4
|
-
require 'google/api/resource_pb'
|
5
4
|
require 'google/protobuf'
|
6
5
|
|
6
|
+
require 'google/api/resource_pb'
|
7
|
+
|
7
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
9
|
add_file("google/cloud/securitycenter/v1/organization_settings.proto", :syntax => :proto3) do
|
9
10
|
add_message "google.cloud.securitycenter.v1.OrganizationSettings" do
|
@@ -0,0 +1,37 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/cloud/securitycenter/v1/process.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/cloud/securitycenter/v1/file_pb'
|
7
|
+
|
8
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
+
add_file("google/cloud/securitycenter/v1/process.proto", :syntax => :proto3) do
|
10
|
+
add_message "google.cloud.securitycenter.v1.Process" do
|
11
|
+
optional :binary, :message, 3, "google.cloud.securitycenter.v1.File"
|
12
|
+
repeated :libraries, :message, 4, "google.cloud.securitycenter.v1.File"
|
13
|
+
optional :script, :message, 5, "google.cloud.securitycenter.v1.File"
|
14
|
+
repeated :args, :string, 6
|
15
|
+
optional :arguments_truncated, :bool, 7
|
16
|
+
repeated :env_variables, :message, 8, "google.cloud.securitycenter.v1.EnvironmentVariable"
|
17
|
+
optional :env_variables_truncated, :bool, 9
|
18
|
+
optional :pid, :int64, 10
|
19
|
+
optional :parent_pid, :int64, 11
|
20
|
+
end
|
21
|
+
add_message "google.cloud.securitycenter.v1.EnvironmentVariable" do
|
22
|
+
optional :name, :string, 1
|
23
|
+
optional :val, :string, 2
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
module Google
|
29
|
+
module Cloud
|
30
|
+
module SecurityCenter
|
31
|
+
module V1
|
32
|
+
Process = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Process").msgclass
|
33
|
+
EnvironmentVariable = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.EnvironmentVariable").msgclass
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
@@ -1,9 +1,10 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/securitycenter/v1/resource.proto
|
3
3
|
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
4
6
|
require 'google/api/field_behavior_pb'
|
5
7
|
require 'google/cloud/securitycenter/v1/folder_pb'
|
6
|
-
require 'google/protobuf'
|
7
8
|
|
8
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
10
|
add_file("google/cloud/securitycenter/v1/resource.proto", :syntax => :proto3) do
|
@@ -1,9 +1,10 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/securitycenter/v1/run_asset_discovery_response.proto
|
3
3
|
|
4
|
-
require 'google/protobuf/duration_pb'
|
5
4
|
require 'google/protobuf'
|
6
5
|
|
6
|
+
require 'google/protobuf/duration_pb'
|
7
|
+
|
7
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
9
|
add_file("google/cloud/securitycenter/v1/run_asset_discovery_response.proto", :syntax => :proto3) do
|
9
10
|
add_message "google.cloud.securitycenter.v1.RunAssetDiscoveryResponse" do
|
@@ -1,9 +1,10 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/securitycenter/v1/security_marks.proto
|
3
3
|
|
4
|
-
require 'google/api/resource_pb'
|
5
4
|
require 'google/protobuf'
|
6
5
|
|
6
|
+
require 'google/api/resource_pb'
|
7
|
+
|
7
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
9
|
add_file("google/cloud/securitycenter/v1/security_marks.proto", :syntax => :proto3) do
|
9
10
|
add_message "google.cloud.securitycenter.v1.SecurityMarks" do
|
@@ -1,6 +1,8 @@
|
|
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/protobuf'
|
5
|
+
|
4
6
|
require 'google/cloud/securitycenter/v1/run_asset_discovery_response_pb'
|
5
7
|
require 'google/api/annotations_pb'
|
6
8
|
require 'google/api/client_pb'
|
@@ -24,7 +26,6 @@ require 'google/protobuf/empty_pb'
|
|
24
26
|
require 'google/protobuf/field_mask_pb'
|
25
27
|
require 'google/protobuf/struct_pb'
|
26
28
|
require 'google/protobuf/timestamp_pb'
|
27
|
-
require 'google/protobuf'
|
28
29
|
|
29
30
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
30
31
|
add_file("google/cloud/securitycenter/v1/securitycenter_service.proto", :syntax => :proto3) do
|
@@ -1,9 +1,10 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/securitycenter/v1/source.proto
|
3
3
|
|
4
|
-
require 'google/api/resource_pb'
|
5
4
|
require 'google/protobuf'
|
6
5
|
|
6
|
+
require 'google/api/resource_pb'
|
7
|
+
|
7
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
9
|
add_file("google/cloud/securitycenter/v1/source.proto", :syntax => :proto3) do
|
9
10
|
add_message "google.cloud.securitycenter.v1.Source" do
|
@@ -0,0 +1,43 @@
|
|
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
|
+
# Contains compliance information about a security standard indicating unmet
|
25
|
+
# recommendations.
|
26
|
+
# @!attribute [rw] standard
|
27
|
+
# @return [::String]
|
28
|
+
# Refers to industry wide standards or benchmarks e.g. "cis", "pci", "owasp",
|
29
|
+
# etc.
|
30
|
+
# @!attribute [rw] version
|
31
|
+
# @return [::String]
|
32
|
+
# Version of the standard/benchmark e.g. 1.1
|
33
|
+
# @!attribute [rw] ids
|
34
|
+
# @return [::Array<::String>]
|
35
|
+
# Policies within the standard/benchmark e.g. A.12.4.1
|
36
|
+
class Compliance
|
37
|
+
include ::Google::Protobuf::MessageExts
|
38
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
@@ -0,0 +1,59 @@
|
|
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
|
+
# Exfiltration represents a data exfiltration attempt of one or more
|
25
|
+
# sources to one or more targets. Sources represent the source
|
26
|
+
# of data that is exfiltrated, and Targets represents the destination the
|
27
|
+
# data was copied to.
|
28
|
+
# @!attribute [rw] sources
|
29
|
+
# @return [::Array<::Google::Cloud::SecurityCenter::V1::ExfilResource>]
|
30
|
+
# If there are multiple sources, then the data is considered "joined" between
|
31
|
+
# them. For instance, BigQuery can join multiple tables, and each
|
32
|
+
# table would be considered a source.
|
33
|
+
# @!attribute [rw] targets
|
34
|
+
# @return [::Array<::Google::Cloud::SecurityCenter::V1::ExfilResource>]
|
35
|
+
# If there are multiple targets, each target would get a complete copy of the
|
36
|
+
# "joined" source data.
|
37
|
+
class Exfiltration
|
38
|
+
include ::Google::Protobuf::MessageExts
|
39
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
40
|
+
end
|
41
|
+
|
42
|
+
# Resource that has been exfiltrated or exfiltrated_to.
|
43
|
+
# @!attribute [rw] name
|
44
|
+
# @return [::String]
|
45
|
+
# Resource's URI (https://google.aip.dev/122#full-resource-names)
|
46
|
+
# @!attribute [rw] components
|
47
|
+
# @return [::Array<::String>]
|
48
|
+
# Subcomponents of the asset that is exfiltrated - these could be
|
49
|
+
# URIs used during exfiltration, table names, databases, filenames, etc.
|
50
|
+
# For example, multiple tables may be exfiltrated from the same CloudSQL
|
51
|
+
# instance, or multiple files from the same Cloud Storage bucket.
|
52
|
+
class ExfilResource
|
53
|
+
include ::Google::Protobuf::MessageExts
|
54
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
@@ -0,0 +1,56 @@
|
|
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
|
+
# File information about the related binary/library used by an executable, or
|
25
|
+
# the script used by a script interpreter
|
26
|
+
# @!attribute [rw] path
|
27
|
+
# @return [::String]
|
28
|
+
# Absolute path of the file as a JSON encoded string.
|
29
|
+
# @!attribute [rw] size
|
30
|
+
# @return [::Integer]
|
31
|
+
# Size of the file in bytes.
|
32
|
+
# @!attribute [rw] sha256
|
33
|
+
# @return [::String]
|
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
|
36
|
+
# of the entire file.
|
37
|
+
# @!attribute [rw] hashed_size
|
38
|
+
# @return [::Integer]
|
39
|
+
# The length in bytes of the file prefix that was hashed. If
|
40
|
+
# hashed_size == size, any hashes reported represent the entire
|
41
|
+
# file.
|
42
|
+
# @!attribute [rw] partially_hashed
|
43
|
+
# @return [::Boolean]
|
44
|
+
# True when the hash covers only a prefix of the file.
|
45
|
+
# @!attribute [rw] contents
|
46
|
+
# @return [::String]
|
47
|
+
# Prefix of the file contents as a JSON encoded string.
|
48
|
+
# (Currently only populated for Malicious Script Executed findings.)
|
49
|
+
class File
|
50
|
+
include ::Google::Protobuf::MessageExts
|
51
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
@@ -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
|
-
# information and external system finding fields.
|
125
|
+
# Output only. Third party SIEM/SOAR fields within SCC, contains external
|
126
|
+
# system 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.
|
@@ -141,9 +141,19 @@ module Google
|
|
141
141
|
# mute operation e.g. mute config that muted the finding, user who muted the
|
142
142
|
# finding, etc. Unlike other attributes of a finding, a finding provider
|
143
143
|
# shouldn't set the value of mute.
|
144
|
+
# @!attribute [rw] processes
|
145
|
+
# @return [::Array<::Google::Cloud::SecurityCenter::V1::Process>]
|
146
|
+
# Represents operating system processes associated with the Finding.
|
147
|
+
# @!attribute [rw] compliances
|
148
|
+
# @return [::Array<::Google::Cloud::SecurityCenter::V1::Compliance>]
|
149
|
+
# Contains compliance information for security standards associated to the
|
150
|
+
# finding.
|
144
151
|
# @!attribute [rw] description
|
145
152
|
# @return [::String]
|
146
153
|
# Contains more detail about the finding.
|
154
|
+
# @!attribute [rw] exfiltration
|
155
|
+
# @return [::Google::Cloud::SecurityCenter::V1::Exfiltration]
|
156
|
+
# Represents exfiltration associated with the Finding.
|
147
157
|
# @!attribute [rw] iam_bindings
|
148
158
|
# @return [::Array<::Google::Cloud::SecurityCenter::V1::IamBinding>]
|
149
159
|
# Represents IAM bindings associated with the Finding.
|
@@ -99,7 +99,6 @@ module Google
|
|
99
99
|
|
100
100
|
# MITRE ATT&CK techniques that can be referenced by SCC findings.
|
101
101
|
# See: https://attack.mitre.org/techniques/enterprise/
|
102
|
-
# Next ID: 31
|
103
102
|
module Technique
|
104
103
|
# Unspecified value.
|
105
104
|
TECHNIQUE_UNSPECIFIED = 0
|
@@ -193,6 +192,9 @@ module Google
|
|
193
192
|
|
194
193
|
# T1484
|
195
194
|
DOMAIN_POLICY_MODIFICATION = 30
|
195
|
+
|
196
|
+
# T1562
|
197
|
+
IMPAIR_DEFENSES = 31
|
196
198
|
end
|
197
199
|
end
|
198
200
|
end
|
@@ -0,0 +1,75 @@
|
|
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 operating system process.
|
25
|
+
# @!attribute [rw] binary
|
26
|
+
# @return [::Google::Cloud::SecurityCenter::V1::File]
|
27
|
+
# File information for the process executable.
|
28
|
+
# @!attribute [rw] libraries
|
29
|
+
# @return [::Array<::Google::Cloud::SecurityCenter::V1::File>]
|
30
|
+
# File information for libraries loaded by the process.
|
31
|
+
# @!attribute [rw] script
|
32
|
+
# @return [::Google::Cloud::SecurityCenter::V1::File]
|
33
|
+
# When the process represents the invocation of a script,
|
34
|
+
# `binary` provides information about the interpreter while `script`
|
35
|
+
# provides information about the script file provided to the
|
36
|
+
# interpreter.
|
37
|
+
# @!attribute [rw] args
|
38
|
+
# @return [::Array<::String>]
|
39
|
+
# Process arguments as JSON encoded strings.
|
40
|
+
# @!attribute [rw] arguments_truncated
|
41
|
+
# @return [::Boolean]
|
42
|
+
# True if `args` is incomplete.
|
43
|
+
# @!attribute [rw] env_variables
|
44
|
+
# @return [::Array<::Google::Cloud::SecurityCenter::V1::EnvironmentVariable>]
|
45
|
+
# Process environment variables.
|
46
|
+
# @!attribute [rw] env_variables_truncated
|
47
|
+
# @return [::Boolean]
|
48
|
+
# True if `env_variables` is incomplete.
|
49
|
+
# @!attribute [rw] pid
|
50
|
+
# @return [::Integer]
|
51
|
+
# The process id.
|
52
|
+
# @!attribute [rw] parent_pid
|
53
|
+
# @return [::Integer]
|
54
|
+
# The parent process id.
|
55
|
+
class Process
|
56
|
+
include ::Google::Protobuf::MessageExts
|
57
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
58
|
+
end
|
59
|
+
|
60
|
+
# EnvironmentVariable is a name-value pair to store environment variables for
|
61
|
+
# Process.
|
62
|
+
# @!attribute [rw] name
|
63
|
+
# @return [::String]
|
64
|
+
# Environment variable name as a JSON encoded string.
|
65
|
+
# @!attribute [rw] val
|
66
|
+
# @return [::String]
|
67
|
+
# Environment variable value as a JSON encoded string.
|
68
|
+
class EnvironmentVariable
|
69
|
+
include ::Google::Protobuf::MessageExts
|
70
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
71
|
+
end
|
72
|
+
end
|
73
|
+
end
|
74
|
+
end
|
75
|
+
end
|
@@ -44,7 +44,7 @@ module Google
|
|
44
44
|
# foo = any.unpack(Foo.class);
|
45
45
|
# }
|
46
46
|
#
|
47
|
-
#
|
47
|
+
# Example 3: Pack and unpack a message in Python.
|
48
48
|
#
|
49
49
|
# foo = Foo(...)
|
50
50
|
# any = Any()
|
@@ -54,7 +54,7 @@ module Google
|
|
54
54
|
# any.Unpack(foo)
|
55
55
|
# ...
|
56
56
|
#
|
57
|
-
#
|
57
|
+
# Example 4: Pack and unpack a message in Go
|
58
58
|
#
|
59
59
|
# foo := &pb.Foo{...}
|
60
60
|
# any, err := anypb.New(foo)
|
@@ -75,7 +75,7 @@ module Google
|
|
75
75
|
#
|
76
76
|
#
|
77
77
|
# JSON
|
78
|
-
#
|
78
|
+
#
|
79
79
|
# The JSON representation of an `Any` value uses the regular
|
80
80
|
# representation of the deserialized, embedded message, with an
|
81
81
|
# additional field `@type` which contains the type URL. Example:
|
@@ -46,8 +46,8 @@ module Google
|
|
46
46
|
|
47
47
|
# `Value` represents a dynamically typed value which can be either
|
48
48
|
# null, a number, a string, a boolean, a recursive struct value, or a
|
49
|
-
# list of values. A producer of value is expected to set one of
|
50
|
-
# variants
|
49
|
+
# list of values. A producer of value is expected to set one of these
|
50
|
+
# variants. Absence of any variant indicates an error.
|
51
51
|
#
|
52
52
|
# The JSON representation for `Value` is JSON value.
|
53
53
|
# @!attribute [rw] null_value
|
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.16.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-06-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -194,8 +194,11 @@ files:
|
|
194
194
|
- lib/google/cloud/securitycenter/v1/access_pb.rb
|
195
195
|
- lib/google/cloud/securitycenter/v1/asset_pb.rb
|
196
196
|
- lib/google/cloud/securitycenter/v1/bigquery_export_pb.rb
|
197
|
+
- lib/google/cloud/securitycenter/v1/compliance_pb.rb
|
197
198
|
- lib/google/cloud/securitycenter/v1/connection_pb.rb
|
199
|
+
- lib/google/cloud/securitycenter/v1/exfiltration_pb.rb
|
198
200
|
- lib/google/cloud/securitycenter/v1/external_system_pb.rb
|
201
|
+
- lib/google/cloud/securitycenter/v1/file_pb.rb
|
199
202
|
- lib/google/cloud/securitycenter/v1/finding_pb.rb
|
200
203
|
- lib/google/cloud/securitycenter/v1/folder_pb.rb
|
201
204
|
- lib/google/cloud/securitycenter/v1/iam_binding_pb.rb
|
@@ -205,6 +208,7 @@ files:
|
|
205
208
|
- lib/google/cloud/securitycenter/v1/notification_config_pb.rb
|
206
209
|
- lib/google/cloud/securitycenter/v1/notification_message_pb.rb
|
207
210
|
- lib/google/cloud/securitycenter/v1/organization_settings_pb.rb
|
211
|
+
- lib/google/cloud/securitycenter/v1/process_pb.rb
|
208
212
|
- lib/google/cloud/securitycenter/v1/resource_pb.rb
|
209
213
|
- lib/google/cloud/securitycenter/v1/run_asset_discovery_response_pb.rb
|
210
214
|
- lib/google/cloud/securitycenter/v1/security_marks_pb.rb
|
@@ -218,8 +222,11 @@ files:
|
|
218
222
|
- proto_docs/google/cloud/securitycenter/v1/access.rb
|
219
223
|
- proto_docs/google/cloud/securitycenter/v1/asset.rb
|
220
224
|
- proto_docs/google/cloud/securitycenter/v1/bigquery_export.rb
|
225
|
+
- proto_docs/google/cloud/securitycenter/v1/compliance.rb
|
221
226
|
- proto_docs/google/cloud/securitycenter/v1/connection.rb
|
227
|
+
- proto_docs/google/cloud/securitycenter/v1/exfiltration.rb
|
222
228
|
- proto_docs/google/cloud/securitycenter/v1/external_system.rb
|
229
|
+
- proto_docs/google/cloud/securitycenter/v1/file.rb
|
223
230
|
- proto_docs/google/cloud/securitycenter/v1/finding.rb
|
224
231
|
- proto_docs/google/cloud/securitycenter/v1/folder.rb
|
225
232
|
- proto_docs/google/cloud/securitycenter/v1/iam_binding.rb
|
@@ -229,6 +236,7 @@ files:
|
|
229
236
|
- proto_docs/google/cloud/securitycenter/v1/notification_config.rb
|
230
237
|
- proto_docs/google/cloud/securitycenter/v1/notification_message.rb
|
231
238
|
- proto_docs/google/cloud/securitycenter/v1/organization_settings.rb
|
239
|
+
- proto_docs/google/cloud/securitycenter/v1/process.rb
|
232
240
|
- proto_docs/google/cloud/securitycenter/v1/resource.rb
|
233
241
|
- proto_docs/google/cloud/securitycenter/v1/run_asset_discovery_response.rb
|
234
242
|
- proto_docs/google/cloud/securitycenter/v1/security_marks.rb
|
@@ -266,7 +274,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
266
274
|
- !ruby/object:Gem::Version
|
267
275
|
version: '0'
|
268
276
|
requirements: []
|
269
|
-
rubygems_version: 3.3.
|
277
|
+
rubygems_version: 3.3.14
|
270
278
|
signing_key:
|
271
279
|
specification_version: 4
|
272
280
|
summary: API Client library for the Cloud Security Command Center V1 API
|