developmentseed / developmentseed/action-python-security-auditing

Switch to upstream PyCQA/bandit-action once SHA pinning is merged

Đang mở
#6 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
dependencies tech-debt
Ngôn ngữ chính
Python
Star
0
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả


## Context

We currently pin to a fork (`lhoupert/bandit-action`) instead of the upstream
`PyCQA/bandit-action` because the upstream action pins its internal dependencies
(`actions/setup-python`, `actions/checkout`, `github/codeql-action/upload-sarif`)
to mutable version tags rather than full-length commit SHAs.

This breaks workflows in environments that enforce SHA pinning for all transitive
action dependencies — a policy enforced by StepSecurity and OpenSSF Scorecard.

Upstream issue: https://github.com/PyCQA/bandit-action/issues/28
Upstream fix PR: https://github.com/PyCQA/bandit-action/pull/29 (awaiting review)

## Action required

Once PR #29 is merged and a new release of `PyCQA/bandit-action` is cut, update
`action.yml` to replace:

```yaml
uses: lhoupert/bandit-action@

with the upstream pinned SHA:

uses: PyCQA/bandit-action@ # vX.Y.Z

Then the fork can be retired.
```

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.