This product is not supported for your selected Datadog site. ().
이 페이지는 아직 영어로 제공되지 않습니다. 번역 작업 중입니다. 현재 번역 프로젝트에 대한 질문이나 피드백이 있으신 경우 언제든지 연락주시기 바랍니다.
Metadata
ID:github-actions/unpinned-actions
Language: YAML
Severity: Warning
Category: Security
Description
Pin GitHub Actions by commit hash to ensure supply chain security.
Using a branch (@main) or tag (@v1) allows for implicit updates, which can introduce unexpected or malicious changes. Instead, always pin actions to a full length commit SHA. You can find the commit SHA for the latest tag from the action’s repository and ensure frequent updates via auto-updaters such as dependabot. Include a comment with the corresponding full-length SemVer tag for clarity:
By default, the rule allows the following actions without pinning: “actions/checkout”, “datadog/datadog-sca-github-action”, “datadog/datadog-static-analyzer-github-action”
Arguments
Use the rule argument allow to allow a list of actions without pinning. The list is comma-separated.