OpenSearch/x-pack/plugin/ccr/qa/security
Martijn van Groningen 5f643433c6
Prohibit the usage of create index api in namespaces managed by data stream templates (#62574)
Backport of #62527 to 7.x branch.

This commit adds validation that prohibits the creation of regular indices
in the namespace of templates with data streams enabled.

It shouldn't be possible to create ordinary indices when the name of the index
matches with a composable index template that enables data streams. Auto creation
has logic that creates data streams instead of regular indices. However validation
logic for the create index api was missing.
2020-09-17 20:10:42 +02:00
..
src/test/java/org/elasticsearch/xpack/ccr Prohibit the usage of create index api in namespaces managed by data stream templates (#62574) 2020-09-17 20:10:42 +02:00
build.gradle Merge test runner task into RestIntegTest (7.x backport) (#60600) 2020-08-04 14:46:32 +02:00
follower-roles.yml Prohibit the usage of create index api in namespaces managed by data stream templates (#62574) 2020-09-17 20:10:42 +02:00
leader-roles.yml Prohibit the usage of create index api in namespaces managed by data stream templates (#62574) 2020-09-17 20:10:42 +02:00