fix: Filter out cust. AssumeRole Token for audit (#19646)

The `Token` parameter is a sensitive value that should not be output in the Audit log for STS AssumeRoleWithCustomToken API.

Bonus: Add a simple tool that echoes audit logs to the console.
This commit is contained in:
Aditya Manthramurthy
2024-05-01 14:31:13 -07:00
committed by GitHub
parent 0cde17ae5d
commit f3d61c51fc
4 changed files with 83 additions and 2 deletions

View File

@@ -81,6 +81,6 @@ func mainHandler(w http.ResponseWriter, r *http.Request) {
func main() {
http.HandleFunc("/", mainHandler)
log.Print("Listing on :8081")
log.Print("Listening on :8081")
log.Fatal(http.ListenAndServe(":8081", nil))
}