Brian C. Lane
|
acbf63013a
|
lifted: Make sure inputs cannot have path elements
This processes the inputs with os.path.basename to strip off any path
elements and prevent potential path traversal attacks. Also adds a test.
|
2019-10-16 09:17:53 -07:00 |
|
Brian C. Lane
|
b2fc391677
|
lifted: Add delete_profile function and tests
Also adds a helper to providers, _get_profile_path, so that the code
doesn't need to be repeated in all the functions.
|
2019-10-16 09:17:53 -07:00 |
|
Brian C. Lane
|
bc06abceab
|
lifted: Add a function to load the settings for a provider's profile
This returns the settings after loading them and running verify_settings
on them.
|
2019-10-16 09:17:53 -07:00 |
|
Brian C. Lane
|
4da569442c
|
tests: Add tests for the new lifted module
These tests cover most of the module's functions, except for the queue
monitor, and the actual execution of the playbooks.
|
2019-10-16 09:17:53 -07:00 |
|