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

Asset Discovery can scan Windows devices but not MacOS devices

XMLWordPrintable

      Issue Summary

      Asset Discovery can scan Windows devices but not MacOS devices

      Steps to Reproduce

      1. Execute MacOSX_OS.pat:
        7/30/2024 3:56:43 PM: [Normal] Getting Host Information: Dannys-Air
        7/30/2024 3:56:43 PM: [Normal] Using pattern: MacOSX_OS.pat (v3.0.1)
        7/30/2024 3:56:43 PM: [Debug] Start getting command result from cache
        7/30/2024 3:56:43 PM: [Debug] Getting command result from cache was successful
        7/30/2024 3:56:43 PM: [Debug] Start adding command to cache
        7/30/2024 3:56:43 PM: [Debug] Adding command sw_vers | col -b result to cache was successful
        7/30/2024 3:56:43 PM: [Debug] Command: 
            sw_vers
            
        7/30/2024 3:56:43 PM: [Debug] Result: ProductName:		macOS
        ProductVersion: 	14.0
        BuildVersion:		23A344
        
        7/30/2024 3:56:43 PM: [Normal] pattern executed in 0.4268375 seconds
        

      Expected Results

      Asset Discovery detects the OS as MacOS

      Actual Results

      Asset Discovery detected the OS as MacOS in the log file but it didn't show up in the xml file

      <ArrayOfHostInfo xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <HostInfo>
      <ObjectHash>1910EEF89498003DCDD3B7A82717A20E</ObjectHash>
      <Hostname>Dannys-Air</Hostname>
      <FQDN>Dannys-Air.Candylio.local</FQDN>
      <SystemUpTime>0d 6h 49m</SystemUpTime>
      <Model>MacBook Air Mac14,2</Model>
      <Serialnumber>Y69JX2LP6H</Serialnumber>
      <Vendor>Apple Inc.</Vendor>
      <SystemUpTimeMinutes>409</SystemUpTimeMinutes>
      <RAM>16384</RAM>
      <ScanInfo>
      <ObjectHash>7674EC73DC96B177D21E9818BCAF59CF</ObjectHash>
      <ObjectID>9a548e34-bc6e-4bd7-8901-5ed3f855704b</ObjectID>
      <UsedCredentialID>66cdeb1d-b7f7-4fca-91a3-980d28717ef7</UsedCredentialID>
      <NetworkInterfaceInfo>
      <ObjectHash>5E8F218D691606EC2CC9D3B07C33004B</ObjectHash>
      <DeviceID>noID</DeviceID>
      <MACAddress>cc:08:fa:5c:88:af</MACAddress>
      <IP4>192.168.108.57</IP4>
      </NetworkInterfaceInfo>
      <DiscoveryID>372FD</DiscoveryID>
      <ScanSettingID>00001</ScanSettingID>
      <DiscoveryVersion>7.0.4</DiscoveryVersion>
      <ScanTime>2024-07-30_15:56</ScanTime>
      <ScanningTimeElapsed>34.367611499999995</ScanningTimeElapsed>
      </ScanInfo>
      <UUID>31074066-4ECF-56E9-9F82-296DDBD68792</UUID>
      <Timezone>Asia/Ho_Chi_Minh</Timezone>
      <CPUCount>0</CPUCount>
      <CPUs/>
      

      Workaround

      Replace the attached pattern in the Assets Discovery pattern folder:

        1. MacOSX_OS.pat
          3 kB
          Kaili Gu

              11507b174037 Zakhar Listiev
              13e61c67b0d4 Kaili Gu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: