Skip to content

Commit e6edd20

Browse files
configure block
1 parent ffd5d46 commit e6edd20

1 file changed

Lines changed: 23 additions & 2 deletions

File tree

.github/workflows/cicd.yaml

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,17 @@ jobs:
107107
uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4
108108
with:
109109
disable-sudo: true
110-
egress-policy: audit
110+
egress-policy: block
111+
allowed-endpoints: >
112+
api.github.com:443
113+
fulcio.sigstore.dev
114+
ghcr.io
115+
github.com:443
116+
pkg-containers.githubusercontent.com:443
117+
rekor.sigstore.dev
118+
test.pypi.org
119+
tuf-repo-cdn.sigstore.dev
120+
uploads.github.com:443
111121
112122
- name: Download all the distributions
113123
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
@@ -148,7 +158,18 @@ jobs:
148158
uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4
149159
with:
150160
disable-sudo: true
151-
egress-policy: audit
161+
egress-policy: block
162+
allowed-endpoints: >
163+
api.github.com:443
164+
fulcio.sigstore.dev
165+
ghcr.io
166+
github.com:443
167+
pkg-containers.githubusercontent.com:443
168+
pypi.org
169+
rekor.sigstore.dev
170+
tuf-repo-cdn.sigstore.dev
171+
upload.pypi.org
172+
uploads.github.com:443
152173
153174
- name: Download all the distributions
154175
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1

0 commit comments

Comments
 (0)