-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[EDR Workflows] Create missing OpenAPI specs for Endpoint management API #187261
Conversation
/ci |
💚 Build Succeeded
Metrics [docs]
To update your PR or re-run it, just comment with: |
schema: | ||
type: string | ||
example: "/api/endpoint/action/unisolate" | ||
'200': |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'200' status being present is required in generator
schema: | ||
type: string | ||
example: "/api/endpoint/action/isolate" | ||
'200': |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'200' status being present is required in generator
Pinging @elastic/security-defend-workflows (Team:Defend Workflows) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
This PR adds OpenAPI schemas for Defend Workflows API endpoints that previously didn't have them. Here are the changes made:
/api/endpoint/isolate
, which is deprecated and now redirects as a308
to the new path (/api/endpoint/action/isolate
). It's tagged withx-labels
asess
only./api/endpoint/unisolate
, which is deprecated and now redirects as a308
to the new path (/api/endpoint/action/unisolate
). It's tagged withx-labels
asess
only./api/endpoint/protection_updates_note/{package_policy_id}
.x-labels
field to all existing Defend Workflows API paths for proper tagging.For more information on
x-labels
, please refer to #184348