Repository navigation
ci: add dependency-review workflow - #22464
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #22464 +/- ##
=======================================
Coverage 93.29% 93.29%
=======================================
Files 1032 1032
Lines 60062 60062
Branches 400 400
=======================================
+ Hits 56032 56033 +1
+ Misses 4030 4029 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
✅ Deploy Preview for authentik-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
275f0e3 to
056b5cc
Compare
| # Advisory Database supports — for this repo that's npm, Go modules, | ||
| # Python (pip/uv), and GitHub Actions. |
There was a problem hiding this comment.
does that also include rust dependencies?
Adds a `QA - Dependency review` workflow that runs
`actions/dependency-review-action` on every PR targeting `main`.
This blocks PRs that introduce a *new* dependency (direct or transitive)
with a known high or critical vulnerability in GitHub's Advisory
Database. It complements rather than duplicates Dependabot: Dependabot
surfaces vulns in already-merged dependencies; dependency-review catches
them at the moment they would be introduced.
It also catches the much narrower case that motivated this PR — a
maintainer-account-hijack publishing a malicious version to npm — only
indirectly: GitHub will not have an advisory entry until the package
has been flagged. The real value here is keeping the much larger class
of "newly introduced dep happens to carry a known CVE" out of the tree.
Configured with:
- fail-on-severity: high (block on high/critical only)
- comment-summary-in-pr: on-failure (surface diff context to
reviewers when a block fires)
Pinned to v5.0.0 (a1d282b36b6f3519aa1f3fc636f609c47dddb294).
Co-authored-by: Agent <[email protected]>
4996200 to
12ab607
Compare
|
authentik PR Installation instructions Instructions for docker-composeAdd the following block to your AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-12ab6075332e2a386fba81ff82e443d86e85cda7
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)sAfterwards, run the upgrade commands from the latest release notes. Instructions for KubernetesAdd the following block to your authentik:
outposts:
container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
global:
image:
repository: ghcr.io/goauthentik/dev-server
tag: gh-12ab6075332e2a386fba81ff82e443d86e85cda7Afterwards, run the upgrade commands from the latest release notes. |
* main: (28 commits) events: fix certificate typo (#22542) website/release: Release notes updates (#22543) providers/saml: handle XML declarations in unified endpoint (#22455) web: bump @sentry/browser from 10.52.0 to 10.53.1 in /web in the sentry group across 1 directory (#22472) core: bump library/golang from 1.26.2-trixie to 1.26.3-trixie in /lifecycle/container (#22516) core: bump sentry-sdk from 2.59.0 to 2.60.0 (#22513) core: bump github.com/go-openapi/runtime from 0.29.5 to 0.30.0 (#22511) core: bump djangorestframework-stubs[compatible-mypy] from 3.16.9 to 3.17.0 (#22512) website/docs: release notes: add absorb lms to integrations (#22534) core: bump library/node from 24 to 26 in /lifecycle/container (#22517) website/docs: document npm install-script blocking (#22461) ci: add dependency-review workflow (#22464) root: bind-mount .npmrc into Dockerfile npm ci stages (#22462) website/docs: add global to values.yaml snippets and update version (#22524) website/integrations: add absorb LMS (#22328) core: bump astral-sh/uv from 0.11.5 to 0.11.15 in /lifecycle/container (#22515) core: bump library/nginx from 1.29-trixie to 1.31-trixie in /website (#22520) ci: bump codecov/codecov-action from 6.0.0 to 6.0.1 in /.github/actions/test-results (#22522) core: bump aws-cdk-lib from 2.253.1 to 2.254.0 (#22514) core: bump goauthentik/fips-python from 3.14.3-slim-trixie-fips to 3.14.5-slim-trixie-fips in /lifecycle/container (#22518) ...
* ci: add dependency-review workflow
Adds a `QA - Dependency review` workflow that runs
`actions/dependency-review-action` on every PR targeting `main`.
This blocks PRs that introduce a *new* dependency (direct or transitive)
with a known high or critical vulnerability in GitHub's Advisory
Database. It complements rather than duplicates Dependabot: Dependabot
surfaces vulns in already-merged dependencies; dependency-review catches
them at the moment they would be introduced.
It also catches the much narrower case that motivated this PR — a
maintainer-account-hijack publishing a malicious version to npm — only
indirectly: GitHub will not have an advisory entry until the package
has been flagged. The real value here is keeping the much larger class
of "newly introduced dep happens to carry a known CVE" out of the tree.
Configured with:
- fail-on-severity: high (block on high/critical only)
- comment-summary-in-pr: on-failure (surface diff context to
reviewers when a block fires)
Pinned to v5.0.0 (a1d282b36b6f3519aa1f3fc636f609c47dddb294).
Co-authored-by: Agent <[email protected]>
* Update comment.
---------
Co-authored-by: Agent <[email protected]>
Summary
Adds
.github/workflows/qa-dependency-review.yml, which runsactions/[email protected]on every PR targetingmain.Blocks PRs that introduce a new dependency (direct or transitive, any ecosystem GitHub supports — npm, Go modules, Python, GitHub Actions) with a known high or critical vulnerability.
How this fits the rest of the supply-chain hardening
dependency-reviewcatches them at the moment they would be introduced, before merge — Dependabot only sees the world after merge..npmrc:1ignore-scripts=true+ Dependabot npm cooldown.This action does not need access to the dependency graph beyond what the PR diff exposes, so the only permission it needs is
pull-requests: write(to leave the summary comment on failure) pluscontents: read.Config
fail-on-severity: high— block on high/critical only; lower-severity introductions surface in the check summary but don't gate mergecomment-summary-in-pr: on-failure— when the action blocks a PR, post a diff-style summary as a comment so the reviewer sees context, not just a red checkTest plan
QA - Dependency review / dependency-review.