Comments (2)
Thanks for the feedback.
from gitrivy.
I have the same problem
Following is my github workflow file:
name: Vulnerability Scan
on:
push:
paths:
- '.github/workflows/05_trivy_scan.yml'
- 'resources/iot-c/**'
# Sequence of patterns matched against refs/heads
branches:
- master # Push events on master branch
- 'release*' # Push events to branches matching refs/heads/release_01
jobs:
scan:
name: Docker image Vulnerability Scan
runs-on: ubuntu-18.04
steps:
- name: Pull docker image
run: docker pull dgs19/iot-collector:latest
- name: scan with trivy
uses: homoluctus/gitrivy@v1
with:
image: dgs19/iot-collector:latest
And following is the error I get:
scan with trivy
19s
##[error]Node run failed with exit code 1
Run homoluctus/gitrivy@v1
with:
image: dgs19/iot-collector:latest
trivy_version: latest
severity: HIGH,CRITICAL
vuln_type: os,library
ignore_unfixed: false
issue: true
issue_title: Security Alert
issue_label: trivy,vulnerability
Download URL: https://github.com/aquasecurity/trivy/releases/download/v0.4.3/trivy_0.4.3_Linux-64bit.tar.gz
Trivy Command Path: /home/runner/work/dgs19/dgs19/trivy
##[error]TypeError: cve.References is not iterable
at Trivy.parse (/home/runner/work/_actions/homoluctus/gitrivy/v1/dist/index.js:13352:45)
at /home/runner/work/_actions/homoluctus/gitrivy/v1/dist/index.js:6599:40
at Generator.next (<anonymous>)
at fulfilled (/home/runner/work/_actions/homoluctus/gitrivy/v1/dist/index.js:6555:58)
##[error]cve.References is not iterable
##[error]Node run failed with exit code 1
from gitrivy.
Related Issues (20)
- error: body is too long (maximum is 65536 characters) HOT 1
- Error: undefined error after not found vulnerabilities. HOT 1
- Error: Failed to execute Trivy command HOT 5
- CI fails at the 0.5.2 but not 0.4.4 HOT 3
- Security Alert Test
- Security Alert Test
- Duplicate issues HOT 7
- Missing CVEs? Only first CVE is shown in the issue. HOT 1
- cve.Reference is not iteratable HOT 1
- Security Alert Test
- Security Alert Test
- Security Alert Test
- Security Alert Test
- Security Alert Test
- Security Alert Test
- SyntaxError: Unexpected end of JSON input HOT 1
- Security Alert Test
- Security Alert Test
- Security Alert Test
- Security Alert Test
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gitrivy.