Please find attached in this PR, the SearchSpyse task which was modified to support netblocks. I was informed that it was a high priority to get this implemented and as such I didn't refactor the original task due to time constraints. Because of this, there are a lot of instances of DRY and because of that I will revisit the task in the future and clean it up.
As SearchSpyse doesn't accept netblocks but rather 100 IP Addresses at a time... a new helper method in services.rb was implemented which was expand_netblock(). This behaves practically the same as the lib/tasks/net_block_expand.rb however its in a form of a helper.
Hi team,
Please find attached in this PR, the
SearchSpyse
task which was modified to support netblocks. I was informed that it was a high priority to get this implemented and as such I didn't refactor the original task due to time constraints. Because of this, there are a lot of instances of DRY and because of that I will revisit the task in the future and clean it up.As SearchSpyse doesn't accept netblocks but rather 100 IP Addresses at a time... a new helper method in
services.rb
was implemented which wasexpand_netblock()
. This behaves practically the same as thelib/tasks/net_block_expand.rb
however its in a form of a helper.Best regards, Maxim