Skip to content

Commit 82d22a0

Browse files
authored
Remove request logging which exposes model data (#134)
* Remove request logging which exposes model data In some cases the model may contain sensitive data which shouldn't be logged. * log import no longer used
1 parent 7632341 commit 82d22a0

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

cfn/handler/request.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
package handler
22

33
import (
4-
"log"
5-
64
"github.com/aws/aws-sdk-go/aws/session"
75

86
"github.com/aws-cloudformation/cloudformation-cli-go-plugin/cfn/cfnerr"
@@ -38,8 +36,6 @@ type Request struct {
3836

3937
// NewRequest returns a new Request based on the provided parameters
4038
func NewRequest(id string, ctx map[string]interface{}, sess *session.Session, previousBody, body []byte) Request {
41-
log.Printf("Creating request:\nPrev body: %s\nCurr body: %s", previousBody, body)
42-
4339
return Request{
4440
LogicalResourceID: id,
4541
CallbackContext: ctx,

0 commit comments

Comments
 (0)