Debian Codegraph @

securitycenter/apiv2/securitycenterpb/chokepoint.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/chokepoint.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 chokepoint, which is a resource or resource group
38 // where high-risk attack paths converge, based on [attack path simulations]
39 // (https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_path_simulations).
40 type Chokepoint struct {
41 state protoimpl.MessageState
42 sizeCache protoimpl.SizeCache
43 unknownFields protoimpl.UnknownFields
44
45 // List of resource names of findings associated with this chokepoint.
46 // For example, organizations/123/sources/456/findings/789.
47 // This list will have at most 100 findings.
48 RelatedFindings []string `protobuf:"bytes,1,rep,name=related_findings,json=relatedFindings,proto3" json:"related_findings,omitempty"`
49 }
50
51 func (x *Chokepoint) Reset() {
52 *x = Chokepoint{}
53 mi := &file_google_cloud_securitycenter_v2_chokepoint_proto_msgTypes[0]
54 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
55 ms.StoreMessageInfo(mi)
56 }
57
58 func (x *Chokepoint) String() string {
59 return protoimpl.X.MessageStringOf(x)
60 }
61
62 func (*Chokepoint) ProtoMessage() {}
63
64 func (x *Chokepoint) ProtoReflect() protoreflect.Message {
65 mi := &file_google_cloud_securitycenter_v2_chokepoint_proto_msgTypes[0]
66 if x != nil {
67 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
68 if ms.LoadMessageInfo() == nil {
69 ms.StoreMessageInfo(mi)
70 }
71 return ms
72 }
73 return mi.MessageOf(x)
74 }
75
76 // Deprecated: Use Chokepoint.ProtoReflect.Descriptor instead.
77 func (*Chokepoint) Descriptor() ([]byte, []int) {
78 return file_google_cloud_securitycenter_v2_chokepoint_proto_rawDescGZIP(), []int{0}
79 }
80
81 func (x *Chokepoint) GetRelatedFindings() []string {
82 if x != nil {
83 return x.RelatedFindings
84 }
85 return nil
86 }
87
88 var File_google_cloud_securitycenter_v2_chokepoint_proto protoreflect.FileDescriptor
89
90 var file_google_cloud_securitycenter_v2_chokepoint_proto_rawDesc = []byte{
91 0x0a, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73,
92 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x32,
93 0x2f, 0x63, 0x68, 0x6f, 0x6b, 0x65, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74,
94 0x6f, 0x12, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
95 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76,
96 0x32, 0x22, 0x37, 0x0a, 0x0a, 0x43, 0x68, 0x6f, 0x6b, 0x65, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12,
97 0x29, 0x0a, 0x10, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x6e, 0x64, 0x69,
98 0x6e, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x6c, 0x61, 0x74,
99 0x65, 0x64, 0x46, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x42, 0xe9, 0x01, 0x0a, 0x22, 0x63,
100 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
101 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76,
102 0x32, 0x42, 0x0f, 0x43, 0x68, 0x6f, 0x6b, 0x65, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x50, 0x72, 0x6f,
103 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
104 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69,
105 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x73,
106 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0x3b,
107 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62,
108 0xaa, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
109 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x56,
110 0x32, 0xca, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64,
111 0x5c, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5c,
112 0x56, 0x32, 0xea, 0x02, 0x21, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f,
113 0x75, 0x64, 0x3a, 0x3a, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74,
114 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
115 }
116
117 var (
118 file_google_cloud_securitycenter_v2_chokepoint_proto_rawDescOnce sync.Once
119 file_google_cloud_securitycenter_v2_chokepoint_proto_rawDescData = file_google_cloud_securitycenter_v2_chokepoint_proto_rawDesc
120 )
121
122 func file_google_cloud_securitycenter_v2_chokepoint_proto_rawDescGZIP() []byte {
123 file_google_cloud_securitycenter_v2_chokepoint_proto_rawDescOnce.Do(func() {
124 file_google_cloud_securitycenter_v2_chokepoint_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_securitycenter_v2_chokepoint_proto_rawDescData)
125 })
126 return file_google_cloud_securitycenter_v2_chokepoint_proto_rawDescData
127 }
128
129 var file_google_cloud_securitycenter_v2_chokepoint_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
130 var file_google_cloud_securitycenter_v2_chokepoint_proto_goTypes = []any{
131 (*Chokepoint)(nil), // 0: google.cloud.securitycenter.v2.Chokepoint
132 }
133 var file_google_cloud_securitycenter_v2_chokepoint_proto_depIdxs = []int32{
134 0, // [0:0] is the sub-list for method output_type
135 0, // [0:0] is the sub-list for method input_type
136 0, // [0:0] is the sub-list for extension type_name
137 0, // [0:0] is the sub-list for extension extendee
138 0, // [0:0] is the sub-list for field type_name
139 }
140
141 func init() { file_google_cloud_securitycenter_v2_chokepoint_proto_init() }
142 func file_google_cloud_securitycenter_v2_chokepoint_proto_init() {
143 if File_google_cloud_securitycenter_v2_chokepoint_proto != nil {
144 return
145 }
146 type x struct{}
147 out := protoimpl.TypeBuilder{
148 File: protoimpl.DescBuilder{
149 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
150 RawDescriptor: file_google_cloud_securitycenter_v2_chokepoint_proto_rawDesc,
151 NumEnums: 0,
152 NumMessages: 1,
153 NumExtensions: 0,
154 NumServices: 0,
155 },
156 GoTypes: file_google_cloud_securitycenter_v2_chokepoint_proto_goTypes,
157 DependencyIndexes: file_google_cloud_securitycenter_v2_chokepoint_proto_depIdxs,
158 MessageInfos: file_google_cloud_securitycenter_v2_chokepoint_proto_msgTypes,
159 }.Build()
160 File_google_cloud_securitycenter_v2_chokepoint_proto = out.File
161 file_google_cloud_securitycenter_v2_chokepoint_proto_rawDesc = nil
162 file_google_cloud_securitycenter_v2_chokepoint_proto_goTypes = nil
163 file_google_cloud_securitycenter_v2_chokepoint_proto_depIdxs = nil
164 }