Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the go_package option to the protobuf files #57

Merged
merged 1 commit into from
Dec 3, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions proto/detection.proto
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import "vulnerability.proto";
option java_multiple_files = true;
option java_outer_classname = "DetectionProtos";
option java_package = "com.google.tsunami.proto";
option go_package = "github.com/google/tsunami-security-scanner/proto";

// Status of the vulnerability detection result.
enum DetectionStatus {
Expand Down
1 change: 1 addition & 0 deletions proto/network.proto
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ package tsunami.proto;
option java_multiple_files = true;
option java_outer_classname = "NetworkProtos";
option java_package = "com.google.tsunami.proto";
option go_package = "github.com/google/tsunami-security-scanner/proto";

// The address family of an IP address.
enum AddressFamily {
Expand Down
1 change: 1 addition & 0 deletions proto/network_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import "software.proto";
option java_multiple_files = true;
option java_outer_classname = "NetworkServiceProtos";
option java_package = "com.google.tsunami.proto";
option go_package = "github.com/google/tsunami-security-scanner/proto";

// General information about a network service running on a target.
message NetworkService {
Expand Down
1 change: 1 addition & 0 deletions proto/reconnaissance.proto
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import "network_service.proto";
option java_multiple_files = true;
option java_outer_classname = "ReconnaissanceProtos";
option java_package = "com.google.tsunami.proto";
option go_package = "github.com/google/tsunami-security-scanner/proto";

// Detailed information about the scanning target.
message TargetInfo {
Expand Down
1 change: 1 addition & 0 deletions proto/scan_results.proto
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import "vulnerability.proto";
option java_multiple_files = true;
option java_outer_classname = "ScanResultsProtos";
option java_package = "com.google.tsunami.proto";
option go_package = "github.com/google/tsunami-security-scanner/proto";

// Execution status of the scan.
// NEXT ID: 5
Expand Down
1 change: 1 addition & 0 deletions proto/scan_target.proto
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import "network.proto";
option java_multiple_files = true;
option java_outer_classname = "ScanTargetProtos";
option java_package = "com.google.tsunami.proto";
option go_package = "github.com/google/tsunami-security-scanner/proto";

// The information about a scan target.
message ScanTarget {
Expand Down
1 change: 1 addition & 0 deletions proto/software.proto
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ package tsunami.proto;
option java_multiple_files = true;
option java_outer_classname = "SoftwareProtos";
option java_package = "com.google.tsunami.proto";
option go_package = "github.com/google/tsunami-security-scanner/proto";

// The exact version of a software.
message Version {
Expand Down
1 change: 1 addition & 0 deletions proto/vulnerability.proto
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ package tsunami.proto;
option java_multiple_files = true;
option java_outer_classname = "VulnerabilityProtos";
option java_package = "com.google.tsunami.proto";
option go_package = "github.com/google/tsunami-security-scanner/proto";

// Severity of a vulnerability.
enum Severity {
Expand Down
1 change: 1 addition & 0 deletions proto/web_crawl.proto
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ package tsunami.proto;
option java_multiple_files = true;
option java_outer_classname = "WebCrawlProtos";
option java_package = "com.google.tsunami.proto";
option go_package = "github.com/google/tsunami-security-scanner/proto";

message CrawlConfig {
// The crawler should only interact with web resources under certain scopes.
Expand Down