Learning center

Can model invocation logs store a code review prompt?

Check both what the provider can log and what the configured destinations actually receive. A log that includes request or response content can create a second copy of a private diff under a different access policy.

Look for a fictional value from a review request#

A trial reviewer uses Amazon Bedrock and sends a synthetic diff containing fixture-invoice-series-27. The organization allows usage diagnostics in a shared operations project, while code content must stay in a narrower account. The team inspects invocation logging and checks its destinations with an authorized account. Bedrock documents opt-in logging that can include model inputs and outputs for covered calls.

If the marker appears in a wider log destination, inspect the configured logging and downstream exports before enabling the reviewer on private code. If it does not appear, identify the call path, logging configuration and observation window. The test covers that invocation and its observed destinations. An integration could still log the same value in a proxy, a trace or an error handler. Bedrock invocation logging and endpoint coverage ยท OpenTelemetry sensitive-data handling

Also run the fixture once through an ordinary failed request. Check whether the failure path changes what the application records.

One month of free code review.

New organizations get one calendar month of hosted code review for private and public GitHub repositories. No card or cloud connection required. Eligibility and fair-use terms.

Start free with GitHub

Related reading