Skip to content

Commit

Permalink
Added support to Slack secret scanning.
Browse files Browse the repository at this point in the history
  • Loading branch information
blupants committed Jul 14, 2024
1 parent 65823d6 commit abf6271
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/n0s1/controllers/slack_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def is_connected(self):
if user := self._client.auth_test():
self.log_message(f"Logged to Slack as {user}")
else:
self.log_message(f"Unable to connect to Slack instance. Check your credentials.", logging.ERROR)
self.log_message(f"Unable to connect to Slack. Check your credentials.", logging.ERROR)
return False
return True

Expand Down
2 changes: 1 addition & 1 deletion src/n0s1/n0s1.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def init_argparse() -> argparse.ArgumentParser:
dest="api_key",
nargs="?",
type=str,
help="Slack token with search:read access. Ref: https://api.slack.com/tutorials/tracks/getting-a-token"
help="Slack token with OAuth scope: search:read, users:read, chat:write. Ref: https://api.slack.com/tutorials/tracks/getting-a-token"
)

asana_scan_parser = subparsers.add_parser(
Expand Down

0 comments on commit abf6271

Please sign in to comment.