Broadcom API Gateway - Append event to the Audit Log using the Add Audit Details assertion

by
Jeremy Canfield |
Updated: May 25 2024
| Broadcom API Gateway articles
The Set Context Variable assertion can be used to create a variable. In this example, the "foo" variable will contain a value of "bar".
The Add Audit Details assertion can be used to append an event to the log which will show that the "foo" variable contains a value of "bar".
Notice in this example that the log level is WARNING. At Tasks > Global Settings > Manage Cluster-Wide Properties, check to see if the audit.detailThreshold and/or audit.messageThreshold keys exist. If so, refer to the following table.
audit.detailThreshold | audit.messageThreshold | Result |
INFO | INFO | Both INFO and WARNING are logged |
INFO | WARNING | Both INFO and WARNING are logged |
WARNING | INFO | Only WARNING messages are logged |
WARNING | WARNING | Only WARNING messages are logged |
When a request is submitted into the API Gateway for the service, the audit log should contain the event.
Did you find this article helpful?
If so, consider buying me a coffee over at