File tree Expand file tree Collapse file tree
scanners/git-repo-scanner Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -421,7 +421,7 @@ jobs:
421421 - amass
422422 - cmseek
423423 - ffuf
424- # - git-repo-scanner
424+ - git-repo-scanner
425425 # - gitleaks
426426 # - kube-hunter
427427 # - ncrack
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ appVersion: "1.1"
1313kubeVersion : " >=v1.11.0-0"
1414annotations :
1515 # supported cpu architectures for which docker images for the scanner should be build
16- supported-platforms : linux/amd64
16+ supported-platforms : linux/amd64,linux/arm64
1717
1818keywords :
1919 - git
Original file line number Diff line number Diff line change 22//
33// SPDX-License-Identifier: Apache-2.0
44
5- const { scan } = require ( "../../../tests/integration/helpers.js" ) ;
6-
7- jest . retryTimes ( 3 ) ;
5+ import { scan } from "../../../tests/integration/helpers.js" ;
86
97test (
108 "gitleaks should find at least 1 repository in the GitHub secureCodeBox organisation" ,
2018 // There must be >= 28 Repositories found in the GitHub secureCodeBox organisation.
2119 expect ( count ) . toBeGreaterThanOrEqual ( 28 ) ;
2220 } ,
23- 3 * 60 * 1000 ,
21+ {
22+ timeout : 3 * 60 * 1000 ,
23+ } ,
2424) ;
Original file line number Diff line number Diff line change 22//
33// SPDX-License-Identifier: Apache-2.0
44
5- async function parse ( fileContent ) {
5+ export async function parse ( fileContent ) {
66 return fileContent ;
77}
8-
9- module . exports . parse = parse ;
Original file line number Diff line number Diff line change 22//
33// SPDX-License-Identifier: Apache-2.0
44
5- const { readFile } = require ( "fs/promises" ) ;
6- const {
7- validateParser,
8- } = require ( "@securecodebox/parser-sdk-nodejs/parser-utils" ) ;
5+ import { readFile } from "fs/promises" ;
6+ import { validateParser } from "@securecodebox/parser-sdk-nodejs/parser-utils" ;
97
10- const { parse } = require ( "./parser" ) ;
8+ import { parse } from "./parser" ;
119
1210test ( "should properly parse empty json file" , async ( ) => {
1311 const fileContent = await readFile (
You can’t perform that action at this time.
0 commit comments