This workflow template automates the process of querying Bitbucket for workspace repositories and collecting the configured CircleCI environment variables for each repository. The gathered data is organized into a JSON array making it versatile for further use, such as in output reports, email notifications, or integration with collaboration tools, enhancing the efficiency of remediation workflows for web security alerts.
Use Cases
Remediate Web Security Alerts
Workflow Breakdown
Query Bitbucket for a list of workspace repositories
Loop over each repository that is found and gather CircleCI Environment variables
If variables are found collect them for use in the output.
Create generic text output that can optionally be used with email or collaboration tools.
Vendors
Utils, CircleCI, Bitbucket
Workflow Output
If variables are found a JSON array of the CircleCI variables organized by Bitbucket Repo. If not variables are found an empty array will be provided.