Skip to content

Commit 81da76c

Browse files
Merge pull request #25 from GeorgeDavis-Ibexlabs/dev
Merge from `dev` to `main` to incorporate `minor-fixes`
2 parents b431c78 + e211375 commit 81da76c

File tree

6 files changed

+24
-24
lines changed

6 files changed

+24
-24
lines changed

.github/workflows/build-ci.yml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ jobs:
2929
steps:
3030
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
3131
- name: Git Checkout
32-
uses: actions/checkout@v4.1.7
32+
uses: actions/checkout@v4.2.2
3333

3434
- name: Get changed files
3535
id: changed-files
36-
uses: tj-actions/changed-files@v44.5.7
36+
uses: tj-actions/changed-files@v46.0.5
3737
with:
3838
files_ignore: |
3939
.github/**
@@ -56,25 +56,25 @@ jobs:
5656
5757
- name: Set up Docker Buildx
5858
if: steps.changed-files.outputs.any_changed == 'true'
59-
uses: docker/setup-buildx-action@v3
59+
uses: docker/setup-buildx-action@v3.11.1
6060

6161
- name: Log in to Docker Hub
6262
if: steps.changed-files.outputs.any_changed == 'true'
63-
uses: docker/login-action@v3.3.0
63+
uses: docker/login-action@v3.4.0
6464
with:
6565
username: ${{ secrets.DOCKERHUB_USERNAME }}
6666
password: ${{ secrets.DOCKERHUB_TOKEN }}
6767

6868
- name: Extract metadata (tags, labels) for Docker
6969
if: steps.changed-files.outputs.any_changed == 'true'
7070
id: meta
71-
uses: docker/metadata-action@v5.5.1
71+
uses: docker/metadata-action@v5.7.0
7272
with:
7373
images: georgedavisibexlabs/publish-sarif-to-jira
7474

7575
- name: Build Docker image
7676
if: steps.changed-files.outputs.any_changed == 'true'
77-
uses: docker/build-push-action@v6.6.1
77+
uses: docker/build-push-action@v6.18.0
7878
with:
7979
context: .
8080
file: Dockerfile
@@ -85,32 +85,31 @@ jobs:
8585

8686
- name: Run Trivy in GitHub SBOM mode and submit results to Dependency Graph
8787
if: steps.changed-files.outputs.any_changed == 'true'
88-
uses: aquasecurity/trivy-action@0.24.0
88+
uses: aquasecurity/trivy-action@0.32.0
8989
with:
9090
scan-type: "fs"
9191
format: "github"
9292
output: "dependency-results.sbom.json"
93-
image-ref: "georgedavisibexlabs/publish-sarif-to-jira:main"
9493
github-pat: ${{ secrets.GITHUB_TOKEN }}
9594

9695
- name: Upload trivy SBOM as a Github artifact
9796
if: steps.changed-files.outputs.any_changed == 'true'
98-
uses: actions/upload-artifact@v4.3.6
97+
uses: actions/upload-artifact@v4.6.2
9998
with:
10099
name: trivy-sbom-report
101100
path: trivy-dependency-results.sbom.json
102101
retention-days: 30
103102

104103
- name: Run Trivy Image scanner
105-
uses: aquasecurity/trivy-action@0.24.0
104+
uses: aquasecurity/trivy-action@0.32.0
106105
with:
107106
scan-type: "image"
108107
image-ref: "georgedavisibexlabs/publish-sarif-to-jira:main"
109108
limit-severities-for-sarif: true
110109
trivy-config: .github/config/trivy-sarif.yaml
111110

112111
- name: Upload Trivy Image scan results
113-
uses: actions/upload-artifact@v4.3.6
112+
uses: actions/upload-artifact@v4.6.2
114113
with:
115114
name: trivy-image-scan-results
116115
path: trivy-image-scan-results.sarif

.github/workflows/docker-publish.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,25 +30,25 @@ jobs:
3030
runs-on: ubuntu-latest
3131
steps:
3232
- name: Check out the repo
33-
uses: actions/checkout@v4.1.7
33+
uses: actions/checkout@v4.2.2
3434

3535
- name: Set up Docker Buildx
36-
uses: docker/setup-buildx-action@v3
36+
uses: docker/setup-buildx-action@v3.11.1
3737

3838
- name: Log in to Docker Hub
39-
uses: docker/login-action@v3.3.0
39+
uses: docker/login-action@v3.4.0
4040
with:
4141
username: ${{ secrets.DOCKERHUB_USERNAME }}
4242
password: ${{ secrets.DOCKERHUB_TOKEN }}
4343

4444
- name: Extract metadata (tags, labels) for Docker
4545
id: meta
46-
uses: docker/metadata-action@v5.5.1
46+
uses: docker/metadata-action@v5.7.0
4747
with:
4848
images: georgedavisibexlabs/publish-sarif-to-jira
4949

5050
- name: Build and push Docker image
51-
uses: docker/build-push-action@v6.6.1
51+
uses: docker/build-push-action@v6.18.0
5252
with:
5353
context: .
5454
file: Dockerfile
@@ -58,7 +58,7 @@ jobs:
5858
labels: ${{ steps.meta.outputs.labels }}
5959

6060
- name: Update Docker Hub description
61-
uses: peter-evans/dockerhub-description@v4.0.0
61+
uses: peter-evans/dockerhub-description@v4.0.2
6262
with:
6363
username: ${{ secrets.DOCKERHUB_USERNAME }}
6464
password: ${{ secrets.DOCKERHUB_TOKEN }}
@@ -68,15 +68,15 @@ jobs:
6868
enable-url-completion: true
6969

7070
- name: Run Trivy Image scanner
71-
uses: aquasecurity/trivy-action@0.24.0
71+
uses: aquasecurity/trivy-action@0.32.0
7272
with:
7373
scan-type: 'image'
7474
image-ref: 'georgedavisibexlabs/publish-sarif-to-jira:main'
7575
limit-severities-for-sarif: true
7676
trivy-config: .github/config/trivy-sarif.yaml
7777

7878
- name: Upload Trivy Image scan results
79-
uses: actions/upload-artifact@v4.3.6
79+
uses: actions/upload-artifact@v4.6.2
8080
with:
8181
name: trivy-image-scan-results
8282
path: trivy-image-scan-results.sarif

DOCKER.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Project Status: **In Active Development**
5656

5757
```
5858
- name: Create JIRA tickets from SARIF
59-
uses: GeorgeDavis-Ibexlabs/publish-sarif-to-jira@v0.0.12
59+
uses: GeorgeDavis-Ibexlabs/publish-sarif-to-jira@v0.0.13
6060
```
6161
Refer to [Create JIRA tickets from SARIF using GitHub Actions](https://github.com/marketplace/actions/create-jira-tickets-from-sarif)
6262

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Project Status: **In Active Development**
5555

5656
```
5757
- name: Create JIRA tickets from SARIF
58-
uses: GeorgeDavis-Ibexlabs/publish-sarif-to-jira@v0.0.12
58+
uses: GeorgeDavis-Ibexlabs/publish-sarif-to-jira@v0.0.13
5959
```
6060
Refer to [Create JIRA tickets from SARIF using GitHub Actions](https://github.com/marketplace/actions/create-jira-tickets-from-sarif)
6161

config_handler/config_handler.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,8 @@ def load_config_env(self) -> dict:
146146
if environ['GITHUB_ACTIONS']:
147147
list_item = 'INPUT_' + list_item
148148

149-
self.logger.debug('Config `' + str(list_item) + '` within parent `' + str(parent_item) + '` - ' + str(environ[list_item.replace('.', '_').upper()]))
149+
self.logger.debug('Config `' + str(list_item) + '` within parent `' + str(parent_item))
150+
self.logger.debug('Config value - ' + str(environ[list_item.replace('.', '_').upper()]))
150151

151152
item_path = list_item.split('.')
152153
for item in reversed(item_path):

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ atlassian_doc_builder==0.4
22
jira==3.8.0
33
mergedeep==1.3.4
44
python_json_config==1.2.3
5-
setuptools==69.1.0
6-
sarif-tools==2.0.0
5+
setuptools==80.9.0
6+
sarif-tools==3.0.4

0 commit comments

Comments
 (0)