jfrog / jfrog-idea-plugin

JFrog IntelliJ IDEA plugin
https://jfrog.github.io/jfrog-idea-plugin/
Apache License 2.0
199 stars 34 forks source link

Cannot create ignore rules for specific watch #288

Open 8L4ckc0FF33 opened 1 year ago

8L4ckc0FF33 commented 1 year ago

Describe the bug

Hi there,

I want to set an ignore rule from within the Jfrog IDEA Plugin, but it does not work the way I expect. It opens the input mask for ignore rules in the browser on my Xray installation (with an error: 'could not parse user_issue_id') but there's no watch pre-selected nor is there any watch in the drop down list. So cannot create an ignore rule attached to the watch for the project (although the watch is part of the GET-parameters in the URL: graph_scan_id, issue_id, show_popup, type, _watchname). When creating the ignore rule it can only be done globally for all projects. But in my opinion that's not feasible, since a vulnerability is not equally critical for each project.

When using the UI it's possible to create ignore rules for each watch.

Maybe I didn't figure out how to configure Jfrog Xray and its Intellij Idea Plugin correctly or is it a bug?

To Reproduce

Connecting Jfrog IDEA Plugin to a watch. Let the plugin index the project. Right click on any violation and choose "create ignore rule" and letting the browser open the input mask on your Xray-installation. And there's no possibility to choose any watch (screenshot).

With Crtl+Alt+S -> Other Settings -> Jfrog Global Configuration i filled out: Connection Details:

Settings:

Advanced

Expected behavior

When creating an ignore rule from within IDEA it should be possible to connect this ignore rule to the watch with witch it is connected in the settings. Actually I'd expect the same behaviour as clicking in the UI -> Xray -> Watch Violations -> Create Vulnerability Ignore Rule

Screenshots

xray_ignore

Versions

yahavi commented 1 year ago

@8L4ckc0FF33, Thanks for reporting this issue. We are looking into it. We'll keep you updated about that issue here.

8L4ckc0FF33 commented 1 year ago

Hi, is there any progress on this issue?