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

Improve test coverage of Trivy integration #3493

Merged
merged 1 commit into from
Feb 25, 2024

Conversation

nscuro
Copy link
Member

@nscuro nscuro commented Feb 24, 2024

Description

Improves test coverage of the new Trivy integration.

Addressed Issue

N/A

Additional Details

In addition to unit tests with mocked Trivy server responses, we now also have basic integration tests that spin up a Trivy container image to test against. This should help us in identifying any breaking changes in Trivy's server API.

Checklist

  • I have read and understand the contributing guidelines
  • This PR fixes a defect, and I have provided tests to verify that the fix is effective
  • This PR implements an enhancement, and I have provided tests to verify that it works as intended
  • This PR introduces changes to the database model, and I have added corresponding update logic
  • This PR introduces new or alters existing behavior, and I have updated the documentation accordingly

@nscuro nscuro added the integration/trivy Related to the Trivy integration label Feb 24, 2024
@nscuro nscuro added this to the 4.11 milestone Feb 24, 2024
Also address various compiler warnings

Signed-off-by: nscuro <nscuro@protonmail.com>
@nscuro nscuro marked this pull request as ready for review February 25, 2024 18:22
@nscuro nscuro merged commit 91afc7d into DependencyTrack:master Feb 25, 2024
9 checks passed
@nscuro nscuro deleted the trivy-qa branch February 25, 2024 18:29
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
integration/trivy Related to the Trivy integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant