-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
20 additions
and
12 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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# retire-scanner | ||
# retire-site-scanner | ||
|
||
Scans a URL and looks for JavaScript libraries with known vulnerabilities using retire.js. Can also produce a partial SBOM for the site. | ||
|
||
|
@@ -22,15 +22,15 @@ npm run start -- <url> [-v] [--sbom] | |
``` | ||
git clone [email protected]:RetireJS/retire-scanner.git | ||
cd retire-scanner | ||
docker build -t retire-scanner . | ||
docker build -t retire-site-scanner . | ||
``` | ||
**Scanning** | ||
``` | ||
docker run --rm retire-scanner [-v] [--sbom] | ||
docker run --rm retire-site-scanner [-v] [--sbom] | ||
``` | ||
|
||
## SBOM support | ||
|
||
`retire-scanner` can generate a partial SBOM in the CycloneDX v1.4 format. This cannot be considered a complete SBOM for the web site, as it cannot necessarily detect all technologies in use, but can be used as a partial SBOM listing libraries and services. | ||
`retire-site-scanner` can generate a partial SBOM in the CycloneDX v1.4 format. This cannot be considered a complete SBOM for the web site, as it cannot necessarily detect all technologies in use, but can be used as a partial SBOM listing libraries and services. | ||
|
||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,10 +1,14 @@ | ||
{ | ||
"author": "Erlend Oftedal <[email protected]>", | ||
"name": "retire-scanner", | ||
"version": "1.0.2", | ||
"name": "retire-site-scanner", | ||
"version": "1.0.3", | ||
"license": "Apache-2.0", | ||
"description": "A scanner for checking a web site using retire.js", | ||
"main": "dist/index.js", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/RetireJS/retire-scanner.git" | ||
}, | ||
"bin": { | ||
"retire-scanner": "dist/index.js" | ||
}, | ||
|