#
Anonymizing Licpoll Data
You can anonymize sensitive information in the license file and lmstat by updating the subobject nodes username
, hostname
, and TTY/display
under the object node anonymize
in licpoll.xml
.
These are the required steps to anonymize licpoll data.
Open
licpoll.xml
in the Components directory, which is by default inC:\Program Files\OpeniT\Core\Configuration\Components
.Locate the object node
anonymize
. Notice its subobject nodesusername
,hostname
, andTTY/display
.Change the value of the subobject node
method
of the information you want to anonymize. Choose among the following values:none
- does not anonymize the informationclear
- changes the information to_cleared_
hash
- transforms the information into another value
If you want to anonymize the corresponding information in the lmstat data, locate its subobject node
realtime
and set its value totrue
.This will only apply if the value of
method
isclear
orhash
.For example, using the
hash
method, you want to anonymize usernames in the license file and lmstat.The configuration should look like this
Example: Anonymize Username in the License File and lmstat using the Hash Method... 118| <Name>username</Name> 119| <Description>Anonymize user name</Description> 120| <SubObjects> ... 126| <Object> 127| <Name>method</Name> 128| <Description>How to anonymize this field: none, clear, hash</Description> 129| <Value type="String">hash</Value> 130| </Object> 131| <Object> 132| <Name>realtime</Name> 133| <Description> Realtime anonymization?</Description> 134| <Value type="Bool">true</Value> 135| </Object> ...
changing the license data from this
before hash1:0:ukgw-lic-vp02;cdslmd:Concept_HDL_studio:17.4: :1:0:12:1:0:martili:0_0:cdslmd:ukgw-lic-cp02:5280:202:KDP00050571:1678337460:17.4:99:0:0:undef:4602240000
to this
after hash1:0:ukgw-lic-vp02;cdslmd:Concept_HDL_studio:17.4: :1:0:12:1:0:3142378822:0_0:cdslmd:ukgw-lic-cp02:5280:202:KDP00050571:1678337460:17.4:99:0:0:undef:4602240000
and the lmstat data from this
before hashentry=martili:0_0:KDP00050571:1:0:202:1678337460:0:undef:undef
to this
after hashentry=3142378822:0_0:KDP00050571:1:0:202:1678337460:0:undef:undef
Once done, save the changes.
Open a command prompt with Administrator level privileges.
Go to the bin directory, which is by default in
C:\Program Files\OpeniT\Core\bin
, run the command:Command Syntaxcd $BIN_DIR
Examplecd C:\Program Files\OpeniT\Core\bin
Update the configuration file, run the command:
Command Syntaxopenit_confbuilder --client
Open
licpoll.xml
in the Components directory, which is by default in/var/opt/openit/etc/Components
.Locate the object node
anonymize
. Notice its subobject nodesusername
,hostname
, andTTY/display
.Change the value of the subobject node
method
of the information you want to anonymize. Choose among the following values:none
- does not anonymize the informationclear
- changes the information to_cleared_
hash
- transforms the information into another value
If you want to anonymize the corresponding information in the lmstat data, locate its subobject node
realtime
and set its value totrue
.This will only apply if the value of
method
isclear
orhash
.For example, using the
hash
method, you want to anonymize usernames in the license file and lmstat.The configuration should look like this
Example: Anonymize Username in the License File and lmstat using the Hash Method... 118| <Name>username</Name> 119| <Description>Anonymize user name</Description> 120| <SubObjects> ... 126| <Object> 127| <Name>method</Name> 128| <Description>How to anonymize this field: none, clear, hash</Description> 129| <Value type="String">hash</Value> 130| </Object> 131| <Object> 132| <Name>realtime</Name> 133| <Description> Realtime anonymization?</Description> 134| <Value type="Bool">true</Value> 135| </Object> ...
changing the license data from this
before hash1:0:ukgw-lic-vp02;cdslmd:Concept_HDL_studio:17.4: :1:0:12:1:0:martili:0_0:cdslmd:ukgw-lic-cp02:5280:202:KDP00050571:1678337460:17.4:99:0:0:undef:4602240000
to this
after hash1:0:ukgw-lic-vp02;cdslmd:Concept_HDL_studio:17.4: :1:0:12:1:0:3142378822:0_0:cdslmd:ukgw-lic-cp02:5280:202:KDP00050571:1678337460:17.4:99:0:0:undef:4602240000
and the lmstat data from this
before hashentry=martili:0_0:KDP00050571:1:0:202:1678337460:0:undef:undef
to this
after hashentry=3142378822:0_0:KDP00050571:1:0:202:1678337460:0:undef:undef
Once done, save the changes.
Open a command prompt with Administrator level privileges.
Go to the bin directory, which is by default in
/var/opt/openit/bin
, run the command:Command Syntaxcd $BIN_DIR
Examplecd /var/opt/openit/bin
Update the configuration file, run the command:
Command Syntaxopenit_confbuilder --client