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

Add Trivy scanner workflow #7632

Merged
merged 4 commits into from
Oct 19, 2024
Merged

Add Trivy scanner workflow #7632

merged 4 commits into from
Oct 19, 2024

Conversation

yevh
Copy link
Contributor

@yevh yevh commented Oct 18, 2024

Changes

Trivy is added. Trivy is a lightweight image scanning tool that may discover vulnerabilities and misconfigurations. Actions pinned to specific commit hashes:

  • trivy-action@5681af892cd0f4997658e2bacc62bd0a894cf564 #v0.27.0
  • checkout@d632683dd7b4114ad314bca15554477dd762a938 #v4.2.0
  • codeql-action/init@5618c9fc1e675841ca52c1c6b1304f5255a905a0 #v2.19.0
  • setup-dotnet@6bd8b7f7774af54e05809fcc5431931b3eb1ddee #v4.0.1

Types of changes

What types of changes does your code introduce?

  • Bugfix (a non-breaking change that fixes an issue)
  • New feature (a non-breaking change that adds functionality)
  • Breaking change (a change that causes existing functionality not to work as expected)
  • Optimization
  • Refactoring
  • Documentation update
  • Build-related changes
  • Other: Image scanning is added.

Testing

Requires testing

  • Yes
  • No

If yes, did you write tests?

  • Yes
  • No

Documentation

Requires documentation update

  • Yes
  • No

Requires explanation in Release Notes

  • Yes
  • No

@yevh yevh requested review from rubo and a team as code owners October 18, 2024 08:20
@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

Copy link
Contributor

@rubo rubo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Major changes:

  • Revised Docker image tag name
  • Switched to the latest Ubuntu as 20.04 is too old
  • Updated aquasecurity/trivy-action to v0.28.0

@rubo rubo changed the title Add Trivy Add Trivy scanner workflow Oct 18, 2024
@yevh yevh merged commit 07def8d into master Oct 19, 2024
75 checks passed
@yevh yevh deleted the trivy branch October 19, 2024 07:15
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.

2 participants