| 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 |