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

feat: add container support for remote-repo-url UNIFY-506 #5745

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

adrobuta
Copy link
Contributor

Pull Request Submission Checklist

  • Follows CONTRIBUTING guidelines
  • Includes detailed description of changes
  • Contains risk assessment (Low | Medium | High)
  • Highlights breaking API changes (if applicable)
  • Links to automated tests covering new functionality
  • Includes manual testing instructions (if necessary)
  • Updates relevant GitBook documentation (PR link: ___)
  • Includes product update to be announced in the next stable release notes

What does this PR do?

Adds support for remote-repo-url option for ContainerTarget.
Remote-repo-url allows the user to override the remote URL for the image that is monitored/tested.

Monitoring container images using remote-repo-url groups container images under the same target with other monitored projects.

Where should the reviewer start?

How should this be manually tested?

snyk container monitor debian:latest --remote-repo-url=https://github.com/org/my-repo-test

What's the product update that needs to be communicated to CLI users?

Copy link
Contributor

github-actions bot commented Feb 20, 2025

Warnings
⚠️

Please make changes to snyk help text in Gitbook. Changes will be automatically synchronised to Snyk CLI as a scheduled PR.
For more information, see: help/README.md.

⚠️

Since the CLI is unifying on a standard and improved tooling, we're starting to migrate old-style imports and exports to ES6 ones.
A file you've modified is using either module.exports or require(). If you can, please update them to ES6 import syntax and export syntax.
Files found:

  • src/cli/commands/monitor/index.ts

Generated by 🚫 dangerJS against 914925b

@adrobuta adrobuta force-pushed the feat/container-remote-repo-url branch 3 times, most recently from 349a17d to 17c518f Compare February 20, 2025 10:44
@adrobuta adrobuta force-pushed the feat/container-remote-repo-url branch from 17c518f to 914925b Compare February 20, 2025 15:37
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.

1 participant