There may be times when you need to reconnect your Projects in your GCP Integration or add new projects to an existing integration. Rather than deleting the Integration and starting over from scratch, potentially losing any ownership or scoping configuration, follow the guide below on reconnecting them.
Prerequisites
Currently connected GCP Integration
Procedure
In order to reconnect your projects individually, You can attempt the following:
Edit your GCP Connection
Add a Project
Enter the same project you want to update, in this example: 'strange-radius-999991'
Download the connection script, and copy the run command
Make sure you don't have any existing downloaded scripts. Otherwise, the run command may not work correctly.
Open your editor in the shell
Delete any Existing Vanta individual project scripts and vanta-scanner-key.json
Drag and Drop the newly downloaded script
Now, open the terminal
Paste the run script in the terminal and hit enter
Agree to changes
Open the editor again after completed
Download the newly generated vanta-scanner-key.json
Drag and Drop into the Vanta GCP Connection Step
When you click next and move to the next step, Vanta should start pulling your resources
You'll notice that any existing scoping and ownership will retain its configuration
Select Done, and you should see all your Resources from your previously integrated projects retained their scoping and ownership.