Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Done
-
1.4.2
-
None
-
None
Description
Ambari 1.4.2 added CSRF prevention by default.
This means that non-GET calls now require the "X-Requested-By" header. The API reference doc should be updated to reflect this change.
Also, we should mention that this behavior can be turned off (at the risk of allowing CSRF) by modifying /etc/ambari/conf/ambari.properties and setting api.csrfPrevention.enabled=false.