Skip to content

Commit 2880814

Browse files
authored
update GitHub Security Alerts for JIRA workflow (#103)
* update GitHub Security Alerts for JIRA workflow * Update the workflow versions
1 parent 71451b5 commit 2880814

10 files changed

+23
-21
lines changed

.github/workflows/aqua-security.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ jobs:
101101
contents: read
102102
steps:
103103
- name: Checkout code
104-
uses: actions/checkout@v3
104+
uses: actions/checkout@v4
105105

106106
- name: Set Variable
107107
id: set-vars
@@ -116,7 +116,7 @@ jobs:
116116
shell: bash
117117

118118
- name: Configure aws credentials
119-
uses: aws-actions/configure-aws-credentials@v2
119+
uses: aws-actions/configure-aws-credentials@v4
120120
with:
121121
role-skip-session-tagging: true
122122
role-to-assume: ${{ inputs.aws_iam_role_arn }}
@@ -133,7 +133,7 @@ jobs:
133133
if: ${{ (inputs.docker_tag_name =='') && (inputs.ecr_image_name !='') && (inputs.aws_account_id != '') }}
134134

135135
- name: Docker Build and Push
136-
uses: docker/build-push-action@v2
136+
uses: docker/build-push-action@v6
137137
with:
138138
context: ${{ inputs.docker_file_context }}
139139
file: ${{ inputs.docker_file }}

.github/workflows/fortify-android.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
steps:
5353
# Check out source code
5454
- name: Check Out Source Code
55-
uses: actions/checkout@v3
55+
uses: actions/checkout@v4
5656
with:
5757
# Fetch at least the immediate parents so that if this is a pull request then we can checkout the head.
5858
fetch-depth: 2
@@ -111,7 +111,7 @@ jobs:
111111

112112
### Clean up of build folder
113113
- name: Save sourceanalyzer Logs
114-
uses: actions/upload-artifact@v2
114+
uses: actions/upload-artifact@v4
115115
if: failure()
116116
with:
117117
name: scancentral-logs

.github/workflows/fortify-sarif-export.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,14 @@ jobs:
4141
steps:
4242
# Check out source code
4343
- name: Check Out Source Code
44-
uses: actions/checkout@v3
44+
uses: actions/checkout@v4
4545
with:
4646
# Fetch at least the immediate parents so that if this is a pull request then we can checkout the head.
4747
fetch-depth: 2
4848
- name: Setup Java
49-
uses: actions/setup-java@v1
49+
uses: actions/setup-java@v4
5050
with:
51+
distribution: zulu
5152
java-version: 11
5253
# Pull SAST issues from Fortify on Demand and generate GitHub-optimized SARIF output
5354
- name: Export Results

.github/workflows/fortify.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
steps:
5555
# Check out source code
5656
- name: Check Out Source Code
57-
uses: actions/checkout@v3
57+
uses: actions/checkout@v4
5858
with:
5959
# Fetch at least the immediate parents so that if this is a pull request then we can checkout the head.
6060
fetch-depth: 2
@@ -66,8 +66,9 @@ jobs:
6666
# Java version to use depends on the Java version required to run your build (if any),
6767
# and the Java version supported by the ScanCentral Client version that you are running
6868
- name: Setup Java
69-
uses: actions/setup-java@v1
69+
uses: actions/setup-java@v4
7070
with:
71+
distribution: zulu
7172
java-version: 11
7273

7374
### Set up Fortify ScanCentral Client ###
@@ -93,7 +94,7 @@ jobs:
9394

9495
### Archive ScanCentral Client logs on failure ###
9596
- name: Save ScanCentral Logs
96-
uses: actions/upload-artifact@v2
97+
uses: actions/upload-artifact@v4
9798
if: failure()
9899
with:
99100
name: scancentral-logs

.github/workflows/github-security-alerts-jira.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
- ${{ inputs.runner_label }}
5252
steps:
5353
- name: "Sync Security Alerts to JIRA Issues"
54-
uses: reload/github-security-jira@v1.3.1
54+
uses: reload/github-security-jira@v1.5.0
5555
env:
5656
GH_SECURITY_TOKEN: ${{ secrets.ORG_GITHUB_TOKEN }}
5757
JIRA_TOKEN: ${{ secrets.JIRA_TOKEN }}

.github/workflows/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
actionlint:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v4
1313
- uses: reviewdog/action-actionlint@v1
1414
if: github.event_name == 'pull_request'
1515
- name: Check workflow files

.github/workflows/package-creation-ecr.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ jobs:
4646

4747
steps:
4848
- name: Checkout repository
49-
uses: actions/checkout@v3
49+
uses: actions/checkout@v4
5050

5151
- name: configure aws credentials
52-
uses: aws-actions/configure-aws-credentials@v1
52+
uses: aws-actions/configure-aws-credentials@v4
5353
with:
5454
role-skip-session-tagging: true
5555
role-to-assume: ${{ inputs.iam_role_arn }}
@@ -69,7 +69,7 @@ jobs:
6969
uses: docker/setup-buildx-action@v2
7070

7171
- name: Build and push Docker mutable image
72-
uses: docker/build-push-action@v3
72+
uses: docker/build-push-action@v6
7373
env:
7474
REGISTRY: ${{ steps.login-ecr.outputs.registry }}
7575
REPOSITORY: ${{ inputs.ecr_repository }}
@@ -82,7 +82,7 @@ jobs:
8282
if: inputs.tag_mutability
8383

8484
- name: Build and push Docker immutable image
85-
uses: docker/build-push-action@v3
85+
uses: docker/build-push-action@v6
8686
env:
8787
REGISTRY: ${{ steps.login-ecr.outputs.registry }}
8888
REPOSITORY: ${{ inputs.ecr_repository }}

.github/workflows/postman-integration-testing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
node-version: [18.x]
4343
steps:
4444
- name: Checkout newshub-postman collection
45-
uses: actions/checkout@v3
45+
uses: actions/checkout@v4
4646
with:
4747
repository: ${{inputs.repository_name}}
4848
ref: ${{inputs.repository_branch}} # main branch uses the github.ref_name

.github/workflows/prisma.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545

4646
steps:
4747
- name: Check out the repository
48-
uses: actions/checkout@v3
48+
uses: actions/checkout@v4
4949

5050
- name: Setup image tag
5151
run: |
@@ -60,7 +60,7 @@ jobs:
6060
uses: docker/setup-buildx-action@v2
6161

6262
- name: Build the image
63-
uses: docker/build-push-action@v3
63+
uses: docker/build-push-action@v6
6464
with:
6565
push: false
6666
load: true
@@ -72,7 +72,7 @@ jobs:
7272
if: inputs.action_cache != true
7373

7474
- name: Build the image with cache
75-
uses: docker/build-push-action@v3
75+
uses: docker/build-push-action@v6
7676
with:
7777
push: false
7878
load: true

.github/workflows/sonarqube.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- ${{ inputs.default_runner_override_label }}
2727
- ${{ inputs.runner_label }}
2828
steps:
29-
- uses: actions/checkout@v2
29+
- uses: actions/checkout@v4
3030
with:
3131
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
3232
- uses: sonarsource/sonarqube-scan-action@master

0 commit comments

Comments
 (0)