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.

            Nikhil Patil made changes -
            Status Original: Needs Triage [ 10030 ] New: Gathering Impact [ 12072 ]
            SET Analytics Bot made changes -
            Support reference count New: 1
            Rodrigo Jose Zaparoli made changes -
            Link New: This issue is a regression of JSDSERVER-12612 [ JSDSERVER-12612 ]
            Rodrigo Jose Zaparoli created issue -

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

                Created:
                Updated: