├── .circleci └── config.yml ├── .github ├── CODEOWNERS ├── CONTRIBUTING.md ├── ISSUE_TEMPLATE │ ├── bug-report.md │ └── feature-request.md └── PULL_REQUEST_TEMPLATE.md ├── .gitignore ├── .gitleaks.toml ├── .npmrc ├── .nvmrc ├── .prettierignore ├── .prettierrc.json ├── .releaserc ├── .snyk ├── .tool-versions ├── Contributor-Agreement.md ├── LICENSE ├── README.md ├── babel.config.js ├── catalog-info.yaml ├── docs ├── example-workflows │ └── aws-automation-example.md ├── github-cloud-app.md ├── import-data.md ├── import.md ├── mirror-bitbucket-cloud-app.md ├── mirror-bitbucket-cloud.md ├── mirror-bitbucket-server.md ├── mirror-github.md ├── mirror-gitlab.md ├── orgs.md └── sync.md ├── eslint.config.mjs ├── jest.config.js ├── package.json ├── scripts └── build.js ├── src ├── cmds │ ├── import.ts │ ├── import:data.ts │ ├── list:imported.ts │ ├── orgs:create.ts │ ├── orgs:data.ts │ └── sync.ts ├── common.ts ├── generate-target-id.ts ├── index.ts ├── lib │ ├── api │ │ ├── feature-flags │ │ │ └── index.ts │ │ ├── group │ │ │ └── index.ts │ │ ├── import │ │ │ ├── index.ts │ │ │ └── request-with-rate-limit.ts │ │ ├── org │ │ │ └── index.ts │ │ ├── poll-import │ │ │ └── index.ts │ │ └── project │ │ │ └── index.ts │ ├── delete-directory.ts │ ├── filter-out-existing-orgs.ts │ ├── find-files.ts │ ├── get-api-token.ts │ ├── get-concurrent-imports-number.ts │ ├── get-import-path.ts │ ├── get-logging-path.ts │ ├── get-snyk-host.ts │ ├── git-clone.ts │ ├── index.ts │ ├── limiters.ts │ ├── project │ │ └── update-branch.ts │ ├── request-with-rate-limit.ts │ ├── source-handlers │ │ ├── azure │ │ │ ├── get-azure-token.ts │ │ │ ├── get-base-url.ts │ │ │ ├── index.ts │ │ │ ├── list-projects.ts │ │ │ ├── list-repos.ts │ │ │ └── types.ts │ │ ├── bitbucket-cloud-app │ │ │ ├── get-bitbucket-app-repo-metadata.ts │ │ │ ├── get-bitbucket-app-token.ts │ │ │ ├── index.ts │ │ │ ├── is-configured.ts │ │ │ ├── list-repos.ts │ │ │ ├── list-workspaces.ts │ │ │ └── types.ts │ │ ├── bitbucket-cloud │ │ │ ├── get-bitbucket-cloud-auth.ts │ │ │ ├── get-token.ts │ │ │ ├── index.ts │ │ │ ├── list-repos.ts │ │ │ ├── list-workspaces.ts │ │ │ ├── sync-client.ts │ │ │ ├── types.ts │ │ │ └── workspace-is-empty.ts │ │ ├── bitbucket-server │ │ │ ├── get-bitbucket-server-token.ts │ │ │ ├── index.ts │ │ │ ├── list-projects.ts │ │ │ ├── list-repos.ts │ │ │ ├── project-is-empty.ts │ │ │ └── types.ts │ │ ├── github-cloud-app │ │ │ ├── get-github-app-token.ts │ │ │ ├── get-repo-metadata.ts │ │ │ ├── git-clone-url.ts │ │ │ ├── index.ts │ │ │ ├── is-configured.ts │ │ │ ├── list-organizations.ts │ │ │ ├── list-repos.ts │ │ │ ├── organization-is-empty.ts │ │ │ └── types.ts │ │ ├── github │ │ │ ├── get-github-token.ts │ │ │ ├── get-repo-metadata.ts │ │ │ ├── git-clone-url.ts │ │ │ ├── github-base-url.ts │ │ │ ├── index.ts │ │ │ ├── is-configured.ts │ │ │ ├── list-organizations.ts │ │ │ ├── list-repos.ts │ │ │ ├── organization-is-empty.ts │ │ │ └── types.ts │ │ └── gitlab │ │ │ ├── get-base-url.ts │ │ │ ├── get-token.ts │ │ │ ├── group-is-empty.ts │ │ │ ├── index.ts │ │ │ ├── list-groups.ts │ │ │ ├── list-repos.ts │ │ │ └── types.ts │ ├── supported-project-types │ │ ├── index.ts │ │ └── supported-manifests.ts │ └── types.ts ├── load-file.ts ├── loggers │ ├── log-created-org.ts │ ├── log-failed-imports.ts │ ├── log-failed-org.ts │ ├── log-failed-polls.ts │ ├── log-failed-projects.ts │ ├── log-failed-sync.ts │ ├── log-failed-to-update-projects.ts │ ├── log-import-jobs.ts │ ├── log-imported-batch.ts │ ├── log-imported-projects.ts │ ├── log-imported-targets.ts │ ├── log-job-result.ts │ └── log-updated-project.ts ├── runtime │ ├── adapter-registry.ts │ └── pkg-includes.ts ├── scripts │ ├── create-orgs.ts │ ├── generate-imported-targets-from-snyk.ts │ ├── generate-org-data.ts │ ├── generate-targets-data.ts │ ├── import-projects.ts │ └── sync │ │ ├── clone-and-analyze.ts │ │ ├── generate-projects-diff-actions.ts │ │ ├── import-target.ts │ │ ├── sync-org-projects.ts │ │ └── sync-projects-per-target.ts ├── stream-data.ts └── write-file.ts ├── test ├── cmds │ ├── import-data-bitbucket-cloud-app.test.ts │ └── orgs-data-bitbucket-cloud-app.test.ts ├── delete-files.ts ├── delete-test-projects.ts ├── generate-log-file-names.ts ├── lib │ ├── __snapshots__ │ │ └── org.test.ts.snap │ ├── api │ │ ├── feature-flags │ │ │ └── index.test.ts │ │ └── project │ │ │ ├── __snapshots__ │ │ │ └── index.test.ts.snap │ │ │ └── index.test.ts │ ├── choose-clone-url.test.ts │ ├── delete-directory.test.ts │ ├── find-files.test.ts │ ├── fixtures │ │ ├── azure │ │ │ ├── org-only-one-project.json │ │ │ ├── org-projects-first-page.json │ │ │ ├── org-projects-second-page.json │ │ │ └── org-repos.json │ │ ├── create-orgs │ │ │ ├── 1-org │ │ │ │ ├── 1-org-minified.json │ │ │ │ └── 1-org-prettified.json │ │ │ └── many-orgs │ │ │ │ ├── minified.json │ │ │ │ └── prettified.json │ │ ├── empty.logx │ │ ├── find-files │ │ │ ├── maven │ │ │ │ ├── pom.xml │ │ │ │ └── test.txt │ │ │ ├── mvn │ │ │ │ ├── pom.xml │ │ │ │ └── test.txt │ │ │ └── python │ │ │ │ └── requirements │ │ │ │ └── dev.txt │ │ ├── non-empty.logx │ │ └── single-project │ │ │ ├── import-projects-single.json │ │ │ └── import-projects.json │ ├── generate-target-ids.test.ts │ ├── get-import-path.spec.ts │ ├── git-clone-choose-url.spec.ts │ ├── git-clone.spec.ts │ ├── import-projects.test.ts │ ├── index.test.ts │ ├── org.api.unit.test.ts │ ├── org.test.ts │ ├── orgs.test.ts │ ├── project │ │ └── update-branch.test.ts │ ├── request-with-rate-limit.test.ts │ ├── source-handlers │ │ ├── azure │ │ │ └── azure.test.ts │ │ ├── bitbucket-cloud-app │ │ │ ├── get-bitbucket-app-token.test.ts │ │ │ └── list-workspaces.test.ts │ │ ├── bitbucket-cloud │ │ │ ├── bitbucket-cloud.test.ts │ │ │ ├── get-bitbucket-cloud-auth.test.ts │ │ │ ├── sync-client.auth.spec.ts │ │ │ ├── sync-client.branch-sha.spec.ts │ │ │ └── sync-client.encoding.spec.ts │ │ ├── bitbucket-server │ │ │ ├── bitbucket-server.test.ts │ │ │ └── sync-client.401.spec.ts │ │ ├── github-cloud-app │ │ │ └── github-cloud-app.test.ts │ │ ├── github │ │ │ └── github.test.ts │ │ └── gitlab │ │ │ ├── list-groups.test.ts │ │ │ └── list-repos.test.ts │ ├── stream-data.spec.ts │ └── supported-project-types │ │ └── index.test.ts ├── needle.mock.ts ├── scripts │ ├── __mocks__ │ │ ├── github-cloud-app.ts │ │ └── snyk-request-manager.ts │ ├── create-orgs.test.ts │ ├── fixtures │ │ ├── create-orgs │ │ │ ├── 1-org │ │ │ │ └── 1-org.json │ │ │ ├── fails-to-create │ │ │ │ ├── 1-org.json │ │ │ │ └── snyk-created-orgs.json │ │ │ └── unique-org │ │ │ │ └── 1-org.json │ │ ├── empty-target │ │ │ └── import-projects.json │ │ ├── failed-batch │ │ │ └── import-projects.json │ │ ├── import-projects-gitlab.json │ │ ├── import-projects-invalid.json │ │ ├── import-projects.json │ │ ├── invalid-target │ │ │ └── import-projects-invalid-target.json │ │ ├── no-supported-manifests │ │ │ └── import-projects.json │ │ ├── projects-with-errors │ │ │ └── import-projects.json │ │ ├── repos │ │ │ ├── goof │ │ │ │ ├── package.json │ │ │ │ └── to-ignore │ │ │ │ │ └── package.json │ │ │ ├── monorepo-new │ │ │ │ ├── build.gradle │ │ │ │ ├── new │ │ │ │ │ ├── build.gradle │ │ │ │ │ └── package.json │ │ │ │ └── package.json │ │ │ ├── monorepo │ │ │ │ ├── build.gradle │ │ │ │ └── package.json │ │ │ └── python │ │ │ │ └── requirements │ │ │ │ └── dev.txt │ │ └── with-import-log │ │ │ ├── import-projects.json │ │ │ └── imported-targets.log │ ├── generate-imported-targets-from-snyk.test.ts │ ├── generate-org-data.test.ts │ ├── generate-targets-data.test.ts │ ├── import-projects.test.ts │ ├── polling.test.ts │ └── sync │ │ ├── clone-and-analyze.spec.ts │ │ ├── generate-projects-diff-actions.spec.ts │ │ ├── import-target.spec.ts │ │ └── sync-org-projects.test.ts ├── setup-env.ts ├── simple-git.mock.ts ├── snyk-request-manager.mock.ts ├── system │ ├── fixtures │ │ ├── create-orgs │ │ │ └── fails-to-create │ │ │ │ ├── 1-org.json │ │ │ │ └── already-exists │ │ │ │ └── 1-org.json │ │ ├── import-projects.json │ │ ├── org-data │ │ │ ├── bitbucket-cloud-orgs.json │ │ │ ├── bitbucket-server-orgs.json │ │ │ └── orgs.json │ │ └── single-project │ │ │ └── import-projects-single.json │ ├── help.test.ts │ ├── import.test.ts │ ├── import:data.test.ts │ ├── import:data │ │ └── github-cloud-app.test.ts │ ├── list:imported.test.ts │ ├── orgs.test.ts │ ├── orgs:create.test.ts │ ├── orgs:data │ │ ├── bitbucket.test.ts │ │ ├── errors.test.ts │ │ ├── generic.test.ts │ │ ├── github-cloud-app.test.ts │ │ ├── github.test.ts │ │ ├── gitlab.test.ts │ │ └── group-hello-github-com-orgs.json │ ├── projects.test.ts │ └── sync.test.ts └── unit │ └── scripts │ ├── fixtures │ ├── bitbucket-cloud │ │ ├── imported-targets.log │ │ └── no-id │ │ │ └── imported-targets.log │ ├── bitbucket-server │ │ └── imported-targets.log │ └── gitlab │ │ ├── imported-targets.log │ │ └── no-id │ │ └── imported-targets.log │ └── import-projects.test.ts └── tsconfig.json /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @snyk/cs-engineers 2 | -------------------------------------------------------------------------------- /.github/CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/.github/CONTRIBUTING.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug-report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/.github/ISSUE_TEMPLATE/bug-report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature-request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/.github/ISSUE_TEMPLATE/feature-request.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitleaks.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/.gitleaks.toml -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | 20 2 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/.prettierrc.json -------------------------------------------------------------------------------- /.releaserc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/.releaserc -------------------------------------------------------------------------------- /.snyk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/.snyk -------------------------------------------------------------------------------- /.tool-versions: -------------------------------------------------------------------------------- 1 | nodejs 20.11.1 2 | -------------------------------------------------------------------------------- /Contributor-Agreement.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/Contributor-Agreement.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/README.md -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/babel.config.js -------------------------------------------------------------------------------- /catalog-info.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/catalog-info.yaml -------------------------------------------------------------------------------- /docs/example-workflows/aws-automation-example.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/docs/example-workflows/aws-automation-example.md -------------------------------------------------------------------------------- /docs/github-cloud-app.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/docs/github-cloud-app.md -------------------------------------------------------------------------------- /docs/import-data.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/docs/import-data.md -------------------------------------------------------------------------------- /docs/import.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/docs/import.md -------------------------------------------------------------------------------- /docs/mirror-bitbucket-cloud-app.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/docs/mirror-bitbucket-cloud-app.md -------------------------------------------------------------------------------- /docs/mirror-bitbucket-cloud.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/docs/mirror-bitbucket-cloud.md -------------------------------------------------------------------------------- /docs/mirror-bitbucket-server.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/docs/mirror-bitbucket-server.md -------------------------------------------------------------------------------- /docs/mirror-github.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/docs/mirror-github.md -------------------------------------------------------------------------------- /docs/mirror-gitlab.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/docs/mirror-gitlab.md -------------------------------------------------------------------------------- /docs/orgs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/docs/orgs.md -------------------------------------------------------------------------------- /docs/sync.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/docs/sync.md -------------------------------------------------------------------------------- /eslint.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/eslint.config.mjs -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/package.json -------------------------------------------------------------------------------- /scripts/build.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/scripts/build.js -------------------------------------------------------------------------------- /src/cmds/import.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/cmds/import.ts -------------------------------------------------------------------------------- /src/cmds/import:data.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/cmds/import:data.ts -------------------------------------------------------------------------------- /src/cmds/list:imported.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/cmds/list:imported.ts -------------------------------------------------------------------------------- /src/cmds/orgs:create.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/cmds/orgs:create.ts -------------------------------------------------------------------------------- /src/cmds/orgs:data.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/cmds/orgs:data.ts -------------------------------------------------------------------------------- /src/cmds/sync.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/cmds/sync.ts -------------------------------------------------------------------------------- /src/common.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/common.ts -------------------------------------------------------------------------------- /src/generate-target-id.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/generate-target-id.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/lib/api/feature-flags/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/api/feature-flags/index.ts -------------------------------------------------------------------------------- /src/lib/api/group/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/api/group/index.ts -------------------------------------------------------------------------------- /src/lib/api/import/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/api/import/index.ts -------------------------------------------------------------------------------- /src/lib/api/import/request-with-rate-limit.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/api/import/request-with-rate-limit.ts -------------------------------------------------------------------------------- /src/lib/api/org/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/api/org/index.ts -------------------------------------------------------------------------------- /src/lib/api/poll-import/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/api/poll-import/index.ts -------------------------------------------------------------------------------- /src/lib/api/project/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/api/project/index.ts -------------------------------------------------------------------------------- /src/lib/delete-directory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/delete-directory.ts -------------------------------------------------------------------------------- /src/lib/filter-out-existing-orgs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/filter-out-existing-orgs.ts -------------------------------------------------------------------------------- /src/lib/find-files.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/find-files.ts -------------------------------------------------------------------------------- /src/lib/get-api-token.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/get-api-token.ts -------------------------------------------------------------------------------- /src/lib/get-concurrent-imports-number.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/get-concurrent-imports-number.ts -------------------------------------------------------------------------------- /src/lib/get-import-path.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/get-import-path.ts -------------------------------------------------------------------------------- /src/lib/get-logging-path.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/get-logging-path.ts -------------------------------------------------------------------------------- /src/lib/get-snyk-host.ts: -------------------------------------------------------------------------------- 1 | export function getSnykHost(): string { 2 | return process.env.SNYK_API || 'https://api.snyk.io/v1'; 3 | } 4 | -------------------------------------------------------------------------------- /src/lib/git-clone.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/git-clone.ts -------------------------------------------------------------------------------- /src/lib/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/index.ts -------------------------------------------------------------------------------- /src/lib/limiters.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/limiters.ts -------------------------------------------------------------------------------- /src/lib/project/update-branch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/project/update-branch.ts -------------------------------------------------------------------------------- /src/lib/request-with-rate-limit.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/request-with-rate-limit.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/azure/get-azure-token.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/azure/get-azure-token.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/azure/get-base-url.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/azure/get-base-url.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/azure/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/azure/index.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/azure/list-projects.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/azure/list-projects.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/azure/list-repos.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/azure/list-repos.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/azure/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/azure/types.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/bitbucket-cloud-app/get-bitbucket-app-repo-metadata.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/bitbucket-cloud-app/get-bitbucket-app-repo-metadata.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/bitbucket-cloud-app/get-bitbucket-app-token.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/bitbucket-cloud-app/get-bitbucket-app-token.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/bitbucket-cloud-app/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/bitbucket-cloud-app/index.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/bitbucket-cloud-app/is-configured.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/bitbucket-cloud-app/is-configured.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/bitbucket-cloud-app/list-repos.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/bitbucket-cloud-app/list-repos.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/bitbucket-cloud-app/list-workspaces.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/bitbucket-cloud-app/list-workspaces.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/bitbucket-cloud-app/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/bitbucket-cloud-app/types.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/bitbucket-cloud/get-bitbucket-cloud-auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/bitbucket-cloud/get-bitbucket-cloud-auth.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/bitbucket-cloud/get-token.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/bitbucket-cloud/get-token.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/bitbucket-cloud/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/bitbucket-cloud/index.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/bitbucket-cloud/list-repos.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/bitbucket-cloud/list-repos.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/bitbucket-cloud/list-workspaces.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/bitbucket-cloud/list-workspaces.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/bitbucket-cloud/sync-client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/bitbucket-cloud/sync-client.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/bitbucket-cloud/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/bitbucket-cloud/types.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/bitbucket-cloud/workspace-is-empty.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/bitbucket-cloud/workspace-is-empty.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/bitbucket-server/get-bitbucket-server-token.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/bitbucket-server/get-bitbucket-server-token.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/bitbucket-server/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/bitbucket-server/index.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/bitbucket-server/list-projects.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/bitbucket-server/list-projects.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/bitbucket-server/list-repos.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/bitbucket-server/list-repos.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/bitbucket-server/project-is-empty.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/bitbucket-server/project-is-empty.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/bitbucket-server/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/bitbucket-server/types.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/github-cloud-app/get-github-app-token.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/github-cloud-app/get-github-app-token.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/github-cloud-app/get-repo-metadata.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/github-cloud-app/get-repo-metadata.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/github-cloud-app/git-clone-url.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/github-cloud-app/git-clone-url.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/github-cloud-app/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/github-cloud-app/index.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/github-cloud-app/is-configured.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/github-cloud-app/is-configured.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/github-cloud-app/list-organizations.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/github-cloud-app/list-organizations.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/github-cloud-app/list-repos.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/github-cloud-app/list-repos.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/github-cloud-app/organization-is-empty.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/github-cloud-app/organization-is-empty.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/github-cloud-app/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/github-cloud-app/types.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/github/get-github-token.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/github/get-github-token.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/github/get-repo-metadata.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/github/get-repo-metadata.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/github/git-clone-url.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/github/git-clone-url.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/github/github-base-url.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/github/github-base-url.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/github/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/github/index.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/github/is-configured.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/github/is-configured.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/github/list-organizations.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/github/list-organizations.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/github/list-repos.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/github/list-repos.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/github/organization-is-empty.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/github/organization-is-empty.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/github/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/github/types.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/gitlab/get-base-url.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/gitlab/get-base-url.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/gitlab/get-token.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/gitlab/get-token.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/gitlab/group-is-empty.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/gitlab/group-is-empty.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/gitlab/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/gitlab/index.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/gitlab/list-groups.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/gitlab/list-groups.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/gitlab/list-repos.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/gitlab/list-repos.ts -------------------------------------------------------------------------------- /src/lib/source-handlers/gitlab/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/source-handlers/gitlab/types.ts -------------------------------------------------------------------------------- /src/lib/supported-project-types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/supported-project-types/index.ts -------------------------------------------------------------------------------- /src/lib/supported-project-types/supported-manifests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/supported-project-types/supported-manifests.ts -------------------------------------------------------------------------------- /src/lib/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/lib/types.ts -------------------------------------------------------------------------------- /src/load-file.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/load-file.ts -------------------------------------------------------------------------------- /src/loggers/log-created-org.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/loggers/log-created-org.ts -------------------------------------------------------------------------------- /src/loggers/log-failed-imports.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/loggers/log-failed-imports.ts -------------------------------------------------------------------------------- /src/loggers/log-failed-org.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/loggers/log-failed-org.ts -------------------------------------------------------------------------------- /src/loggers/log-failed-polls.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/loggers/log-failed-polls.ts -------------------------------------------------------------------------------- /src/loggers/log-failed-projects.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/loggers/log-failed-projects.ts -------------------------------------------------------------------------------- /src/loggers/log-failed-sync.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/loggers/log-failed-sync.ts -------------------------------------------------------------------------------- /src/loggers/log-failed-to-update-projects.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/loggers/log-failed-to-update-projects.ts -------------------------------------------------------------------------------- /src/loggers/log-import-jobs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/loggers/log-import-jobs.ts -------------------------------------------------------------------------------- /src/loggers/log-imported-batch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/loggers/log-imported-batch.ts -------------------------------------------------------------------------------- /src/loggers/log-imported-projects.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/loggers/log-imported-projects.ts -------------------------------------------------------------------------------- /src/loggers/log-imported-targets.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/loggers/log-imported-targets.ts -------------------------------------------------------------------------------- /src/loggers/log-job-result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/loggers/log-job-result.ts -------------------------------------------------------------------------------- /src/loggers/log-updated-project.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/loggers/log-updated-project.ts -------------------------------------------------------------------------------- /src/runtime/adapter-registry.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/runtime/adapter-registry.ts -------------------------------------------------------------------------------- /src/runtime/pkg-includes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/runtime/pkg-includes.ts -------------------------------------------------------------------------------- /src/scripts/create-orgs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/scripts/create-orgs.ts -------------------------------------------------------------------------------- /src/scripts/generate-imported-targets-from-snyk.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/scripts/generate-imported-targets-from-snyk.ts -------------------------------------------------------------------------------- /src/scripts/generate-org-data.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/scripts/generate-org-data.ts -------------------------------------------------------------------------------- /src/scripts/generate-targets-data.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/scripts/generate-targets-data.ts -------------------------------------------------------------------------------- /src/scripts/import-projects.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/scripts/import-projects.ts -------------------------------------------------------------------------------- /src/scripts/sync/clone-and-analyze.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/scripts/sync/clone-and-analyze.ts -------------------------------------------------------------------------------- /src/scripts/sync/generate-projects-diff-actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/scripts/sync/generate-projects-diff-actions.ts -------------------------------------------------------------------------------- /src/scripts/sync/import-target.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/scripts/sync/import-target.ts -------------------------------------------------------------------------------- /src/scripts/sync/sync-org-projects.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/scripts/sync/sync-org-projects.ts -------------------------------------------------------------------------------- /src/scripts/sync/sync-projects-per-target.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/scripts/sync/sync-projects-per-target.ts -------------------------------------------------------------------------------- /src/stream-data.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/stream-data.ts -------------------------------------------------------------------------------- /src/write-file.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/src/write-file.ts -------------------------------------------------------------------------------- /test/cmds/import-data-bitbucket-cloud-app.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/cmds/import-data-bitbucket-cloud-app.test.ts -------------------------------------------------------------------------------- /test/cmds/orgs-data-bitbucket-cloud-app.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/cmds/orgs-data-bitbucket-cloud-app.test.ts -------------------------------------------------------------------------------- /test/delete-files.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/delete-files.ts -------------------------------------------------------------------------------- /test/delete-test-projects.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/delete-test-projects.ts -------------------------------------------------------------------------------- /test/generate-log-file-names.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/generate-log-file-names.ts -------------------------------------------------------------------------------- /test/lib/__snapshots__/org.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/lib/__snapshots__/org.test.ts.snap -------------------------------------------------------------------------------- /test/lib/api/feature-flags/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/lib/api/feature-flags/index.test.ts -------------------------------------------------------------------------------- /test/lib/api/project/__snapshots__/index.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/lib/api/project/__snapshots__/index.test.ts.snap -------------------------------------------------------------------------------- /test/lib/api/project/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/lib/api/project/index.test.ts -------------------------------------------------------------------------------- /test/lib/choose-clone-url.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/lib/choose-clone-url.test.ts -------------------------------------------------------------------------------- /test/lib/delete-directory.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/lib/delete-directory.test.ts -------------------------------------------------------------------------------- /test/lib/find-files.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/lib/find-files.test.ts -------------------------------------------------------------------------------- /test/lib/fixtures/azure/org-only-one-project.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/lib/fixtures/azure/org-only-one-project.json -------------------------------------------------------------------------------- /test/lib/fixtures/azure/org-projects-first-page.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/lib/fixtures/azure/org-projects-first-page.json -------------------------------------------------------------------------------- /test/lib/fixtures/azure/org-projects-second-page.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/lib/fixtures/azure/org-projects-second-page.json -------------------------------------------------------------------------------- /test/lib/fixtures/azure/org-repos.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/lib/fixtures/azure/org-repos.json -------------------------------------------------------------------------------- /test/lib/fixtures/create-orgs/1-org/1-org-minified.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/lib/fixtures/create-orgs/1-org/1-org-minified.json -------------------------------------------------------------------------------- /test/lib/fixtures/create-orgs/1-org/1-org-prettified.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/lib/fixtures/create-orgs/1-org/1-org-prettified.json -------------------------------------------------------------------------------- /test/lib/fixtures/create-orgs/many-orgs/minified.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/lib/fixtures/create-orgs/many-orgs/minified.json -------------------------------------------------------------------------------- /test/lib/fixtures/create-orgs/many-orgs/prettified.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/lib/fixtures/create-orgs/many-orgs/prettified.json -------------------------------------------------------------------------------- /test/lib/fixtures/empty.logx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/lib/fixtures/find-files/maven/pom.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/lib/fixtures/find-files/maven/test.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/lib/fixtures/find-files/mvn/pom.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/lib/fixtures/find-files/mvn/test.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/lib/fixtures/find-files/python/requirements/dev.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/lib/fixtures/non-empty.logx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/lib/fixtures/non-empty.logx -------------------------------------------------------------------------------- /test/lib/fixtures/single-project/import-projects-single.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/lib/fixtures/single-project/import-projects-single.json -------------------------------------------------------------------------------- /test/lib/fixtures/single-project/import-projects.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/lib/fixtures/single-project/import-projects.json -------------------------------------------------------------------------------- /test/lib/generate-target-ids.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/lib/generate-target-ids.test.ts -------------------------------------------------------------------------------- /test/lib/get-import-path.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/lib/get-import-path.spec.ts -------------------------------------------------------------------------------- /test/lib/git-clone-choose-url.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/lib/git-clone-choose-url.spec.ts -------------------------------------------------------------------------------- /test/lib/git-clone.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/lib/git-clone.spec.ts -------------------------------------------------------------------------------- /test/lib/import-projects.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/lib/import-projects.test.ts -------------------------------------------------------------------------------- /test/lib/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/lib/index.test.ts -------------------------------------------------------------------------------- /test/lib/org.api.unit.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/lib/org.api.unit.test.ts -------------------------------------------------------------------------------- /test/lib/org.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/lib/org.test.ts -------------------------------------------------------------------------------- /test/lib/orgs.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/lib/orgs.test.ts -------------------------------------------------------------------------------- /test/lib/project/update-branch.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/lib/project/update-branch.test.ts -------------------------------------------------------------------------------- /test/lib/request-with-rate-limit.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/lib/request-with-rate-limit.test.ts -------------------------------------------------------------------------------- /test/lib/source-handlers/azure/azure.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/lib/source-handlers/azure/azure.test.ts -------------------------------------------------------------------------------- /test/lib/source-handlers/bitbucket-cloud-app/get-bitbucket-app-token.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/lib/source-handlers/bitbucket-cloud-app/get-bitbucket-app-token.test.ts -------------------------------------------------------------------------------- /test/lib/source-handlers/bitbucket-cloud-app/list-workspaces.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/lib/source-handlers/bitbucket-cloud-app/list-workspaces.test.ts -------------------------------------------------------------------------------- /test/lib/source-handlers/bitbucket-cloud/bitbucket-cloud.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/lib/source-handlers/bitbucket-cloud/bitbucket-cloud.test.ts -------------------------------------------------------------------------------- /test/lib/source-handlers/bitbucket-cloud/get-bitbucket-cloud-auth.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/lib/source-handlers/bitbucket-cloud/get-bitbucket-cloud-auth.test.ts -------------------------------------------------------------------------------- /test/lib/source-handlers/bitbucket-cloud/sync-client.auth.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/lib/source-handlers/bitbucket-cloud/sync-client.auth.spec.ts -------------------------------------------------------------------------------- /test/lib/source-handlers/bitbucket-cloud/sync-client.branch-sha.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/lib/source-handlers/bitbucket-cloud/sync-client.branch-sha.spec.ts -------------------------------------------------------------------------------- /test/lib/source-handlers/bitbucket-cloud/sync-client.encoding.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/lib/source-handlers/bitbucket-cloud/sync-client.encoding.spec.ts -------------------------------------------------------------------------------- /test/lib/source-handlers/bitbucket-server/bitbucket-server.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/lib/source-handlers/bitbucket-server/bitbucket-server.test.ts -------------------------------------------------------------------------------- /test/lib/source-handlers/bitbucket-server/sync-client.401.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/lib/source-handlers/bitbucket-server/sync-client.401.spec.ts -------------------------------------------------------------------------------- /test/lib/source-handlers/github-cloud-app/github-cloud-app.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/lib/source-handlers/github-cloud-app/github-cloud-app.test.ts -------------------------------------------------------------------------------- /test/lib/source-handlers/github/github.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/lib/source-handlers/github/github.test.ts -------------------------------------------------------------------------------- /test/lib/source-handlers/gitlab/list-groups.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/lib/source-handlers/gitlab/list-groups.test.ts -------------------------------------------------------------------------------- /test/lib/source-handlers/gitlab/list-repos.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/lib/source-handlers/gitlab/list-repos.test.ts -------------------------------------------------------------------------------- /test/lib/stream-data.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/lib/stream-data.spec.ts -------------------------------------------------------------------------------- /test/lib/supported-project-types/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/lib/supported-project-types/index.test.ts -------------------------------------------------------------------------------- /test/needle.mock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/needle.mock.ts -------------------------------------------------------------------------------- /test/scripts/__mocks__/github-cloud-app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/scripts/__mocks__/github-cloud-app.ts -------------------------------------------------------------------------------- /test/scripts/__mocks__/snyk-request-manager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/scripts/__mocks__/snyk-request-manager.ts -------------------------------------------------------------------------------- /test/scripts/create-orgs.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/scripts/create-orgs.test.ts -------------------------------------------------------------------------------- /test/scripts/fixtures/create-orgs/1-org/1-org.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/scripts/fixtures/create-orgs/1-org/1-org.json -------------------------------------------------------------------------------- /test/scripts/fixtures/create-orgs/fails-to-create/1-org.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/scripts/fixtures/create-orgs/fails-to-create/1-org.json -------------------------------------------------------------------------------- /test/scripts/fixtures/create-orgs/fails-to-create/snyk-created-orgs.json: -------------------------------------------------------------------------------- 1 | { "orgData": [] } 2 | -------------------------------------------------------------------------------- /test/scripts/fixtures/create-orgs/unique-org/1-org.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/scripts/fixtures/create-orgs/unique-org/1-org.json -------------------------------------------------------------------------------- /test/scripts/fixtures/empty-target/import-projects.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/scripts/fixtures/empty-target/import-projects.json -------------------------------------------------------------------------------- /test/scripts/fixtures/failed-batch/import-projects.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/scripts/fixtures/failed-batch/import-projects.json -------------------------------------------------------------------------------- /test/scripts/fixtures/import-projects-gitlab.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/scripts/fixtures/import-projects-gitlab.json -------------------------------------------------------------------------------- /test/scripts/fixtures/import-projects-invalid.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/scripts/fixtures/import-projects-invalid.json -------------------------------------------------------------------------------- /test/scripts/fixtures/import-projects.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/scripts/fixtures/import-projects.json -------------------------------------------------------------------------------- /test/scripts/fixtures/invalid-target/import-projects-invalid-target.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/scripts/fixtures/invalid-target/import-projects-invalid-target.json -------------------------------------------------------------------------------- /test/scripts/fixtures/no-supported-manifests/import-projects.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/scripts/fixtures/no-supported-manifests/import-projects.json -------------------------------------------------------------------------------- /test/scripts/fixtures/projects-with-errors/import-projects.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/scripts/fixtures/projects-with-errors/import-projects.json -------------------------------------------------------------------------------- /test/scripts/fixtures/repos/goof/package.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /test/scripts/fixtures/repos/goof/to-ignore/package.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /test/scripts/fixtures/repos/monorepo-new/build.gradle: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/scripts/fixtures/repos/monorepo-new/new/build.gradle: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/scripts/fixtures/repos/monorepo-new/new/package.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /test/scripts/fixtures/repos/monorepo-new/package.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /test/scripts/fixtures/repos/monorepo/build.gradle: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/scripts/fixtures/repos/monorepo/package.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /test/scripts/fixtures/repos/python/requirements/dev.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/scripts/fixtures/with-import-log/import-projects.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/scripts/fixtures/with-import-log/import-projects.json -------------------------------------------------------------------------------- /test/scripts/fixtures/with-import-log/imported-targets.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/scripts/fixtures/with-import-log/imported-targets.log -------------------------------------------------------------------------------- /test/scripts/generate-imported-targets-from-snyk.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/scripts/generate-imported-targets-from-snyk.test.ts -------------------------------------------------------------------------------- /test/scripts/generate-org-data.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/scripts/generate-org-data.test.ts -------------------------------------------------------------------------------- /test/scripts/generate-targets-data.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/scripts/generate-targets-data.test.ts -------------------------------------------------------------------------------- /test/scripts/import-projects.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/scripts/import-projects.test.ts -------------------------------------------------------------------------------- /test/scripts/polling.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/scripts/polling.test.ts -------------------------------------------------------------------------------- /test/scripts/sync/clone-and-analyze.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/scripts/sync/clone-and-analyze.spec.ts -------------------------------------------------------------------------------- /test/scripts/sync/generate-projects-diff-actions.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/scripts/sync/generate-projects-diff-actions.spec.ts -------------------------------------------------------------------------------- /test/scripts/sync/import-target.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/scripts/sync/import-target.spec.ts -------------------------------------------------------------------------------- /test/scripts/sync/sync-org-projects.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/scripts/sync/sync-org-projects.test.ts -------------------------------------------------------------------------------- /test/setup-env.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/setup-env.ts -------------------------------------------------------------------------------- /test/simple-git.mock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/simple-git.mock.ts -------------------------------------------------------------------------------- /test/snyk-request-manager.mock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/snyk-request-manager.mock.ts -------------------------------------------------------------------------------- /test/system/fixtures/create-orgs/fails-to-create/1-org.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/system/fixtures/create-orgs/fails-to-create/1-org.json -------------------------------------------------------------------------------- /test/system/fixtures/create-orgs/fails-to-create/already-exists/1-org.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/system/fixtures/create-orgs/fails-to-create/already-exists/1-org.json -------------------------------------------------------------------------------- /test/system/fixtures/import-projects.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/system/fixtures/import-projects.json -------------------------------------------------------------------------------- /test/system/fixtures/org-data/bitbucket-cloud-orgs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/system/fixtures/org-data/bitbucket-cloud-orgs.json -------------------------------------------------------------------------------- /test/system/fixtures/org-data/bitbucket-server-orgs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/system/fixtures/org-data/bitbucket-server-orgs.json -------------------------------------------------------------------------------- /test/system/fixtures/org-data/orgs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/system/fixtures/org-data/orgs.json -------------------------------------------------------------------------------- /test/system/fixtures/single-project/import-projects-single.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/system/fixtures/single-project/import-projects-single.json -------------------------------------------------------------------------------- /test/system/help.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/system/help.test.ts -------------------------------------------------------------------------------- /test/system/import.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/system/import.test.ts -------------------------------------------------------------------------------- /test/system/import:data.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/system/import:data.test.ts -------------------------------------------------------------------------------- /test/system/import:data/github-cloud-app.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/system/import:data/github-cloud-app.test.ts -------------------------------------------------------------------------------- /test/system/list:imported.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/system/list:imported.test.ts -------------------------------------------------------------------------------- /test/system/orgs.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/system/orgs.test.ts -------------------------------------------------------------------------------- /test/system/orgs:create.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/system/orgs:create.test.ts -------------------------------------------------------------------------------- /test/system/orgs:data/bitbucket.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/system/orgs:data/bitbucket.test.ts -------------------------------------------------------------------------------- /test/system/orgs:data/errors.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/system/orgs:data/errors.test.ts -------------------------------------------------------------------------------- /test/system/orgs:data/generic.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/system/orgs:data/generic.test.ts -------------------------------------------------------------------------------- /test/system/orgs:data/github-cloud-app.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/system/orgs:data/github-cloud-app.test.ts -------------------------------------------------------------------------------- /test/system/orgs:data/github.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/system/orgs:data/github.test.ts -------------------------------------------------------------------------------- /test/system/orgs:data/gitlab.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/system/orgs:data/gitlab.test.ts -------------------------------------------------------------------------------- /test/system/orgs:data/group-hello-github-com-orgs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/system/orgs:data/group-hello-github-com-orgs.json -------------------------------------------------------------------------------- /test/system/projects.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/system/projects.test.ts -------------------------------------------------------------------------------- /test/system/sync.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/system/sync.test.ts -------------------------------------------------------------------------------- /test/unit/scripts/fixtures/bitbucket-cloud/imported-targets.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/unit/scripts/fixtures/bitbucket-cloud/imported-targets.log -------------------------------------------------------------------------------- /test/unit/scripts/fixtures/bitbucket-cloud/no-id/imported-targets.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/unit/scripts/fixtures/bitbucket-cloud/no-id/imported-targets.log -------------------------------------------------------------------------------- /test/unit/scripts/fixtures/bitbucket-server/imported-targets.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/unit/scripts/fixtures/bitbucket-server/imported-targets.log -------------------------------------------------------------------------------- /test/unit/scripts/fixtures/gitlab/imported-targets.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/unit/scripts/fixtures/gitlab/imported-targets.log -------------------------------------------------------------------------------- /test/unit/scripts/fixtures/gitlab/no-id/imported-targets.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/unit/scripts/fixtures/gitlab/no-id/imported-targets.log -------------------------------------------------------------------------------- /test/unit/scripts/import-projects.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/test/unit/scripts/import-projects.test.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/snyk-api-import/HEAD/tsconfig.json --------------------------------------------------------------------------------