Proxmox Updates Monitoring

Flo2103

New Member
Mar 29, 2023
3
0
1
Hey, I was trying to monitor available updates on nodes using this endpoint '/api2/json/nodes/{node}/apt/update' but it requires Sys.Modify permissions which i don't really understand since it's only a get request. So I would like to know it there is another solution to monitor proxmox updates without giving write permissions.
 
Hi,

this indeed seems like the wrong permission, this should probably be Sys.Audit I guess - would at least make more sense to me. Same goes for the /changelog endpoint. I'll take care of that.

In the meantime
- AFAIK your only possibility would be to grant your API user/token the Sys.Modify permissions, until this change lands.

Edit: Fabian below put a good point ahead - it's rather sensitive information, that's right.
 
Last edited:
it's true that it doesn't modify, but it's still a rather privileged operation since it potentially would give out the information about vulnerabilities. depending on how you are monitoring, you could ask apt directly or use the notification emails.
 
Sys.Audit is to get informations about the system and Sys.Modify is to modify the system. The endpoint i use gives informations about the system and doesnt modify anything. Still makes sense for me to set this endpoint to Sys.Audit permissions.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!