Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Quickstart guide

This article describes how to configure a Bitrise CI/CD workflow to automatically upload mobile app binaries to Data Theorem for scanning. 

To automatically upload a mobile binary from Bitrise, a new step should be added at the end of your existing Bitrise workflow to upload the signed application binary (APK or IPA) to Data Theorem.

Step 1: retrieving the Upload API key

...

Add your Upload API key retrieved in step 1 as a secret environment variable called DT_UPLOAD_API_KEY in your existing Bitrise workflow:

Image RemovedImage Added

Step 3: creating a new Workflow step to upload builds

Add a new "Script" step at any point in your workflow after a signed IPA or APK has been generated:

Image RemovedImage Added

In the new "Script" step, insert the following code as the Script's content. This script assumes that the path to the signed APK path will be available in the BITRISE_SIGNED_APK_PATH environment variable (the default name used by the Bitrise "Sign APK" step). You might to update the name as needed.

...

Save the workflow and the integration should be ready. After configuring it, your workflow should like this:

Image RemovedImage Added


Once the CI/CD uploads are enabled, pre-production scans will be completed automatically. Please note:

...