Skip to content

Commit

Permalink
Added n0s1 Github Action
Browse files Browse the repository at this point in the history
  • Loading branch information
blupants committed Jun 24, 2024
1 parent cbb2585 commit 7126c7d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions .github/workflows/n0s1.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: "n0s1"

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
schedule:
- cron: '0 13 * * 1'

jobs:
jira_secret_scanning:
runs-on: [docker]
steps:
- uses: spark1security/n0s1-action@main
env:
JIRA_TOKEN: ${{ secrets.JIRA_API_TOKEN }}
with:
scan-target: 'jira_scan'
user-email: '[email protected]'
platform-url: 'https://spark1us.atlassian.net'
2 changes: 1 addition & 1 deletion src/n0s1/n0s1.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def init_argparse() -> argparse.ArgumentParser:
"--insecure",
dest="insecure",
action="store_true",
help="Insecure mode. Ignore SSL certificate verification.",
help="Insecure mode. Ignore SSL certificate verification",
)
subparsers = parser.add_subparsers(
help="Subcommands", dest="command", metavar="COMMAND"
Expand Down

0 comments on commit 7126c7d

Please sign in to comment.