푸시 보호가 커밋을 차단한 이유 이해
유출된 비밀은 리포지토리와 공급망에 심각한 보안 위험을 초래할 수 있습니다. 푸시 보호는 악의적인 행위자가 악용할 수 있는 코드베이스에 비밀을 실수로 도입하는 것을 방지합니다.
GitHub에 기여하는 리포지토리가 푸시 보호로 보호되는 경우 다음과 같은 경우 언제든지 푸시 보호 블록이 발생합니다.
- 인식된 비밀이 포함된 커밋을 명령줄에서 원격 리포지토리로 푸시합니다.
-
**변경 내용을 커밋**하거나 **GitHub UI** 의 리포지토리에 인식된 비밀이 포함된 파일을 업로드합니다. -
**REST API**에서 인식된 비밀을 포함하는 **특정 요청을 만듭니다**.
푸시 보호 블록 해결
블록을 해결하려면 커밋 (또는 요청)에서 비밀을 제거해야 합니다. 비밀이 푸시에 안전한 상태라고 생각하는 경우, 블록을 우회할 수 있습니다. 비밀을 제거하거나 필요한 경우 블록을 우회하는 방법에 대한 자세한 내용은 다음을 참조하세요.
-
[AUTOTITLE](/code-security/secret-scanning/working-with-secret-scanning-and-push-protection/working-with-push-protection-from-the-command-line) -
[AUTOTITLE](/code-security/secret-scanning/working-with-secret-scanning-and-push-protection/working-with-push-protection-in-the-github-ui) -
[AUTOTITLE](/code-security/secret-scanning/working-with-secret-scanning-and-push-protection/working-with-push-protection-from-the-rest-api)
추가 참고 자료
-
[AUTOTITLE](/code-security/secret-scanning/introduction/about-push-protection) -
[AUTOTITLE](/code-security/secret-scanning/introduction/supported-secret-scanning-patterns)