Uploaded image for project: 'Red Hat Insights Engineering'
  1. Red Hat Insights Engineering
  2. RHINENG-17866

View Known Exploits link in RH Insights dashboard is sometimes broken

XMLWordPrintable

    • Moderate
    • 1
    • Interact Sprint 72

      ** Note that this is a public ticket, please refrain from adding any sensitive data. **

      When trying to click on "View Known Exploints" button in the Red Hat insights dashboard, running into this error

       

      Danger alert:Error
      'true' is not one of ['rpmdnf', 'edge', 'none'] Failed validating 'enum' in schema['items']: {'type': 'string', 'enum': ['rpmdnf', 'edge', 'none']} On instance[0]: 'true'

       

      Steps to reproduce:

       

      Actual Behavior:

      "View known exploits" button tries to take the user to https://console.redhat.com/insights/vulnerability/cves?known_exploit=true&affecting=true but and it errors out as affecting=true is a bad payload here. It should be something like affecting=rpmdnf,edge .

       

      Expected Behavior: 

      Whether too early or not, The "View known exploits" button should always point to the right URL i.e. https://console.redhat.com/insights/vulnerability/cves?known_exploit=true&affecting=rpmdnf,edge 

       

      Additional Notes:

      The end-user can consistently reproduce this, even after waiting for 10 - 15 seconds after opening the dashboard. 

      The issue is also reproducible by the user, if they open console_dot from an Incognito\Private browsing session of the browser. 

      Myself and engineering team managed to reproduce the issue but it's only possible if we don't wait and just as soon as the button is visible we click it. 

              rhn-engineering-soleksak Samuel Oleksak (Inactive)
              rhn-support-saydas Sayan Das
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: