pve-manager/PVE/API2/Cluster
Thomas Lamprecht a3fe9c5410 api: notifications: require powerful privileges for target management
These allow one to indirectly access resources from the POV of the
Proxmox VE cluster nodes. While gotify is relatively harmless, smtp
could already cause more problems to admins that are not aware of the
implications of allowing users to add targets while having some open
smtp relay that is only accessible from networks the PVE nodes can
access but not the user that can talk with PVE's API. The webhook one
is then pretty much free-form and might cause some adverse effects in
environments that are only loosely guarded, and while that might point
at general security problems, it's likely that admins will still place
the blame at our projects.

So while the former should not be problematic, the new not yet fully
released webhooks could have some impact. That said, it currently
requires Mapping.Modify, which is a intermediate powerful level priv,
so it's not like any user could use this. Still, hedging for the
safer side here seems the better choice for now, we still can open
this up if there's user feedback and we deem it safe enough doing so.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2024-11-19 19:28:20 +01:00
..
Mapping api: resource usb mapping: add missing proxyto_callback 2023-06-21 12:51:47 +02:00
BackupInfo.pm api: backup info: make "name" property truly optional in response struct 2022-11-15 14:07:39 +01:00
Ceph.pm api: ceph metadata: rename instance placeholder to id in return schema 2023-01-16 16:32:16 +01:00
Jobs.pm api: cluster jobs: fix perl module not ending with a true value 2023-06-19 08:30:53 +02:00
Makefile api: prepare api handler module for notification config 2023-08-16 11:10:15 +02:00
Mapping.pm api: mappings: cleanup perl imports 2023-06-19 08:30:53 +02:00
MetricServer.pm metrics: add /cluster/metrics/export endpoint 2024-08-14 14:18:48 +02:00
Notifications.pm api: notifications: require powerful privileges for target management 2024-11-19 19:28:20 +01:00