Recently I was setting up a new API token following "principle of least privilege" so that the token's user would only be able to make the minimum API calls necessary to obtain metrics from the endpoints used by rundeck_exporter. The official API reference isn't consistent in explaining which policies are necessary for an endpoint, so this involved a lot of trial and error. I thought it might be helpful for other users to have an example of example which policy rules are necessary for rundeck_exporter to work.
This PR:
updates the list of endpoints used by rundeck_exporter to include project execution endpoints, and turns each item in the bulleted list into a link to the API documentation for that endpoint
adds a YAML example of minimum required ACL policies that can be copy/pasted into the Rundeck "Edit ACL Policy" Editor box.
Recently I was setting up a new API token following "principle of least privilege" so that the token's user would only be able to make the minimum API calls necessary to obtain metrics from the endpoints used by
rundeck_exporter
. The official API reference isn't consistent in explaining which policies are necessary for an endpoint, so this involved a lot of trial and error. I thought it might be helpful for other users to have an example of example which policy rules are necessary forrundeck_exporter
to work.This PR:
rundeck_exporter
to include project execution endpoints, and turns each item in the bulleted list into a link to the API documentation for that endpointEditor
box.