mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-21 06:45:29 -06:00
Workflows: Change egress-policy to block (#5485)
This commit is contained in:
parent
50751a7153
commit
56ba1d2271
4 changed files with 35 additions and 11 deletions
24
.github/workflows/build-extra.yml
vendored
24
.github/workflows/build-extra.yml
vendored
|
|
@ -52,8 +52,10 @@ jobs:
|
|||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@ebacdc22ef6c2cfb85ee5ded8f2e640f4c776dd5
|
||||
with:
|
||||
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
|
||||
|
||||
egress-policy: block
|
||||
allowed-endpoints: >
|
||||
azure.archive.ubuntu.com:80
|
||||
github.com:443
|
||||
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
|
||||
- name: install dependencies
|
||||
run: sudo apt-get install libapparmor-dev libselinux1-dev
|
||||
|
|
@ -71,8 +73,10 @@ jobs:
|
|||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@ebacdc22ef6c2cfb85ee5ded8f2e640f4c776dd5
|
||||
with:
|
||||
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
|
||||
|
||||
egress-policy: block
|
||||
allowed-endpoints: >
|
||||
azure.archive.ubuntu.com:80
|
||||
github.com:443
|
||||
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
|
||||
- name: install clang-tools-14 and dependencies
|
||||
run: sudo apt-get install clang-tools-14 libapparmor-dev libselinux1-dev
|
||||
|
|
@ -86,8 +90,10 @@ jobs:
|
|||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@ebacdc22ef6c2cfb85ee5ded8f2e640f4c776dd5
|
||||
with:
|
||||
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
|
||||
|
||||
egress-policy: block
|
||||
allowed-endpoints: >
|
||||
azure.archive.ubuntu.com:80
|
||||
github.com:443
|
||||
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
|
||||
- name: install cppcheck
|
||||
run: sudo apt-get install cppcheck
|
||||
|
|
@ -101,8 +107,10 @@ jobs:
|
|||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@ebacdc22ef6c2cfb85ee5ded8f2e640f4c776dd5
|
||||
with:
|
||||
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
|
||||
|
||||
egress-policy: block
|
||||
allowed-endpoints: >
|
||||
azure.archive.ubuntu.com:80
|
||||
github.com:443
|
||||
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
|
||||
- name: install cppcheck
|
||||
run: sudo apt-get install cppcheck
|
||||
|
|
|
|||
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
|
|
@ -44,8 +44,16 @@ jobs:
|
|||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@ebacdc22ef6c2cfb85ee5ded8f2e640f4c776dd5
|
||||
with:
|
||||
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
|
||||
|
||||
egress-policy: block
|
||||
allowed-endpoints: >
|
||||
azure.archive.ubuntu.com:80
|
||||
debian.org:80
|
||||
github.com:443
|
||||
packages.microsoft.com:443
|
||||
ppa.launchpadcontent.net:443
|
||||
www.debian.org:443
|
||||
www.debian.org:80
|
||||
yahoo.com:1025
|
||||
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
|
||||
- name: update package information
|
||||
run: sudo apt-get update
|
||||
|
|
|
|||
7
.github/workflows/codeql-analysis.yml
vendored
7
.github/workflows/codeql-analysis.yml
vendored
|
|
@ -72,7 +72,12 @@ jobs:
|
|||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@ebacdc22ef6c2cfb85ee5ded8f2e640f4c776dd5
|
||||
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
|
||||
github.com:443
|
||||
uploads.github.com:443
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
|
||||
|
|
|
|||
3
.github/workflows/profile-checks.yml
vendored
3
.github/workflows/profile-checks.yml
vendored
|
|
@ -26,7 +26,10 @@ jobs:
|
|||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@ebacdc22ef6c2cfb85ee5ded8f2e640f4c776dd5
|
||||
with:
|
||||
disable-sudo: true
|
||||
egress-policy: block
|
||||
allowed-endpoints: >
|
||||
github.com:443
|
||||
|
||||
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
|
||||
- name: sort.py
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue