Skip to content

Commit

Permalink
chore: Ignore NowSecure cert (#141)
Browse files Browse the repository at this point in the history
As per title.

Contributes to: #140

Signed-off-by: Stelios Gkiokas <s_giokas@hotmail.com>
  • Loading branch information
sgkiokas committed Oct 5, 2021
1 parent be99a34 commit 08d6f0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers/report.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const getAssessments = async (platforms, extractReport) => {
};

const generateReport = (platform, assessmentReference) => {
utils.shellExec(`curl -o ${platform}.pdf -H 'Authorization: Bearer ${NOWSECURE.ACCESS_TOKEN}' 'https://lab-api.nowsecure.com/assessment/${assessmentReference}/report.pdf'`);
utils.shellExec(`curl -k -o ${platform}.pdf -H 'Authorization: Bearer ${NOWSECURE.ACCESS_TOKEN}' 'https://lab-api.nowsecure.com/assessment/${assessmentReference}/report.pdf'`);
};

module.exports = { getAssessments, generateReport };

0 comments on commit 08d6f0d

Please sign in to comment.