Comments (8)
Thanks for reporting @jauderho. It will be done as part of the next release.
from harden-runner.
New version has been released to address this issue. You do not need to explicitly add *.actions.githubusercontent.com
to the allowed list. It has been added to the default allowed list. Just upgrade to v2.5.1.
https://github.com/step-security/harden-runner/releases/tag/v2.5.1
from harden-runner.
Yes, that was prior to upgrading. I was under the impression that I had to manually add *.actions.githubusercontent.com
, but I may have been mistaken. All good if you're aware!
from harden-runner.
Hey @varunsh-coder, is
actions.githubusercontent.com
(no sub-subdomain*.actions
) in the default allowed list?
It's failing a workflow due to this. See https://app.stepsecurity.io/github/kommitters/editorjs-toggle-block/actions/runs/6005650946.
Hi @miguelnietoa it is failing because of objects.githubusercontent.com which is a different sub domain.
from harden-runner.
Oops! 😅 Thank you @varunsh-coder
from harden-runner.
For the record, this issue broke a number of GitHub Actions that just became completely unresponsive e.g. https://github.com/DataDog/stratus-red-team/actions/runs/5974891989 and failed after 30+ minutes
Upgrading to v2.5.1 was not enough, it seems that I had to explicitly allow the new endpoint in my configuration:
steps:
- name: Harden Runner
uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09
with:
egress-policy: block
allowed-endpoints: >
...
*.actions.githubusercontent.com:443
from harden-runner.
Hi @christophetd, apologies for the inconvenience.
Upgrading to v2.5.1 should fix it, since it adds the same *.actions.githubusercontent.com
in the default allowed list. Can you please share a workflow run with v2.5.1 where it did not work?
As an example, in the link you shared, I see that an older version is in use: https://github.com/DataDog/stratus-red-team/actions/runs/5974891989/job/16209832133#step:1:24
from harden-runner.
Hey @varunsh-coder, is actions.githubusercontent.com
(no sub-subdomain *.actions
) in the default allowed list?
It's failing a workflow due to this. See https://app.stepsecurity.io/github/kommitters/editorjs-toggle-block/actions/runs/6005650946.
from harden-runner.
Related Issues (20)
- Cache endpoint is not auto-detected on first run HOT 1
- Add option to fail build if annotations are added
- Allow blocking traffic based on HTTP path and verbs
- Support comments in allowed endpoints
- Enable setting allowed-endpoints via insights website HOT 6
- Unexpected blockage of multicast socket HOT 2
- Investigate run statnett/image-scanner-operator - 3953485836 HOT 1
- Support wildcard domains HOT 10
- Do not show `api.snapcraft.io` in insights report HOT 1
- Call to internal domains are blocked when using TestContainers HOT 1
- Docker build fails with update to 2.2.0 HOT 3
- Enable storing harden-runner policy in a separate file
- Logo in build summary is not readable on the Dark Theme HOT 4
- Remove reference to `context.payload.repository` HOT 1
- Allowed endpoint could not be resolved HOT 2
- Surface audit log of changes to policy store
- Harden-Runner step should not fail when the workflow is running in ARC HOT 1
- Add a way to exempt specific files for some workflows for overwrite detection
- Tracking: Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from harden-runner.