eclipse / steady

Analyses your Java applications for open-source dependencies with known vulnerabilities, using both static analysis and testing to determine code context and usage for greater accuracy. https://eclipse.github.io/steady/
Apache License 2.0
517 stars 124 forks source link

Fixes a bug in the mitigation tab #579

Closed henrikplate closed 1 year ago

henrikplate commented 1 year ago

The default view does not return the construct counters, which makes the mitigation tab fail.

Also added DEBUG_OPTS to backend's run.sh script, which can be specified in docker-compose.yml as follows (if debugging is needed).

    ports:
      - "8000:8000"
    environment:
      - DEBUG_OPTS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:8000

TODOs

henrikplate commented 1 year ago

@serenaponta - Both GUI tabs work for me if I include both changes. Applying only one breaks one or the other tab respectively.

serenaponta commented 1 year ago

I re-read issue #573 and what you did is exactly what is suggested there (reverting https://github.com/eclipse/steady/commit/09292c4aaa232cd962e6cefa2b8c543a399aee0b and changing the view). I think it can be merged, thank you!