Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dev.icinga.com #13941] Icinga Application API Actions Always Respond w/ 404 #4878

Closed
icinga-migration opened this issue Jan 11, 2017 · 2 comments
Labels
area/api REST API bug Something isn't working

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/13941

Created by elippmann on 2017-01-11 11:33:40 +00:00

Assignee: (none)
Status: Rejected (closed on 2017-01-11 12:56:15 +00:00)
Target Version: (none)
Last Update: 2017-01-11 12:56:15 +00:00 (in Redmine)

Icinga Version: 2.6.0
Backport?: Not yet backported
Include in Changelog: 1

Actions which affect the Icinga Application itself such as disabling notification on a program-wide basis always respond w/ 404 "No objects found".
You may use the following example from our docs to reproduce the problem:

curl -k -s -u root:icinga -H 'Accept: application/json' -X POST 'https://localhost:5665/v1/objects/icingaapplications/app' -d '{ "attrs": { "enable_notifications": false } }'
@icinga-migration
Copy link
Author

Updated by elippmann on 2017-01-11 12:52:07 +00:00

Example user:

object ApiUser "root" {
  password = "password"
  permissions = [ "actions/*", "objects/modify/hosts", "objects/modify/services", "objects/modify/icingaapplications", "status/query" ]
}

@icinga-migration
Copy link
Author

Updated by elippmann on 2017-01-11 12:56:16 +00:00

  • Status changed from New to Rejected

Web 2 states the wrong permission in its docs: objects/modify/icingaapplications has to be renamed to objects/modify/icingaapplication.

@icinga-migration icinga-migration added bug Something isn't working area/api REST API labels Jan 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/api REST API bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant