Update scan job request log for enabled_capabilities (#20414)

update scan job request log

Signed-off-by: yminer <yminer@vmware.com>
This commit is contained in:
MinerYang 2024-05-10 17:17:47 +08:00 committed by GitHub
parent beb5f3f7cb
commit 068ae006fe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -419,6 +419,7 @@ func removeScanAuthInfo(sr *v1.ScanRequest) string {
URL: sr.Registry.URL, URL: sr.Registry.URL,
Authorization: "[HIDDEN]", Authorization: "[HIDDEN]",
}, },
RequestType: sr.RequestType,
} }
str, err := req.ToJSON() str, err := req.ToJSON()