When configuring a new Discovery import - a structure and mapping will be created regardless of toggle

XMLWordPrintable

    • 1
    • Severity 3 - Minor

      Issue Summary

      When configuring a new Discovery Import in Assets Cloud - there is a toggle switch:
      "Automatically create object types and attributes".

      Regardless of the toggle's position (On/Off) - a new structure and mapping configuration will be created.

      A CSV import will follow the toggle setting correctly, and if turned Off, no Structure nor mapping will be created

      Steps to Reproduce

      1. Ensure you have a Discovery Scan results zip file at hand
      2. Create a new, blank object type schema in Assets
      3. Navigate to Schema > Configuration > Import Tab
      4. Create a new Discovery Import. In the Import's configuration screen: Name the import, upload the Scan result zip file, and turn off the option: "Automatically create object types and attributes". Save the import with no additional changes.
      5. Wait a few seconds / minutes and refresh the import page > Expand the import's "Edit Mapping"
      6. Visit your blank object schema, and refresh the browser page

      Expected Results

      No object types were created in the Schema page, and no Object type maps were created in the Import

      Actual Results

      The default Discovery Schema structure (object types and attributes) is created.

      All Object Type maps are automatically created within the Import configuration

      ...
      

      Workaround

      Delete the object types once created, and create your own Object types and maps manually.

              Assignee:
              Unassigned
              Reporter:
              Yinon Negev
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: