From 06773ce695fff5e97e462227409e0627bd7cafab Mon Sep 17 00:00:00 2001 From: blupants Date: Mon, 14 Oct 2024 00:52:07 -0500 Subject: [PATCH] Changed Jira and Confluence scans to also create DLP Jira tickets with the findings --- .github/workflows/confluence.yml | 8 ++++++++ .github/workflows/jira.yml | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/.github/workflows/confluence.yml b/.github/workflows/confluence.yml index 0cda229..a8c5fee 100644 --- a/.github/workflows/confluence.yml +++ b/.github/workflows/confluence.yml @@ -20,6 +20,14 @@ jobs: platform-url: 'https://spark1us.atlassian.net' report-format: "sarif" report-file: "confluence_secret_report.sarif" + - name: Create JIRA tickets for n0s1 findings + uses: GeorgeDavis-Ibexlabs/publish-sarif-to-jira@v0.0.13 + with: + jira_cloud_url: "https://spark1us.atlassian.net" + jira_auth_email: "spark1tester@gmail.com" + jira_project_key: "DLP" + jira_api_token: ${{ secrets.JIRA_TOKEN }} + jira_default_issue_labels: "n0s1,credential-leak" - name: Display SARIF result run: | cat confluence_secret_report.sarif | jq | head -n 20 diff --git a/.github/workflows/jira.yml b/.github/workflows/jira.yml index 8b097f6..cef7c25 100644 --- a/.github/workflows/jira.yml +++ b/.github/workflows/jira.yml @@ -20,6 +20,14 @@ jobs: platform-url: 'https://spark1us.atlassian.net' report-format: "sarif" report-file: "jira_secret_report.sarif" + - name: Create JIRA tickets for n0s1 findings + uses: GeorgeDavis-Ibexlabs/publish-sarif-to-jira@v0.0.13 + with: + jira_cloud_url: "https://spark1us.atlassian.net" + jira_auth_email: "spark1tester@gmail.com" + jira_project_key: "DLP" + jira_api_token: ${{ secrets.JIRA_TOKEN }} + jira_default_issue_labels: "n0s1,credential-leak" - name: Display SARIF result run: | cat jira_secret_report.sarif | jq | head -n 20