Hello,
We enabled capturing of the tls variables as mentioned in the documentation
"propagateTLSInformation" : {
"connectionProperties" : true,
"clientProperties" : true
}
We can see the tls variables in the trace under X-Apigee.tls.* , however we are unable to log these header values. Is there something special that needs to be done to capture and log the headers under X-Apigee.tls.* ?
Solved! Go to Solution.
I think i figured it out.. Even though they are getting listed as header variables, we need to access them as flow variables. Something like below worked for me and i see values getting set properly:
context.setVariable('inbound.protocol',context.getVariable('tls.protocol'));
context.setVariable('inbound.server',context.getVariable('tls.server.name'));
context.setVariable('inbound.session',context.getVariable('tls.session.id'));
context.setVariable('inbound.cipher',context.getVariable('tls.cipher'));