Use environment_url.txt for API Fuzzing
Problem to solve
Automatically use environment_url.txt
when FUZZAPI_TARGET_URL
is not defined. environment_url.txt
will exist when using review app functionality of GitLab.
Intended users
User experience goal
Simplify configuration when using review apps.
Proposal
Support two ways of providing the base URL of the target API.
-
FUZZAPI_TARGET_URL
-- This will always take precedence if provided -
environment_url.txt
-- Used whenFUZZAPI_TARGET_URL
is not specified
Tasks:
-
Update worker-entry
to useenvironment_url.txt
whenFUZZAPI_TARGET_URL
not found -
worker-entry
unit tests -
Update documentation to reflect change -
Update template to allow job when environment_url.txt
exists [ ] Support linked dotenv issue
Documentation
Functionality will require documentation update.
Availability & Testing
- Unit test changes
- Integration test changes
- End-to-end test change
What does success look like, and how can we measure that?
environment_url.txt
file is used by API Fuzzing
Links / references
Edited by Michael Eddington