Find, verify, and analyze leaked credentials
Go credentialsdevsecopsdynamic-analysisprecommitscanningsecretsecret-managementsecretssecuritysecurity-toolstrufflehogverification
fix nil map assignment (#2117)
Zachary Riced69de658b262
diff --git a/pkg/detectors/awssessionkeys/awssessionkey.go b/pkg/detectors/awssessionkeys/awssessionkey.goindex c525fa56b..3b53aa27f 100644--- a/pkg/detectors/awssessionkeys/awssessionkey.go+++ b/pkg/detectors/awssessionkeys/awssessionkey.go@@ -130,6 +130,7 @@ func (s scanner) FromData(ctx context.Context, verify bool, data []byte) (resultRaw: []byte(resIDMatch),Redacted: resIDMatch,RawV2: []byte(resIDMatch + resSecretMatch + resSessionMatch),+ ExtraData: map[string]string{},}if verify {