File tree Expand file tree Collapse file tree 5 files changed +12
-12
lines changed Expand file tree Collapse file tree 5 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -112,6 +112,6 @@ integrations:
112112 name : John Smith
113113attack_surface :
114114 enable : true
115- enable_dns_traversal : false
115+ enable_dns_enumeration : false
116116 domain_names : [172.36.255.7,example.com]
117117 ignore_domain_names : []
Original file line number Diff line number Diff line change @@ -339,7 +339,7 @@ func TestMergeConfigFiles(t *testing.T) {
339339 globalConfig : & models.Configuration {
340340 AttackSurface : & models.AttackSurface {
341341 Enable : true ,
342- EnableDNSTraversal : true ,
342+ EnableDNSEnumeration : true ,
343343 DomainNames : []string {"example.com" },
344344 IgnoreDomainNames : []string {"example2.com" },
345345 },
@@ -352,7 +352,7 @@ func TestMergeConfigFiles(t *testing.T) {
352352 PriorityThreshold : parser .DefaultPriorityThreshold ,
353353 AttackSurface : & models.AttackSurface {
354354 Enable : true ,
355- EnableDNSTraversal : true ,
355+ EnableDNSEnumeration : true ,
356356 DomainNames : []string {"example.com" },
357357 IgnoreDomainNames : []string {"example2.com" },
358358 },
Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ package models
22
33type AttackSurface struct {
44 // global only
5- Enable bool `yaml:"enable"`
6- EnableDNSTraversal bool `yaml:"enable_dns_traversal "`
7- DomainNames []string `yaml:"domain_names,omitempty"`
8- IgnoreDomainNames []string `yaml:"ignore_domain_names,omitempty"`
5+ Enable bool `yaml:"enable"`
6+ EnableDNSEnumeration bool `yaml:"enable_dns_enumeration "`
7+ DomainNames []string `yaml:"domain_names,omitempty"`
8+ IgnoreDomainNames []string `yaml:"ignore_domain_names,omitempty"`
99}
Original file line number Diff line number Diff line change @@ -154,10 +154,10 @@ func TestIntegration(t *testing.T) {
154154 },
155155 },
156156 AttackSurface : & models.AttackSurface {
157- Enable : true ,
158- EnableDNSTraversal : true ,
159- DomainNames : []string {"172.36.255.7" , "example.com" },
160- IgnoreDomainNames : []string {"jira.example.com" },
157+ Enable : true ,
158+ EnableDNSEnumeration : true ,
159+ DomainNames : []string {"172.36.255.7" , "example.com" },
160+ IgnoreDomainNames : []string {"jira.example.com" },
161161 },
162162 }
163163
Original file line number Diff line number Diff line change @@ -96,6 +96,6 @@ integrations:
9696 on_fix_transition : Done
9797attack_surface :
9898 enable : true
99- enable_dns_traversal : true
99+ enable_dns_enumeration : true
100100 domain_names : [172.36.255.7,example.com]
101101 ignore_domain_names : [jira.example.com]
You can’t perform that action at this time.
0 commit comments