|
| 1 | +// Copyright 2026 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 | +syntax = "proto3"; |
| 16 | + |
| 17 | +package google.cloud.securitycenter.v1; |
| 18 | + |
| 19 | +import "google/api/field_info.proto"; |
| 20 | + |
| 21 | +option csharp_namespace = "Google.Cloud.SecurityCenter.V1"; |
| 22 | +option go_package = "cloud.google.com/go/securitycenter/apiv1/securitycenterpb;securitycenterpb"; |
| 23 | +option java_multiple_files = true; |
| 24 | +option java_outer_classname = "ExternalExposureProto"; |
| 25 | +option java_package = "com.google.cloud.securitycenter.v1"; |
| 26 | +option php_namespace = "Google\\Cloud\\SecurityCenter\\V1"; |
| 27 | +option ruby_package = "Google::Cloud::SecurityCenter::V1"; |
| 28 | + |
| 29 | +// Details about the externally exposed resource associated with the finding. |
| 30 | +message ExternalExposure { |
| 31 | + // Private IP address of the exposed endpoint. |
| 32 | + string private_ip_address = 1 [(google.api.field_info).format = IPV4_OR_IPV6]; |
| 33 | + |
| 34 | + // Port number associated with private IP address. |
| 35 | + string private_port = 2; |
| 36 | + |
| 37 | + // The name and version of the service, for example, "Jupyter |
| 38 | + // Notebook 6.14.0". |
| 39 | + string exposed_service = 3; |
| 40 | + |
| 41 | + // Public IP address of the exposed endpoint. |
| 42 | + string public_ip_address = 4 [(google.api.field_info).format = IPV4_OR_IPV6]; |
| 43 | + |
| 44 | + // Public port number of the exposed endpoint. |
| 45 | + string public_port = 5; |
| 46 | + |
| 47 | + // The resource which is running the exposed service, for example, |
| 48 | + // "//compute.googleapis.com/projects/{project-id}/zones/{zone}/instances/{instance}.” |
| 49 | + string exposed_endpoint = 6; |
| 50 | + |
| 51 | + // The full resource name of the load balancer firewall policy, for example, |
| 52 | + // "//compute.googleapis.com/projects/{project-id}/global/firewallPolicies/{policy-name}". |
| 53 | + string load_balancer_firewall_policy = 7; |
| 54 | + |
| 55 | + // The full resource name of the firewall policy of the exposed service, for |
| 56 | + // example, |
| 57 | + // "//compute.googleapis.com/projects/{project-id}/global/firewallPolicies/{policy-name}". |
| 58 | + string service_firewall_policy = 8; |
| 59 | + |
| 60 | + // The full resource name of the forwarding rule, for example, |
| 61 | + // "//compute.googleapis.com/projects/{project-id}/global/forwardingRules/{forwarding-rule-name}". |
| 62 | + string forwarding_rule = 9; |
| 63 | + |
| 64 | + // The full resource name of load balancer backend service, for example, |
| 65 | + // "//compute.googleapis.com/projects/{project-id}/global/backendServices/{name}". |
| 66 | + string backend_service = 10; |
| 67 | + |
| 68 | + // The full resource name of the instance group, for example, |
| 69 | + // "//compute.googleapis.com/projects/{project-id}/global/instanceGroups/{name}". |
| 70 | + string instance_group = 11; |
| 71 | + |
| 72 | + // The full resource name of the network endpoint group, for example, |
| 73 | + // "//compute.googleapis.com/projects/{project-id}/global/networkEndpointGroups/{name}". |
| 74 | + string network_endpoint_group = 12; |
| 75 | +} |
0 commit comments