kibana/x-pack/test/functional
Frank Hassanabad 827442b4b0
[Security Solution][Detection Engine] Test cases for alias failure test cases where we don't copy aliases correctly (#101437)
## Summary

Test cases for signals and aliases, including a failure of where we do not copy alias data at the moment even if the target is an ECS compatible field.

For example with this mapping:

```json
{
  "dynamic": "strict",
  "properties": {
    "@timestamp": {
      "type": "date"
    },
    "host": {
      "properties": {
        "name": {
          "type": "alias",
          "path": "host_alias.name"
        }
      }
    },
    "host_alias": {
      "properties": {
        "name": {
          "type": "keyword"
        }
      }
    }
  }
}
```

If we detect this as a signal hit we should be copying over both:
* `host_alias.name` -> `host.name`
* `host_alias.name` -> `host_alias.name`

to the target signal index, but we only copy:
* `host_alias.name` -> `host_alias.name`

### Checklist

- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
2021-06-04 22:34:52 -04:00
..
apps [Lens] Heatmap / Swim lane integration (#97978) 2021-06-04 15:28:43 -04:00
es_archives [Security Solution][Detection Engine] Test cases for alias failure test cases where we don't copy aliases correctly (#101437) 2021-06-04 22:34:52 -04:00
page_objects [fix] import from the root of @kbn/expect (#101321) 2021-06-03 18:13:11 -04:00
screenshots/baseline
services [fix] import from the root of @kbn/expect (#101321) 2021-06-03 18:13:11 -04:00
config.coverage.js
config.edge.js
config.firefox.js
config.js Automated package testing (#88900) 2021-05-27 13:37:43 -05:00
config_security_basic.ts [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
ftr_provider_context.ts [ftr] implement FtrService classes and migrate common services (#99546) 2021-05-25 09:25:09 -07:00
README.md

Kibana Functional Testing

See our Functional Testing Guide