Skip to content

Commit

Permalink
Only allowed authorized remote hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
eaescob authored Nov 26, 2022
1 parent 9942f27 commit 0c88228
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,15 @@ jobs:
language: [ cpp ]

steps:
- name: harden-runner
uses: step-security/harden-runner@v2
- name: Harden Runner
uses: step-security/harden-runner@ebacdc22ef6c2cfb85ee5ded8f2e640f4c776dd5
with:
egress-policy: audit
disable-sudo: true
egress-policy: block
allowed-endpoints: >
api.github.com:443
github.com:443
uploads.github.com:443
- name: Checkout
uses: actions/checkout@v3
- name: Initialize CodeQL
Expand Down

0 comments on commit 0c88228

Please sign in to comment.