Skip to content
This repository was archived by the owner on Dec 21, 2024. It is now read-only.

Commit b90e730

Browse files
committed
Add egress blocks
Signed-off-by: egibs <20933572+egibs@users.noreply.github.com>
1 parent 34b55e1 commit b90e730

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/scorecard.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,19 @@ jobs:
2222
- name: Harden Runner
2323
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6
2424
with:
25-
egress-policy: audit
25+
disable-sudo: true
26+
egress-policy: block
27+
allowed-endpoints: >
28+
api.github.com:443
29+
api.osv.dev:443
30+
api.scorecard.dev:443
31+
cgr.dev:443
32+
fulcio.sigstore.dev:443
33+
github.com:443
34+
oss-fuzz-build-logs.storage.googleapis.com:443
35+
rekor.sigstore.dev:443
36+
tuf-repo-cdn.sigstore.dev:443
37+
www.bestpractices.dev:443
2638
2739
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
2840
with:

0 commit comments

Comments
 (0)