Comments
Sort by recent activity
At the moment there isn't a way to persist/copy clone templates between images - they're scoped to a particular image. Also, although we store the filename, we don't store the full path (in particular, we don't have access to it if files are uploaded in the web UI, and it's possible to specify scripts directly without a file in PowerShell too). Therefore the best workflow for now is to maintain the scripts that you want for particular images in a well-known location and to have a script that recreates the image and templates together, using those scripts. You could also use the -Sql parameter of New-SqlCloneSqlScript pass the script to SQL Clone as a string if you want to manage how it's loaded in a different way. Thanks for your feedback about this being a problem! We'll keep that in mind for our future work. / comments
At the moment there isn't a way to persist/copy clone templates between images - they're scoped to a particular image. Also, although we store the filename, we don't store the full path (in particu...
Thanks for the update! That's really useful to hear about, and I'm glad it's now working. I'll have a look what options we have to prevent others getting into this situation in the future. / comments
Thanks for the update! That's really useful to hear about, and I'm glad it's now working.I'll have a look what options we have to prevent others getting into this situation in the future.
Hm, interesting. This is a problem that we've heard of before with Azure DevOps, but haven't been able to explore properly. We could potentially explore this further with network tracing and/or a private build with some additional logging to see what headers/cookies we're receiving. Could you open a ticket with support@red-gate.com and mention this conversation? / comments
Hm, interesting. This is a problem that we've heard of before with Azure DevOps, but haven't been able to explore properly.We could potentially explore this further with network tracing and/or a pr...
SQL Clone Server uses double-submit cookie verification as a mitigation against cross-site request forgery. Although CSRF is a browser concern, our PowerShell cmdlets and therefore Azure DevOps extension also need to send requests that comply with that contract. This means that requests should have a header and a cookie set to matching values. The cmdlets and therefore extension that uses them sets these to constants. Is there any possibility that the headers or cookies are being transformed/stripped between the Azure DevOps agent and SQL Clone Server, perhaps by a proxy? / comments
SQL Clone Server uses double-submit cookie verification as a mitigation against cross-site request forgery. Although CSRF is a browser concern, our PowerShell cmdlets and therefore Azure DevOps ext...