Forum Discussion
Nameless JSON parameter in ASM
We're trying to parse JSON objects for parameters in our ASM policy. The content type is application/json. On one of our API endpoints, we receive payload that looks like this:
["sensitive data here"]
I believe this is technically valid JSON as a bare array. It seems that the ASM expects everything to be a key-value pair. How do I parse this payload into a parameter so that I can then mark that parameter for exclusion from logs?
- Ivan_Chernenkii
Employee
Hello Brett,
You are right - this is valid JSON, and ASM parses it correctly as valid JSON, but currently there is no way to parse such JSON body as parameter and make it masked.
Could you open SR for it?
Thanks, Ivan
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com