Download the PHP package kanopi/quicksilver-scrubber without Composer
On this page you can find all versions of the php package kanopi/quicksilver-scrubber. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kanopi/quicksilver-scrubber
More information about kanopi/quicksilver-scrubber
Files in kanopi/quicksilver-scrubber
Package quicksilver-scrubber
Short Description Trigger scrubber via CircleCI.
License MIT
Informations about the package quicksilver-scrubber
Quicksilver Scrubber
This Quicksilver project is used in conjunction with the Scrubber tool to help scrub the database of PII or sensitive data. The goal of this is
Requirements
- Configured Scrubber Data Configuration File
- For more information on the Scrubber(database obfuscation) tool, refer to the documentation.
- There is a starter file in the
examplesdirectory of this repo.
- Configured CircleCI Job
Installation
This project is designed to be included from a site's composer.json file, and placed in its appropriate installation directory by Composer Installers.
In order for this to work, you should have the following in your composer.json file:
The project can be included by using the command:
composer require kanopi/quicksilver-scrubber:^1
Setting Secrets
The project uses Terminus Secrets Manager Plugin to operate. The following secrets will need to be set in order for you to move forward with the scripts. These are what is read within the scrubber file and used.
Example pantheon.yml
Here's an example of what your pantheon.yml would look like if this were the only Quicksilver operation you wanted to use.
Example scrubber.yml
Look at scubber.yml for the basic config that will work with CircleCI.
Place the scrubber.yml file at the root of your repo.
One of the key things around the example file is that it has the environment values set to access the Pantheon database that are set in CircleCI.
Also make sure that you take the time to make the scrubber project specific by scrubbing the specific tables for your project. For notes on how to set that refer to the documentation. https://github.com/kanopi/scrubber/blob/main/docs/datatables.md
Example CircleCI config
Here are the updates you'd need to make to your CircleCI config.yml
Add the orbs
Add the parameters
Add the scrub data workflow.
If you have other workflows, they may be triggered by the API calls made by the hook. To make sure they are not triggered you can do something like this
or