mirror of
https://github.com/morten-olsen/homelab-nuclei-operator.git
synced 2026-02-08 02:16:23 +01:00
fix: get templates before running scan
This commit is contained in:
@@ -118,8 +118,11 @@ func (r *Runner) Run(ctx context.Context) error {
|
||||
|
||||
logger.Info("Starting scan",
|
||||
"targets", len(scan.Spec.Targets),
|
||||
"targetList", scan.Spec.Targets,
|
||||
"templates", scan.Spec.Templates,
|
||||
"severity", scan.Spec.Severity)
|
||||
"templatesCount", len(scan.Spec.Templates),
|
||||
"severity", scan.Spec.Severity,
|
||||
"severityCount", len(scan.Spec.Severity))
|
||||
|
||||
// Update status to indicate scan has started
|
||||
startTime := metav1.Now()
|
||||
|
||||
Reference in New Issue
Block a user