endorctl container scan commands, the old endorctl scan container commands and their related flags will be removed after a three-month deprecation period.
Use the new dedicated command to ensure continued compatibility.
Mapping of deprecated and new container scan commands
Examples
-
To scan a basic container image:
- Old:
endorctl scan --container nginx:latest --namespace my-namespace - New:
endorctl container scan --image nginx:latest --namespace my-namespace
- Old:
-
To scan a container tar file:
- Old:
endorctl scan --container-tar /path/to/image.tar --namespace my-namespace - New:
endorctl container scan --image-tar /path/to/image.tar --namespace my-namespace
- Old:
-
To scan a container with a project name:
- Old:
endorctl scan --container nginx:latest --project-name my-nginx --namespace my-namespace - New:
endorctl container scan --image nginx:latest --project-name my-nginx --namespace my-namespace
- Old:
-
To scan a container in a reference context:
- Old:
endorctl scan --container nginx:latest --container-as-ref --namespace my-namespace - New:
endorctl container scan --image nginx:latest --as-ref --namespace my-namespace
- Old: