Original commit: elastic/x-pack-elasticsearch@d21868e7d4
See elastic/elasticsearchelastic/elasticsearch#13930 Original commit: elastic/x-pack-elasticsearch@b8d26ebd2a