Skip to content

Add deprecation notices for Credential Manager and Stub Findings#14613

Open
Maffooch wants to merge 3 commits intodevfrom
deprecation/credential-manager-stub-findings-2.57.0
Open

Add deprecation notices for Credential Manager and Stub Findings#14613
Maffooch wants to merge 3 commits intodevfrom
deprecation/credential-manager-stub-findings-2.57.0

Conversation

@Maffooch
Copy link
Copy Markdown
Contributor

Summary

  • Add API deprecation headers (X-Deprecated, X-End-Of-Life-Date) and OpenAPI schema annotations to CredentialsViewSet, CredentialsMappingViewSet, and StubFindingsViewSet
  • Add upgrade documentation for 2.57.x announcing the deprecation
  • Update 2.59.x upgrade docs with planned removal notices for both features

Timeline

  • DefectDojo 2.57.0 (April 6th, 2026): Features deprecated with API headers
  • DefectDojo 2.59.0 (June 1st, 2026): Features removed entirely

Test plan

  • Verify X-Deprecated: True and X-End-Of-Life-Date: 2026-06-01T00:00:00 headers appear on /api/v2/credentials/, /api/v2/credential_mappings/, and /api/v2/stub_findings/ responses
  • Verify OpenAPI schema marks all CRUD operations on these endpoints as deprecated
  • Verify upgrade docs render correctly at /releases/os_upgrading/2.57/ and /releases/os_upgrading/2.59/

🤖 Generated with Claude Code

….57.0

Mark credentials, credential_mappings, and stub_findings API endpoints as
deprecated with X-Deprecated and X-End-Of-Life-Date response headers and
OpenAPI schema annotations. Removal is scheduled for 2.59.0 on June 1st, 2026.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown
Member

@valentijnscholten valentijnscholten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we also put a notice in the UI?

@valentijnscholten valentijnscholten added this to the 2.57.0 milestone Apr 1, 2026
Copy link
Copy Markdown
Contributor

@mtesauro mtesauro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@mtesauro
Copy link
Copy Markdown
Contributor

mtesauro commented Apr 1, 2026

Should we also put a notice in the UI?

Probably wouldn't be a bad idea - it can happen here or in a separate PR IMHO

It's going to be part of my April Community Update as well

@Maffooch
Copy link
Copy Markdown
Contributor Author

Maffooch commented Apr 1, 2026

Yeah can likely add it pretty quickly

Maffooch and others added 2 commits April 1, 2026 14:10
…ngs UI pages

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…as defaults

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants