Assets Discovery Windows patterns are creating duplicate Application objects, due to different attributes returned by each pattern.

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: Discovery 7.1.2
    • Component/s: Assets Discovery
    • None
    • 1
    • Severity 3 - Minor

      Issue Summary

      The Assets Discovery is duplicating/tripling Application objects, due to different patterns returning the same installed application.

      This is the same as the fixed bug, maybe this regression: JSDSERVER-12612

      For example, the Amazon SSM Agent objects are created three times with different object hashes due to the different attributes returned for each pattern: 

      Three different patterns are returning these objects:

      1. Windows_SoftwareFeatures
      2. Windows_Application_Registry
      3. Windows_Application_Product

      Steps to Reproduce

      1. Enable the import of the Application object type under the Object schema import page
      2. Install Assets Discovery
      3. Configure the Scan for a Windows host making sure that the default Windows patterns are enabled, as they include:
        1. Windows_SoftwareFeatures
        2. Windows_Application_Registry
        3. Windows_Application_Product
      4. Enable the import of the Application object type under the Object schema import page
      5. Import the data into Jira;

      Expected Results

      Only one application object will be created per installed application on each host.

      Actual Results

      Each pattern (Windows_SoftwareFeatures, Windows_Application_Registry, and Windows_Application_Product) will create a different object with different attributes and object hashes per host.

      Workaround

      There are some workarounds we can use:

       We recommend testing this on a test instance first.

      *  If you don't want to modify the Discovery settings, modify the Application Object Type identifiers in the Object Schema import page to use, for example, "Name" and "Host Connected".

      • Or, on Assets Discovery, modify the ObjectHashSettings.xml configuration of the Application object type to ignore the different attributes returned by the patterns.
      • Disabling some of these patterns can also remove the triplicate objects, but not all applications are imported, as each one brings different applications.

            Assignee:
            Unassigned
            Reporter:
            Rodrigo Jose Zaparoli
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: