Skip to content

Commit 4e0d349

Browse files
committed
Add private key id to GCP metadata
1 parent 2f1baea commit 4e0d349

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/detectors/gcp/gcp.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ func (s Scanner) FromData(ctx context.Context, verify bool, data []byte) (result
112112
ExtraData: map[string]string{
113113
"rotation_guide": "https://howtorotate.com/docs/tutorials/gcp/",
114114
"project": creds.ProjectID,
115+
"private_key_id": creds.PrivateKeyID,
115116
},
116117
AnalysisInfo: map[string]string{
117118
"key": string(credBytes),

0 commit comments

Comments
 (0)