Skip to content

Commit

Permalink
Add image name to args list
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Engelbert <pmengelbert@gmail.com>
  • Loading branch information
pmengelbert committed Jul 5, 2023
1 parent dc5f053 commit 7f580f2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/scanners/trivy/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ func (c *Config) invocation(ref string) (string, []string) {
args = append(args, trivySeveritiesFlag, allSeverities)
}

args = append(args, ref)

return "/trivy", args
}

Expand Down

0 comments on commit 7f580f2

Please sign in to comment.