File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2+
3+ exports [` Kubernetes interaction tests cascading scan function should create a cascading scan and return findings on successful completion 1` ] = `
4+ {
5+ " categories" : {
6+ " Discovered Credentials" : 1 ,
7+ },
8+ " count" : 1 ,
9+ " severities" : {
10+ " high" : 1 ,
11+ },
12+ }
13+ ` ;
14+
15+ exports [` Kubernetes interaction tests scan function should create a scan and return findings on successful completion 1` ] = `
16+ {
17+ " categories" : {
18+ " Vulnerability" : 24 ,
19+ },
20+ " count" : 24 ,
21+ " severities" : {
22+ " high" : 24 ,
23+ },
24+ }
25+ ` ;
26+
27+ exports [` Kubernetes interaction tests scan function should create a scan and return findings on successful completion 2` ] = `
28+ [MockFunction] {
29+ " calls" : [
30+ [
31+ " execution.securecodebox.io" ,
32+ " v1" ,
33+ " integration-tests" ,
34+ " scans" ,
35+ {
36+ " apiVersion" : " execution.securecodebox.io/v1" ,
37+ " kind" : " Scan" ,
38+ " metadata" : {
39+ " generateName" : " typo3scan-old-typo3-" ,
40+ },
41+ " spec" : {
42+ " initContainers" : [],
43+ " parameters" : [],
44+ " scanType" : " typo3scan" ,
45+ " volumeMounts" : [],
46+ " volumes" : [],
47+ },
48+ },
49+ ],
50+ ],
51+ " results" : [
52+ {
53+ " type" : " return" ,
54+ " value" : Promise {},
55+ },
56+ ],
57+ }
58+ ` ;
59+
60+ exports [` Kubernetes interaction tests scan function should create a scan and return findings on successful completion 3` ] = `
61+ [MockFunction] {
62+ " calls" : [
63+ [
64+ " execution.securecodebox.io" ,
65+ " v1" ,
66+ " integration-tests" ,
67+ " scans" ,
68+ " typo3scan-old-typo3-pw8vt" ,
69+ ],
70+ [
71+ " execution.securecodebox.io" ,
72+ " v1" ,
73+ " integration-tests" ,
74+ " scans" ,
75+ " typo3scan-old-typo3-pw8vt" ,
76+ ],
77+ ],
78+ " results" : [
79+ {
80+ " type" : " return" ,
81+ " value" : Promise {},
82+ },
83+ {
84+ " type" : " return" ,
85+ " value" : Promise {},
86+ },
87+ ],
88+ }
89+ ` ;
You can’t perform that action at this time.
0 commit comments