Skip to content

Commit

Permalink
feat:3.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
iamnasirudeen committed Oct 23, 2024
1 parent 3a16733 commit 4a1a27d
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
It takes 2min. Install, add, deploy.

Need Secret scanning in other places?

- [Securelog for your build and runtime logs](https://github.com/Onboardbase/securelog)
- [Securelog for your react server components](https://github.com/Onboardbase/securelog-rsc)

Expand Down Expand Up @@ -152,6 +153,12 @@ exclude:
sls scan --dir ./my-project --exclude dist,node_modules --config ./config.yml --commits 100
```

### You can also detect secrets in a string and mask it by default using the command below

```bash
sls scan --rawValue "raw secret values"
```

---

# Output
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "securelog-scan",
"version": "3.0.2",
"version": "3.0.3",
"description": "A CLI tool to scan codebases for potential secrets.",
"main": "dist/index.js",
"author": {
Expand Down
1 change: 0 additions & 1 deletion src/detectors/atlassian/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ const scan = async (
}
);

console.log(data);
result.verified = true;
} catch (error) {}
}
Expand Down
1 change: 0 additions & 1 deletion src/detectors/atlassian/v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ const scan = async (
}
);

console.log(data);
result.verified = true;
} catch (error) {}
}
Expand Down
2 changes: 1 addition & 1 deletion src/detectors/googleoauth2/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const scan = async (

if (verify) {
try {
const { data } = await axios.get(
await axios.get(
`https://www.googleapis.com/oauth2/v3/tokeninfo?access_token=${resMatch}`
);

Expand Down

0 comments on commit 4a1a27d

Please sign in to comment.