intentionet / netconan

netconan - a Network Configuration Anonymizer
Apache License 2.0
145 stars 12 forks source link

Feature Request: anonymize domain names by default #119

Open clay584 opened 5 years ago

clay584 commented 5 years ago

I work with a lot of different customers and so there is a ton of variability in the domain names of the devices. It would be good to be able to anonymize the domain name by default instead of having to find all variations and list them as sensitive words.

For example:

ip domain-name a.b.acme.net

Match ip domain-name \S+$ and replace.

Also, maybe a flag for hostname as well?

Maybe even make it more generic to pick up domain names in any config object definition to further anonymize.

At the moment, I do want to submit parse issues automatically to the developers of Batfish, but I am not comfortable doing so as there is still identifiable information in the configurations after a netconan run.