18F / domain-scan

A lightweight pipeline, locally or in Lambda, for scanning things like HTTPS, third party service use, and web accessibility.
Other
370 stars 137 forks source link

Move from an options dict to a "config" (or similar) dict #230

Open konklone opened 6 years ago

konklone commented 6 years ago

Have all environment-wide configuration move into a variable (probably a dict, like it exists today), which has values from the CLI, values derived from those CLI flags, values from env vars, etc.

One config (or similarly named) thing that has this data. This could be instantiated at the top of the scan and gather files, and instantiated as part of the (planned) class-based approach to individual gatherers and scanners (who could access it as e.g. self.config).