Skip to content

Commit ff846ea

Browse files
committed
Restore some accidentally deleted files
1 parent c4c117f commit ff846ea

7 files changed

Lines changed: 74 additions & 19 deletions

operator/.helmignore

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Patterns to ignore when building packages.
2+
# This supports shell glob matching, relative path matching, and
3+
# negation (prefixed with !). Only one pattern per line.
4+
.DS_Store
5+
# Common VCS dirs
6+
.git/
7+
.gitignore
8+
.bzr/
9+
.bzrignore
10+
.hg/
11+
.hgignore
12+
.svn/
13+
# Common backup files
14+
*.swp
15+
*.bak
16+
*.tmp
17+
*.orig
18+
*~
19+
# Various IDEs
20+
.project
21+
.idea/
22+
*.tmproj
23+
.vscode/
24+
25+
hack/
26+
config/
27+
bin/
28+
controllers/
29+
apis/
30+
internal/
31+
utils/
32+
Dockerfile
33+
go.mod
34+
go.sum
35+
main.go
36+
Makefile
37+
PROJECT
38+
README.md.gotmpl
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
apiVersion: execution.securecodebox.io/v1
22
kind: ParseDefinition
33
metadata:
4-
name: parsedefinition-sample
4+
name: "nmap-xml"
55
spec:
6-
# Add fields here
7-
foo: bar
6+
image: securecodebox/nmap-parser
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
apiVersion: execution.securecodebox.io/v1
2+
kind: ScanCompletionHook
3+
metadata:
4+
name: "sleep-rw"
5+
spec:
6+
image: "sleep"
7+
type: "ReadAndWrite"
8+
env: []

operator/config/samples/execution_v1_scancompletionhook.yaml renamed to operator/config/samples/execution_v1_readonlyhook.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
apiVersion: execution.securecodebox.io/v1
22
kind: ScanCompletionHook
33
metadata:
4-
name: scancompletionhook-sample
4+
name: "echo-r"
55
spec:
6-
# Add fields here
7-
foo: bar
6+
image: "echo"
7+
type: "ReadOnly"
8+
env: []

operator/config/samples/execution_v1_scan.yaml

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,18 @@
11
apiVersion: execution.securecodebox.io/v1
22
kind: ScanType
33
metadata:
4-
name: scantype-sample
4+
name: "nmap"
55
spec:
6-
# Add fields here
7-
foo: bar
6+
extractResults:
7+
type: nmap-xml
8+
location: "/home/securecodebox/nmap-results.xml"
9+
jobTemplate:
10+
spec:
11+
ttlSecondsAfterFinished: 10
12+
template:
13+
spec:
14+
restartPolicy: OnFailure
15+
containers:
16+
- name: nmap
17+
image: securecodebox/nmap:7.80
18+
command: ["nmap", "-oX", "/home/securecodebox/nmap-results.xml"]
Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
apiVersion: execution.securecodebox.io/v1
22
kind: ScheduledScan
33
metadata:
4-
name: scheduledscan-sample
4+
name: scheduled-nmap-localhost
55
spec:
6-
# Add fields here
7-
foo: bar
6+
interval: 1m
7+
successfulJobsHistoryLimit: 2
8+
scanSpec:
9+
scanType: "nmap"
10+
parameters:
11+
- "-Pn"
12+
- "192.168.178.24"

0 commit comments

Comments
 (0)