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

Differentiate between CODE and CONTAINER scan results #33

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

janniclas
Copy link
Contributor

Even tho both, code scanning tools and container scanning tools, generate CVE results, we still need to differentiate between those two, due to domain requirements.
Thus, I created a dedicated CODE_VULNERABILITY and CONTAINER_VULNERABILITY KPI ID and modified the adapter code accordingly.

@janniclas janniclas added enhancement New feature or request breaking labels Oct 29, 2024
@janniclas janniclas added this to the 0.0.3 milestone Oct 29, 2024
@janniclas janniclas self-assigned this Oct 29, 2024
Copy link

github-actions bot commented Oct 29, 2024

TestsPassed ✅Skipped ⏭️Failed ❌
JUnit Test Report68 ran68 passed0 skipped0 failed

Copy link

github-actions bot commented Oct 29, 2024

Code Coverage

Overall Project 78.52% 🍏
Files changed 100% 🍏

Module Coverage
adapter 74.26% 🍏
Files
Module File Coverage
adapter CveAdapter.kt 100% 🍏
TrivyAdapter.kt 94.2% 🍏

…fferentiate between container and code scanning results

# Conflicts:
#	adapter/src/main/kotlin/de/fraunhofer/iem/spha/adapter/kpis/cve/CveAdapter.kt
#	model/src/main/kotlin/de/fraunhofer/iem/spha/model/kpi/hierarchy/DefaultHierarchy.kt
@janniclas janniclas merged commit e343a49 into main Oct 31, 2024
2 checks passed
@janniclas janniclas deleted the feature/trivy branch October 31, 2024 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants