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

WorkloadStatusVulnerable #143

Merged
merged 6 commits into from
Mar 17, 2025
Merged

WorkloadStatusVulnerable #143

merged 6 commits into from
Mar 17, 2025

Conversation

andnorda
Copy link
Contributor

No description provided.

@andnorda andnorda requested review from rbjornstad and Copilot March 17, 2025 09:55

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the menu item displayed for workloads by replacing the "Image" item with a "Vulnerability Report" and adjusts corresponding test cases and URL page header mappings.

  • Replaces "Image" with "Vulnerability Report" in workload menu items
  • Updates test cases to expect the new "Vulnerability Report" path
  • Adds a new case for "vulnerability-report" in URL-to-page header mapping

Reviewed Changes

Copilot reviewed 29 out of 29 changed files in this pull request and generated no comments.

File Description
src/lib/menuItems.ts Updated workload menu item from "Image" to "Vulnerability Report"
src/lib/menuItems.test.ts Adjusted tests to validate the new "Vulnerability Report" menu item
src/lib/urlToPageHeader.ts Added handling for the "vulnerability-report" page header
Copy link
Contributor Author

@andnorda andnorda left a comment

Choose a reason for hiding this comment

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

LGTM

@andnorda andnorda merged commit b3fb1be into main Mar 17, 2025
2 checks passed
@andnorda andnorda deleted the WorkloadStatusVulnerable-WIP branch March 17, 2025 10:01
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.

None yet

1 participant