We added a custom attribute in api product and tried to reference it in the spike arrest. The Spike Arrest is placed after the verify API key step but during tracing always shows the custom attribute variable as blank.
Rate ref="verifyapikey.VerifyAPIKey.VerifyAPIKey.apiproduct.myrate"/>
screen-shot-2018-03-21-at-42128-pm.png
Any idea what we are missing?
Hi @Anvi
Please enable trace, and click your VerifyAPIKey policy to see the variables that are populated. You should find the value, if you dont see it, the naming convention is mentioned in the docs here
In your case, the variable name is verifyapikey.{policy_name}.apiproduct.myrate
If your policy name is "VerifyAPIKey" then the flow variable is verifyapikey.VerifyAPIKey.apiproduct.myrate
Please check if that works.
hi Anvi,
Good day.
please advise is this an on premise or a cloud version ?
also, let me know the version of the EDGE ui being used.
Thank you,
Regards,
Sreenivas S P
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |