DAST On-Demand - Opening validation modal should not always create a new validation token
Problem
When validating a site, you must keep the window open while working through the validation process. If you don't, a new text file/meta tag will be generated and you'll lose all current progress.
Proposal
- Amend
DastSiteTokens::CreateService
- If
DastSiteToken
already exists for the target URL, reuse it, otherwise, create a new token.
- If
- Make sure to remove a token when a validation is revoked
Edited by Philip Cunningham