Skip to main content
Version: 4.3

System data mapping

This page describes how data retrieved from the source service is mapped into records generated by the connector.

For each record type, the following information is reported:

  • the property name exposed by the connector;
  • the path from which the value is obtained in the source service;
  • any additional note regarding transformations, enrichments or special behaviours.

Each record mapping section is titled {Source Object Name} ({_type}), combining the object name used by the source service with the internal record type produced by the connector.

The first part of the Source path is the table of the OCS database that contains the information, while the second is the column.

Common properties​

Property nameSource pathNotes
ocs_id<table>.ID<table> is the table of the record type
hostnamehardware.NAMEName of the hardware the record belongs to. For hardware records it is the name of the hardware itself
hardware_record_idRecord Id of the related hardware, found by matching hostname. Not present in hardware records

Notes​

  • All the records, except hardware, are extracted only if they are linked to a hardware of the OCS database.

hardware (hardware)​

Device discovered by an OCS agent. It is the central record of the OCS inventory: all the other records are related to it.

Property nameSource pathNotes
tagsaccountinfo.TAG
archivedhardware.ARCHIVE
work_grouphardware.WORKGROUP
user_domainhardware.USERDOMAIN
os_namehardware.OSNAME
os_versionhardware.OSVERSION
commentshardware.OSCOMMENTS
cpuhardware.PROCESSORT
cpu_speedhardware.PROCESSORSDivided by 1024 and rounded to two decimals (MHz to GHz)
total_cpuhardware.PROCESSORN
ramhardware.MEMORYDivided by 1024 and rounded to two decimals (MB to GB)
hd_sizestorages.DISKSIZESum of the size of all the storages of the hardware (0 if there are none). Divided by 1024 and rounded to two decimals (MB to GB)
swaphardware.SWAPDivided by 1024 and rounded to two decimals (MB to GB)
ip_addresshardware.IPADDR
dnshardware.DNS
companyhardware.WINCOMPANY
ownerhardware.WINOWNER
prod_idhardware.WINPRODID
prod_keyhardware.WINPRODKEY
serial_numbersim.SERIALNUMBER, bios.SSNFirst not null value between sim.SERIALNUMBER and bios.SSN
brandbios.SMANUFACTURER
modelbios.SMODEL
last_datehardware.LASTDATEFormatted as YYYY-MM-DD HH:MM:SS
typebios.TYPE
user_agenthardware.USERAGENT
architecturehardware.ARCH
descriptionhardware.DESCRIPTION
user_idhardware.USERID
default_gatewayhardware.DEFAULTGATEWAY
os_typehardware.USERAGENTCase-insensitive check on the value: linux if it contains unix, windows if it contains windows, macos if it contains mac, android if it contains android, null otherwise

Notes​

  • Only the hardware that has a record in both the bios and accountinfo tables is extracted.

networks (net_interface)​

Network interface of a hardware.

Property nameSource pathNotes
descriptionnetworks.DESCRIPTION
typenetworks.TYPE
mac_addressnetworks.MACADDR
ip_addressnetworks.IPADDRESS
masknetworks.IPMASK
gatewaynetworks.IPGATEWAY
subnetnetworks.IPSUBNET
dhcpnetworks.IPDHCP
devicenetworks.VIRTUALDEVConverted to a number (VIRTUALDEV + 0)
net_statusnetworks.STATUS
ipip_address followed by / and the CIDR prefix obtained from mask. The prefix is omitted if mask is empty or if it is 32 and ip_address is an IPv4 address

software (software)​

Software installed on a hardware.

Property nameSource pathNotes
namesoftware_name.NAME
versionsoftware_version.VERSION
foldersoftware.FOLDER
commentssoftware.COMMENTS
file_sizesoftware.FILESIZEConverted from bytes to GB (divided by 2^30, two decimals)
sourcesoftware.SOURCE
publishersoftware_publisher.PUBLISHER
guidsoftware.GUID

Notes​

  • Only the software that has a name, a version and a publisher record in the OCS database is extracted.

drives (disk)​

Logical drive (volume) of a hardware.

Property nameSource pathNotes
letterdrives.LETTER
typedrives.TYPE
file_systemdrives.FILESYSTEM
total_spacedrives.TOTALDivided by 1024 and rounded to two decimals (MB to GB)
free_spacedrives.FREEDivided by 1024 and rounded to two decimals (MB to GB)
num_filedrives.NUMFILES
volume_namedrives.VOLUMN
create_datedrives.CREATEDATEFormatted as YYYY-MM-DD

storages (storage)​

Physical storage device of a hardware.

Property nameSource pathNotes
namestorages.NAME
modelstorages.MODEL
manufacturerstorages.MANUFACTURER
descriptionstorages.DESCRIPTION
typestorages.TYPE
disk_sizestorages.DISKSIZEDivided by 1024 and rounded to two decimals (MB to GB)
serial_numberstorages.SERIALNUMBER
firmwarestorages.FIRMWARE

ports (port)​

Port of a hardware.

Property nameSource pathNotes
nameports.NAME
typeports.TYPE
captionports.CAPTION
descriptionports.DESCRIPTION

sim (sim)​

SIM card of a hardware.

Property nameSource pathNotes
serial_numbersim.SERIALNUMBER
operatorsim.OPERATOR
operator_namesim.OPNAME
countrysim.COUNTRY
imeisim.DEVICEID
phone_numbersim.PHONENUMBER

videos (video_card)​

Video card of a hardware.

Property nameSource pathNotes
namevideos.NAME
video_chipsetvideos.CHIPSET
video_memoryvideos.MEMORYRounded to two decimals
video_resolutionvideos.RESOLUTION

sounds (sound_card)​

Sound card of a hardware.

Property nameSource pathNotes
namesounds.NAME
manufacturersounds.MANUFACTURER
descriptionsounds.DESCRIPTION

virtualmachines (virtual_machine)​

Virtual machine reported by OCS for a hardware.

Property nameSource pathNotes
namevirtualmachines.NAME
statusvirtualmachines.STATUS
subsystemvirtualmachines.SUBSYSTEM
vm_typevirtualmachines.VMTYPE
uuidvirtualmachines.UUID
vm_cpuvirtualmachines.VCPU
vm_memoryvirtualmachines.MEMORYRounded to two decimals

inputs (input_device)​

Input device of a hardware.

Property nameSource pathNotes
typeinputs.TYPE
manufacturerinputs.MANUFACTURER
captioninputs.CAPTION
descriptioninputs.DESCRIPTION
interfaceinputs.INTERFACE
point_typeinputs.POINTTYPE

printers (printer)​

Printer configured on a hardware.

Property nameSource pathNotes
nameprinters.NAME
driverprinters.DRIVER
descriptionprinters.DESCRIPTION
server_nameprinters.SERVERNAME
sharedprinters.SHARED
share_nameprinters.SHARENAME
resolutionprinters.RESOLUTION
commentprinters.COMMENT
networkprinters.NETWORK
portprinters.PORT

monitors (monitor)​

Monitor connected to a hardware.

Property nameSource pathNotes
captionmonitors.CAPTION
descriptionmonitors.DESCRIPTION
manufacturermonitors.MANUFACTURER
typemonitors.TYPE
serial_numbermonitors.SERIAL

local_groups (local_group)​

Local group of the operating system of a hardware.

Property nameSource pathNotes
id_grouplocal_groups.ID_GROUP
namelocal_groups.NAME
memberlocal_groups.MEMBER

local_users (local_user)​

Local user of the operating system of a hardware.

Property nameSource pathNotes
group_idlocal_users.GID
namelocal_users.NAME
homelocal_users.HOME
shelllocal_users.SHELL
loginlocal_users.LOGIN
group_record_idRecord Id of the related local_group, found by matching group_id with the id_group of the group