Skip to content

Commit

Permalink
fix nil map assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
zricethezav committed Nov 20, 2023
1 parent 39a603d commit 485d5e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/detectors/awssessionkeys/awssessionkey.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ func (s scanner) FromData(ctx context.Context, verify bool, data []byte) (result
Raw: []byte(resIDMatch),
Redacted: resIDMatch,
RawV2: []byte(resIDMatch + resSecretMatch + resSessionMatch),
ExtraData: map[string]string{},
}

if verify {
Expand Down

0 comments on commit 485d5e8

Please sign in to comment.