Skip to content

Commit

Permalink
Fix README
Browse files Browse the repository at this point in the history
  • Loading branch information
cnasikas committed Nov 19, 2020
1 parent c2e2410 commit 0ba4f95
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions x-pack/plugins/case/README.md
Expand Up @@ -57,11 +57,12 @@ This action type has no `secrets` properties.

#### `subActionParams (addComment)`

| Property | Description | Type |
| -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------ |
| comment | The case’s new comment. | string |
| context | Must be of: `{ type: "user" | "alert", savedObjectId: string | null}`. Comments of type `user` should have `savedObjectId: null`. All others, `savedObjectId: string`. | object |

| Property | Description | Type |
| -------- | ----------------------------------------------------------------------- | ----------------- |
| type | The type of the comment | `user` \| `alert` |
| comment | The comment. Valid only when type is `user`. | string |
| alertId | The alert ID. Valid only when the type is `alert` | string |
| index | The index where the alert is saved. Valid only when the type is `alert` | string |
#### `connector`

| Property | Description | Type |
Expand Down

0 comments on commit 0ba4f95

Please sign in to comment.