Sync Security Hub findings and Jira issues #52
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Sync Security Hub findings and Jira issues | |
on: | |
push: # testing | |
workflow_dispatch: # for testing and manual runs | |
permissions: | |
id-token: write | |
jobs: | |
sync: | |
strategy: | |
max-parallel: 1 | |
matrix: | |
environment: ["prod"] #required if env secrets contain same name but in different env | |
fail-fast: false | |
environment: | |
name: ${{ matrix.environment }} | |
name: Run sync | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Check out repo | |
uses: actions/checkout@v3 | |
- name: Configure AWS credentials | |
uses: aws-actions/configure-aws-credentials@v2 | |
with: | |
aws-region: us-east- | |
role-to-assume: ${{ secrets.TEXT }} |