Skip to content

Commit

Permalink
[8.8] [Security Solution] PoC of the Detection Engine health API (ela…
Browse files Browse the repository at this point in the history
…stic#157155) (elastic#159717)

# Backport

This will backport the following PR from `main` to `8.8`:
 - elastic#157155

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)
  • Loading branch information
banderror committed Jun 15, 2023
1 parent 858100d commit c65f896
Show file tree
Hide file tree
Showing 81 changed files with 4,525 additions and 274 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import { Either } from 'fp-ts/lib/Either';
* Types the IsoDateString as:
* - A string that is an ISOString
*/
export type IsoDateString = t.TypeOf<typeof IsoDateString>;
export const IsoDateString = new t.Type<string, string, unknown>(
'IsoDateString',
t.string.is,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ const ALLOW_FIELDS = [
'alert.attributes.snoozeSchedule.duration',
'alert.attributes.alertTypeId',
'alert.attributes.enabled',
'alert.attributes.params.*',
'alert.attributes.params.*', // TODO: https://github.com/elastic/kibana/issues/159602
'alert.attributes.params.immutable', // TODO: Remove after addressing https://github.com/elastic/kibana/issues/159602
];

const ALLOW_AGG_TYPES = ['terms', 'composite', 'nested', 'filter'];
Expand Down

0 comments on commit c65f896

Please sign in to comment.