Closed AntonEliatra closed 3 weeks ago
[Triage] Hi @AntonEliatra, thanks for filing this issue. This issue should be resolved through an update in the documentation. PATCH should remove and then add the new value. This is based on the official JSON patch RFC found here: https://jsonpatch.com/
Great, thanks @scrawfor99
What is the bug? When you execute PATCH request using allowlist API with add or replace operation, all other configuration for "requests" path get overwritten.
How can one reproduce the bug? Steps to reproduce the behavior: 1: Create allowlist with PUT call:
curl -k -X GET https://localhost:9200/_plugins/_security/api/allowlist?pretty --cert config/kirk.pem --key config/kirk-key.pem
You should get below:
What is the expected behavior? Expecting to get:
What is your host/environment?