Changelog - August 23, 2022

New Features

  • Mask sensitive data - Whether it's request/response fields, headers or cookies, use the middleware controller to prevent sensitive fields from entering the platform. Alternatively, ignore entire routes by not assigning the Speakeasy middleware to the endpoint's router.

func MyHandler(w http.ResponseWriter, r *http.Request) {
    ctrl := speakeasy.MiddlewareController(req)	
    ctrl.Masking(speakeasy.WithRequestHeaderMask("Authorization")) // Masked header	
    // the rest of your handlers code
}
  • Get a customer-specific view - When you're looking at API logs, you need to be able to filter down to a single customer. By configuring the Speakeasy SDK to pick up your customer-key, you can easily breakdown to get a customer-specific view.

func MyHandler(w http.ResponseWriter, r *http.Request) {	
    ctrl := speakeasy.MiddlewareController(req)	
    ctrl.CustomerID("a-customers-id") // Specify customer ID		
    // the rest of your handlers code
}

Smaller Changes

Product Updates