🤬
  • Add a new CrawlConfig option for enforcing crawling scope checks.

    PiperOrigin-RevId: 369662429
    Change-Id: Icd29d76376ac4ecd91bc5aa377551412f2e94020
  • Loading...
  • Tsunami Team committed with Copybara-Service 3 years ago
    7e3c9861
    1 parent 3ed174a8
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
  • ■ ■ ■ ■ ■
    proto/web_crawl.proto
    skipped 25 lines
    26 26  option java_package = "com.google.tsunami.proto";
    27 27  option go_package = "github.com/google/tsunami-security-scanner/proto";
    28 28   
     29 +// Next ID: 6
    29 30  message CrawlConfig {
    30 31   // The crawler should only interact with web resources under certain scopes.
    31 32   message Scope {
    skipped 20 lines
    52 53   // Allowed crawling scopes.
    53 54   // Optional. When empty, scopes are autogenerated from seeding_urls.
    54 55   repeated Scope scopes = 3;
     56 + 
     57 + // Whether crawling scope check should be enforced.
     58 + // Optional.
     59 + bool should_enforce_scope_check = 5;
    55 60   
    56 61   // The network service to be crawled.
    57 62   // Required.
    skipped 31 lines
Please wait...
Page is in error, reload to recover