Skip to content

Commit

Permalink
Copy lintified proto files (via synth). (#7474)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and tseaver committed Mar 1, 2019
1 parent 8b31882 commit 52510bd
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ option java_multiple_files = true;
option java_outer_classname = "CrawledUrlProto";
option java_package = "com.google.cloud.websecurityscanner.v1alpha";


// A CrawledUrl resource represents a URL that was crawled during a ScanRun. Web
// Security Scanner Service crawls the web applications, following all links
// within the scope of sites, to find the URLs to test against.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ option java_multiple_files = true;
option java_outer_classname = "FindingProto";
option java_package = "com.google.cloud.websecurityscanner.v1alpha";


// A Finding resource represents a vulnerability instance identified during a
// ScanRun.
message Finding {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ option java_multiple_files = true;
option java_outer_classname = "FindingAddonProto";
option java_package = "com.google.cloud.websecurityscanner.v1alpha";


// Information reported for an outdated library.
message OutdatedLibrary {
// The name of the outdated library.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ option java_multiple_files = true;
option java_outer_classname = "FindingTypeStatsProto";
option java_package = "com.google.cloud.websecurityscanner.v1alpha";


// A FindingTypeStats resource represents stats regarding a specific FindingType
// of Findings under a given ScanRun.
message FindingTypeStats {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ option java_multiple_files = true;
option java_outer_classname = "ScanConfigProto";
option java_package = "com.google.cloud.websecurityscanner.v1alpha";


// A ScanConfig resource contains the configurations to launch a scan.
message ScanConfig {
// Scan authentication configuration.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ option java_multiple_files = true;
option java_outer_classname = "ScanRunProto";
option java_package = "com.google.cloud.websecurityscanner.v1alpha";


// A ScanRun is a output-only resource representing an actual run of the scan.
message ScanRun {
// Types of ScanRun execution state.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ option java_multiple_files = true;
option java_outer_classname = "WebSecurityScannerProto";
option java_package = "com.google.cloud.websecurityscanner.v1alpha";


// Cloud Web Security Scanner Service identifies security vulnerabilities in web
// applications hosted on Google Cloud Platform. It crawls your application, and
// attempts to exercise as many user inputs and event handlers as possible.
Expand All @@ -44,7 +43,8 @@ service WebSecurityScanner {
}

// Deletes an existing ScanConfig and its child resources.
rpc DeleteScanConfig(DeleteScanConfigRequest) returns (google.protobuf.Empty) {
rpc DeleteScanConfig(DeleteScanConfigRequest)
returns (google.protobuf.Empty) {
option (google.api.http) = {
delete: "/v1alpha/{name=projects/*/scanConfigs/*}"
};
Expand All @@ -58,7 +58,8 @@ service WebSecurityScanner {
}

// Lists ScanConfigs under a given project.
rpc ListScanConfigs(ListScanConfigsRequest) returns (ListScanConfigsResponse) {
rpc ListScanConfigs(ListScanConfigsRequest)
returns (ListScanConfigsResponse) {
option (google.api.http) = {
get: "/v1alpha/{parent=projects/*}/scanConfigs"
};
Expand Down Expand Up @@ -104,7 +105,8 @@ service WebSecurityScanner {
}

// List CrawledUrls under a given ScanRun.
rpc ListCrawledUrls(ListCrawledUrlsRequest) returns (ListCrawledUrlsResponse) {
rpc ListCrawledUrls(ListCrawledUrlsRequest)
returns (ListCrawledUrlsResponse) {
option (google.api.http) = {
get: "/v1alpha/{parent=projects/*/scanConfigs/*/scanRuns/*}/crawledUrls"
};
Expand All @@ -125,7 +127,8 @@ service WebSecurityScanner {
}

// List all FindingTypeStats under a given ScanRun.
rpc ListFindingTypeStats(ListFindingTypeStatsRequest) returns (ListFindingTypeStatsResponse) {
rpc ListFindingTypeStats(ListFindingTypeStatsRequest)
returns (ListFindingTypeStatsResponse) {
option (google.api.http) = {
get: "/v1alpha/{parent=projects/*/scanConfigs/*/scanRuns/*}/findingTypeStats"
};
Expand Down
12 changes: 6 additions & 6 deletions packages/google-cloud-websecurityscanner/synth.metadata
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
{
"updateTime": "2019-02-20T18:24:02.159762Z",
"updateTime": "2019-03-01T13:33:38.360958Z",
"sources": [
{
"generator": {
"name": "artman",
"version": "0.16.13",
"dockerImage": "googleapis/artman@sha256:5fd9aee1d82a00cebf425c8fa431f5457539562f5867ad9c54370f0ec9a7ccaa"
"version": "0.16.14",
"dockerImage": "googleapis/artman@sha256:f3d61ae45abaeefb6be5f228cda22732c2f1b00fb687c79c4bd4f2c42bb1e1a7"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "18ab81eec27942a942622d5a8d9c9e7a202e8c16",
"internalRef": "234814197"
"sha": "41d72d444fbe445f4da89e13be02078734fb7875",
"internalRef": "236230004"
}
},
{
"template": {
"name": "python_library",
"origin": "synthtool.gcp",
"version": "2019.1.16"
"version": "2019.2.26"
}
}
],
Expand Down

0 comments on commit 52510bd

Please sign in to comment.