diff --git a/.github/workflows/dependency_review.yml b/.github/workflows/dependency_review.yml index 0e3acff4..c0a9343c 100644 --- a/.github/workflows/dependency_review.yml +++ b/.github/workflows/dependency_review.yml @@ -20,7 +20,12 @@ jobs: - name: 'Harden Runner' uses: 'step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6' # v2.8.1 with: - egress-policy: 'audit' + disable-sudo: true + egress-policy: 'block' + allowed-endpoints: > + api.github.com:443 + api.securityscorecards.dev:443 + github.com:443 - name: 'Checkout the repository' uses: 'actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332' # v4.1.7