This PR implements the change discussed in Issue #364.
The changes:
changes host.id to hw.serial_number where the value is a hardware serial number
changes host.id to host.name where the value references a host name
in each case where there is a vendor specific serial number field such as cisco.serial_number that value is duplicated in hw.serial_number and a test added for it.
Motivation and Context
The intent is to add clarity to the data that is captured. The field host.id was unclear and was being used to capture hostnames as well as serial numbers.
How Has This Been Tested?
rspec, fingerprint example captures.
Types of changes
Field rename
Checklist:
[x] I have updated the documentation accordingly (or changes are not required).
[x] I have added tests to cover my changes (or new tests are not required).
Description
This PR implements the change discussed in Issue #364.
The changes:
host.id
tohw.serial_number
where the value is a hardware serial numberhost.id
tohost.name
where the value references a host namecisco.serial_number
that value is duplicated inhw.serial_number
and a test added for it.Motivation and Context
The intent is to add clarity to the data that is captured. The field
host.id
was unclear and was being used to capture hostnames as well as serial numbers.How Has This Been Tested?
rspec
, fingerprint example captures.Types of changes
Checklist: