Skip to content

Commit

Permalink
Set deprecated flag to true in router for deprecated endpoint apis
Browse files Browse the repository at this point in the history
  • Loading branch information
dasansol92 committed Oct 21, 2024
1 parent c7c5d82 commit dc9b2b6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export function registerActionAuditLogRoutes(
access: 'public',
path: ENDPOINT_ACTION_LOG_ROUTE,
options: { authRequired: true, tags: ['access:securitySolution'] },
deprecated: true,
})
.addVersion(
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export function registerResponseActionRoutes(
access: 'public',
path: ISOLATE_HOST_ROUTE,
options: { authRequired: true, tags: ['access:securitySolution'] },
deprecated: true,
})
.addVersion(
{
Expand All @@ -100,6 +101,7 @@ export function registerResponseActionRoutes(
access: 'public',
path: UNISOLATE_HOST_ROUTE,
options: { authRequired: true, tags: ['access:securitySolution'] },
deprecated: true,
})
.addVersion(
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export function registerPolicyRoutes(
access: 'public',
path: AGENT_POLICY_SUMMARY_ROUTE,
options: { authRequired: true },
deprecated: true,
})
.addVersion(
{
Expand Down

0 comments on commit dc9b2b6

Please sign in to comment.