🤬
  • Deprecate `network_service` with `network_endpoint` in `CrawlConfig`.

    PiperOrigin-RevId: 416210800
    Change-Id: I63cbf60e9f859aa7f9724febe314bcb1b00f9b34
  • Loading...
  • Tsunami Team committed with Copybara-Service 2 years ago
    ab7fbab7
    1 parent 0f819637
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
  • ■ ■ ■ ■ ■
    proto/web_crawl.proto
    skipped 19 lines
    20 20  package tsunami.proto;
    21 21   
    22 22  import "network_service.proto";
     23 +import "network.proto";
    23 24   
    24 25  option java_multiple_files = true;
    25 26  option java_outer_classname = "WebCrawlProtos";
    26 27  option java_package = "com.google.tsunami.proto";
    27 28  option go_package = "github.com/google/tsunami-security-scanner/proto";
    28 29   
    29  -// Next ID: 6
     30 +// Next ID: 7
    30 31  message CrawlConfig {
    31 32   // The crawler should only interact with web resources under certain scopes.
    32 33   message Scope {
    skipped 26 lines
    59 60   bool should_enforce_scope_check = 5;
    60 61   
    61 62   // The network service to be crawled.
     63 + // DEPRECATED. Use network_endpoint instead.
     64 + NetworkService network_service = 4 [deprecated = true];
     65 + 
     66 + // The network endpoint to be crawled.
    62 67   // Required.
    63  - NetworkService network_service = 4;
     68 + NetworkEndpoint network_endpoint = 6;
    64 69  }
    65 70   
    66 71  message CrawlTarget {
    skipped 27 lines
Please wait...
Page is in error, reload to recover