Remediate data found by a content scan
Once your content scan of data at rest is complete, you’ll need to choose the most effective way to take action. Depending on the volume of data and the level of review required, you can remediate content programmatically or manually:
Use the redaction API and a script for bulk actions.
Import the results into Jira to manage them through individual work items.
Both these options are explained on this page. Before you begin, consider validating the results in the CSV file.
Validate results
To validate results before you start feeding them into a bulk redaction script, you will need to find the content references within your CSV file. Because the CSV file contains no user-generated content (UGC) data, all content is referenced with an internal Atlassian identifier (AIR).
If you wish to hydrate the CSV file with exact URLs for the content, use a separate script. We’ve provided a sample script that creates an new file for you. Enriching your CSV with Confluence and Jira URLs (sample script)
Redact content using a script
You can write a script that uses the redaction API and the contents of your CSV file to find and redact data. See Get started with the Guard Detect GraphQL API for more information.
Carefully review your script before using it to redact data. Accidental deletion of data from script errors could occur. Atlassian is not responsible for any script errors or any damage resulting from those errors.
To help you write your own script, we’ve created a sample script that will redact each instance of found data. Using the bulk redaction example script
Import results into Jira work items
You can import your scan results into Jira and assign them to someone to take a look at the data. The Jira importer uses the CSV file to create work items. The Jira importer creates one work item for each row in the CSV file.
Once you have these work items in Jira, assign them to space admins to clean up the data. If you manually delete data from the current version of pages and work items, you won’t be able to successfully bulk redact with the API.
See:
Was this helpful?