Versions in this module Expand all Collapse all v0 v0.16.2 Apr 5, 2019 GO-2023-2020 GO-2023-2020: Alertmanager UI is vulnerable to stored XSS via the /api/v1/alerts endpoint in github.com/prometheus/alertmanager v0.16.1 Jan 31, 2019 GO-2023-2020 GO-2023-2020: Alertmanager UI is vulnerable to stored XSS via the /api/v1/alerts endpoint in github.com/prometheus/alertmanager v0.16.0 Jan 21, 2019 GO-2023-2020 GO-2023-2020: Alertmanager UI is vulnerable to stored XSS via the /api/v1/alerts endpoint in github.com/prometheus/alertmanager Changes in this version + type Client struct + func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client + func (a *Client) GetAlerts(params *GetAlertsParams) (*GetAlertsOK, error) + func (a *Client) PostAlerts(params *PostAlertsParams) (*PostAlertsOK, error) + func (a *Client) SetTransport(transport runtime.ClientTransport) + type GetAlertsBadRequest struct + Payload string + func NewGetAlertsBadRequest() *GetAlertsBadRequest + func (o *GetAlertsBadRequest) Error() string + type GetAlertsInternalServerError struct + Payload string + func NewGetAlertsInternalServerError() *GetAlertsInternalServerError + func (o *GetAlertsInternalServerError) Error() string + type GetAlertsOK struct + Payload models.GettableAlerts + func NewGetAlertsOK() *GetAlertsOK + func (o *GetAlertsOK) Error() string + type GetAlertsParams struct + Active *bool + Context context.Context + Filter []string + HTTPClient *http.Client + Inhibited *bool + Receiver *string + Silenced *bool + Unprocessed *bool + func NewGetAlertsParams() *GetAlertsParams + func NewGetAlertsParamsWithContext(ctx context.Context) *GetAlertsParams + func NewGetAlertsParamsWithHTTPClient(client *http.Client) *GetAlertsParams + func NewGetAlertsParamsWithTimeout(timeout time.Duration) *GetAlertsParams + func (o *GetAlertsParams) SetActive(active *bool) + func (o *GetAlertsParams) SetContext(ctx context.Context) + func (o *GetAlertsParams) SetFilter(filter []string) + func (o *GetAlertsParams) SetHTTPClient(client *http.Client) + func (o *GetAlertsParams) SetInhibited(inhibited *bool) + func (o *GetAlertsParams) SetReceiver(receiver *string) + func (o *GetAlertsParams) SetSilenced(silenced *bool) + func (o *GetAlertsParams) SetTimeout(timeout time.Duration) + func (o *GetAlertsParams) SetUnprocessed(unprocessed *bool) + func (o *GetAlertsParams) WithActive(active *bool) *GetAlertsParams + func (o *GetAlertsParams) WithContext(ctx context.Context) *GetAlertsParams + func (o *GetAlertsParams) WithFilter(filter []string) *GetAlertsParams + func (o *GetAlertsParams) WithHTTPClient(client *http.Client) *GetAlertsParams + func (o *GetAlertsParams) WithInhibited(inhibited *bool) *GetAlertsParams + func (o *GetAlertsParams) WithReceiver(receiver *string) *GetAlertsParams + func (o *GetAlertsParams) WithSilenced(silenced *bool) *GetAlertsParams + func (o *GetAlertsParams) WithTimeout(timeout time.Duration) *GetAlertsParams + func (o *GetAlertsParams) WithUnprocessed(unprocessed *bool) *GetAlertsParams + func (o *GetAlertsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type GetAlertsReader struct + func (o *GetAlertsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type PostAlertsBadRequest struct + Payload string + func NewPostAlertsBadRequest() *PostAlertsBadRequest + func (o *PostAlertsBadRequest) Error() string + type PostAlertsInternalServerError struct + Payload string + func NewPostAlertsInternalServerError() *PostAlertsInternalServerError + func (o *PostAlertsInternalServerError) Error() string + type PostAlertsOK struct + func NewPostAlertsOK() *PostAlertsOK + func (o *PostAlertsOK) Error() string + type PostAlertsParams struct + Alerts models.PostableAlerts + Context context.Context + HTTPClient *http.Client + func NewPostAlertsParams() *PostAlertsParams + func NewPostAlertsParamsWithContext(ctx context.Context) *PostAlertsParams + func NewPostAlertsParamsWithHTTPClient(client *http.Client) *PostAlertsParams + func NewPostAlertsParamsWithTimeout(timeout time.Duration) *PostAlertsParams + func (o *PostAlertsParams) SetAlerts(alerts models.PostableAlerts) + func (o *PostAlertsParams) SetContext(ctx context.Context) + func (o *PostAlertsParams) SetHTTPClient(client *http.Client) + func (o *PostAlertsParams) SetTimeout(timeout time.Duration) + func (o *PostAlertsParams) WithAlerts(alerts models.PostableAlerts) *PostAlertsParams + func (o *PostAlertsParams) WithContext(ctx context.Context) *PostAlertsParams + func (o *PostAlertsParams) WithHTTPClient(client *http.Client) *PostAlertsParams + func (o *PostAlertsParams) WithTimeout(timeout time.Duration) *PostAlertsParams + func (o *PostAlertsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type PostAlertsReader struct + func (o *PostAlertsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) v0.16.0-beta.0 Jan 15, 2019 GO-2023-2020 GO-2023-2020: Alertmanager UI is vulnerable to stored XSS via the /api/v1/alerts endpoint in github.com/prometheus/alertmanager v0.16.0-alpha.0 Nov 30, 2018 GO-2023-2020 GO-2023-2020: Alertmanager UI is vulnerable to stored XSS via the /api/v1/alerts endpoint in github.com/prometheus/alertmanager