--context string Expand context of schema classification e.g., --context=health, to include data types particular to health
23
23
--debug Enable debug logs
24
-
--disable-domain-resolution Do not attempt to resolve detected domains during classification (default false),e.g.--disable-domain-resolution=true(defaulttrue)
25
-
--domain-resolution-timeout duration Set timeout when attempting to resolve detected domains during classification(default3seconds), e.g. --domain-resolution-timeout=3s (default 3s)
24
+
--disable-domain-resolution Do not attempt to resolve detected domains during classification (default true)
25
+
--domain-resolution-timeout duration Set timeout when attempting to resolve detected domains during classification, e.g. --domain-resolution-timeout=3s (default 3s)
26
26
--force Disable the cache and runs the detections again
27
-
--internal-domains strings Define regular expressions for better classification of private or unreachable domains e.g. --internal-domains="*.my-company.com,private.sh"
27
+
--internal-domains strings Define regular expressions for better classification of private or unreachable domains e.g. --internal-domains=".*.my-company.com,private.sh"
28
28
--quiet Suppress non-essential messages
29
29
--skip-path strings Specify the comma separated files and directories to skip. Supports * syntax, e.g. --skip-path users/*.go,users/admin.sql
--context string Expand context of schema classification e.g., --context=health, to include data types particular to health
23
23
--debug Enable debug logs
24
-
--disable-domain-resolution Do not attempt to resolve detected domains during classification (default false),e.g.--disable-domain-resolution=true(defaulttrue)
25
-
--domain-resolution-timeout duration Set timeout when attempting to resolve detected domains during classification(default3seconds), e.g. --domain-resolution-timeout=3s (default 3s)
24
+
--disable-domain-resolution Do not attempt to resolve detected domains during classification (default true)
25
+
--domain-resolution-timeout duration Set timeout when attempting to resolve detected domains during classification, e.g. --domain-resolution-timeout=3s (default 3s)
26
26
--force Disable the cache and runs the detections again
27
-
--internal-domains strings Define regular expressions for better classification of private or unreachable domains e.g. --internal-domains="*.my-company.com,private.sh"
27
+
--internal-domains strings Define regular expressions for better classification of private or unreachable domains e.g. --internal-domains=".*.my-company.com,private.sh"
28
28
--quiet Suppress non-essential messages
29
29
--skip-path strings Specify the comma separated files and directories to skip. Supports * syntax, e.g. --skip-path users/*.go,users/admin.sql
Usage: "Do not attempt to resolve detected domains during classification(defaultfalse),e.g.--disable-domain-resolution=true",
31
+
Usage: "Do not attempt to resolve detected domains during classification",
32
32
}
33
33
DomainResolutionTimeoutFlag = Flag{
34
34
Name: "domain-resolution-timeout",
35
35
ConfigName: "scan.domain-resolution-timeout",
36
36
Value: 3 * time.Second,
37
-
Usage: "Set timeout when attempting to resolve detected domains during classification(default3seconds), e.g. --domain-resolution-timeout=3s",
37
+
Usage: "Set timeout when attempting to resolve detected domains during classification, e.g. --domain-resolution-timeout=3s",
38
38
}
39
39
InternalDomainsFlag = Flag{
40
40
Name: "internal-domains",
41
41
ConfigName: "scan.internal-domains",
42
42
Value: []string{},
43
-
Usage: "Define regular expressions for better classification of private or unreachable domains e.g. --internal-domains=\"*.my-company.com,private.sh\"",
43
+
Usage: "Define regular expressions for better classification of private or unreachable domains e.g. --internal-domains=\".*.my-company.com,private.sh\"",