mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[SecuritySolution][CTI] Fix preview matrix histogram query (#116328)
* [SecuritySolution][CTI] Fix preview matrix histogram query * fixes mock Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
023d668e13
commit
f65485f997
3 changed files with 6 additions and 6 deletions
|
@ -2098,8 +2098,8 @@ export const formattedPreviewStrategyResponse = {
|
|||
JSON.stringify(
|
||||
{
|
||||
index: ['.siem-preview-signals-default'],
|
||||
allowNoIndices: true,
|
||||
ignoreUnavailable: true,
|
||||
allow_no_indices: true,
|
||||
ignore_unavailable: true,
|
||||
track_total_hits: true,
|
||||
body: {
|
||||
aggregations: {
|
||||
|
|
|
@ -18,8 +18,8 @@ export const mockOptions = {
|
|||
|
||||
export const expectedDsl = {
|
||||
index: ['.siem-preview-signals-default'],
|
||||
allowNoIndices: true,
|
||||
ignoreUnavailable: true,
|
||||
allow_no_indices: true,
|
||||
ignore_unavailable: true,
|
||||
track_total_hits: true,
|
||||
body: {
|
||||
aggregations: {
|
||||
|
|
|
@ -65,8 +65,8 @@ export const buildPreviewHistogramQuery = ({
|
|||
|
||||
const dslQuery = {
|
||||
index: defaultIndex,
|
||||
allowNoIndices: true,
|
||||
ignoreUnavailable: true,
|
||||
allow_no_indices: true,
|
||||
ignore_unavailable: true,
|
||||
track_total_hits: true,
|
||||
body: {
|
||||
aggregations: getHistogramAggregation(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue