- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is custom endpoint in restmap.conf of an App allowed to overwrite Splunk rest endpoint?

xxie_splunk

Splunk Employee
08-23-2018
12:03 AM
restmap.conf of an App
[script:test]
match=/authentication/users
handler=nba_rest_api.APIAccountStatus
output_modes=json
Now when we get: http://localhost:8089/services/authentication/users, it shows its my_endpoint.
Is this expected?
If so, if an app overwrites this endpoint, other apps in the same Splunk deployment will access it instead of Splunk designed one. That could be a problem.
