Added image format validation to validate media type because squashfs image media type not supported for vulnerability scanning

This commit is contained in:
Shivam Mishra
2020-08-18 23:03:16 -07:00
parent 2cf2c16137
commit 72ae02ca4b
6 changed files with 134 additions and 0 deletions
+1
View File
@@ -34,4 +34,5 @@ var (
ErrConfigNotFound = errors.New("cli: config with the given name does not exist")
ErrNoURLProvided = errors.New("cli: no URL provided in argument or via config. see 'zot config -h'")
ErrIllegalConfigKey = errors.New("cli: given config key is not allowed")
ErrScanNotSupported = errors.New("search: scanning of image media type not supported")
)