Skip to content
This repository was archived by the owner on Oct 14, 2020. It is now read-only.

Commit 50e9998

Browse files
committed
#33 Add CascadingRule for Nikto
1 parent ac57d86 commit 50e9998

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
apiVersion: "cascading.experimental.securecodebox.io/v1"
2+
kind: CascadingRule
3+
metadata:
4+
name: "nikto-http"
5+
labels:
6+
securecodebox.io/invasive: non-invasive
7+
securecodebox.io/intensive: medium
8+
spec:
9+
matches:
10+
anyOf:
11+
- category: "Open Port"
12+
attributes:
13+
service: "http"
14+
- category: "Open Port"
15+
attributes:
16+
service: "https"
17+
scanSpec:
18+
scanType: "nikto"
19+
parameters:
20+
- "-host"
21+
- "{{attributes.hostname}}"
22+
- "-port"
23+
- "{{attributes.port}}"
24+
- "-Tuning"
25+
- "1,2,3,5,7,b"
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# The CascadingRules are not directly in the /templates directory as their curly bracket syntax clashes with helms templates ... :(
2+
# We import them as raw files to avoid these clashes as escaping them is even more messy
3+
{{ range $path, $_ := .Files.Glob "cascading-rules/*" }}
4+
# Include File
5+
{{ $.Files.Get $path }}
6+
# Separate multiple files
7+
---
8+
{{ end }}

0 commit comments

Comments
 (0)