这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion terraform/aws/backup/function.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ function handler(event) {

//Secret key used to verify JWT token.
//Update with your own key.
var key = "LzdWGpAToQ1DqYuzHxE6YOqi7G3X2yvNBot9mCXfx5k";
var key = "dummy";

Check failure

Code scanning / CodeQL

Hard-coded credentials

The hard-coded value "dummy" is used as [key](1).

// If no JWT token, then generate HTTP redirect 401 response.
if(!request.querystring.jwt) {
Expand Down