Alerting: Remove option to return settings from api/v1/receivers and restrict provisioning action access (#90861)
* Remove provisioning action access to v1/receivers api * Separate ListOnly functionality to its own method without decryption
This commit is contained in:
@@ -18,6 +18,14 @@ type GetReceiversQuery struct {
|
||||
Decrypt bool
|
||||
}
|
||||
|
||||
// ListReceiversQuery represents a query for listing receiver groups.
|
||||
type ListReceiversQuery struct {
|
||||
OrgID int64
|
||||
Names []string
|
||||
Limit int
|
||||
Offset int
|
||||
}
|
||||
|
||||
// Receiver is the domain model representation of a receiver / contact point.
|
||||
type Receiver struct {
|
||||
UID string
|
||||
|
||||
Reference in New Issue
Block a user