-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Ability to set `maxConcurrency` to slow down scan rate to mitigate sites with Web Application Firewall (WAF) throttling requests * Omit scanning pages that returns non `200` status code * Omit axe reported false-positive and needs review accessibility findings to simplify triage * Omit scanning URLs that render as page when the URL ends with known file extension * Ability to load URL containing GET request parameters / form response as the starting page * Update dependencies --------- Co-authored-by: Georgetxm Co-authored-by: magdeline Co-authored-by: greyguy21
- Loading branch information
Showing
14 changed files
with
127 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -78,15 +78,22 @@ export const cliOptions = { | |
alias: 'customFlowLabel', | ||
describe: 'Give Custom Flow Scan a label for easier reference in the report', | ||
type: 'string', | ||
requiresArg: true, | ||
demandOption: false | ||
requiresArg: true, | ||
demandOption: false, | ||
}, | ||
k: { | ||
alias: 'nameEmail', | ||
describe: `To personalise your experience, we will be collecting your name, email address and app usage data. Your information fully complies with GovTech’s Privacy Policy. Please provice your name and email address in this format "John Doe:[email protected]".`, | ||
type: 'string', | ||
demandOption: true, | ||
}, | ||
t: { | ||
alias: 'specifiedMaxConcurrency', | ||
describe: | ||
'Maximum number of pages to scan concurrently. Use for sites with throttling. Defaults to 25.', | ||
type: 'number', | ||
demandOption: false, | ||
}, | ||
}; | ||
|
||
export const configureReportSetting = isEnabled => { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.