This repository was archived by the owner on Oct 14, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +10
-10
lines changed
kube-hunter/cascading-rules Expand file tree Collapse file tree 7 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 2222 scanType : " kube-hunter"
2323 parameters :
2424 - " --remote"
25- - " {{attributes.ip_address }}"
25+ - " {{$.hostOrIP }}"
2626---
2727apiVersion : " cascading.experimental.securecodebox.io/v1"
2828kind : CascadingRule
4343 scanType : " kube-hunter"
4444 parameters :
4545 - " --remote"
46- - " {{attributes.ip_address }}"
46+ - " {{$.hostOrIP }}"
Original file line number Diff line number Diff line change 2121 parameters :
2222 - " -host"
2323 # Use Hostname if defined, fall back to ip if not defined
24- - " {{#attributes.hostname}}{{attributes.hostname}}{{/attributes.hostname}}{{^attributes.hostname}}{{attributes.ip_address}}{{/attributes.hostname }}"
24+ - " {{$.hostOrIP }}"
2525 - " -port"
2626 - " {{attributes.port}}"
2727 - " -Tuning"
Original file line number Diff line number Diff line change 3131 - " --script"
3232 - " smb-protocols"
3333 # Against Host
34- - " {{attributes.hostname }}"
34+ - " {{$.hostOrIP }}"
Original file line number Diff line number Diff line change 2020 scanType : " ssh-scan"
2121 parameters :
2222 - " --target"
23- - " {{attributes.hostname }}"
23+ - " {{$.hostOrIP }}"
2424 - " --port"
2525 - " {{attributes.port}}"
Original file line number Diff line number Diff line change 1818 state : open
1919 scanSpec :
2020 scanType : " sslyze"
21- parameters : ["--regular", "{{attributes.hostname }}:{{attributes.port}}"]
21+ parameters : ["--regular", "{{$.hostOrIP }}:{{attributes.port}}"]
Original file line number Diff line number Diff line change 1818 state : open
1919 scanSpec :
2020 scanType : " sslyze"
21- parameters : ["--regular", "{{attributes.hostname }}:{{attributes.port}}"]
21+ parameters : ["--regular", "{{$.hostOrIP }}:{{attributes.port}}"]
2222---
2323apiVersion : " cascading.experimental.securecodebox.io/v1"
2424kind : CascadingRule
4040 state : open
4141 scanSpec :
4242 scanType : " sslyze"
43- parameters : ["--regular", "{{attributes.hostname }}:{{attributes.port}}"]
43+ parameters : ["--regular", "{{$.hostOrIP }}:{{attributes.port}}"]
4444---
4545apiVersion : " cascading.experimental.securecodebox.io/v1"
4646kind : CascadingRule
6262 state : open
6363 scanSpec :
6464 scanType : " sslyze"
65- parameters : ["--regular", "{{attributes.hostname }}:{{attributes.port}}"]
65+ parameters : ["--regular", "{{$.hostOrIP }}:{{attributes.port}}"]
Original file line number Diff line number Diff line change 1818 state : open
1919 scanSpec :
2020 scanType : " zap-baseline"
21- parameters : ["-t", "{{attributes.service}}://{{attributes.hostname }}"]
21+ parameters : ["-t", "{{attributes.service}}://{{$.hostOrIP }}"]
You can’t perform that action at this time.
0 commit comments