File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change
1
+ package models
2
+
3
+ type AttackSurface struct {
4
+ // global only
5
+ EnableDNSTraversal bool `yaml:"enable_dns_traversal,omitempty"`
6
+ DomainNames []string `yaml:"domain_names,omitempty"`
7
+ IgnoreDomainNames []string `yaml:"ignore_domain_names,omitempty"`
8
+ }
Original file line number Diff line number Diff line change @@ -18,9 +18,10 @@ type Configuration struct {
18
18
Integrations Integrations `yaml:"integrations,omitempty"`
19
19
20
20
// features
21
- Code Code `yaml:"code,omitempty"`
22
- Dependencies Dependencies `yaml:"dependencies,omitempty"`
23
- Secrets Secrets `yaml:"secrets,omitempty"`
21
+ Code Code `yaml:"code,omitempty"`
22
+ Dependencies Dependencies `yaml:"dependencies,omitempty"`
23
+ Secrets Secrets `yaml:"secrets,omitempty"`
24
+ AttackSurface AttackSurface `yaml:"attack_surface,omitempty"`
24
25
25
26
// TODO deprecate
26
27
SecretsWhitelist []string `yaml:"secrets_whitelist,omitempty"`
You can’t perform that action at this time.
0 commit comments