Uploaded image for project: 'Automation for Cloud'
  1. Automation for Cloud
  2. AUTO-1720

The new Incoming webhook trigger returns 200 ok regardless of the secret token value

    • Minor

      Issue Summary

      The new incoming webhook trigger returns 200 ok regardless of the secret value. This makes it harder to debug in case of actual failure.

      Steps to Reproduce

      1. Open POSTMAN and create a new POST request.
      2. Enter the webhook URL in the URL field.
      3. Add a header with the name X-Automation-Webhook-Token and don't set the secret token or set a wrong token.
      4. Send the request and observe the response code.

      Expected Results

      An error code is expected indicating that the secret is missing or invalid.

      Actual Results

      A 200 response code is returned.

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

        1. bug.png
          bug.png
          184 kB
        2. bugwrongvalue.png
          bugwrongvalue.png
          181 kB

          Form Name

            [AUTO-1720] The new Incoming webhook trigger returns 200 ok regardless of the secret token value

            Madisson Lynch made changes -
            Status Original: Needs Triage [ 10030 ] New: Gathering Impact [ 12072 ]
            Hala ElRoumy made changes -
            Description Original: h3. Issue Summary
            The new incoming webhook trigger returns 200 ok regardless of the secret value.

            h3. Steps to Reproduce
            # Open POSTMAN and create a new POST request.
            # Enter the webhook URL in the URL field.
            # Add a header with the name X-Automation-Webhook-Token and don't set the secret token or set a wrong token.
            # Send the request and observe the response code.

            h3. Expected Results
            An error code is expected indicating that the secret is missing or invalid.

            h3. Actual Results
            A 200 response code is returned.

             !bug.png|thumbnail!

             !bugwrongvalue.png|thumbnail!

            h3. Workaround

            Currently there is no known workaround for this behavior. A workaround will be added here when available
            New: h3. Issue Summary
            The new incoming webhook trigger returns 200 ok regardless of the secret value. This makes it harder to debug in case of actual failure.

            h3. Steps to Reproduce
            # Open POSTMAN and create a new POST request.
            # Enter the webhook URL in the URL field.
            # Add a header with the name X-Automation-Webhook-Token and don't set the secret token or set a wrong token.
            # Send the request and observe the response code.

            h3. Expected Results
            An error code is expected indicating that the secret is missing or invalid.

            h3. Actual Results
            A 200 response code is returned.

             !bug.png|thumbnail!

             !bugwrongvalue.png|thumbnail!

            h3. Workaround

            Currently there is no known workaround for this behavior. A workaround will be added here when available
            Hala ElRoumy made changes -
            Description Original: h3. Issue Summary
            The new incoming webhook trigger returns 200 ok regardless of the secret value.

            h3. Steps to Reproduce
            # Open POSTMAN and create a new POST request.
            # Enter the webhook URL in the URL field.
            # Add a header with the name X-Automation-Webhook-Token and don't set the secret token or set a wrong token.
            # Send the request and observe the response code.

            h3. Expected Results
            An error code is expected indicating that the secret is missing or invalid.

            h3. Actual Results
            A 200 response code is returned.

             !bug.png|thumbnail!

            h3. Workaround

            Currently there is no known workaround for this behavior. A workaround will be added here when available
            New: h3. Issue Summary
            The new incoming webhook trigger returns 200 ok regardless of the secret value.

            h3. Steps to Reproduce
            # Open POSTMAN and create a new POST request.
            # Enter the webhook URL in the URL field.
            # Add a header with the name X-Automation-Webhook-Token and don't set the secret token or set a wrong token.
            # Send the request and observe the response code.

            h3. Expected Results
            An error code is expected indicating that the secret is missing or invalid.

            h3. Actual Results
            A 200 response code is returned.

             !bug.png|thumbnail!

             !bugwrongvalue.png|thumbnail!

            h3. Workaround

            Currently there is no known workaround for this behavior. A workaround will be added here when available
            Hala ElRoumy made changes -
            Attachment New: bugwrongvalue.png [ 487485 ]
            Hala ElRoumy made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 993676 ]
            Hala ElRoumy made changes -
            Description Original: h3. Issue Summary
            The new incoming webhook trigger returns 200 ok regardless of the secret value.

            h3. Steps to Reproduce
            # Open POSTMAN and create a new POST request.
            # Enter the webhook URL in the URL field.
            # Add a header with the name X-Automation-Webhook-Token and don't set the secret token or set a wrong token.
            # Send the request and observe the response code.

            h3. Expected Results
            An error code is expected indicating that the secret is missing or invalid.

            h3. Actual Results
            A 200 response code is returned.


            h3. Workaround

            Currently there is no known workaround for this behavior. A workaround will be added here when available
            New: h3. Issue Summary
            The new incoming webhook trigger returns 200 ok regardless of the secret value.

            h3. Steps to Reproduce
            # Open POSTMAN and create a new POST request.
            # Enter the webhook URL in the URL field.
            # Add a header with the name X-Automation-Webhook-Token and don't set the secret token or set a wrong token.
            # Send the request and observe the response code.

            h3. Expected Results
            An error code is expected indicating that the secret is missing or invalid.

            h3. Actual Results
            A 200 response code is returned.

             !bug.png|thumbnail!

            h3. Workaround

            Currently there is no known workaround for this behavior. A workaround will be added here when available
            Hala ElRoumy made changes -
            Attachment New: bug.png [ 487484 ]
            Hala ElRoumy made changes -
            Summary Original: The new Incoming webhook trigger retrurn 200 ok regardless of the secret token value New: The new Incoming webhook trigger returns 200 ok regardless of the secret token value
            jhaloot made changes -
            Labels New: jsw-s13
            Hala ElRoumy created issue -

              Unassigned Unassigned
              e0bbe77fe18a Hala ElRoumy
              Affected customers:
              1 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated: