SafeSCARF Nmap
What is the Nmap (Infrastructure security scanner)
Nmap means network mapper, which is used to discover the host and service on the computer network by sending packets and analyzing the responses.
It includes host discovery and service and operation system detection.
Some basic use-cases
Snippets for Nmap
Don’t forget to read as well general instructions. This snippet uses the variable TARGET
which refers to the hostname which we would like to scan by NMAP.
--- scan_nmap: stage: test image: registry.safescarf.pan-net.cloud/nmap:latest variables: TARGET: "vulnerable.host.foo.bar" SAFESCARF_HOST: "customer.safescarf.pan-net.cloud" SAFESCARF_ENG_ID: "xx" script: - nmap -Pn -T4 -A -oX /tmp/report.xml $TARGET || true - ci-connector upload-scan --scanner "Nmap Scan" -e $SAFESCARF_ENG_ID -f /tmp/report.xml