OpenSearch/x-pack/plugin
Albert Zaharovits 3c1544d259
Fix NPE in Logfile Audit Filter (#38120)
The culprit in #38097 is an `IndicesRequest` that has no indices,
but instead of `request.indices()` returning `null` or `String[0]`
it returned `String[] {null}` . This tripped the audit filter.

I have addressed this in two ways:
1. `request.indices()` returning `String[] {null}` is treated as `null`
    or `String[0]`, i.e. no indices
2. `null` values among the roles and indices lists, which are
    unexpected, will never again stumble the audit filter; `null` values
    are treated as special values that will not match any policy,
    i.e. their events will always be printed.

Closes #38097
2019-02-03 10:34:17 +02:00
..
ccr Introduce retention leases versioning (#37951) 2019-02-01 17:19:19 -05:00
core Mute tests in SSLConfigurationReloaderTests (#38248) 2019-02-01 21:00:58 -07:00
deprecation [ML] Datafeed deprecation checks (#38026) 2019-01-30 20:12:20 +00:00
graph Remove X-Pack centric graph endpoints (#36010) 2018-11-29 07:09:37 -05:00
ilm Ensure ILM policies run safely on leader indices (#38140) 2019-02-01 20:46:12 -07:00
logstash Rename confusing variable holding name of Logstash index template (#36840) 2018-12-19 12:09:37 -07:00
ml ML: Fix error race condition on stop _all datafeeds and close _all jobs (#38113) 2019-02-01 11:16:35 -06:00
monitoring Handle scheduler exceptions (#38014) 2019-01-31 17:51:45 +01:00
rollup Switch mapping/aggregations over to java time (#36363) 2019-01-23 10:40:05 +01:00
security Fix NPE in Logfile Audit Filter (#38120) 2019-02-03 10:34:17 +02:00
sql SQL: Generate relevant error message when grouping functions are not used in GROUP BY (#38017) 2019-02-02 22:05:47 +02:00
src/test Adapt minimum versions for seq# powered operations in Watch related requests and UpdateRequest (#38231) 2019-02-01 20:37:16 -05:00
upgrade Converting randomized testing to create a separate unitTest task instead of replacing the builtin test task (#36311) 2018-12-19 08:25:20 +02:00
watcher Adapt minimum versions for seq# powered operations in Watch related requests and UpdateRequest (#38231) 2019-02-01 20:37:16 -05:00
build.gradle Simplify integ test distribution types (#37618) 2019-01-21 12:37:17 -08:00