-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
404 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,6 +28,25 @@ jobs: | |
# Specifically check that dependabot (or another trusted party) created this pull-request, and that it has been labelled correctly. | ||
|
||
steps: | ||
- name: "Harden Security" | ||
uses: step-security/[email protected] | ||
with: | ||
egress-policy: audit | ||
disable-sudo: true | ||
allowed-endpoints: > | ||
api.github.com:443 | ||
api.osv.dev:443 | ||
api.securityscorecards.dev:443 | ||
codeload.github.com:443 | ||
fulcio.sigstore.dev:443 | ||
github.com:443 | ||
oss-fuzz-build-logs.storage.googleapis.com:443 | ||
rekor.sigstore.dev:443 | ||
tuf-repo-cdn.sigstore.dev:443 | ||
www.bestpractices.dev:443 | ||
#egress-policy: audit | ||
|
||
- name: "Initialise Workspace" | ||
shell: bash | ||
run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,23 @@ jobs: | |
shell: bash | ||
run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE" | ||
|
||
- name: "Harden Security" | ||
uses: step-security/[email protected] | ||
with: | ||
egress-policy: audit | ||
disable-sudo: true | ||
allowed-endpoints: > | ||
api.github.com:443 | ||
api.osv.dev:443 | ||
api.securityscorecards.dev:443 | ||
codeload.github.com:443 | ||
fulcio.sigstore.dev:443 | ||
github.com:443 | ||
oss-fuzz-build-logs.storage.googleapis.com:443 | ||
rekor.sigstore.dev:443 | ||
tuf-repo-cdn.sigstore.dev:443 | ||
www.bestpractices.dev:443 | ||
- name: "Checkout Source" | ||
uses: actions/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,6 +25,23 @@ jobs: | |
shell: bash | ||
run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE" | ||
|
||
- name: "Harden Security" | ||
uses: step-security/[email protected] | ||
with: | ||
egress-policy: audit | ||
disable-sudo: true | ||
allowed-endpoints: > | ||
api.github.com:443 | ||
api.osv.dev:443 | ||
api.securityscorecards.dev:443 | ||
codeload.github.com:443 | ||
fulcio.sigstore.dev:443 | ||
github.com:443 | ||
oss-fuzz-build-logs.storage.googleapis.com:443 | ||
rekor.sigstore.dev:443 | ||
tuf-repo-cdn.sigstore.dev:443 | ||
www.bestpractices.dev:443 | ||
- name: "Checkout Source" | ||
uses: actions/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,6 +70,23 @@ jobs: | |
shell: bash | ||
run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE" | ||
|
||
- name: "Harden Security" | ||
uses: step-security/[email protected] | ||
with: | ||
egress-policy: audit | ||
disable-sudo: true | ||
allowed-endpoints: > | ||
api.github.com:443 | ||
api.osv.dev:443 | ||
api.securityscorecards.dev:443 | ||
codeload.github.com:443 | ||
fulcio.sigstore.dev:443 | ||
github.com:443 | ||
oss-fuzz-build-logs.storage.googleapis.com:443 | ||
rekor.sigstore.dev:443 | ||
tuf-repo-cdn.sigstore.dev:443 | ||
www.bestpractices.dev:443 | ||
- name: "Checkout Source" | ||
uses: actions/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,24 @@ jobs: | |
- name: "Initialise Workspace" | ||
shell: bash | ||
run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE" | ||
|
||
- name: "Harden Security" | ||
uses: step-security/[email protected] | ||
with: | ||
egress-policy: audit | ||
disable-sudo: true | ||
allowed-endpoints: > | ||
api.github.com:443 | ||
api.osv.dev:443 | ||
api.securityscorecards.dev:443 | ||
codeload.github.com:443 | ||
fulcio.sigstore.dev:443 | ||
github.com:443 | ||
oss-fuzz-build-logs.storage.googleapis.com:443 | ||
rekor.sigstore.dev:443 | ||
tuf-repo-cdn.sigstore.dev:443 | ||
www.bestpractices.dev:443 | ||
- name: "Rebase" | ||
uses: bbeesley/[email protected] | ||
env: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,23 @@ jobs: | |
shell: bash | ||
run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE" | ||
|
||
- name: "Harden Security" | ||
uses: step-security/[email protected] | ||
with: | ||
egress-policy: audit | ||
disable-sudo: true | ||
allowed-endpoints: > | ||
api.github.com:443 | ||
api.osv.dev:443 | ||
api.securityscorecards.dev:443 | ||
codeload.github.com:443 | ||
fulcio.sigstore.dev:443 | ||
github.com:443 | ||
oss-fuzz-build-logs.storage.googleapis.com:443 | ||
rekor.sigstore.dev:443 | ||
tuf-repo-cdn.sigstore.dev:443 | ||
www.bestpractices.dev:443 | ||
- name: "Checkout Source" | ||
uses: actions/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,6 +44,24 @@ jobs: | |
with: | ||
script: | | ||
core.info('Owner: ${{github.repository_owner}}'); | ||
- name: "Harden Security" | ||
uses: step-security/[email protected] | ||
with: | ||
egress-policy: audit | ||
disable-sudo: true | ||
allowed-endpoints: > | ||
api.github.com:443 | ||
api.osv.dev:443 | ||
api.securityscorecards.dev:443 | ||
codeload.github.com:443 | ||
fulcio.sigstore.dev:443 | ||
github.com:443 | ||
oss-fuzz-build-logs.storage.googleapis.com:443 | ||
rekor.sigstore.dev:443 | ||
tuf-repo-cdn.sigstore.dev:443 | ||
www.bestpractices.dev:443 | ||
- name: "Auto-Merge" | ||
if: github.repository_owner == 'funfair-tech' | ||
uses: pascalgn/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,23 @@ jobs: | |
cleanup-cache: | ||
runs-on: [self-hosted, linux] | ||
steps: | ||
- name: "Harden Security" | ||
uses: step-security/[email protected] | ||
with: | ||
egress-policy: audit | ||
disable-sudo: true | ||
allowed-endpoints: > | ||
api.github.com:443 | ||
api.osv.dev:443 | ||
api.securityscorecards.dev:443 | ||
codeload.github.com:443 | ||
fulcio.sigstore.dev:443 | ||
github.com:443 | ||
oss-fuzz-build-logs.storage.googleapis.com:443 | ||
rekor.sigstore.dev:443 | ||
tuf-repo-cdn.sigstore.dev:443 | ||
www.bestpractices.dev:443 | ||
- name: "Install extensions" | ||
run: gh extension install actions/gh-actions-cache | ||
env: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -90,6 +90,23 @@ jobs: | |
shell: bash | ||
run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE" | ||
|
||
- name: "Harden Security" | ||
uses: step-security/[email protected] | ||
with: | ||
egress-policy: audit | ||
disable-sudo: true | ||
allowed-endpoints: > | ||
api.github.com:443 | ||
api.osv.dev:443 | ||
api.securityscorecards.dev:443 | ||
codeload.github.com:443 | ||
fulcio.sigstore.dev:443 | ||
github.com:443 | ||
oss-fuzz-build-logs.storage.googleapis.com:443 | ||
rekor.sigstore.dev:443 | ||
tuf-repo-cdn.sigstore.dev:443 | ||
www.bestpractices.dev:443 | ||
- name: "Checkout Source" | ||
uses: actions/[email protected] | ||
with: | ||
|
@@ -204,6 +221,23 @@ jobs: | |
shell: bash | ||
run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE" | ||
|
||
- name: "Harden Security" | ||
uses: step-security/[email protected] | ||
with: | ||
egress-policy: audit | ||
disable-sudo: true | ||
allowed-endpoints: > | ||
api.github.com:443 | ||
api.osv.dev:443 | ||
api.securityscorecards.dev:443 | ||
codeload.github.com:443 | ||
fulcio.sigstore.dev:443 | ||
github.com:443 | ||
oss-fuzz-build-logs.storage.googleapis.com:443 | ||
rekor.sigstore.dev:443 | ||
tuf-repo-cdn.sigstore.dev:443 | ||
www.bestpractices.dev:443 | ||
- name: "Checkout Source" | ||
uses: actions/[email protected] | ||
with: | ||
|
@@ -229,6 +263,23 @@ jobs: | |
shell: bash | ||
run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE" | ||
|
||
- name: "Harden Security" | ||
uses: step-security/[email protected] | ||
with: | ||
egress-policy: audit | ||
disable-sudo: true | ||
allowed-endpoints: > | ||
api.github.com:443 | ||
api.osv.dev:443 | ||
api.securityscorecards.dev:443 | ||
codeload.github.com:443 | ||
fulcio.sigstore.dev:443 | ||
github.com:443 | ||
oss-fuzz-build-logs.storage.googleapis.com:443 | ||
rekor.sigstore.dev:443 | ||
tuf-repo-cdn.sigstore.dev:443 | ||
www.bestpractices.dev:443 | ||
- name: "Checkout Source" | ||
uses: actions/[email protected] | ||
with: | ||
|
@@ -246,6 +297,23 @@ jobs: | |
shell: bash | ||
run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE" | ||
|
||
- name: "Harden Security" | ||
uses: step-security/[email protected] | ||
with: | ||
egress-policy: audit | ||
disable-sudo: true | ||
allowed-endpoints: > | ||
api.github.com:443 | ||
api.osv.dev:443 | ||
api.securityscorecards.dev:443 | ||
codeload.github.com:443 | ||
fulcio.sigstore.dev:443 | ||
github.com:443 | ||
oss-fuzz-build-logs.storage.googleapis.com:443 | ||
rekor.sigstore.dev:443 | ||
tuf-repo-cdn.sigstore.dev:443 | ||
www.bestpractices.dev:443 | ||
- name: "Checkout Source" | ||
uses: actions/[email protected] | ||
with: | ||
|
@@ -263,6 +331,23 @@ jobs: | |
shell: bash | ||
run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE" | ||
|
||
- name: "Harden Security" | ||
uses: step-security/[email protected] | ||
with: | ||
egress-policy: audit | ||
disable-sudo: true | ||
allowed-endpoints: > | ||
api.github.com:443 | ||
api.osv.dev:443 | ||
api.securityscorecards.dev:443 | ||
codeload.github.com:443 | ||
fulcio.sigstore.dev:443 | ||
github.com:443 | ||
oss-fuzz-build-logs.storage.googleapis.com:443 | ||
rekor.sigstore.dev:443 | ||
tuf-repo-cdn.sigstore.dev:443 | ||
www.bestpractices.dev:443 | ||
- name: "Checkout Source" | ||
uses: actions/[email protected] | ||
with: | ||
|
@@ -281,7 +366,25 @@ jobs: | |
shell: bash | ||
run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE" | ||
|
||
- uses: credfeto/[email protected] | ||
- name: "Harden Security" | ||
uses: step-security/[email protected] | ||
with: | ||
egress-policy: audit | ||
disable-sudo: true | ||
allowed-endpoints: > | ||
api.github.com:443 | ||
api.osv.dev:443 | ||
api.securityscorecards.dev:443 | ||
codeload.github.com:443 | ||
fulcio.sigstore.dev:443 | ||
github.com:443 | ||
oss-fuzz-build-logs.storage.googleapis.com:443 | ||
rekor.sigstore.dev:443 | ||
tuf-repo-cdn.sigstore.dev:443 | ||
www.bestpractices.dev:443 | ||
- name: "Check repo visibility" | ||
uses: credfeto/[email protected] | ||
id: visibility | ||
with: | ||
# optional parameter defaults to the current repo | ||
|
@@ -309,6 +412,23 @@ jobs: | |
shell: bash | ||
run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE" | ||
|
||
- name: "Harden Security" | ||
uses: step-security/[email protected] | ||
with: | ||
egress-policy: audit | ||
disable-sudo: true | ||
allowed-endpoints: > | ||
api.github.com:443 | ||
api.osv.dev:443 | ||
api.securityscorecards.dev:443 | ||
codeload.github.com:443 | ||
fulcio.sigstore.dev:443 | ||
github.com:443 | ||
oss-fuzz-build-logs.storage.googleapis.com:443 | ||
rekor.sigstore.dev:443 | ||
tuf-repo-cdn.sigstore.dev:443 | ||
www.bestpractices.dev:443 | ||
- name: "Checkout Source" | ||
uses: actions/[email protected] | ||
with: | ||
|
@@ -328,6 +448,23 @@ jobs: | |
shell: bash | ||
run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE" | ||
|
||
- name: "Harden Security" | ||
uses: step-security/[email protected] | ||
with: | ||
egress-policy: audit | ||
disable-sudo: true | ||
allowed-endpoints: > | ||
api.github.com:443 | ||
api.osv.dev:443 | ||
api.securityscorecards.dev:443 | ||
codeload.github.com:443 | ||
fulcio.sigstore.dev:443 | ||
github.com:443 | ||
oss-fuzz-build-logs.storage.googleapis.com:443 | ||
rekor.sigstore.dev:443 | ||
tuf-repo-cdn.sigstore.dev:443 | ||
www.bestpractices.dev:443 | ||
- name: "Checkout Source" | ||
uses: actions/[email protected] | ||
with: | ||
|
Oops, something went wrong.