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

Fix Ncrack Group Name #131

Merged
merged 1 commit into from
Oct 5, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scanners/ncrack/cascading-rules/crackssh.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: "cascading.experimental.securecodebox.io/v1"
apiVersion: "cascading.securecodebox.io/v1"
kind: CascadingRule
metadata:
name: "ncrack-ssh"
Expand Down
2 changes: 1 addition & 1 deletion scanners/nmap/examples/dummy-ssh-cascade/scan.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: "execution.experimental.securecodebox.io/v1"
apiVersion: "execution.securecodebox.io/v1"
kind: Scan
metadata:
name: "nmap-dummy-ssh"
Expand Down
6 changes: 3 additions & 3 deletions tests/integration/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ async function cascadingScan(name, scanType, parameters = [], { nameCascade, mat
namespace = "cascading-tests";

const scanDefinition = {
apiVersion: "execution.experimental.securecodebox.io/v1",
apiVersion: "execution.securecodebox.io/v1",
kind: "Scan",
metadata: {
// Use `generateName` instead of name to generate a random sufix and avoid name clashes
Expand All @@ -186,7 +186,7 @@ async function cascadingScan(name, scanType, parameters = [], { nameCascade, mat
};

const { body } = await k8sCRDApi.createNamespacedCustomObject(
"execution.experimental.securecodebox.io",
"execution.securecodebox.io",
"v1",
namespace,
"scans",
Expand Down Expand Up @@ -222,7 +222,7 @@ async function cascadingScan(name, scanType, parameters = [], { nameCascade, mat
console.log("First Scan finished")

const { body: scans } = await k8sCRDApi.listNamespacedCustomObject(
"execution.experimental.securecodebox.io",
"execution.securecodebox.io",
"v1",
namespace,
"scans"
Expand Down