This PR introduces functionality to configure the state of CORS Hunter based on the contents of a YAML file. It also includes a Django management command that will accept a file path and invoke the YAML configuration flow for the file at that path.
An example configuration file is also included at files/example.yml.
Impact of Change
CORS Hunter can now be configured via YAML.
Collateral Work
Rest of tweaks.
Testing
E2E unit testing for the YAML processing included. Functional testing also performed to confirm working as expected.
Description of Change
This PR introduces functionality to configure the state of CORS Hunter based on the contents of a YAML file. It also includes a Django management command that will accept a file path and invoke the YAML configuration flow for the file at that path.
An example configuration file is also included at
files/example.yml
.Impact of Change
CORS Hunter can now be configured via YAML.
Collateral Work
Rest of tweaks.
Testing
E2E unit testing for the YAML processing included. Functional testing also performed to confirm working as expected.