1// Copyright 2022 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 15syntax = "proto3"; 16 17package google.cloud.websecurityscanner.v1; 18 19import "google/cloud/websecurityscanner/v1/scan_run.proto"; 20import "google/cloud/websecurityscanner/v1/scan_run_error_trace.proto"; 21 22option csharp_namespace = "Google.Cloud.WebSecurityScanner.V1"; 23option go_package = "cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb;websecurityscannerpb"; 24option java_multiple_files = true; 25option java_outer_classname = "ScanRunLogProto"; 26option java_package = "com.google.cloud.websecurityscanner.v1"; 27option php_namespace = "Google\\Cloud\\WebSecurityScanner\\V1"; 28option ruby_package = "Google::Cloud::WebSecurityScanner::V1"; 29 30// A ScanRunLog is an output-only proto used for Stackdriver customer logging. 31// It is used for logs covering the start and end of scan pipelines. 32// Other than an added summary, this is a subset of the ScanRun. 33// Representation in logs is either a proto Struct, or converted to JSON. 34// Next id: 9 35message ScanRunLog { 36 // Human friendly message about the event. 37 string summary = 1; 38 39 // The resource name of the ScanRun being logged. 40 string name = 2; 41 42 // The execution state of the ScanRun. 43 google.cloud.websecurityscanner.v1.ScanRun.ExecutionState execution_state = 3; 44 45 // The result state of the ScanRun. 46 google.cloud.websecurityscanner.v1.ScanRun.ResultState result_state = 4; 47 48 int64 urls_crawled_count = 5; 49 50 int64 urls_tested_count = 6; 51 52 bool has_findings = 7; 53 54 google.cloud.websecurityscanner.v1.ScanRunErrorTrace error_trace = 8; 55} 56