Skip to content
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:bugfix - adding func to avoid hash changes in trivy formatter #929

Merged
merged 1 commit into from
Jan 20, 2022

Conversation

nathanmartinszup
Copy link
Contributor

Since the pull request #882 some
changes were made in the line and code of the trivy formatter,
and this data influences directly the hash generation.
This pr will avoid this hash change by using the same data as
before, but for the users the data will be showed with the fixes
made in the pull request 882, leading to no braking changes
and keeping the fixes.

Signed-off-by: Nathan Martins [email protected]

- What I did

- How to verify it

- Description for the changelog

Since the pull request #882 some
changes were made in the line and code of the trivy formatter,
and this data influences directly the hash generation.
This pr will avoid this hash change by using the same data as
before, but for the users the data will be showed with the fixes
made in the pull request 882, leading to no braking changes
and keeping the fixes.

Signed-off-by: Nathan Martins <[email protected]>
@nathanmartinszup nathanmartinszup merged commit 0a2ecee into main Jan 20, 2022
matheusalcantarazup pushed a commit that referenced this pull request Jan 21, 2022
…929)

Since the pull request #882 some
changes were made in the line and code of the trivy formatter,
and this data influences directly the hash generation.
This pr will avoid this hash change by using the same data as
before, but for the users the data will be showed with the fixes
made in the pull request 882, leading to no braking changes
and keeping the fixes.

Signed-off-by: Nathan Martins <[email protected]>
(cherry picked from commit 0a2ecee)
@nathanmartinszup nathanmartinszup deleted the bugfix/trivy-hash branch January 24, 2022 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Compare hash results for versions in SecurityTool Trivy
4 participants