Uploaded image for project: 'FlightPath'
  1. FlightPath
  2. FLPATH-1601

email notification sent to denylistEmailAddresses when user with that email executes a workflow

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      Description of the problem:

       

      - disabled: false
        integrity: sha512-TikxFBxBHKJYZy8go+Mw+7yjfSJILgXjr4K0C0+tnKyMOn+OqIX6K8c1fq7IdXto3fftQ+mmCrBqJem25JjVnA==
        package: '@redhat/plugin-notifications-backend-module-email-dynamic@0.0.0-rc.0-0'
            pluginConfig:
              notifications:
                processors:
                  email:
                    filter:
                      minSeverity: low
                      maxSeverity: critical
                      excludedTopics: []
                    allowlistEmailAddresses: []
                    denylistEmailAddresses: ["rhdh-orchestrator-test@redhat.com"]
                    broadcastConfig:
                      receiver: none
                      receiverEmails: []
                    cache:
                      ttl:
                        days: 1
                    concurrencyLimit: 10
                    replyTo: somevalidemail@redhat.com
                    sender: somevalidemail@redhat.com
                    transportConfig:
                      hostname: ${NOTIFICATIONS_EMAIL_HOSTNAME}
                      password: ${NOTIFICATIONS_EMAIL_PASSWORD}
                      port: 25
                      secure: false
                      transport: smtp
                      username: ${NOTIFICATIONS_EMAIL_USERNAME} 

      With the pluginconfig listed above the user that execute a workflow will receive an email notification.

       

      How reproducible:

      100%

      Steps to reproduce:

      1. Run workflow with backstage user with email listed in denylistEmailAddresses 

      2. check email for notification 

      3. email notification is sent to user on denylistEmailAddresses

      Actual results:

      email notification is sent to user on denylistEmailAddresses

      Expected results:

      email notification NOT sent to user on denylistEmailAddresses

              mlibra@redhat.com Marek Libra
              gharden1 Gary Harden
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: