Skip to content

Stop serving cve-feed.json on any path#16542

Merged
stevejalim merged 2 commits intomozilla:mainfrom
janbrasna:patch-3
Sep 15, 2025
Merged

Stop serving cve-feed.json on any path#16542
stevejalim merged 2 commits intomozilla:mainfrom
janbrasna:patch-3

Conversation

@janbrasna
Copy link
Copy Markdown
Collaborator

One-line summary

Hides the json URL to start sending 404s to users before complete decommissioning.

Significant changes and points to review

Currently gone() redirect helpers don't handle locale prefixes, so a path removal is necessary to send error codes on all the locale prefixes for the feed path.

Issue / Bugzilla link

#16519

Testing

/pt-CV/security/advisories/cve-feed.json

@janbrasna janbrasna marked this pull request as ready for review September 10, 2025 12:31
@janbrasna janbrasna requested a review from a team as a code owner September 10, 2025 12:31
@stevejalim stevejalim merged commit cb505f1 into mozilla:main Sep 15, 2025
4 checks passed
@janbrasna janbrasna deleted the patch-3 branch September 15, 2025 09:57
stephaniehobson pushed a commit that referenced this pull request Oct 3, 2025
* Disable all mitre feed urls

* Add todo comment
@stevejalim stevejalim mentioned this pull request Apr 15, 2026
1 task
janriokrause added a commit that referenced this pull request Apr 21, 2026
The `cve-feed.json` endpoint was already removed and redirected to
410 Gone in #16542. This removes the remaining Python backend: the
`MitreCVE` model, the `mitre_cve_feed` view, the `add_or_update_cve`
management command logic, and all associated tests.

A migration to drop the database table will be in a separate commit.
janriokrause added a commit that referenced this pull request Apr 21, 2026
The `cve-feed.json` endpoint was already removed and redirected to
410 Gone in #16542. This removes the remaining Python backend: the
`mitre_cve_feed` view, the `add_or_update_cve` management command
logic, and all associated tests.

A migration to drop the `MitreCVE` model and database table will be
in a separate commit.
stevejalim pushed a commit that referenced this pull request Apr 22, 2026
The `cve-feed.json` endpoint was already removed and redirected to
410 Gone in #16542. This removes the remaining Python backend: the
`mitre_cve_feed` view, the `add_or_update_cve` management command
logic, and all associated tests.

A migration to drop the `MitreCVE` model and database table will be
in a separate commit.
janriokrause added a commit that referenced this pull request Apr 24, 2026
The `cve-feed.json` endpoint was already removed and redirected to
410 Gone in #16542. This removes the remaining Python backend: the
`mitre_cve_feed` view, the `add_or_update_cve` management command
logic, and all associated tests.

A migration to drop the `MitreCVE` model and database table will be
in a separate commit.
janriokrause added a commit that referenced this pull request Apr 24, 2026
The `cve-feed.json` endpoint was already removed and redirected to
410 Gone in #16542. This removes the remaining Python backend: the
`mitre_cve_feed` view, the `add_or_update_cve` management command
logic, and all associated tests.

A migration to drop the `MitreCVE` model and database table will be
in a separate commit.
janriokrause added a commit that referenced this pull request Apr 24, 2026
The `cve-feed.json` endpoint was already removed and redirected to
410 Gone in #16542. This removes the remaining Python backend: the
`mitre_cve_feed` view, the `add_or_update_cve` management command
logic, and all associated tests.

A migration to drop the `MitreCVE` model and database table will be
in a separate commit.
stevejalim pushed a commit that referenced this pull request Apr 28, 2026
The `cve-feed.json` endpoint was already removed and redirected to
410 Gone in #16542. This removes the remaining Python backend: the
`mitre_cve_feed` view, the `add_or_update_cve` management command
logic, and all associated tests.

A migration to drop the `MitreCVE` model and database table will be
in a separate commit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants