-
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
[Security Solution] Create missing OpenAPI specs for Detections API #183661
Labels
8.15 candidate
8.16 candidate
docs
Team:Detection Engine
Security Solution Detection Engine Area
Team:Detection Rule Management
Security Detection Rule Management Team
Team:Detections and Resp
Security Detection Response Team
Team: SecuritySolution
Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.
v8.15.0
v8.16.0
Comments
maximpn
added
docs
Team:Detections and Resp
Security Detection Response Team
Team: SecuritySolution
Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.
Team:Detection Rule Management
Security Detection Rule Management Team
Project:Serverless
Work as part of the Serverless project for its initial release
Team:Detection Engine
Security Solution Detection Engine Area
labels
May 16, 2024
Pinging @elastic/security-solution (Team: SecuritySolution) |
Pinging @elastic/security-detection-rule-management (Team:Detection Rule Management) |
Pinging @elastic/security-detections-response (Team:Detections and Resp) |
Pinging @elastic/security-detection-engine (Team:Detection Engine) |
maximpn
changed the title
[Security Solution] Create missing OpenAPI specs for Detections API
[Security Solution] Create missing OpenAPI specs for Detection Engine API
May 17, 2024
18 tasks
banderror
changed the title
[Security Solution] Create missing OpenAPI specs for Detection Engine API
[Security Solution] Create missing OpenAPI specs for Detections API
May 17, 2024
30 tasks
This was referenced May 20, 2024
banderror
removed
the
Project:Serverless
Work as part of the Serverless project for its initial release
label
Jun 4, 2024
This was referenced Jun 5, 2024
This was referenced Jun 18, 2024
maximpn
added a commit
that referenced
this issue
Jun 18, 2024
…I specs (#184838) **Addresses:** #183661 ## Summary This PR adds missing OpenAPI specs for the following API endpoints (Alerts API and Alerts Migration API) available in both Serverless and ESS - `POST /api/detection_engine/signals/status` - `POST /api/detection_engine/signals/tags` - `POST /api/detection_engine/signals/search` and API endpoints available only in ESS - `POST /api/detection_engine/signals/migration_status` - `POST /api/detection_engine/signals/migration` - `POST /api/detection_engine/signals/finalize_migration` - `DELETE /api/detection_engine/signals/migration` **Note:** Code generation is enabled for the added specs to verify that it works and produces expected results. Generated Zod schemas and types aren't integrated in the route's code.
bhapas
pushed a commit
to bhapas/kibana
that referenced
this issue
Jun 18, 2024
…I specs (elastic#184838) **Addresses:** elastic#183661 ## Summary This PR adds missing OpenAPI specs for the following API endpoints (Alerts API and Alerts Migration API) available in both Serverless and ESS - `POST /api/detection_engine/signals/status` - `POST /api/detection_engine/signals/tags` - `POST /api/detection_engine/signals/search` and API endpoints available only in ESS - `POST /api/detection_engine/signals/migration_status` - `POST /api/detection_engine/signals/migration` - `POST /api/detection_engine/signals/finalize_migration` - `DELETE /api/detection_engine/signals/migration` **Note:** Code generation is enabled for the added specs to verify that it works and produces expected results. Generated Zod schemas and types aren't integrated in the route's code.
maximpn
added a commit
that referenced
this issue
Jun 21, 2024
**Addresses:** #183661 ## Summary This PR adds missing OpenAPI specs for the Alert Index API endpoints available in ESS - `POST /api/detection_engine/index` - `GET /api/detection_engine/index` - `DELETE /api/detection_engine/index`
bhapas
pushed a commit
to bhapas/kibana
that referenced
this issue
Jun 24, 2024
…c#186401) **Addresses:** elastic#183661 ## Summary This PR adds missing OpenAPI specs for the Alert Index API endpoints available in ESS - `POST /api/detection_engine/index` - `GET /api/detection_engine/index` - `DELETE /api/detection_engine/index`
maximpn
added a commit
that referenced
this issue
Jul 12, 2024
**Addresses:** #183661 ## Summary This PR adds missing OpenAPI specs for the following Detections API endpoints available in both Serverless and ESS - `POST /api/detection_engine/rules/preview` and the following API endpoints available in ESS only - `GET /api/detection_engine/privileges` - `POST /api/detection_engine/rules/_bulk_delete`
maximpn
added a commit
that referenced
this issue
Aug 5, 2024
…#189703) **Relates to:** #183661 (internal) **Relates to:** #183821 (internal) **Relates to:** #183837 (internal) ## Summary It addresses a discussion Rule Management team had on a tech time meeting whose outcome was usage of consistent operationId, files and folder naming related to OpenAPI specs. For example use `Read` instead of `Get` since it gives better readability and matches with already used approach. This PR aligns the naming and performs necessary renaming.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
8.15 candidate
8.16 candidate
docs
Team:Detection Engine
Security Solution Detection Engine Area
Team:Detection Rule Management
Security Detection Rule Management Team
Team:Detections and Resp
Security Detection Response Team
Team: SecuritySolution
Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.
v8.15.0
v8.16.0
Epic: https://github.com/elastic/security-team/issues/9398
Deadline: Jul 29, 2024 (see milestones in https://github.com/elastic/security-team/issues/9400)
Summary
As part of the Serverless project, we need to create OpenAPI specs for all public Detections API endpoints, because we want all of them documented before Serverless GA. Please look for more context in the epic.
During a Security Solution public API research we discovered that some public Detections API endpoints have missing OpenAPI specs. We need to add them.
API endpoints
The following public API endpoints are available in both Serverless and ESS, and don't have any OpenAPI specs:
POST /api/detection_engine/rules/preview
[Security Solution] Add missing Detections API OpenAPI specs #186764
POST /api/detection_engine/signals/status
[Security Solution] Add missing alerts (signals) API endpoints OpenAPI specs #184838
POST /api/detection_engine/signals/tags
[Security Solution] Add missing alerts (signals) API endpoints OpenAPI specs #184838
POST /api/detection_engine/signals/search
[Security Solution] Add missing alerts (signals) API endpoints OpenAPI specs #184838
GET /api/detection_engine/privileges
[Security Solution] Add missing Detections API OpenAPI specs #186764
The following public API endpoints are available in ESS only, and don't have any OpenAPI specs:
POST /api/detection_engine/index
[Security Solution] Add missing Alert index API OpenAPI specs #186401
GET /api/detection_engine/index
[Security Solution] Add missing Alert index API OpenAPI specs #186401
DELETE /api/detection_engine/index
[Security Solution] Add missing Alert index API OpenAPI specs #186401
POST /api/detection_engine/signals/migration_status
[Security Solution] Add missing alerts (signals) API endpoints OpenAPI specs #184838
POST /api/detection_engine/signals/migration
([Security Solution] Add missing alerts (signals) API endpoints OpenAPI specs #184838
POST /api/detection_engine/signals/finalize_migration
[Security Solution] Add missing alerts (signals) API endpoints OpenAPI specs #184838
DELETE /api/detection_engine/signals/migration
[Security Solution] Add missing alerts (signals) API endpoints OpenAPI specs #184838
POST /api/detection_engine/rules/_bulk_delete
[Security Solution] Add missing Detections API OpenAPI specs #186764
To do
The text was updated successfully, but these errors were encountered: