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:OS CLI output part V - add issue summary #3560

Closed
wants to merge 1 commit into from

Conversation

florindumitrascu
Copy link
Contributor

@florindumitrascu florindumitrascu commented Aug 9, 2022

What does this PR do?

Improve snyk-open-source CLI output as follows:

  • Add a summary section with how many issues critical, high, medium, low / fixable issues / issues with no upgrades

Where should the reviewer start?

src/lib/formatters/remediation-based-format-issues.ts

How should this be manually tested?

Run 'snyk test' command on a local project and compare output formatting with the attached screenshot

Any background context you want to provide?

What are the relevant tickets?

TUN-269

Screenshots

Screenshot 2022-08-09 at 12 15 40

Additional questions

@github-actions
Copy link
Contributor

github-actions bot commented Aug 9, 2022

Warnings
⚠️

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:

  • test/jest/unit/lib/formatters/remediation-based-format-issues.spec.ts

Generated by 🚫 dangerJS against e93b996

@florindumitrascu florindumitrascu force-pushed the feat/os-cli-output-add-summary+test branch from 3ae2388 to e93b996 Compare August 9, 2022 09:38
@dagrest dagrest mentioned this pull request Nov 17, 2022
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants