-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
trivy:chore - improve tests and code cleaning (#899)
This commit add some new asserts on successful parsing Trivy results, to verify that all fields of Vulnerability was filled. Some code organization was also made, and the entities packages was removed and the Trivy schema output was moved to trivy package. Updates #718 Signed-off-by: Matheus Alcantara <matheus.alcantara@zup.com.br>
- Loading branch information
1 parent
657531d
commit cfc2a36
Showing
6 changed files
with
133 additions
and
117 deletions.
There are no files selected for viewing
24 changes: 0 additions & 24 deletions
24
internal/services/formatters/generic/trivy/entities/misconfiguration.go
This file was deleted.
Oops, something went wrong.
21 changes: 0 additions & 21 deletions
21
internal/services/formatters/generic/trivy/entities/output.go
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
internal/services/formatters/generic/trivy/entities/result.go
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.