Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions content/code-security/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ featuredLinks:
- '{% ifversion fpt or ghec or ghes %}/code-security/dependabot/dependabot-security-updates/configuring-dependabot-security-updates{% endif %}'
- '{% ifversion fpt or ghec or ghes %}/code-security/dependabot/dependabot-version-updates/configuring-dependabot-version-updates{% endif %}'
- '{% ifversion fpt or ghec or ghes %}/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning-for-a-repository{% endif %}'
- '{% ifversion ghes < 3.3 %}/code-security/supply-chain-security/understanding-your-software-supply-chain/exploring-the-dependencies-of-a-repository{% endif %}'
- '{% ifversion ghes < 3.3 %}/code-security/supply-chain-security/managing-vulnerabilities-in-your-projects-dependencies/configuring-notifications-for-vulnerable-dependencies{% endif %}'
- '{% ifversion ghes < 3.3 or ghae %}/code-security/secret-scanning/configuring-secret-scanning-for-your-repositories{% endif %}'
- '{% ifversion ghae %}/code-security/secret-scanning/configuring-secret-scanning-for-your-repositories{% endif %}'
- '{% ifversion ghae %}/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github{% endif %}'
- '{% ifversion ghae %}/code-security/code-scanning/using-codeql-code-scanning-with-your-existing-ci-system{% endif %}'
- /code-security/supply-chain-security/end-to-end-supply-chain/end-to-end-supply-chain-overview
Expand All @@ -29,9 +27,9 @@ featuredLinks:
- /code-security/dependabot/working-with-dependabot/configuring-access-to-private-registries-for-dependabot
- '{% ifversion ghae %}/code-security/secret-scanning/about-secret-scanning{% endif %}'
- /code-security/dependabot/working-with-dependabot/troubleshooting-the-detection-of-vulnerable-dependencies
- '{% ifversion ghes < 3.3 or ghae %}/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages{% endif %}'
- '{% ifversion ghes < 3.3 or ghae %}/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/troubleshooting-the-codeql-workflow{% endif %}'
- '{% ifversion ghes < 3.3 or ghae %}/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/running-codeql-code-scanning-in-a-container{% endif %}'
- '{% ifversion ghae %}/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages{% endif %}'
- '{% ifversion ghae %}/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/troubleshooting-the-codeql-workflow{% endif %}'
- '{% ifversion ghae %}/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/running-codeql-code-scanning-in-a-container{% endif %}'
changelog:
label: security-and-compliance
versions:
Expand Down Expand Up @@ -59,4 +57,3 @@ children:
- /security-overview
- /guides
---

Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ HTTP/1.1 201 Created
}
```

For more information, see "[Start an organization migration]({% ifversion ghes < 3.4 %}/enterprise-server@3.4{% endif %}/rest/migrations/orgs#start-an-organization-migration)" in the REST API documentation.
For more information, see "[Start an organization migration](/rest/migrations/orgs#start-an-organization-migration)" in the REST API documentation.

Generating the archives can take a while, depending on the amount of data. You can regularly check the status of the two migrations with the "Get an organization migration status" API until the `state` of the migration changes to `exported`.

Expand All @@ -204,7 +204,7 @@ Content-Type: application/json
}
```

For more information, see "[Get an organization migration status]({% ifversion ghes < 3.4 %}/enterprise-server@3.4{% endif %}/rest/migrations/orgs#get-an-organization-migration-status)" in the REST API documentation.
For more information, see "[Get an organization migration status](/rest/migrations/orgs#get-an-organization-migration-status)" in the REST API documentation.

{% note %}

Expand All @@ -228,7 +228,7 @@ Location: https://media.github.acmecorp.net/migrations/123/archive/cca2ebe9-7403

The API will return a `302 Found` response with a `Location` header redirecting to the URL where the downloadable archive is located. Download the two files: one for the Git source, and one for the metadata.

For more information, see "[Download an organization migration archive]({% ifversion ghes < 3.4 %}/enterprise-server@3.4{% endif %}/rest/migrations/orgs#download-an-organization-migration-archive)" in the REST API documentation.
For more information, see "[Download an organization migration archive](/rest/migrations/orgs#download-an-organization-migration-archive)" in the REST API documentation.

After both migrations have completed and you have downloaded the archives, you can move to the next step.

Expand Down