Azure / container-scan

A GitHub action to help you scan your docker image for vulnerabilities
MIT License
219 stars 42 forks source link

Error: Table data must not contain control characters. #97

Closed jirarot-ka closed 3 years ago

jirarot-ka commented 3 years ago

I got error message while scan image type script using node10 alpine base image. action runner is Ubuntu 20.04 I also try using trivy command on my local machine(mac) to scan this image but not found this kind of error.


##[debug]source dir: /home/runner/work/_temp/527a8b07-65d4-4e29-a906-3dc8c0903513
##[debug]destination /opt/hostedtoolcache/trivy/0.19.2/x64
##[debug]finished caching tool
##[debug]Trivy executable found at path  /opt/hostedtoolcache/trivy/0.19.2/x64/trivy
Scanning for vulnerabilties in image: my-image:1.24.0
ommand]/opt/hostedtoolcache/trivy/0.19.2/x64/trivy my-image:1.24.0
##[debug]2021-08-19T04:10:57.243Z   INFO    Using your github token
##[debug]2021-08-19T04:10:57.243Z   INFO    Need to update DB
##[debug]2021-08-19T04:10:57.243Z   INFO    Downloading DB...
##[debug]4.02 MiB / 22.99 MiB [---------->___________________________________________________] 17.49% ? p/s ?8.89 MiB / 22.99 MiB [----------------------->______________________________________] 38.68% ? p/s ?13.88 MiB / 22.99 MiB [------------------------------------>________________________] 60.38% ? p/s ?19.48 MiB / 22.99 MiB [---------------------------------------->_______] 84.75% 25.74 MiB p/s ETA 0s22.99 MiB / 22.99 MiB [---------------------------------------------------] 100.00% 31.63 MiB p/s 1s2021-08-19T04:11:17.046Z   INFO    Detected OS: alpine
##[debug]2021-08-19T04:11:17.046Z   INFO    Detecting Alpine vulnerabilities...
##[debug]2021-08-19T04:11:17.047Z   INFO    Number of language-specific files: 2
##[debug]2021-08-19T04:11:17.047Z   INFO    Detecting npm vulnerabilities...
##[debug]2021-08-19T04:11:17.050Z   INFO    Detecting yarn vulnerabilities...
##[debug]2021-08-19T04:11:17.058Z   WARN    DEPRECATED: the current JSON schema is deprecated, check https://github.com/aquasecurity/trivy/discussions/1050 for more information.
##[debug]
Error: Table data must not contain control characters.
##[debug]Node Action run completed with exit code 1```
github-actions[bot] commented 3 years ago

This issue is idle because it has been open for 14 days with no activity.

ajinkya599 commented 3 years ago

Can you please enable debug logs and share the output?

github-actions[bot] commented 3 years ago

This issue is idle because it has been open for 14 days with no activity.

ajinkya599 commented 3 years ago

Closing as idle. Please feel free to re-open with the said data if the issue persists.

aneisch commented 2 years ago

I'm seeing this issue on my action currently.