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

Update trivy scanning job #3733

Conversation

yunchu
Copy link
Contributor

@yunchu yunchu commented Jul 15, 2024

Summary

This PR change the behavior of Trivy scanning job in code-scan workflow.

  • MEDIUM, HIGH, and CRITICAL vulnerability issues from the trivy scanning report will be treated as an error.
  • added spdx.json format dependency list reporting steps

How to test

Checklist

  • I have added unit tests to cover my changes.​
  • I have added integration tests to cover my changes.​
  • I have ran e2e tests and there is no issues.
  • I have added the description of my changes into CHANGELOG in my target branch (e.g., CHANGELOG in develop).​
  • I have updated the documentation in my target branch accordingly (e.g., documentation in develop).
  • I have linked related issues.

License

  • I submit my code changes under the same Apache License that covers the project.
    Feel free to contact the maintainers if that's a concern.
  • I have updated the license header for each file (see an example below).
# Copyright (C) 2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0

@yunchu yunchu force-pushed the update-code-scan-workflow-to-raise-error branch from e5a7616 to 76d5ff7 Compare July 15, 2024 00:57
@yunchu yunchu merged commit f74342c into openvinotoolkit:develop Jul 15, 2024
6 checks passed
@yunchu yunchu deleted the update-code-scan-workflow-to-raise-error branch July 15, 2024 01:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants