Skip to content

Add CSP Concern

Angelo Gulina requested to merge ag/zuora-csp-fix into master

What does this MR do and why?

Describe in detail what your merge request does and why.

The Zuora iframe used to validate credit cards needs to have the CSP set to work. This was missing from the CI/CD settings. This MR simply adds the concern to quickly fix the bug and unblock customers.

A follow-up Issue is scheduled to add integration tests.

Relates to #387487 (closed)

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Create a new account (or use an account which doesn't have a Credit Card added yet)
  2. Create a group and a project under the group
  3. Under the project, go to Settings > CI/CD -> Expand Runners section
  4. Toggle shared runners off and then on => An alert asking to validate the account should appear
  5. Click on Validate button
  6. You should see the Payment form to validate the Credit Card (see screenshot)
Screenshot_2023-01-09_at_09.27.59

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Angelo Gulina

Merge request reports