Skip to content

Commit

Permalink
Added confluence.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
blupants committed Jul 27, 2024
1 parent 2c92db8 commit ca55192
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/confluence.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: "Confluence Secret Scan"

on:
schedule:
- cron: '0 13 * * 1'
workflow_dispatch:

jobs:
confluence_secret_scanning:
permissions: write-all
runs-on: [ubuntu-latest]
steps:
- name: Scan Confluence with n0s1-action
uses: spark1security/n0s1-action@main
env:
JIRA_TOKEN: ${{ secrets.JIRA_TOKEN }}
with:
scan-target: 'confluence_scan'
user-email: '[email protected]'
platform-url: 'https://spark1us.atlassian.net'
report-format: "sarif"
report-file: "confluence_secret_report.sarif"
- name: Display SARIF result
run: |
cat confluence_secret_report.sarif | jq | head -n 20
cat confluence_secret_report.sarif | jq | tail -n 20
- name: Upload scan report to GitHub Security tab
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: "confluence_secret_report.sarif"
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ Secret leaks are reported to the [GitHub Security tab](https://github.com/spark1
## Scheduled Scans
* Linear: [Action status](https://github.com/spark1security/n0s1-scheduled-scans/actions/workflows/linear.yml) / [linear.yml](https://github.com/spark1security/n0s1-scheduled-scans/blob/main/.github/workflows/linear.yml)
* Jira: [Action status](https://github.com/spark1security/n0s1-scheduled-scans/actions/workflows/jira.yml) / [jira.yml](https://github.com/spark1security/n0s1-scheduled-scans/blob/main/.github/workflows/jira.yml)
* Confluence: [Action status](https://github.com/spark1security/n0s1-scheduled-scans/actions/workflows/confluence.yml) / [confluence.yml](https://github.com/spark1security/n0s1-scheduled-scans/blob/main/.github/workflows/confluence.yml)

0 comments on commit ca55192

Please sign in to comment.