The PutImageScanningConfiguration API is being deprecated, in favor of specifying the image scanning configuration at the registry level
Useful links