generated from nhcarrigan/template
Compare commits
2 Commits
56437eb3cd
...
cf4cede4aa
Author | SHA1 | Date | |
---|---|---|---|
cf4cede4aa | |||
a513566f13 |
3
scan.sh
3
scan.sh
@ -19,6 +19,7 @@ repositories=("typescript-config" "boost-monitor" "tingle-bot" "rig-task-bot" "b
|
||||
repositories=($(echo "${repositories[@]}" | tr ' ' '\n' | sort -u | tr '\n' ' '));
|
||||
html=();
|
||||
current_dir=$(pwd);
|
||||
date=$(date);
|
||||
|
||||
for directory in "${repositories[@]}"; do
|
||||
echo "Scanning $directory";
|
||||
@ -88,4 +89,4 @@ done;
|
||||
|
||||
rm -rf $current_dir/_repos;
|
||||
|
||||
echo "<!DOCTYPE html><html><head><title>Security Audits</title><meta charset=\"utf-8\" /><meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" /><meta name=\"description\" content=\"A collection of the various reporting tools we run against our repositories.\" /><script src=\"https://cdn.nhcarrigan.com/headers/index.js\" async defer></script></head><body><main><h1>Security Audits</h1><section><p>A collection of the various reporting tools we run against our repositories.</p><p>Contributions to resolve a reported issue are welcomed!</p><p>Updated: ${date}</section><section>${html[*]}</section></main></body></html>" > ./index.html;
|
||||
echo "<!DOCTYPE html><html><head><title>Security Audits</title><meta charset=\"utf-8\" /><meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" /><meta name=\"description\" content=\"A collection of the various reporting tools we run against our repositories.\" /><script src=\"https://cdn.nhcarrigan.com/headers/index.js\" async defer></script></head><body><main><h1>Security Audits</h1><section><p>A collection of the various reporting tools we run against our repositories.</p><p>Contributions to resolve a reported issue are welcomed!</p><p>Updated: ${date}</p></section><section>${html[*]}</section></main></body></html>" > ./index.html;
|
||||
|
Loading…
x
Reference in New Issue
Block a user