-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trivy output split "target" into "target" and "system" #332
Comments
It sounds a nice idea. Also, we need to think of application dependencies such as Gemfile.lock and package-lock.json. |
Or maybe the other way around, keep target and add an imagename to the struct? |
In that case, you can't get an OS name. Does it work for you? |
I'm trying to map something to the keys specified in Gitlab's container scanning report json - Target seems to contain both. An Image key from trivy could map easily to .image. See: |
What about something like the following.
|
* fix(hooks): exclude go from filtering * Limited scope to individual packages Co-authored-by: Teppei Fukuda <[email protected]>
* fix(hooks): exclude go from filtering * Limited scope to individual packages Co-authored-by: Teppei Fukuda <[email protected]>
Target currently consists of the image name and the detected system in parentheses. This makes it harder to parse when using the json bits.
Can we split this up into two variables in the report struct?
"Target" to maintain compatibility containing the scanned image name
and a new variable "system" or "operating_system" with the detected system that was in parentheses.
The text was updated successfully, but these errors were encountered: