Add docs announcement bar for Trivy compromise resolution - #25870
Conversation
Add a Docusaurus announcement bar to the top of the docs site informing users that the Trivy supply-chain compromise has been mitigated and resolved. The banner: - States all affected packages have been deleted and releases are safe - Links to the Security Townhall blog post for details - Links to the CI/CD v2 blog post for improvements made - Uses a green background with closeable dismiss button Co-authored-by: Krrish Dholakia <krrish-berri-2@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Replace the Docusaurus announcementBar with a :::note admonition on the docs index page. The note appears below the hero image with the title 'Security Update' and links to the Security Townhall and CI/CD v2 blog posts. Co-authored-by: Krrish Dholakia <krrish-berri-2@users.noreply.github.com>
Co-authored-by: Krrish Dholakia <krrish-berri-2@users.noreply.github.com>
- Move the security notice above the product screenshot on /docs - Add the same notice to the root page (src/pages/index.md) Co-authored-by: Krrish Dholakia <krrish-berri-2@users.noreply.github.com>
Greptile SummaryAdds a Confidence Score: 5/5Safe to merge — documentation-only change with verified blog links and correct admonition syntax. Both blog slugs resolve correctly in the repository, the admonition syntax matches existing patterns used elsewhere in the docs, and no code is affected. All remaining findings (emoji shortcode) are P2 and already captured in prior review threads. No files require special attention.
|
| Filename | Overview |
|---|---|
| docs/my-website/docs/index.md | Adds a :::note Security Update Docusaurus admonition above the hero image; blog links resolve to correct slugs and admonition syntax matches existing patterns in the repo. |
| docs/my-website/src/pages/index.md | Adds the same :::note Security Update admonition above the root-page heading; identical content and same link targets as docs/index.md. |
Flowchart
%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[User visits LiteLLM docs] --> B{Which page?}
B -->|/docs| C[docs/index.md]
B -->|/| D[src/pages/index.md]
C --> E[:::note Security Update admonition]
D --> F[:::note Security Update admonition]
E --> G[Link: /blog/security-townhall-updates ✓]
E --> H[Link: /blog/ci-cd-v2-improvements ✓]
F --> G
F --> H
Reviews (2): Last reviewed commit: "Update security notice wording" | Re-trigger Greptile
| import Image from '@theme/IdealImage'; | ||
|
|
||
| :::note Security Update | ||
| The Trivy supply-chain compromise has been contained :tada:. All affected packages have been deleted and current releases are safe to use. Please refer to our [Security Townhall](/blog/security-townhall-updates) for a deeper understanding of the problem, and [CI/CD v2](/blog/ci-cd-v2-improvements) for how we're improving moving forward. |
There was a problem hiding this comment.
:tada: shortcode will render as literal text
No remark-emoji (or similar) plugin is configured in docusaurus.config.js and there is no emoji-related package in package.json. Without that plugin, MDX renders :tada: as plain text rather than 🎉. Replace the shortcode with the actual Unicode character.
| The Trivy supply-chain compromise has been contained :tada:. All affected packages have been deleted and current releases are safe to use. Please refer to our [Security Townhall](/blog/security-townhall-updates) for a deeper understanding of the problem, and [CI/CD v2](/blog/ci-cd-v2-improvements) for how we're improving moving forward. | |
| The Trivy supply-chain compromise has been contained 🎉. All affected packages have been deleted and current releases are safe to use. Please refer to our [Security Townhall](/blog/security-townhall-updates) for a deeper understanding of the problem, and [CI/CD v2](/blog/ci-cd-v2-improvements) for how we're improving moving forward. |
|
|
||
| :::note Security Update | ||
| The Trivy supply-chain compromise has been contained :tada:. All affected packages have been deleted and current releases are safe to use. Please refer to our [Security Townhall](/blog/security-townhall-updates) for a deeper understanding of the problem, and [CI/CD v2](/blog/ci-cd-v2-improvements) for how we're improving moving forward. | ||
| ::: |
There was a problem hiding this comment.
:tada: shortcode will render as literal text
Same issue as in docs/index.md — no emoji plugin is configured, so :tada: appears verbatim. Use the Unicode character directly.
| ::: | |
| The Trivy supply-chain compromise has been contained 🎉. All affected packages have been deleted and current releases are safe to use. Please refer to our [Security Townhall](/blog/security-townhall-updates) for a deeper understanding of the problem, and [CI/CD v2](/blog/ci-cd-v2-improvements) for how we're improving moving forward. |
Co-authored-by: Krrish Dholakia <krrish-berri-2@users.noreply.github.com>
13108f3
into
litellm_internal_staging
) * Add announcement bar for Trivy compromise resolution notice Add a Docusaurus announcement bar to the top of the docs site informing users that the Trivy supply-chain compromise has been mitigated and resolved. The banner: - States all affected packages have been deleted and releases are safe - Links to the Security Townhall blog post for details - Links to the CI/CD v2 blog post for improvements made - Uses a green background with closeable dismiss button Co-authored-by: Krrish Dholakia <krrish-berri-2@users.noreply.github.com> * Use :::note admonition instead of announcement bar Replace the Docusaurus announcementBar with a :::note admonition on the docs index page. The note appears below the hero image with the title 'Security Update' and links to the Security Townhall and CI/CD v2 blog posts. Co-authored-by: Krrish Dholakia <krrish-berri-2@users.noreply.github.com> * Update security notice wording to 'contained' Co-authored-by: Krrish Dholakia <krrish-berri-2@users.noreply.github.com> * Move note above hero image and add to root page - Move the security notice above the product screenshot on /docs - Add the same notice to the root page (src/pages/index.md) Co-authored-by: Krrish Dholakia <krrish-berri-2@users.noreply.github.com> * Update security notice wording Co-authored-by: Krrish Dholakia <krrish-berri-2@users.noreply.github.com> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Krrish Dholakia <krrish-berri-2@users.noreply.github.com>
Relevant issues
Adds a security notice to the top of the docs landing page and root page informing users the Trivy supply-chain compromise has been contained.
Pre-Submission checklist
Screenshots / Proof of Fix
Root page (
/):Security Update note on root page
Docs page (
/docs), note appears above the hero image:Security Update note on docs page
security_note_both_pages.mp4
Type
📖 Documentation
Changes
:::note Security Updateadmonition todocs/my-website/docs/index.mdabove the hero imagedocs/my-website/src/pages/index.md(root page) above the headingTo show artifacts inline, enable in settings.
Slack Thread