Skip to content

Commit 7b03329

Browse files
revert subnets for ip address
1 parent e3d4935 commit 7b03329

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

examples/nullify.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ integrations:
134134
attack_surface:
135135
enable: true
136136
enable_dns_enumeration: true
137-
ip_addresses: [10.11.12.13, 100.110.120.0/24, 10.0.0.1-254]
137+
ip_addresses: [10.11.12.13, 10.0.0.1-254]
138138
domain_names: [example.com, prod.hosting.com]
139139
include_only:
140140
- domain_names: [live.prod.hosting.com]

pkg/merger/merger_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ func TestMergeConfigFiles(t *testing.T) {
340340
AttackSurface: &models.AttackSurface{
341341
Enable: true,
342342
EnableDNSEnumeration: true,
343-
IPAddresses: []string{"10.11.12.13", "100.110.120.0/24", "10.0.0.1-254"},
343+
IPAddresses: []string{"10.11.12.13", "10.0.0.1-254"},
344344
DomainNames: []string{"example.com", "prod.hosting.com"},
345345
IncludeOnly: []models.AttackSurfaceIncludeOnly{
346346
{
@@ -383,7 +383,7 @@ func TestMergeConfigFiles(t *testing.T) {
383383
AttackSurface: &models.AttackSurface{
384384
Enable: true,
385385
EnableDNSEnumeration: true,
386-
IPAddresses: []string{"10.11.12.13", "100.110.120.0/24", "10.0.0.1-254"},
386+
IPAddresses: []string{"10.11.12.13", "10.0.0.1-254"},
387387
DomainNames: []string{"example.com", "prod.hosting.com"},
388388
IncludeOnly: []models.AttackSurfaceIncludeOnly{
389389
{

tests/integration_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ func TestIntegration(t *testing.T) {
156156
AttackSurface: &models.AttackSurface{
157157
Enable: true,
158158
EnableDNSEnumeration: true,
159-
IPAddresses: []string{"10.11.12.13", "100.110.120.0/24", "10.0.0.1-254"},
159+
IPAddresses: []string{"10.11.12.13", "10.0.0.1-254"},
160160
DomainNames: []string{"example.com", "prod.hosting.com"},
161161
IncludeOnly: []models.AttackSurfaceIncludeOnly{
162162
{

tests/nullify.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ integrations:
9797
attack_surface:
9898
enable: true
9999
enable_dns_enumeration: true
100-
ip_addresses: [10.11.12.13, 100.110.120.0/24, 10.0.0.1-254]
100+
ip_addresses: [10.11.12.13, 10.0.0.1-254]
101101
domain_names: [example.com, prod.hosting.com]
102102
include_only:
103103
- domain_names: [live.prod.hosting.com]

0 commit comments

Comments
 (0)