From 7126c7d8603b015cd1d8c924b63e3d0ef45e3116 Mon Sep 17 00:00:00 2001 From: blupants Date: Sun, 23 Jun 2024 23:38:01 -0500 Subject: [PATCH] Added n0s1 Github Action --- .github/workflows/n0s1.yml | 21 +++++++++++++++++++++ src/n0s1/n0s1.py | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/n0s1.yml diff --git a/.github/workflows/n0s1.yml b/.github/workflows/n0s1.yml new file mode 100644 index 0000000..5ec9ef5 --- /dev/null +++ b/.github/workflows/n0s1.yml @@ -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: 'marcelo@spark1.us' + platform-url: 'https://spark1us.atlassian.net' \ No newline at end of file diff --git a/src/n0s1/n0s1.py b/src/n0s1/n0s1.py index f7d43de..7d91944 100755 --- a/src/n0s1/n0s1.py +++ b/src/n0s1/n0s1.py @@ -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"