Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. JSDSERVER-16231

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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • Discovery 7.1.2
    • Assets Discovery
    • None

      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.

            [JSDSERVER-16231] Assets Discovery Windows patterns are creating duplicate Application objects, due to different attributes returned by each pattern.

            No work has yet been logged on this issue.

              Unassigned Unassigned
              7d74d3b1a350 Rodrigo Jose Zaparoli
              Affected customers:
              0 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated: