Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,12 @@ protected IStatus run(IProgressMonitor monitor) {
return Status.CANCEL_STATUS;
}

project.refreshLocal(IResource.DEPTH_INFINITE, monitor);

if (monitor.isCanceled() || !project.isOpen()) {
return Status.CANCEL_STATUS;
}

// Only scan OSS manifests on startup (matches JetBrains behavior)
// IaC and Container scanning are triggered by real-time scanner events
scanManifestFiles(project);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
import org.eclipse.swt.browser.ProgressListener;

import com.checkmarx.eclipse.common.utils.CxLogger;
import com.checkmarx.eclipse.devassist.backend.SeverityLevel;
import com.checkmarx.eclipse.devassist.model.ScanEngine;
import com.checkmarx.eclipse.devassist.model.ScanIssue;
import com.checkmarx.eclipse.devassist.remediation.RemediationLinkHandler;
Expand Down Expand Up @@ -551,6 +552,10 @@ public Object getHoverInfo2(ITextViewer textViewer, IRegion hoverRegion) {
if (scanIssue == null) {
continue;
}
String severity = scanIssue.getSeverity();
if (SeverityLevel.OK.getSeverity().equals(severity) || SeverityLevel.UNKNOWN.getSeverity().equals(severity)) {
continue;
}
currentFinding = scanIssue;
if (HOVER_DEBUG_LOGGING) {
CxLogger.info("[HOVER] Captured ScanIssue for action handlers: " + scanIssue.getTitle());
Expand Down
Loading