플래그

각 SCM 스크립트에 대한 플래그

SCM
자격 증명
조직
리포지토리
제외 파일 경로
Json
Snyk 모니터링 리포지토리 건너뛰기
가져오기 파일 폴더 경로
가져오기 파일 리포지토리 유형
추가 플래그

Azure

"token"

"projectKeys"

"repo"

"exclusionFilePath"

"json"

"skipSnykMonitoredRepos"

"importConfDir"

"importFileRepoType"

"org" [필수]

BB Cloud

"user"/"password"

"workspaces"

"repo"

"exclusionFilePath"

"json"

"skipSnykMonitoredRepos"

"importConfDir"

"importFileRepoType"

BB Server

"token"

"projectKeys"

"repo"

"exclusionFilePath"

"json"

"skipSnykMonitoredRepos"

"importConfDir"

"importFileRepoType"

"url" [필수]

GitHub

"token"

"orgs"

"repo"

"exclusionFilePath"

"json"

GitHub Ent.

"token"

"orgs"

"repo"

"exclusionFilePath"

"json"

"url" [필수], "fetchAllOrgs" [선택 사항]**

GitLab

"token"

"groups"

"project"

"exclusionFilePath"

"json"

GitLab Ent.

"token"

"groups"

"project"

"exclusionFilePath"

"json"

"url" [필수]

circle-info

플래그 이름은 SCM의 이름과 일치합니다. Bitbucket 서버, GitHub Enterprise, GitLab Enterprise와 같은 "비공개" SCM은 명령에서 플래그로 설정할 호스트 URL이 필요합니다.

circle-info

"fetchAllOrgs" 플래그는 GitHub Enterprise에만 해당되며 GHE에서 조직에 대한 두 가지 액세스 수준을 구분합니다.

  1. 플래그 사용 시 - 제공된 토큰이 액세스할 수 있는 모든 조직을 가져옵니다.

  2. 플래그 미사용 시 - 토큰이 제공된 사용자가 읽기 권한 등 일부 작업 권한이 있는 조직만 가져옵니다.

circle-info

snyk-api-import 도구와 함께 생성된 가져오기 파일을 사용하는 방법에 대한 자세한 내용은 가져오기 파일 생성 및 사용을 참조하십시오.

Last updated