Debian Codegraph @

securitycenter/apiv1/securitycenterpb/toxic_combination.pb.go

raw
1 // Copyright 2025 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.35.2
18 // protoc v4.25.7
19 // source: google/cloud/securitycenter/v1/toxic_combination.proto
20
21 package securitycenterpb
22
23 import (
24 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
25 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
26 reflect "reflect"
27 sync "sync"
28 )
29
30 const (
31 // Verify that this generated code is sufficiently up-to-date.
32 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
33 // Verify that runtime/protoimpl is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
35 )
36
37 // Contains details about a group of security issues that, when the issues
38 // occur together, represent a greater risk than when the issues occur
39 // independently. A group of such issues is referred to as a toxic combination.
40 type ToxicCombination struct {
41 state protoimpl.MessageState
42 sizeCache protoimpl.SizeCache
43 unknownFields protoimpl.UnknownFields
44
45 // The
46 // [Attack exposure
47 // score](https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_exposure_scores)
48 // of this toxic combination. The score is a measure of how much this toxic
49 // combination exposes one or more high-value resources to potential attack.
50 AttackExposureScore float64 `protobuf:"fixed64,1,opt,name=attack_exposure_score,json=attackExposureScore,proto3" json:"attack_exposure_score,omitempty"`
51 // List of resource names of findings associated with this toxic combination.
52 // For example, `organizations/123/sources/456/findings/789`.
53 RelatedFindings []string `protobuf:"bytes,2,rep,name=related_findings,json=relatedFindings,proto3" json:"related_findings,omitempty"`
54 }
55
56 func (x *ToxicCombination) Reset() {
57 *x = ToxicCombination{}
58 mi := &file_google_cloud_securitycenter_v1_toxic_combination_proto_msgTypes[0]
59 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
60 ms.StoreMessageInfo(mi)
61 }
62
63 func (x *ToxicCombination) String() string {
64 return protoimpl.X.MessageStringOf(x)
65 }
66
67 func (*ToxicCombination) ProtoMessage() {}
68
69 func (x *ToxicCombination) ProtoReflect() protoreflect.Message {
70 mi := &file_google_cloud_securitycenter_v1_toxic_combination_proto_msgTypes[0]
71 if x != nil {
72 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
73 if ms.LoadMessageInfo() == nil {
74 ms.StoreMessageInfo(mi)
75 }
76 return ms
77 }
78 return mi.MessageOf(x)
79 }
80
81 // Deprecated: Use ToxicCombination.ProtoReflect.Descriptor instead.
82 func (*ToxicCombination) Descriptor() ([]byte, []int) {
83 return file_google_cloud_securitycenter_v1_toxic_combination_proto_rawDescGZIP(), []int{0}
84 }
85
86 func (x *ToxicCombination) GetAttackExposureScore() float64 {
87 if x != nil {
88 return x.AttackExposureScore
89 }
90 return 0
91 }
92
93 func (x *ToxicCombination) GetRelatedFindings() []string {
94 if x != nil {
95 return x.RelatedFindings
96 }
97 return nil
98 }
99
100 var File_google_cloud_securitycenter_v1_toxic_combination_proto protoreflect.FileDescriptor
101
102 var file_google_cloud_securitycenter_v1_toxic_combination_proto_rawDesc = []byte{
103 0x0a, 0x36, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73,
104 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x31,
105 0x2f, 0x74, 0x6f, 0x78, 0x69, 0x63, 0x5f, 0x63, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x61, 0x74, 0x69,
106 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
107 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63,
108 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x22, 0x71, 0x0a, 0x10, 0x54, 0x6f, 0x78, 0x69,
109 0x63, 0x43, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x0a, 0x15,
110 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x5f, 0x65, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x5f,
111 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x13, 0x61, 0x74, 0x74,
112 0x61, 0x63, 0x6b, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x53, 0x63, 0x6f, 0x72, 0x65,
113 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x6e, 0x64,
114 0x69, 0x6e, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x6c, 0x61,
115 0x74, 0x65, 0x64, 0x46, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x42, 0xef, 0x01, 0x0a, 0x22,
116 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
117 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e,
118 0x76, 0x31, 0x42, 0x15, 0x54, 0x6f, 0x78, 0x69, 0x63, 0x43, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x61,
119 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x63, 0x6c, 0x6f,
120 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f,
121 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f,
122 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65,
123 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0x3b, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63,
124 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0xaa, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
125 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43,
126 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
127 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79,
128 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x21, 0x47, 0x6f, 0x6f, 0x67,
129 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x53, 0x65, 0x63, 0x75, 0x72,
130 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70,
131 0x72, 0x6f, 0x74, 0x6f, 0x33,
132 }
133
134 var (
135 file_google_cloud_securitycenter_v1_toxic_combination_proto_rawDescOnce sync.Once
136 file_google_cloud_securitycenter_v1_toxic_combination_proto_rawDescData = file_google_cloud_securitycenter_v1_toxic_combination_proto_rawDesc
137 )
138
139 func file_google_cloud_securitycenter_v1_toxic_combination_proto_rawDescGZIP() []byte {
140 file_google_cloud_securitycenter_v1_toxic_combination_proto_rawDescOnce.Do(func() {
141 file_google_cloud_securitycenter_v1_toxic_combination_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_securitycenter_v1_toxic_combination_proto_rawDescData)
142 })
143 return file_google_cloud_securitycenter_v1_toxic_combination_proto_rawDescData
144 }
145
146 var file_google_cloud_securitycenter_v1_toxic_combination_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
147 var file_google_cloud_securitycenter_v1_toxic_combination_proto_goTypes = []any{
148 (*ToxicCombination)(nil), // 0: google.cloud.securitycenter.v1.ToxicCombination
149 }
150 var file_google_cloud_securitycenter_v1_toxic_combination_proto_depIdxs = []int32{
151 0, // [0:0] is the sub-list for method output_type
152 0, // [0:0] is the sub-list for method input_type
153 0, // [0:0] is the sub-list for extension type_name
154 0, // [0:0] is the sub-list for extension extendee
155 0, // [0:0] is the sub-list for field type_name
156 }
157
158 func init() { file_google_cloud_securitycenter_v1_toxic_combination_proto_init() }
159 func file_google_cloud_securitycenter_v1_toxic_combination_proto_init() {
160 if File_google_cloud_securitycenter_v1_toxic_combination_proto != nil {
161 return
162 }
163 type x struct{}
164 out := protoimpl.TypeBuilder{
165 File: protoimpl.DescBuilder{
166 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
167 RawDescriptor: file_google_cloud_securitycenter_v1_toxic_combination_proto_rawDesc,
168 NumEnums: 0,
169 NumMessages: 1,
170 NumExtensions: 0,
171 NumServices: 0,
172 },
173 GoTypes: file_google_cloud_securitycenter_v1_toxic_combination_proto_goTypes,
174 DependencyIndexes: file_google_cloud_securitycenter_v1_toxic_combination_proto_depIdxs,
175 MessageInfos: file_google_cloud_securitycenter_v1_toxic_combination_proto_msgTypes,
176 }.Build()
177 File_google_cloud_securitycenter_v1_toxic_combination_proto = out.File
178 file_google_cloud_securitycenter_v1_toxic_combination_proto_rawDesc = nil
179 file_google_cloud_securitycenter_v1_toxic_combination_proto_goTypes = nil
180 file_google_cloud_securitycenter_v1_toxic_combination_proto_depIdxs = nil
181 }