-
Notifications
You must be signed in to change notification settings - Fork 191
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.13] Update Response Actions APIs as a result of introducing `agent…
…Type` (#4853) * Add `agentType` property to get Action details API response example * Update all create response action API's to include `agentType` as part of the request body * update to list actions api * Apply suggestions from code review Co-authored-by: natasha-moore-elastic <[email protected]> --------- Co-authored-by: natasha-moore-elastic <[email protected]> (cherry picked from commit 98c607a)
- Loading branch information
1 parent
eed82cc
commit aa63bcb
Showing
12 changed files
with
57 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
|
||
// tag::agent-type-accepted-values[] | ||
Accepted values are: | ||
|
||
* `endpoint` (default) | ||
* `sentinel_one` (currently in Technical Preview) | ||
// end::agent-type-accepted-values[] |
19 changes: 19 additions & 0 deletions
19
docs/management/api/_response-actions-api-reusable-content.asciidoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
|
||
// tag::create-response-action-api-common-body-options[] | ||
[width="100%",options="header"] | ||
|============================================== | ||
// tag::create-response-actions-api-common-body-options-row-content[] | ||
|Name |Type |Description |Required | ||
|
||
|
||
|`endpoint_ids` |Array (String) |The IDs of endpoints where you want to issue this action. |Yes | ||
|`agent_type` |String a|The type of Agent that the host is running with. | ||
include::_common-reusable-content.asciidoc[tags=agent-type-accepted-values] | ||
|No | ||
|`alert_ids` |Array (String) |If this action is associated with any alerts, they can be specified here. The action will be logged in any cases associated with the specified alerts. |No | ||
|`case_ids` |Array (String) |The IDs of cases where the action taken will be logged. |No | ||
|`comment` |String |Attach a comment to this action's log. The comment text will appear in associated cases. |No | ||
|
||
// end::create-response-actions-api-common-body-options-row-content[] | ||
|============================================== | ||
// end::create-response-action-api-common-body-options[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters