Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Security_Solution][Resolver] Fix Text Overflow #88679

Merged
merged 1 commit into from
Jan 19, 2021

Conversation

michaelolo24
Copy link
Contributor

Summary

Previous fix here: #86905, was incorrect: This PR fixes: elastic/eui#6277 by using EuiBreadcrumb's truncate functionality

Examples of non-spaced text truncation:

Screen Shot 2021-01-19 at 9 43 28 AM

Screen Shot 2021-01-19 at 9 41 39 AM

@michaelolo24 michaelolo24 added bug Fixes for quality problems that affect the customer experience v8.0.0 release_note:skip Skip the PR/issue when compiling release notes Feature:Resolver Security Solution Resolver feature v7.11.0 Team:Threat Hunting Security Solution Threat Hunting Team labels Jan 19, 2021
@michaelolo24 michaelolo24 requested review from a team as code owners January 19, 2021 14:48
@elasticmachine
Copy link
Contributor

Pinging @elastic/endpoint-app-team (Feature:Resolver)

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

X-Pack Alerting API Integration Tests.x-pack/test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy·ts.alerting api integration security and spaces enabled Alerts legacy alerts alerts "before all" hook in "alerts"

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has not failed recently on tracked branches

[00:00:00]       │
[00:00:00]         └-: alerting api integration security and spaces enabled
[00:00:00]           └-> "before all" hook
[00:03:58]           └-: Alerts
[00:03:58]             └-> "before all" hook
[00:03:58]             └-: legacy alerts
[00:03:58]               └-> "before all" hook
[00:03:58]               └-> "before all" hook
[00:03:58]                 │ debg creating space
[00:03:58]                 │ debg created space
[00:03:58]                 │ debg creating space
[00:03:59]                 │ debg created space
[00:03:59]                 │ debg creating space
[00:04:00]                 │ debg created space
[00:04:00]                 │ debg creating user no_kibana_privileges
[00:04:00]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1611067743607022656] added user [no_kibana_privileges]
[00:04:00]                 │ debg created user no_kibana_privileges
[00:04:00]                 │ debg creating role no_kibana_privileges
[00:04:01]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xxl-1611067743607022656] added role [no_kibana_privileges]
[00:04:01]                 │ debg creating user superuser
[00:04:01]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1611067743607022656] added user [superuser]
[00:04:01]                 │ debg created user superuser
[00:04:01]                 │ debg creating user global_read
[00:04:01]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1611067743607022656] added user [global_read]
[00:04:01]                 │ debg created user global_read
[00:04:01]                 │ debg creating role global_read_role
[00:04:01]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xxl-1611067743607022656] added role [global_read_role]
[00:04:01]                 │ debg creating user space_1_all
[00:04:01]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1611067743607022656] added user [space_1_all]
[00:04:01]                 │ debg created user space_1_all
[00:04:01]                 │ debg creating role space_1_all_role
[00:04:01]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xxl-1611067743607022656] added role [space_1_all_role]
[00:04:01]                 │ debg creating user space_1_all_with_restricted_fixture
[00:04:01]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1611067743607022656] added user [space_1_all_with_restricted_fixture]
[00:04:01]                 │ debg created user space_1_all_with_restricted_fixture
[00:04:01]                 │ debg creating role space_1_all_with_restricted_fixture_role
[00:04:01]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xxl-1611067743607022656] added role [space_1_all_with_restricted_fixture_role]
[00:04:01]                 │ debg creating user space_1_all_alerts_none_actions
[00:04:01]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1611067743607022656] added user [space_1_all_alerts_none_actions]
[00:04:01]                 │ debg created user space_1_all_alerts_none_actions
[00:04:01]                 │ debg creating role space_1_all_alerts_none_actions_role
[00:04:01]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xxl-1611067743607022656] added role [space_1_all_alerts_none_actions_role]
[00:04:01]               └-: alerts
[00:04:01]                 └-> "before all" hook
[00:04:01]                 └-> "before all" hook
[00:04:01]                   │ info [alerts_legacy] Loading "mappings.json"
[00:04:01]                   │ info [alerts_legacy] Loading "data.json"
[00:04:01]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1611067743607022656] [.kibana_1/0XC4a_SOSmm3Jogoa8Q5rg] deleting index
[00:04:01]                   │ info [alerts_legacy] Deleted existing index [".kibana_1"]
[00:04:01]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1611067743607022656] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:04:01]                   │ info [alerts_legacy] Created index ".kibana_1"
[00:04:01]                   │ debg [alerts_legacy] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:04:01]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1611067743607022656] [.kibana_task_manager_1/Nnyc5ojjTzG1v_8oVG38AQ] deleting index
[00:04:01]                   │ info [alerts_legacy] Deleted existing index ".kibana_task_manager_1"
[00:04:01]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1611067743607022656] [.kibana_task_manager] creating index, cause [auto(bulk api)], templates [], shards [1]/[1]
[00:04:02]                   │ info failed to create aliases [{ '.kibana_task_manager': {} }] because ES indicated an index/alias already exists, trying again
[00:04:02]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1611067743607022656] [.kibana_1/IBrf_hOqRUixFrzI3tUdkA] deleting index
[00:04:02]                   │ info [alerts_legacy] Deleted existing index [".kibana_1"]
[00:04:02]                   └- ✖ fail: alerting api integration security and spaces enabled Alerts legacy alerts alerts "before all" hook in "alerts"
[00:04:02]                   │      Error: [invalid_alias_name_exception] Invalid alias name [.kibana_task_manager], an index exists with the same name as the alias, with { index_uuid="5DYAOZ7DR4qJOC5eowHrmQ" & index=".kibana_task_manager" }
[00:04:02]                   │       at respond (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:349:15)
[00:04:02]                   │       at checkRespForFailure (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:306:7)
[00:04:02]                   │       at HttpConnector.<anonymous> (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
[00:04:02]                   │       at IncomingMessage.wrapper (/dev/shm/workspace/kibana/node_modules/lodash/lodash.js:4949:19)
[00:04:02]                   │       at endReadableNT (internal/streams/readable.js:1327:12)
[00:04:02]                   │       at processTicksAndRejections (internal/process/task_queues.js:80:21)
[00:04:02]                   │ 
[00:04:02]                   │ 

Stack Trace

StatusCodeError: [invalid_alias_name_exception] Invalid alias name [.kibana_task_manager], an index exists with the same name as the alias, with { index_uuid="5DYAOZ7DR4qJOC5eowHrmQ" & index=".kibana_task_manager" }
    at respond (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:349:15)
    at checkRespForFailure (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:306:7)
    at HttpConnector.<anonymous> (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
    at IncomingMessage.wrapper (/dev/shm/workspace/kibana/node_modules/lodash/lodash.js:4949:19)
    at endReadableNT (internal/streams/readable.js:1327:12)
    at processTicksAndRejections (internal/process/task_queues.js:80:21) {
  status: 400,
  displayName: 'BadRequest',
  path: '/.kibana_task_manager_1',
  query: {},
  body: {
    error: {
      root_cause: [Array],
      type: 'invalid_alias_name_exception',
      reason: 'Invalid alias name [.kibana_task_manager], an index exists with the same name as the alias',
      index_uuid: '5DYAOZ7DR4qJOC5eowHrmQ',
      index: '.kibana_task_manager'
    },
    status: 400
  },
  statusCode: 400,
  response: '{"error":{"root_cause":[{"type":"invalid_alias_name_exception","reason":"Invalid alias name [.kibana_task_manager], an index exists with the same name as the alias","index_uuid":"5DYAOZ7DR4qJOC5eowHrmQ","index":".kibana_task_manager"}],"type":"invalid_alias_name_exception","reason":"Invalid alias name [.kibana_task_manager], an index exists with the same name as the alias","index_uuid":"5DYAOZ7DR4qJOC5eowHrmQ","index":".kibana_task_manager"},"status":400}',
  toString: [Function (anonymous)],
  toJSON: [Function (anonymous)]
}

X-Pack Alerting API Integration Tests.x-pack/test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy·ts.alerting api integration security and spaces enabled Alerts legacy alerts alerts "after all" hook in "alerts"

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has not failed recently on tracked branches

[00:00:00]       │
[00:00:00]         └-: alerting api integration security and spaces enabled
[00:00:00]           └-> "before all" hook
[00:03:58]           └-: Alerts
[00:03:58]             └-> "before all" hook
[00:03:58]             └-: legacy alerts
[00:03:58]               └-> "before all" hook
[00:03:58]               └-> "before all" hook
[00:03:58]                 │ debg creating space
[00:03:58]                 │ debg created space
[00:03:58]                 │ debg creating space
[00:03:59]                 │ debg created space
[00:03:59]                 │ debg creating space
[00:04:00]                 │ debg created space
[00:04:00]                 │ debg creating user no_kibana_privileges
[00:04:00]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1611067743607022656] added user [no_kibana_privileges]
[00:04:00]                 │ debg created user no_kibana_privileges
[00:04:00]                 │ debg creating role no_kibana_privileges
[00:04:01]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xxl-1611067743607022656] added role [no_kibana_privileges]
[00:04:01]                 │ debg creating user superuser
[00:04:01]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1611067743607022656] added user [superuser]
[00:04:01]                 │ debg created user superuser
[00:04:01]                 │ debg creating user global_read
[00:04:01]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1611067743607022656] added user [global_read]
[00:04:01]                 │ debg created user global_read
[00:04:01]                 │ debg creating role global_read_role
[00:04:01]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xxl-1611067743607022656] added role [global_read_role]
[00:04:01]                 │ debg creating user space_1_all
[00:04:01]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1611067743607022656] added user [space_1_all]
[00:04:01]                 │ debg created user space_1_all
[00:04:01]                 │ debg creating role space_1_all_role
[00:04:01]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xxl-1611067743607022656] added role [space_1_all_role]
[00:04:01]                 │ debg creating user space_1_all_with_restricted_fixture
[00:04:01]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1611067743607022656] added user [space_1_all_with_restricted_fixture]
[00:04:01]                 │ debg created user space_1_all_with_restricted_fixture
[00:04:01]                 │ debg creating role space_1_all_with_restricted_fixture_role
[00:04:01]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xxl-1611067743607022656] added role [space_1_all_with_restricted_fixture_role]
[00:04:01]                 │ debg creating user space_1_all_alerts_none_actions
[00:04:01]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1611067743607022656] added user [space_1_all_alerts_none_actions]
[00:04:01]                 │ debg created user space_1_all_alerts_none_actions
[00:04:01]                 │ debg creating role space_1_all_alerts_none_actions_role
[00:04:01]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xxl-1611067743607022656] added role [space_1_all_alerts_none_actions_role]
[00:04:01]               └-: alerts
[00:04:01]                 └-> "before all" hook
[00:04:01]                 └-> "before all" hook
[00:04:01]                   │ info [alerts_legacy] Loading "mappings.json"
[00:04:01]                   │ info [alerts_legacy] Loading "data.json"
[00:04:01]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1611067743607022656] [.kibana_1/0XC4a_SOSmm3Jogoa8Q5rg] deleting index
[00:04:01]                   │ info [alerts_legacy] Deleted existing index [".kibana_1"]
[00:04:01]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1611067743607022656] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:04:01]                   │ info [alerts_legacy] Created index ".kibana_1"
[00:04:01]                   │ debg [alerts_legacy] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:04:01]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1611067743607022656] [.kibana_task_manager_1/Nnyc5ojjTzG1v_8oVG38AQ] deleting index
[00:04:01]                   │ info [alerts_legacy] Deleted existing index ".kibana_task_manager_1"
[00:04:01]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1611067743607022656] [.kibana_task_manager] creating index, cause [auto(bulk api)], templates [], shards [1]/[1]
[00:04:02]                   │ info failed to create aliases [{ '.kibana_task_manager': {} }] because ES indicated an index/alias already exists, trying again
[00:04:02]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1611067743607022656] [.kibana_1/IBrf_hOqRUixFrzI3tUdkA] deleting index
[00:04:02]                   │ info [alerts_legacy] Deleted existing index [".kibana_1"]
[00:04:02]                   └- ✖ fail: alerting api integration security and spaces enabled Alerts legacy alerts alerts "before all" hook in "alerts"
[00:04:02]                   │      Error: [invalid_alias_name_exception] Invalid alias name [.kibana_task_manager], an index exists with the same name as the alias, with { index_uuid="5DYAOZ7DR4qJOC5eowHrmQ" & index=".kibana_task_manager" }
[00:04:02]                   │       at respond (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:349:15)
[00:04:02]                   │       at checkRespForFailure (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:306:7)
[00:04:02]                   │       at HttpConnector.<anonymous> (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
[00:04:02]                   │       at IncomingMessage.wrapper (/dev/shm/workspace/kibana/node_modules/lodash/lodash.js:4949:19)
[00:04:02]                   │       at endReadableNT (internal/streams/readable.js:1327:12)
[00:04:02]                   │       at processTicksAndRejections (internal/process/task_queues.js:80:21)
[00:04:02]                   │ 
[00:04:02]                   │ 
[00:04:02]                   └-> "after all" hook
[00:04:02]                     └- ✖ fail: alerting api integration security and spaces enabled Alerts legacy alerts alerts "after all" hook in "alerts"
[00:04:02]                     │      Error: [index_not_found_exception] no such index [.kibana-test-authorization], with { resource.type="index_or_alias" & resource.id=".kibana-test-authorization" & index_uuid="_na_" & index=".kibana-test-authorization" }
[00:04:02]                     │       at respond (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:349:15)
[00:04:02]                     │       at checkRespForFailure (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:306:7)
[00:04:02]                     │       at HttpConnector.<anonymous> (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
[00:04:02]                     │       at IncomingMessage.wrapper (/dev/shm/workspace/kibana/node_modules/lodash/lodash.js:4949:19)
[00:04:02]                     │       at endReadableNT (internal/streams/readable.js:1327:12)
[00:04:02]                     │       at processTicksAndRejections (internal/process/task_queues.js:80:21)
[00:04:02]                     │ 
[00:04:02]                     │ 

Stack Trace

StatusCodeError: [index_not_found_exception] no such index [.kibana-test-authorization], with { resource.type="index_or_alias" & resource.id=".kibana-test-authorization" & index_uuid="_na_" & index=".kibana-test-authorization" }
    at respond (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:349:15)
    at checkRespForFailure (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:306:7)
    at HttpConnector.<anonymous> (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
    at IncomingMessage.wrapper (/dev/shm/workspace/kibana/node_modules/lodash/lodash.js:4949:19)
    at endReadableNT (internal/streams/readable.js:1327:12)
    at processTicksAndRejections (internal/process/task_queues.js:80:21) {
  status: 404,
  displayName: 'NotFound',
  path: '/.kibana-test-authorization',
  query: {},
  body: {
    error: {
      root_cause: [Array],
      type: 'index_not_found_exception',
      reason: 'no such index [.kibana-test-authorization]',
      'resource.type': 'index_or_alias',
      'resource.id': '.kibana-test-authorization',
      index_uuid: '_na_',
      index: '.kibana-test-authorization'
    },
    status: 404
  },
  statusCode: 404,
  response: '{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index [.kibana-test-authorization]","resource.type":"index_or_alias","resource.id":".kibana-test-authorization","index_uuid":"_na_","index":".kibana-test-authorization"}],"type":"index_not_found_exception","reason":"no such index [.kibana-test-authorization]","resource.type":"index_or_alias","resource.id":".kibana-test-authorization","index_uuid":"_na_","index":".kibana-test-authorization"},"status":404}',
  toString: [Function (anonymous)],
  toJSON: [Function (anonymous)]
}

X-Pack Alerting API Integration Tests.x-pack/test/alerting_api_integration/security_and_spaces/tests/alerting/index·ts.alerting api integration security and spaces enabled Alerts legacy alerts "after all" hook in "legacy alerts"

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has not failed recently on tracked branches

[00:00:00]       │
[00:00:00]         └-: alerting api integration security and spaces enabled
[00:00:00]           └-> "before all" hook
[00:03:58]           └-: Alerts
[00:03:58]             └-> "before all" hook
[00:03:58]             └-: legacy alerts
[00:03:58]               └-> "before all" hook
[00:03:58]               └-> "before all" hook
[00:03:58]                 │ debg creating space
[00:03:58]                 │ debg created space
[00:03:58]                 │ debg creating space
[00:03:59]                 │ debg created space
[00:03:59]                 │ debg creating space
[00:04:00]                 │ debg created space
[00:04:00]                 │ debg creating user no_kibana_privileges
[00:04:00]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1611067743607022656] added user [no_kibana_privileges]
[00:04:00]                 │ debg created user no_kibana_privileges
[00:04:00]                 │ debg creating role no_kibana_privileges
[00:04:01]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xxl-1611067743607022656] added role [no_kibana_privileges]
[00:04:01]                 │ debg creating user superuser
[00:04:01]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1611067743607022656] added user [superuser]
[00:04:01]                 │ debg created user superuser
[00:04:01]                 │ debg creating user global_read
[00:04:01]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1611067743607022656] added user [global_read]
[00:04:01]                 │ debg created user global_read
[00:04:01]                 │ debg creating role global_read_role
[00:04:01]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xxl-1611067743607022656] added role [global_read_role]
[00:04:01]                 │ debg creating user space_1_all
[00:04:01]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1611067743607022656] added user [space_1_all]
[00:04:01]                 │ debg created user space_1_all
[00:04:01]                 │ debg creating role space_1_all_role
[00:04:01]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xxl-1611067743607022656] added role [space_1_all_role]
[00:04:01]                 │ debg creating user space_1_all_with_restricted_fixture
[00:04:01]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1611067743607022656] added user [space_1_all_with_restricted_fixture]
[00:04:01]                 │ debg created user space_1_all_with_restricted_fixture
[00:04:01]                 │ debg creating role space_1_all_with_restricted_fixture_role
[00:04:01]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xxl-1611067743607022656] added role [space_1_all_with_restricted_fixture_role]
[00:04:01]                 │ debg creating user space_1_all_alerts_none_actions
[00:04:01]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1611067743607022656] added user [space_1_all_alerts_none_actions]
[00:04:01]                 │ debg created user space_1_all_alerts_none_actions
[00:04:01]                 │ debg creating role space_1_all_alerts_none_actions_role
[00:04:01]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xxl-1611067743607022656] added role [space_1_all_alerts_none_actions_role]
[00:04:02]                   └-> "after all" hook
[00:04:02]                     │ debg deleting user no_kibana_privileges
[00:04:02]                     │ debg deleted user no_kibana_privileges
[00:04:02]                     │ debg deleting role no_kibana_privileges
[00:04:02]                     │ debg deleting user superuser
[00:04:02]                     │ debg deleted user superuser
[00:04:02]                     │ debg deleting user global_read
[00:04:02]                     │ debg deleted user global_read
[00:04:02]                     │ debg deleting role global_read_role
[00:04:02]                     │ debg deleting user space_1_all
[00:04:02]                     │ debg deleted user space_1_all
[00:04:02]                     │ debg deleting role space_1_all_role
[00:04:02]                     │ debg deleting user space_1_all_with_restricted_fixture
[00:04:02]                     │ debg deleted user space_1_all_with_restricted_fixture
[00:04:02]                     │ debg deleting role space_1_all_with_restricted_fixture_role
[00:04:02]                     │ debg deleting user space_1_all_alerts_none_actions
[00:04:02]                     │ debg deleted user space_1_all_alerts_none_actions
[00:04:02]                     │ debg deleting role space_1_all_alerts_none_actions_role
[00:04:02]                     │ info [empty_kibana] Unloading indices from "mappings.json"
[00:04:02]                     └- ✖ fail: alerting api integration security and spaces enabled Alerts legacy alerts "after all" hook in "legacy alerts"
[00:04:02]                     │      Error: [index_not_found_exception] no such index [.kibana], with { resource.type="index_or_alias" & resource.id=".kibana" & index_uuid="_na_" & index=".kibana" }
[00:04:02]                     │       at respond (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:349:15)
[00:04:02]                     │       at checkRespForFailure (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:306:7)
[00:04:02]                     │       at HttpConnector.<anonymous> (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
[00:04:02]                     │       at IncomingMessage.wrapper (/dev/shm/workspace/kibana/node_modules/lodash/lodash.js:4949:19)
[00:04:02]                     │       at endReadableNT (internal/streams/readable.js:1327:12)
[00:04:02]                     │       at processTicksAndRejections (internal/process/task_queues.js:80:21)
[00:04:02]                     │ 
[00:04:02]                     │ 

Stack Trace

StatusCodeError: [index_not_found_exception] no such index [.kibana], with { resource.type="index_or_alias" & resource.id=".kibana" & index_uuid="_na_" & index=".kibana" }
    at respond (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:349:15)
    at checkRespForFailure (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:306:7)
    at HttpConnector.<anonymous> (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
    at IncomingMessage.wrapper (/dev/shm/workspace/kibana/node_modules/lodash/lodash.js:4949:19)
    at endReadableNT (internal/streams/readable.js:1327:12)
    at processTicksAndRejections (internal/process/task_queues.js:80:21) {
  status: 404,
  displayName: 'NotFound',
  path: '/.kibana/_delete_by_query',
  query: {},
  body: {
    error: {
      root_cause: [Array],
      type: 'index_not_found_exception',
      reason: 'no such index [.kibana]',
      'resource.type': 'index_or_alias',
      'resource.id': '.kibana',
      index_uuid: '_na_',
      index: '.kibana'
    },
    status: 404
  },
  statusCode: 404,
  response: '{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index [.kibana]","resource.type":"index_or_alias","resource.id":".kibana","index_uuid":"_na_","index":".kibana"}],"type":"index_not_found_exception","reason":"no such index [.kibana]","resource.type":"index_or_alias","resource.id":".kibana","index_uuid":"_na_","index":".kibana"},"status":404}',
  toString: [Function (anonymous)],
  toJSON: [Function (anonymous)]
}

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
securitySolution 8.5MB 8.5MB -75.0B

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Resolver Security Solution Resolver feature release_note:skip Skip the PR/issue when compiling release notes Team:Threat Hunting Security Solution Threat Hunting Team v7.11.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Security Solution] Text is not wrapped in the grey box for events under the resolver.
5 participants