In due diligence the code to be assessed often belongs to someone else. A code request lets you configure an assessment and send its owner a link. The owner chooses what to share, and the results go only to your organisation. The owner does not need a Codeego account.
Code requests are available to members of an Enterprise organisation whose role allows creating assessments. Viewers cannot send requests. See Organisations and roles.
Sending a request#
- Open New Assessment. In the Source Code card, select Request code from someone.
- Enter the recipient's email in Founder's email. Optionally add their Name and a Message of up to 1,000 characters, which is shown to them.
- Set the title, notes, team scenario and options as for any assessment. Code requests always run as Expert assessments included in your plan.
- Accept the terms and select Send request.
Codeego emails the recipient a link and shows it to you once in the Code request sent dialog, with a Copy link button, in case you prefer to send it yourself. The link is not shown again. You are then taken to the new assessment, which appears on the dashboard as Awaiting code.
The link expires 14 days after it is sent. The expiry date appears in the email, on the recipient's page and on your assessment page.
What the recipient sees#
The link opens a page that states who is asking (your name and your organisation), the assessment title, your message if any, and the expiry date. Under What happens it tells the recipient that:
- they choose exactly which repositories (with read-only GitHub access) or which ZIP file to share;
- Codeego analyses the code and only your organisation sees the results;
- Codeego never gets write access, and the code cannot be re-analysed without their permission.
The recipient then selects Share code to consent, or Decline. Consent is recorded with its time, and the request moves to the next step.
On the Choose what to share step the recipient picks either GitHub repositories, through the same Codeego GitHub App and repository browser described in Providing your code, or a ZIP archive. Password-protected archives are not accepted on this page. After sharing, the recipient sees a confirmation that the analysis has started. If they shared through GitHub, they are asked to keep the app installed for the next hour while the code is copied; after that they can uninstall it, which also prevents any later re-run.
The recipient can decline at either step, with an optional reason. They never see the scores, reports or certificate.
Following and managing the request#
The assessment page shows a Code request card with the current state of the request:
- Awaiting code from …
- The link has been sent and not yet used.
- … agreed to share their code
- The recipient consented but has not yet shared.
- Code received from …
- The code was shared. For GitHub, the recipient's GitHub login is shown. The analysis starts automatically.
- … declined
- The recipient declined. Their reason, if given, is shown below. The assessment is marked as failed.
- Link expired
- The 14 days passed without the code being shared.
- Request revoked
- You revoked the request. The assessment is marked as failed.
While the request is open or expired you can use Resend (email a new link), Copy new link or Send new link (issue a new link and show it once) and Revoke. Every new link replaces the previous one, which stops working, and starts a new 14-day period. The recipient has to consent again on the new link.
Notifications
You receive an email when the recipient shares the code (with a summary of what was shared) and when they decline. The usual completion or failure email follows when the analysis ends; see Following progress.