Hi Isomorphic,
We have requirement to mask some sensitive data (e.g, credit card number) in all logs. Under logs I mean also logging which is written inside isomorphic classes. This data can come from client as advanced critreia for example.
The only post which I found out related to this issue is http://forums.smartclient.com/forum/...m-submitted-to
I tested this solution but unfortunately it doesn't work for AdvancedCriteria.Is it a bug or not?
In ideal case we would like to configure fields to mask on datasourse level, but as I understand you provide global solution.
Is it possible to extend you solution to work on Advanced Criteria as well?
Or may be there is another way for configuration to achive what we want?
Currently we use version 5.0p.2016-12-08.
This is what I have in server.properties file:
map.obfuscateKeys.orderNumber: <obfuscated>
map.obfuscateKeys.id: <obfuscated>
and as result what I see in logs (fist is with advanced criteria not masked, the second one is with usual criteria - masked):
=== 2016-12-28 14:51:30,481 [80-2] DEBUG RPCManager - Request #1 (DSRequest) payload: {
criteria:{
_constructor:"AdvancedCriteria",
operator:"and",
criteria:[
{
fieldName:"orderNumber",
operator:"iContains",
value:"1111111111111"
}
]
},
operationConfig:{
dataSource:"blablaDataSource",
repo:null,
operationType:"fetch",
textMatchStyle:"exact"
},
startRow:0,
endRow:75,
componentId:"isc_Result_grid_0",
appID:"builtinApplication",
operation:"blablaDataSourse_fetch",
oldValues:{
_constructor:"AdvancedCriteria",
operator:"and",
criteria:[
{
fieldName:"orderNumber",
operator:"iContains",
value:"1111111111111"
}
]
}
}
=== 2016-12-28 16:12:13,138 [80-2] DEBUG RPCManager - Request #1 (DSRequest) payload: {
criteria:{
id:"<obfuscated>"
},
operationConfig:{
dataSource:"blablaDatasourse",
repo:null,
operationType:"fetch",
textMatchStyle:"exact"
},
appID:"builtinApplication",
operation:"fetchId",
oldValues:{
id:"<obfuscated>"
}
}
We have requirement to mask some sensitive data (e.g, credit card number) in all logs. Under logs I mean also logging which is written inside isomorphic classes. This data can come from client as advanced critreia for example.
The only post which I found out related to this issue is http://forums.smartclient.com/forum/...m-submitted-to
I tested this solution but unfortunately it doesn't work for AdvancedCriteria.Is it a bug or not?
In ideal case we would like to configure fields to mask on datasourse level, but as I understand you provide global solution.
Is it possible to extend you solution to work on Advanced Criteria as well?
Or may be there is another way for configuration to achive what we want?
Currently we use version 5.0p.2016-12-08.
This is what I have in server.properties file:
map.obfuscateKeys.orderNumber: <obfuscated>
map.obfuscateKeys.id: <obfuscated>
and as result what I see in logs (fist is with advanced criteria not masked, the second one is with usual criteria - masked):
=== 2016-12-28 14:51:30,481 [80-2] DEBUG RPCManager - Request #1 (DSRequest) payload: {
criteria:{
_constructor:"AdvancedCriteria",
operator:"and",
criteria:[
{
fieldName:"orderNumber",
operator:"iContains",
value:"1111111111111"
}
]
},
operationConfig:{
dataSource:"blablaDataSource",
repo:null,
operationType:"fetch",
textMatchStyle:"exact"
},
startRow:0,
endRow:75,
componentId:"isc_Result_grid_0",
appID:"builtinApplication",
operation:"blablaDataSourse_fetch",
oldValues:{
_constructor:"AdvancedCriteria",
operator:"and",
criteria:[
{
fieldName:"orderNumber",
operator:"iContains",
value:"1111111111111"
}
]
}
}
=== 2016-12-28 16:12:13,138 [80-2] DEBUG RPCManager - Request #1 (DSRequest) payload: {
criteria:{
id:"<obfuscated>"
},
operationConfig:{
dataSource:"blablaDatasourse",
repo:null,
operationType:"fetch",
textMatchStyle:"exact"
},
appID:"builtinApplication",
operation:"fetchId",
oldValues:{
id:"<obfuscated>"
}
}
Comment