From 61f3f1ca26d89fa9cd0874a5a48f2e03e2402f2b Mon Sep 17 00:00:00 2001 From: Preslav Date: Tue, 12 Sep 2023 14:52:10 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Pass=20in=20the=20correct=20inco?= =?UTF-8?q?gnito=20value=20when=20calling=20RunIncognito.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Preslav --- policy/scan/local_scanner.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/policy/scan/local_scanner.go b/policy/scan/local_scanner.go index a678dd50..372baf16 100644 --- a/policy/scan/local_scanner.go +++ b/policy/scan/local_scanner.go @@ -172,7 +172,7 @@ func (s *LocalScanner) RunIncognito(ctx context.Context, job *Job) (*ScanResult, return nil, errors.New("no context provided to run job with local scanner") } - upstream, err := s.getUpstreamConfig(false, job) + upstream, err := s.getUpstreamConfig(true, job) if err != nil { return nil, err }