Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,15 @@ paths:
required:
- name
- description
example:
list_id: simple_list
name: Sample Detection Exception List
description: This is a sample detection type exception list.
namespace_type: single
tags: [malware]
os_types: [linux]
examples:
createSharedExceptionList:
value:
list_id: simple_list
name: Sample Detection Exception List
description: This is a sample detection type exception list.
namespace_type: single
tags: [malware]
os_types: [linux]
responses:
200:
description: Successful response
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2688,16 +2688,18 @@ paths:
requestBody:
content:
application/json:
examples:
createSharedExceptionList:
value:
description: This is a sample detection type exception list.
list_id: simple_list
name: Sample Detection Exception List
namespace_type: single
os_types:
- linux
tags:
- malware
schema:
example:
description: This is a sample detection type exception list.
list_id: simple_list
name: Sample Detection Exception List
namespace_type: single
os_types:
- linux
tags:
- malware
type: object
properties:
description:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2688,16 +2688,18 @@ paths:
requestBody:
content:
application/json:
examples:
createSharedExceptionList:
value:
description: This is a sample detection type exception list.
list_id: simple_list
name: Sample Detection Exception List
namespace_type: single
os_types:
- linux
tags:
- malware
schema:
example:
description: This is a sample detection type exception list.
list_id: simple_list
name: Sample Detection Exception List
namespace_type: single
os_types:
- linux
tags:
- malware
type: object
properties:
description:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,15 @@ paths:
$ref: '../model/set_alert_assignees_body.schema.yaml#/components/examples/SetAlertAssigneesBodyRemove'
responses:
200:
description: Indicates a successful call.
description: |
Indicates a successful call. The body matches an Elasticsearch update-by-query response
(for example `took`, `updated`, `failures`).
content:
application/json:
description: Elasticsearch update by query or update by IDs response
schema:
type: object
additionalProperties: true
description: Elasticsearch update by query response
examples:
add:
value:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3847,7 +3847,6 @@ paths:
'200':
content:
application/json:
description: Elasticsearch update by query or update by IDs response
examples:
add:
value:
Expand All @@ -3866,7 +3865,15 @@ paths:
total: 1
updated: 1
version_conflicts: 0
description: Indicates a successful call.
schema:
additionalProperties: true
description: Elasticsearch update by query response
type: object
description: >
Indicates a successful call. The body matches an Elasticsearch
update-by-query response

(for example `took`, `updated`, `failures`).
'400':
content:
application/json:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3459,7 +3459,6 @@ paths:
'200':
content:
application/json:
description: Elasticsearch update by query or update by IDs response
examples:
add:
value:
Expand All @@ -3478,7 +3477,15 @@ paths:
total: 1
updated: 1
version_conflicts: 0
description: Indicates a successful call.
schema:
additionalProperties: true
description: Elasticsearch update by query response
type: object
description: >
Indicates a successful call. The body matches an Elasticsearch
update-by-query response

(for example `took`, `updated`, `failures`).
'400':
content:
application/json:
Expand Down
Loading