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

Commit 406fa54

Browse files
sebiesebie
authored andcommitted
ncrack Integration Test Fix
1 parent f8e1f1b commit 406fa54

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

scanners/ncrack/scanner/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ RUN apt-get update \
44
&& apt-get install ncrack=0.7+debian-1build1 -y \
55
&& rm -rf /var/lib/apt/lists/*
66

7-
ENTRYPOINT [ "ncrack" ]
7+
CMD [ "ncrack" ]

tests/integration/helpers.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ async function logJobs() {
5454
* @param {string} scanType type of the scan. Must match the name of a ScanType CRD
5555
* @param {string[]} parameters cli argument to be passed to the scanner
5656
* @param {number} timeout in seconds
57+
* @returns {scan.findings} returns findings { categories, severities, count }
5758
*/
5859
async function scan(name, scanType, parameters = [], timeout = 180) {
5960
const scanDefinition = {

0 commit comments

Comments
 (0)