aquasecurity / aquasecurity/cloudsploit
请求帮助 aws china error
- Dominant language
- JavaScript
- Stars
- 3.8k
- Forks
- 751
- Avg merge
- 11d 9h
- Merged PRs (30d)
- 3
Description
我执行 ./index.js --config /home/aqua-cloudsploit/2.0/cloudsploit-2.0.0/config.js --china
报错:
_____ _ _ _____ _ _ _
/ ____| | | |/ ____| | | (_) |
| | | | ___ _ _ __| | (___ _ __ | | ___ _| |_
| | | |/ _ \| | | |/ _` |\___ \| '_ \| |/ _ \| | __|
| |____| | (_) | |_| | (_| |____) | |_) | | (_) | | |_
\_____|_|\___/ \__,_|\__,_|_____/| .__/|_|\___/|_|\__|
| |
|_|
CloudSploit by Aqua Security, Ltd.
Cloud security auditing for AWS, Azure, GCP, Oracle, and GitHub
INFO: Using CloudSploit config file: /home/aqua-cloudsploit/2.0/cloudsploit-2.0.0/config.js
INFO: Using AWS China mode
INFO: Skipping AWS pagination mode
INFO: Testing plugin: ACM Certificate Validation
INFO: Determining API calls to make...
INFO: Found 2 API calls to make for aws plugins
INFO: Collecting metadata. This may take several minutes...
INFO: Metadata collection complete. Analyzing...
INFO: Analysis complete. Scan report to follow...
/home/aqua-cloudsploit/2.0/cloudsploit-2.0.0/node_modules/tty-table/src/format.js:172
+ Array(padBoth + 1 + padRemainder).join(" ")
^
RangeError: Invalid array length
at /home/aqua-cloudsploit/2.0/cloudsploit-2.0.0/node_modules/tty-table/src/format.js:172:15
at Array.map ()
at Object.module.exports.wrapCellText (/home/aqua-cloudsploit/2.0/cloudsploit-2.0.0/node_modules/tty-table/src/format.js:156:35)
at Object.module.exports.buildCell (/home/aqua-cloudsploit/2.0/cloudsploit-2.0.0/node_modules/tty-table/src/render.js:287:39)
at /home/aqua-cloudsploit/2.0/cloudsploit-2.0.0/node_modules/tty-table/src/render.js:171:26
at Array.map ()
at Object.module.exports.buildRow (/home/aqua-cloudsploit/2.0/cloudsploit-2.0.0/node_modules/tty-table/src/render.js:170:13)
at /home/aqua-cloudsploit/2.0/cloudsploit-2.0.0/node_modules/tty-table/src/render.js:47:24
at Array.map ()
at Object.module.exports.stringifyData (/home/aqua-cloudsploit/2.0/cloudsploit-2.0.0/node_modules/tty-table/src/render.js:46:45)
请求帮助
Contributor guide
Research direction
Reproduce the reported command with --china and the referenced config.js, then inspect node_modules/tty-table/src/format.js around line 172 and its callers in render.js. Done means the AWS China scan completes without the RangeError and the scan report renders.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, javascript
- Domain
- cli, cloud
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100