Skip to content

feat: relax flag validation for test/monitor commands#6482

Draft
paulrosca-snyk wants to merge 1 commit intomainfrom
OSF-220-cli-jumps-back-to-the-old-cli-for-unknown-cli-arguments
Draft

feat: relax flag validation for test/monitor commands#6482
paulrosca-snyk wants to merge 1 commit intomainfrom
OSF-220-cli-jumps-back-to-the-old-cli-for-unknown-cli-arguments

Conversation

@paulrosca-snyk
Copy link
Contributor

Pull Request Submission Checklist

  • Follows CONTRIBUTING guidelines
  • Commit messages
    are release-note ready, emphasizing
    what was changed, not how.
  • 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?

Relaxes the flag validation for snyk test and snyk monitor so that the command can be routed to the new flow (e.g reachability) even when an unknown flag is being passed.

Where should the reviewer start?

How should this be manually tested?

Running snyk test --reachability --foo-bar should return the vulnerability information enriched with reachability signals.

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

N/A

Risk assessment (Low | Medium | High)?

Low. This only impacts customers which use the new testing flow, and the impact should be positive.

@paulrosca-snyk paulrosca-snyk force-pushed the OSF-220-cli-jumps-back-to-the-old-cli-for-unknown-cli-arguments branch 2 times, most recently from 7de7edb to 3d4f0ae Compare February 2, 2026 08:45
@paulrosca-snyk paulrosca-snyk force-pushed the OSF-220-cli-jumps-back-to-the-old-cli-for-unknown-cli-arguments branch 2 times, most recently from fc5dc1e to 523addc Compare February 9, 2026 15:14
@paulrosca-snyk paulrosca-snyk force-pushed the OSF-220-cli-jumps-back-to-the-old-cli-for-unknown-cli-arguments branch from 523addc to 59495ca Compare March 6, 2026 09:27
@snyk-io
Copy link

snyk-io bot commented Mar 6, 2026

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@paulrosca-snyk paulrosca-snyk force-pushed the OSF-220-cli-jumps-back-to-the-old-cli-for-unknown-cli-arguments branch 3 times, most recently from de302bb to 0131cce Compare March 16, 2026 14:13
@paulrosca-snyk paulrosca-snyk force-pushed the OSF-220-cli-jumps-back-to-the-old-cli-for-unknown-cli-arguments branch from 0131cce to 78b6303 Compare March 16, 2026 15:04
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