Skip to content

[FEATURE] Access control for using monitor results in email template #1986

@markdboyd

Description

@markdboyd

Is your feature request related to a problem?

When configuring an alerting action to send a notification, you can include ctx.results in the message body template, which will interpolate the alerting monitor's results that triggered the alert in the message.

While this feature is very useful, there are some cases where it could be dangerous. If there is a chance that documents may contain sensitive information, then it may not be safe to send this information in an unencrypted email.

What solution would you like?

I would like a new setting for the plugin that allows restricting what user roles can include results in notification message templates. Then, at this point in the code, the alerting plugin whether the monitor roles allow results as template arguments and include/exclude them accordingly:

What alternatives have you considered?

None

Do you have any additional context?

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions