Debian Codegraph @

securitycenter/apiv2/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/v2/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
40 // combination.
41 type ToxicCombination struct {
42 state protoimpl.MessageState
43 sizeCache protoimpl.SizeCache
44 unknownFields protoimpl.UnknownFields
45
46 // The
47 // [Attack exposure
48 // score](https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_exposure_scores)
49 // of this toxic combination. The score is a measure of how much this toxic
50 // combination exposes one or more high-value resources to potential attack.
51 AttackExposureScore float64 `protobuf:"fixed64,1,opt,name=attack_exposure_score,json=attackExposureScore,proto3" json:"attack_exposure_score,omitempty"`
52 // List of resource names of findings associated with this toxic combination.
53 // For example, `organizations/123/sources/456/findings/789`.
54 RelatedFindings []string `protobuf:"bytes,2,rep,name=related_findings,json=relatedFindings,proto3" json:"related_findings,omitempty"`
55 }
56
57 func (x *ToxicCombination) Reset() {
58 *x = ToxicCombination{}
59 mi := &file_google_cloud_securitycenter_v2_toxic_combination_proto_msgTypes[0]
60 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
61 ms.StoreMessageInfo(mi)
62 }
63
64 func (x *ToxicCombination) String() string {
65 return protoimpl.X.MessageStringOf(x)
66 }
67
68 func (*ToxicCombination) ProtoMessage() {}
69
70 func (x *ToxicCombination) ProtoReflect() protoreflect.Message {
71 mi := &file_google_cloud_securitycenter_v2_toxic_combination_proto_msgTypes[0]
72 if x != nil {
73 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
74 if ms.LoadMessageInfo() == nil {
75 ms.StoreMessageInfo(mi)
76 }
77 return ms
78 }
79 return mi.MessageOf(x)
80 }
81
82 // Deprecated: Use ToxicCombination.ProtoReflect.Descriptor instead.
83 func (*ToxicCombination) Descriptor() ([]byte, []int) {
84 return file_google_cloud_securitycenter_v2_toxic_combination_proto_rawDescGZIP(), []int{0}
85 }
86
87 func (x *ToxicCombination) GetAttackExposureScore() float64 {
88 if x != nil {
89 return x.AttackExposureScore
90 }
91 return 0
92 }
93
94 func (x *ToxicCombination) GetRelatedFindings() []string {
95 if x != nil {
96 return x.RelatedFindings
97 }
98 return nil
99 }
100
101 var File_google_cloud_securitycenter_v2_toxic_combination_proto protoreflect.FileDescriptor
102
103 var file_google_cloud_securitycenter_v2_toxic_combination_proto_rawDesc = []byte{
104 0x0a, 0x36, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73,
105 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x32,
106 0x2f, 0x74, 0x6f, 0x78, 0x69, 0x63, 0x5f, 0x63, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x61, 0x74, 0x69,
107 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
108 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63,
109 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x22, 0x71, 0x0a, 0x10, 0x54, 0x6f, 0x78, 0x69,
110 0x63, 0x43, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x0a, 0x15,
111 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x5f, 0x65, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x5f,
112 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x13, 0x61, 0x74, 0x74,
113 0x61, 0x63, 0x6b, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x53, 0x63, 0x6f, 0x72, 0x65,
114 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x6e, 0x64,
115 0x69, 0x6e, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x6c, 0x61,
116 0x74, 0x65, 0x64, 0x46, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x42, 0xef, 0x01, 0x0a, 0x22,
117 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
118 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e,
119 0x76, 0x32, 0x42, 0x15, 0x54, 0x6f, 0x78, 0x69, 0x63, 0x43, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x61,
120 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x63, 0x6c, 0x6f,
121 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f,
122 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f,
123 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65,
124 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0x3b, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63,
125 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0xaa, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
126 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43,
127 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x56, 0x32, 0xca, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
128 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79,
129 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5c, 0x56, 0x32, 0xea, 0x02, 0x21, 0x47, 0x6f, 0x6f, 0x67,
130 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x53, 0x65, 0x63, 0x75, 0x72,
131 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x32, 0x62, 0x06, 0x70,
132 0x72, 0x6f, 0x74, 0x6f, 0x33,
133 }
134
135 var (
136 file_google_cloud_securitycenter_v2_toxic_combination_proto_rawDescOnce sync.Once
137 file_google_cloud_securitycenter_v2_toxic_combination_proto_rawDescData = file_google_cloud_securitycenter_v2_toxic_combination_proto_rawDesc
138 )
139
140 func file_google_cloud_securitycenter_v2_toxic_combination_proto_rawDescGZIP() []byte {
141 file_google_cloud_securitycenter_v2_toxic_combination_proto_rawDescOnce.Do(func() {
142 file_google_cloud_securitycenter_v2_toxic_combination_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_securitycenter_v2_toxic_combination_proto_rawDescData)
143 })
144 return file_google_cloud_securitycenter_v2_toxic_combination_proto_rawDescData
145 }
146
147 var file_google_cloud_securitycenter_v2_toxic_combination_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
148 var file_google_cloud_securitycenter_v2_toxic_combination_proto_goTypes = []any{
149 (*ToxicCombination)(nil), // 0: google.cloud.securitycenter.v2.ToxicCombination
150 }
151 var file_google_cloud_securitycenter_v2_toxic_combination_proto_depIdxs = []int32{
152 0, // [0:0] is the sub-list for method output_type
153 0, // [0:0] is the sub-list for method input_type
154 0, // [0:0] is the sub-list for extension type_name
155 0, // [0:0] is the sub-list for extension extendee
156 0, // [0:0] is the sub-list for field type_name
157 }
158
159 func init() { file_google_cloud_securitycenter_v2_toxic_combination_proto_init() }
160 func file_google_cloud_securitycenter_v2_toxic_combination_proto_init() {
161 if File_google_cloud_securitycenter_v2_toxic_combination_proto != nil {
162 return
163 }
164 type x struct{}
165 out := protoimpl.TypeBuilder{
166 File: protoimpl.DescBuilder{
167 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
168 RawDescriptor: file_google_cloud_securitycenter_v2_toxic_combination_proto_rawDesc,
169 NumEnums: 0,
170 NumMessages: 1,
171 NumExtensions: 0,
172 NumServices: 0,
173 },
174 GoTypes: file_google_cloud_securitycenter_v2_toxic_combination_proto_goTypes,
175 DependencyIndexes: file_google_cloud_securitycenter_v2_toxic_combination_proto_depIdxs,
176 MessageInfos: file_google_cloud_securitycenter_v2_toxic_combination_proto_msgTypes,
177 }.Build()
178 File_google_cloud_securitycenter_v2_toxic_combination_proto = out.File
179 file_google_cloud_securitycenter_v2_toxic_combination_proto_rawDesc = nil
180 file_google_cloud_securitycenter_v2_toxic_combination_proto_goTypes = nil
181 file_google_cloud_securitycenter_v2_toxic_combination_proto_depIdxs = nil
182 }