Summary
The vulnerability accepted-risks endpoints currently use the deprecated /v1beta1 API version, which is scheduled for removal in February 2026. We need to migrate to the /v1 API before the deprecation deadline.
Current State
The following endpoints in sysdig/internal/client/v2/vulnerability_accept_risk.go use the deprecated v1beta1 API:
POST /secure/vulnerability/v1beta1/accepted-risks (create)
GET /secure/vulnerability/v1beta1/accepted-risks/{id} (get)
PUT /secure/vulnerability/v1beta1/accepted-risks/{id} (update)
DELETE /secure/vulnerability/v1beta1/accepted-risks/{id} (delete)
Required Changes
- Update all endpoint paths from
/v1beta1/ to /v1/
- Verify any request/response schema changes between API versions
- Update tests accordingly
- Test against the v1 API endpoints
Priority
High - The v1beta1 APIs are being phased out and will be removed in February 2026.
References
- File:
sysdig/internal/client/v2/vulnerability_accept_risk.go
Summary
The vulnerability accepted-risks endpoints currently use the deprecated
/v1beta1API version, which is scheduled for removal in February 2026. We need to migrate to the/v1API before the deprecation deadline.Current State
The following endpoints in
sysdig/internal/client/v2/vulnerability_accept_risk.gouse the deprecated v1beta1 API:POST /secure/vulnerability/v1beta1/accepted-risks(create)GET /secure/vulnerability/v1beta1/accepted-risks/{id}(get)PUT /secure/vulnerability/v1beta1/accepted-risks/{id}(update)DELETE /secure/vulnerability/v1beta1/accepted-risks/{id}(delete)Required Changes
/v1beta1/to/v1/Priority
High - The v1beta1 APIs are being phased out and will be removed in February 2026.
References
sysdig/internal/client/v2/vulnerability_accept_risk.go