kibana/x-pack/plugins/lists/server
Yara Tercero 9c7d65cfc2
[Security Solution][Exceptions] - Require non empty entries and non empty string values in exception list items (#72748)
## Summary

This PR updates the exception list entries schemas.

- **Prior:** `entries` could be `undefined` or empty array on `ExceptionListItemSchema`
  - **Now:** `entries` is a required field that cannot be empty - there's really no use for an item without `entries`

- **Prior:** `field` and `value` could be empty string in `EntryMatch`
  - **Now:** `field` and `value` can no longer be empty strings

- **Prior:** `field` could be empty string and `value` could be empty array in `EntryMatchAny`
  - **Now:** `field` and `value` can no longer be empty string and array respectively

- **Prior:** `field` and `list.id` could be empty string in `EntryList`
  - **Now:** `field` and `list.id` can no longer be empty strings

- **Prior:** `field` could be empty string in `EntryExists`
  - **Now:** `field` can no longer be empty string

- **Prior:** `field` could be empty string in `EntryNested`
  - **Now:** `field` can no longer be empty string

- **Prior:** `entries` could be empty array in `EntryNested`
  - **Now:** `entries` can no longer be empty array
2020-07-21 21:00:46 -04:00
..
routes [SIEM][Detection Engine][Lists] Adds version and immutability data structures (#72730) 2020-07-21 17:50:25 -06:00
saved_objects [SIEM][Detection Engine][Lists] Adds version and immutability data structures (#72730) 2020-07-21 17:50:25 -06:00
scripts [Security Solution][Exceptions] - Require non empty entries and non empty string values in exception list items (#72748) 2020-07-21 21:00:46 -04:00
services [Security Solution][Exceptions] - Require non empty entries and non empty string values in exception list items (#72748) 2020-07-21 21:00:46 -04:00
config.mock.ts [SIEM][Detection Engine] Speeds up value list imports by enabling streaming of files. 2020-07-08 20:15:18 -06:00
config.test.ts [SIEM][Detection Engine] Speeds up value list imports by enabling streaming of files. 2020-07-08 20:15:18 -06:00
config.ts [SIEM][Detection Engine] Speeds up value list imports by enabling streaming of files. 2020-07-08 20:15:18 -06:00
create_config.ts [SIEM][Detection Engine] Speeds up value list imports by enabling streaming of files. 2020-07-08 20:15:18 -06:00
error_with_status_code.ts
get_space_id.test.ts
get_space_id.ts
get_user.test.ts
get_user.ts
index.ts
mocks.ts
plugin.ts [SIEM][Detection Engine][Lists] Adds read_privileges route for lists and list items 2020-07-09 20:36:20 -06:00
siem_server_deps.ts [SIEM][Detection Engine][Lists] Adds read_privileges route for lists and list items 2020-07-09 20:36:20 -06:00
types.ts