File tree Expand file tree Collapse file tree
examples/securecodebox.io/active Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ version: v3.1.0-alpha1
1212appVersion : " v2.7.0"
1313kubeVersion : " >=v1.11.0-0"
1414annotations :
15- # versionApi: https://api.github.com/repos/REPONAME/REPO /releases/latest
15+ versionApi : https://api.github.com/repos/projectdiscovery/subfinder /releases/latest
1616 # supported cpu architectures for which docker images for the scanner should be build, e.g. "linux/amd64,linux/arm64"
1717 supported-platforms : linux/amd64
1818keywords :
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ metadata:
99spec :
1010 scanType : " subfinder"
1111 parameters :
12- - " -active"
13- - " -ip"
12+ - " -active" # Active Scans resolve the identified subdomains and filter out inactive subdomains.
13+ - " -ip" # Only possible for active scans.
1414 - " -d"
1515 - " securecodebox.io"
Original file line number Diff line number Diff line change @@ -20,12 +20,10 @@ function transformToFindings(targets) {
2020 "osi_layer" : "NETWORK" ,
2121 "severity" : "INFORMATIONAL" ,
2222 "attributes" : {
23- "addresses" : {
24- "ip" : item ?. ip || null
25- } ,
2623 "domain" : item . input ,
2724 "hostname" : item . host ,
2825 "ip_address" : item ?. ip || null ,
26+ "ip_addresses" : [ item ?. ip || null ] . filter ( Boolean ) ,
2927 "source" : item . source ,
3028 }
3129 }
You can’t perform that action at this time.
0 commit comments