Skip to content

Commit

Permalink
replace audit egress policy with block
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbom committed Feb 6, 2024
1 parent ec92bb8 commit 8431a07
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/ci-pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,24 @@ jobs:
- name: Harden Runner
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
egress-policy: audit
disable-sudo: false
egress-policy: block
allowed-endpoints: >
api.github.com:443
auth.docker.io:443
cdn.dl.k8s.io:443
dl-cdn.alpinelinux.org:443
dl.k8s.io:443
get.helm.sh:443
github.com:443
k8s.gcr.io:443
kind.sigs.k8s.io:443
objects.githubusercontent.com:443
openservicemesh.github.io:443
production.cloudflare.docker.com:443
proxy.golang.org:443
registry-1.docker.io:443
storage.googleapis.com:443
- uses: actions/checkout@v4
with:
Expand Down

0 comments on commit 8431a07

Please sign in to comment.