Skip to content

Commit 4d3716f

Browse files
FreedischJ12934
authored andcommitted
Update scbctl/cmd/scans.go
Co-authored-by: Jannik Hollenbach <jannik@hollenbach.de> Signed-off-by: Freedisch <82499435+Freedisch@users.noreply.github.com>
1 parent 6d465d0 commit 4d3716f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

scbctl/cmd/scans.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,9 @@ func NewScanCommand() *cobra.Command {
134134
func followScanLogs(ctx context.Context, kubeclient client.Client, namespace, scanName string) error {
135135
// Find the job associated with the scan
136136
jobList := &batchv1.JobList{}
137-
labelSelector := client.MatchingLabels{}
137+
labelSelector := client.MatchingLabels{
138+
"securecodebox.io/job-type": "scanner"
139+
}
138140

139141
fmt.Println("Listing jobs in namespace:", namespace)
140142

0 commit comments

Comments
 (0)