Prerequisites for Source Code Review

Last updated: November 24, 2026

A source code review lets Astra's security team analyse your application's code to find security vulnerabilities, insecure coding practices and other risks that dynamic testing may not catch. Before the review starts, Astra needs access to the code. This article explains the ways to provide it and what to check first.

Before you start

  • Make sure the code you share is complete and is the version you want reviewed.

  • Decide how you'll give Astra access: by sharing the code, or by giving access to a machine that has the code on it.

  • Tell your Customer Success Manager (CSM) once access is in place.

Share the source code (recommended)

Sharing the code directly is the simplest and fastest way to start a review. You can do this in three ways.

Upload it while setting up the target. Set up the target as an Others target and choose Source Code as the application type. On Enter Details for Source Code, add the Source Code Link (required), for example the repository URL, and upload a ZIP file of the code under Source Code File. The upload accepts one ZIP file. Then select your languages and frameworks on What tech stack are you using? and complete the setup. Read more in 📄 How to Set Up an Others Target.

Send a password-protected ZIP file.

  1. Compress your application's source code into a ZIP archive.

  2. Protect the ZIP file with a password.

  3. Share the ZIP file with your CSM or the Astra security team.

  4. Share the password through a different channel from the file.

Give access to your Git repository. You can give Astra access to a repository on GitHub, GitLab, Bitbucket or another Git-based service, including private repositories. Astra clones or downloads the repository and starts the review.

Repository access makes it easier to review the latest version of your code and to pick up changes if you update the code during the engagement.

Give access to a machine with the code

If your policies don't allow you to share the code, you can give Astra access to a machine where the code is already available. Before the review starts, make sure that:

  • The source code is on the machine.

  • Astra has access to the machine.

  • Astra is allowed to install the security scanning tools needed for the review. This may need administrative permissions.

  • The machine has internet access, so the tools and their dependencies can be installed.

Astra's security team then installs the tools and performs the review on the machine.

What happens next

  1. The security team checks that it has the access it needs.

  2. The source code review starts.

  3. If the team needs more information or access during the review, it contacts you.

Best practices

  • Share the latest version of the code you want reviewed.

  • Use a password-protected ZIP file and share the password separately.

  • If you give repository access, check that Astra can clone the repository before the review is due to start.

  • If you give machine access, confirm internet access and installation permissions in advance to avoid delays.

FAQ

Which method is recommended?

Sharing the code directly, either as a ZIP file or through repository access, is recommended because the review can start sooner.

Can I share a private repository?

Yes. You can give Astra access to a private Git repository.

Why does Astra need to install tools on my machine?

The review uses security scanning tools for static code analysis. When the code stays on your machine, those tools have to be installed there.

Does the machine need internet access?

Yes. Astra needs internet access on the machine to install the tools and their dependencies.

If you have questions about source code access, contact support from your Astra dashboard or reach out to your CSM.