Skip to content

Commit

Permalink
harden runner: remove port from wildcard domain
Browse files Browse the repository at this point in the history
  • Loading branch information
waybackarchiver authored Feb 11, 2024
1 parent 320a765 commit 34a7244
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/reusable-builder-go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
proxy.golang.org:443
sum.golang.org:443
storage.googleapis.com:443
*.actions.githubusercontent.com:443
*.actions.githubusercontent.com
- name: Check out code base
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/reusable-builder-snap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,8 @@ jobs:
security.ubuntu.com:443
cloud-images.ubuntu.com:443
storage.snapcraftcontent.com:443
canonical-bos01.cdn.snapcraftcontent.com:443
canonical-lgw01.cdn.snapcraftcontent.com:443
uk.lxd.images.canonical.com:443
us.lxd.images.canonical.com:443
*.cdn.snapcraftcontent.com:443
*.lxd.images.canonical.com:443
images.linuxcontainers.org:443
- name: Check out code base
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/reusable-golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,7 @@ jobs:
allowed-endpoints: >
github.com:443
api.github.com:443
objects.githubusercontent.com:443
*.actions.githubusercontent.com:443
raw.githubusercontent.com:443
*.githubusercontent.com
storage.googleapis.com:443
proxy.golang.org:443
sum.golang.org:443
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-misspell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
github.com:443
api.github.com:443
actions-results-receiver-production.githubapp.com:443
pipelinesghubeus2.actions.githubusercontent.com:443
*.actions.githubusercontent.com
- name: Check out code base
if: github.event_name == 'push'
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/reusable-nancy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ jobs:
allowed-endpoints: >
github.com:443
api.github.com:443
objects.githubusercontent.com:443
*.actions.githubusercontent.com:443
*.githubusercontent.com
dl-cdn.alpinelinux.org:443
ossindex.sonatype.org:443
proxy.golang.org:443
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-super-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
github.com:443
api.github.com:443
actions-results-receiver-production.githubapp.com:443
*.actions.githubusercontent.com:443
*.actions.githubusercontent.com
- name: Check out code base
if: github.event_name == 'push'
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/reusable-trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ jobs:
github.com:443
api.github.com:443
uploads.github.com:443
pkg-containers.githubusercontent.com:443
*.actions.githubusercontent.com:443
*.actions.githubusercontent.com
- name: Check out code base
if: github.event_name == 'push'
Expand Down Expand Up @@ -109,8 +108,7 @@ jobs:
github.com:443
api.github.com:443
uploads.github.com:443
pkg-containers.githubusercontent.com:443
*.actions.githubusercontent.com:443
*.actions.githubusercontent.com
- name: Check out code base
if: github.event_name == 'push'
Expand Down

0 comments on commit 34a7244

Please sign in to comment.