File tree Expand file tree Collapse file tree
src/main/kotlin/com/offensive360/sast Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11package com.offensive360.sast.actions
22
3+ import com.intellij.openapi.actionSystem.ActionUpdateThread
34import com.intellij.openapi.actionSystem.AnAction
45import com.intellij.openapi.actionSystem.AnActionEvent
56import com.offensive360.sast.toolwindow.SecurityFindingsService
67
78class ClearFindingsAction : AnAction () {
9+ override fun getActionUpdateThread () = ActionUpdateThread .BGT
10+
811 override fun actionPerformed (e : AnActionEvent ) {
912 val project = e.project ? : return
1013 SecurityFindingsService .getInstance(project).clearFindings()
Original file line number Diff line number Diff line change @@ -112,7 +112,8 @@ class O360Configurable : Configurable {
112112 }
113113
114114 val allowSelfSigned = allowSelfSignedCheckbox.isSelected
115- val healthUrl = " $endpoint /app/api/HealthCheck"
115+ // Use ExternalScan endpoint for validation — HealthCheck returns 403 for External tokens
116+ val healthUrl = " $endpoint /app/api/ExternalScan/scanQueuePosition"
116117
117118 testConnectionButton.isEnabled = false
118119 testConnectionButton.text = " Testing\u2026 "
You can’t perform that action at this time.
0 commit comments