Skip to content

[Bug]: CX CLI 2.3.28 is not longer able to scan container images pulled from private Azure Container Registry #1246

@ghost

Description

Contact Details

[email protected]

What happened?

In previous version (tested up to 2.3.27), we can scan images of our Azure Container Registry by referencing the image directly using URL, but 2.3.28 is not able to pull image (sometimes it would say "Unresolved").

This is verified in both Windows build as well as Linux builds.

Our CX Scan command is as follow:
/opt/cx scan create --scan-types sast,container-security,sca --sca-resolver /home/svc_aciadmin/.ScaResolver/ScaResolver --sca-resolver-params "--extract-archives zip,ear,war --extract-depth 1 --ignore-dev-dependencies --maven-parameters='-Dscope=runtime'" -s /opt/ci_service/Agents/1/_work/1/s --debug --container-images myazureacr.azurecr.io/myimage:1.0.1 --project-name myimage --branch 1.0.1

Version

2.3.28

Operating System & Version

Ubuntu 22.04

Specify Other OS Version

Both Windows 11 and Linux

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions