Skip to content

Update main.yml #152

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 7, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 22 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,28 @@ jobs:
- name: Harden Runner
uses: step-security/harden-runner@55d479fb1c5bcad5a4f9099a5d9f37c8857b2845 # v2.4.1
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
disable-sudo: true
egress-policy: block
allowed-endpoints: >
api.github.com:443
api.hack23.com:443
auth.docker.io:443
cfu.zaproxy.org:443
cloudformation.eu-central-1.amazonaws.com:443
cloudformation.eu-west-1.amazonaws.com:443
files.pythonhosted.org:443
github.com:443
news.zaproxy.org:443
objects.githubusercontent.com:443
production.cloudflare.docker.com:443
pypi.org:443
raw.githubusercontent.com:443
registry-1.docker.io:443
sts.eu-central-1.amazonaws.com:443
sts.eu-west-1.amazonaws.com:443
tel.zaproxy.org:443
www.bridgecrew.cloud:443

- name: Checkout
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- name: Run StandardLint
Expand Down