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

Insight Discovery Pattern causing Linux User Name to truncate

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 3.1.2
    • Discovery 3.1.1
    • Assets Discovery
    • None

    Description

      Issue Summary

      Linux User Name gets truncated when Insight Discovery scans Linux system having user name more than 8 characters due to the corresponding command in
      the "Linux_Hostinfo_Username.pat" pattern

      Steps to Reproduce

      1. Perform a discovery scan on a Linux system having a username of more than 8 characters
      2. Validate the results as the user name gets truncated

      "Linux_Hostinfo_Username.pat" file in Insight Discovery contains the below command which truncates the user name at 8 characters

      <Command>
      <![CDATA[
      last | egrep 'tty|pts'
      ]]>
      </Command>
      

      Whereas the below command will not truncate the user name

      <Command>
      <![CDATA[
      last -w | egrep 'tty|pts'
      ]]>
      </Command>
      

      Expected Results

      User Name should not get truncated

      Actual Results

      The user name gets truncated.

      Workaround

      Currently, there is no known workaround for this behavior. A workaround will be added here when available

      Attachments

        Activity

          People

            8a797fe2b442 vgedzhev (Inactive)
            f75285566e0c Prabhu Subramaniyan
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Backbone Issue Sync