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: create a new snyk view [IDE-711][IDE-712][IDE-713] #213

Open
wants to merge 37 commits into
base: main
Choose a base branch
from

Conversation

acke
Copy link
Contributor

@acke acke commented Nov 12, 2024

Description

Provide description of this PR and changes, if linked Jira ticket doesn't cover it in full.

Checklist

  • Tests added and all succeed
  • Linted
  • CHANGELOG.md updated
  • README.md updated, if user-facing

Screenshots / GIFs

Visuals that may help the reviewer. Please add screenshots for any UI change. GIFs are most welcome!

@acke acke force-pushed the feat/IDE-711_create_a_new_snyk_view branch from 9083c23 to e31bd11 Compare November 12, 2024 14:52
@acke acke force-pushed the feat/IDE-711_create_a_new_snyk_view branch from e21aa41 to 07ecfa0 Compare November 13, 2024 11:07
@acke acke force-pushed the feat/IDE-711_create_a_new_snyk_view branch from 07ecfa0 to 5fc6f71 Compare November 13, 2024 11:08
plugin/plugin.xml Outdated Show resolved Hide resolved
plugin/plugin.xml Outdated Show resolved Hide resolved
plugin/plugin.xml Outdated Show resolved Hide resolved
try {
boolean cliFound = getCliFile().exists();
boolean tokenFound = !Preferences.getInstance().getAuthToken().isBlank()
|| System.getenv().containsKey("SNYK_TOKEN");
Copy link
Contributor

Choose a reason for hiding this comment

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

The SNYK_TOKEN check is old and a bug :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Should we remove tokenFound, or only the System.getenv().containsKey check?

@acke acke force-pushed the feat/IDE-711_create_a_new_snyk_view branch from 27789d2 to e027045 Compare November 13, 2024 14:00
plugin/t.xml Outdated Show resolved Hide resolved
@acke acke force-pushed the feat/IDE-711_create_a_new_snyk_view branch from def77c5 to 8d3a3c0 Compare November 13, 2024 15:09
@acke acke force-pushed the feat/IDE-711_create_a_new_snyk_view branch from e17fecf to a460b03 Compare November 14, 2024 12:11
@acke acke marked this pull request as ready for review November 14, 2024 12:14
@acke acke requested a review from a team as a code owner November 14, 2024 12:14
Copy link
Contributor

@bastiandoetsch bastiandoetsch left a comment

Choose a reason for hiding this comment

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

Leaving this in "Request Changes" as we'll use this as a base branch/PR for stacked PRs. Once we're ready, I'll move it to Approve :).

@acke acke changed the title Feat/ide 711 create a new snyk view Feat/ide-711_create_a_new_snyk_view Nov 14, 2024
@acke acke changed the title Feat/ide-711_create_a_new_snyk_view feat/create a new snyk view [IDE-711] Nov 14, 2024
…m-IaC,-Open-Source-and-Code,-using-a-local-cache (#215)

* chore: wip

* fix: add info nodes for no issues found and no fixable issues found

* fix: tests

* feat: add initial tree filling impl

* feat: display info nodes

* feat: add generic filter method to cache

* feat: show view when scanning
@bastiandoetsch bastiandoetsch changed the title feat/create a new snyk view [IDE-711] feat: create a new snyk view [IDE-711][IDE-712][IDE-713] Nov 15, 2024
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.

2 participants