Skip to content

Commit eac1023

Browse files
committed
Merged main
2 parents d5b110b + 379513c commit eac1023

9 files changed

+47
-9
lines changed

.github/workflows/publish-all-operators.yaml

+8-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ on:
1010
- Major
1111
- Minor
1212
- Patch
13+
vulnerability_severity:
14+
description: The severity to fail the workflow if such vulnerability is detected. DO NOT override it unless a Jira ticket is raised. Must be one of ['CRITICAL', 'CRITICAL,HIGH' or 'CRITICAL,HIGH,MEDIUM'] (without space in between).
15+
type: string
16+
default: 'CRITICAL,HIGH'
1317

1418
jobs:
1519
start:
@@ -70,6 +74,7 @@ jobs:
7074
with:
7175
release_type: ${{ inputs.release_type }}
7276
version_number_input: ${{ needs.start.outputs.new_version }}
77+
vulnerability_severity: ${{ inputs.vulnerability_severity }}
7378
secrets: inherit
7479

7580
buildGCP:
@@ -79,6 +84,7 @@ jobs:
7984
with:
8085
release_type: ${{ inputs.release_type }}
8186
version_number_input: ${{ needs.start.outputs.new_version }}
87+
vulnerability_severity: ${{ inputs.vulnerability_severity }}
8288
secrets: inherit
8389

8490
buildAzure:
@@ -88,6 +94,7 @@ jobs:
8894
with:
8995
release_type: ${{ inputs.release_type }}
9096
version_number_input: ${{ needs.start.outputs.new_version }}
97+
vulnerability_severity: ${{ inputs.vulnerability_severity }}
9198
secrets: inherit
9299

93100
collectAllArtifacts:
@@ -114,7 +121,7 @@ jobs:
114121
path: ./artifacts/azure_cc_operator
115122

116123
- name: Delete staging artifacts
117-
uses: geekyeggo/delete-artifact@v2
124+
uses: geekyeggo/delete-artifact@v4
118125
with:
119126
name: |
120127
image-details

.github/workflows/publish-azure-cc-enclave-docker.yaml

+11-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ on:
1515
description: If set, the version number will not be incremented and the given number will be used.
1616
type: string
1717
default: ''
18+
vulnerability_severity:
19+
description: The severity to fail the workflow if such vulnerability is detected. DO NOT override it unless a Jira ticket is raised. Must be one of ['CRITICAL', 'CRITICAL,HIGH' or 'CRITICAL,HIGH,MEDIUM'] (without space in between).
20+
type: string
21+
default: 'CRITICAL,HIGH'
22+
1823
workflow_call:
1924
inputs:
2025
release_type:
@@ -25,6 +30,10 @@ on:
2530
description: If set, the version number will not be incremented and the given number will be used.
2631
type: string
2732
default: ''
33+
vulnerability_severity:
34+
description: The severity to fail the workflow if such vulnerability is detected. DO NOT override it unless a Jira ticket is raised. Must be one of ['CRITICAL', 'CRITICAL,HIGH' or 'CRITICAL,HIGH,MEDIUM'] (without space in between).
35+
type: string
36+
default: 'CRITICAL,HIGH'
2837

2938
outputs:
3039
image_tag:
@@ -48,6 +57,7 @@ jobs:
4857
security-events: write
4958
packages: write
5059
id-token: write
60+
pull-requests: write
5161
outputs:
5262
jar_version: ${{ steps.version.outputs.new_version }}
5363
image_tag: ${{ steps.updatePom.outputs.image_tag }}
@@ -181,7 +191,7 @@ jobs:
181191
format: 'table'
182192
exit-code: '1'
183193
ignore-unfixed: true
184-
severity: 'CRITICAL'
194+
severity: ${{ inputs.vulnerability_severity }}
185195
hide-progress: true
186196

187197
- name: Push to Docker

.github/workflows/publish-gcp-oidc-enclave-docker.yaml

+10-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ on:
1515
description: If set, the version number will not be incremented and the given number will be used.
1616
type: string
1717
default: ''
18+
vulnerability_severity:
19+
description: The severity to fail the workflow if such vulnerability is detected. DO NOT override it unless a Jira ticket is raised. Must be one of ['CRITICAL', 'CRITICAL,HIGH' or 'CRITICAL,HIGH,MEDIUM'] (without space in between).
20+
type: string
21+
default: 'CRITICAL,HIGH'
1822
workflow_call:
1923
inputs:
2024
release_type:
@@ -25,6 +29,10 @@ on:
2529
description: If set, the version number will not be incremented and the given number will be used.
2630
type: string
2731
default: ''
32+
vulnerability_severity:
33+
description: The severity to fail the workflow if such vulnerability is detected. DO NOT override it unless a Jira ticket is raised. Must be one of ['CRITICAL', 'CRITICAL,HIGH' or 'CRITICAL,HIGH,MEDIUM'] (without space in between).
34+
type: string
35+
default: 'CRITICAL,HIGH'
2836

2937
outputs:
3038
image_tag:
@@ -50,6 +58,7 @@ jobs:
5058
security-events: write
5159
packages: write
5260
id-token: write
61+
pull-requests: write
5362
outputs:
5463
jar_version: ${{ steps.version.outputs.new_version }}
5564
image_tag: ${{ steps.updatePom.outputs.image_tag }}
@@ -217,7 +226,7 @@ jobs:
217226
format: 'table'
218227
exit-code: '1'
219228
ignore-unfixed: true
220-
severity: 'CRITICAL'
229+
severity: ${{ inputs.vulnerability_severity }}
221230
hide-progress: true
222231

223232
- name: Push to Docker

.github/workflows/publish-public-operator-docker-image.yaml

+10-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ on:
1515
description: If set, the version number will not be incremented and the given number will be used.
1616
type: string
1717
default: ''
18+
vulnerability_severity:
19+
description: The severity to fail the workflow if such vulnerability is detected. DO NOT override it unless a Jira ticket is raised. Must be one of ['CRITICAL', 'CRITICAL,HIGH' or 'CRITICAL,HIGH,MEDIUM'] (without space in between).
20+
type: string
21+
default: 'CRITICAL,HIGH'
1822

1923
workflow_call:
2024
inputs:
@@ -26,6 +30,10 @@ on:
2630
description: If set, the version number will not be incremented and the given number will be used.
2731
type: string
2832
default: ''
33+
vulnerability_severity:
34+
description: The severity to fail the workflow if such vulnerability is detected. DO NOT override it unless a Jira ticket is raised. Must be one of ['CRITICAL', 'CRITICAL,HIGH' or 'CRITICAL,HIGH,MEDIUM'] (without space in between).
35+
type: string
36+
default: 'CRITICAL,HIGH'
2937

3038
outputs:
3139
image_tag:
@@ -35,12 +43,13 @@ on:
3543
jobs:
3644
image:
3745
name: Image
38-
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-publish-docker-versioned.yaml@v2
46+
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-publish-java-to-docker-versioned.yaml@v2
3947
with:
4048
release_type: ${{ inputs.release_type }}
4149
version_number_input: ${{ inputs.version_number_input }}
4250
cloud_provider: 'default'
4351
force_release: 'no' # Do not create a release for the component builds, will be created by the parent
52+
vulnerability_severity: ${{ inputs.vulnerability_severity }}
4453
secrets: inherit
4554

4655
e2e:

.trivyignore

+3
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@
33
# for more details
44
# e.g.
55
# CVE-2022-3996
6+
7+
# https://atlassian.thetradedesk.com/jira/browse/UID2-2927
8+
CVE-2023-52425

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM eclipse-temurin@sha256:de8e6219ff5360811a453a9237713679a9d9106ba5150290ef37fb23e246ce7d
1+
FROM eclipse-temurin@sha256:d7a82981336958683f147f17396fe2219cb1072a5853e8a8ef16d07f0535343a
22

33
WORKDIR /app
44
EXPOSE 8080

pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66

77
<groupId>com.uid2</groupId>
88
<artifactId>uid2-operator</artifactId>
9-
<version>5.27.36-96319170ee</version>
9+
<version>5.27.44-51b2f952f3</version>
1010

1111
<properties>
1212
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
13-
<vertx.version>4.3.8</vertx.version>
13+
<vertx.version>4.5.3</vertx.version>
1414
<vertx-maven-plugin.version>1.0.22</vertx-maven-plugin.version>
1515
<junit-jupiter.version>5.7.2</junit-jupiter.version>
1616
<junit-vintage.version>5.7.2</junit-vintage.version>

scripts/azure-cc/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM eclipse-temurin@sha256:de8e6219ff5360811a453a9237713679a9d9106ba5150290ef37fb23e246ce7d
1+
FROM eclipse-temurin@sha256:d7a82981336958683f147f17396fe2219cb1072a5853e8a8ef16d07f0535343a
22

33
# Install Packages
44
RUN apk update && apk add jq

scripts/gcp-oidc/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM eclipse-temurin@sha256:de8e6219ff5360811a453a9237713679a9d9106ba5150290ef37fb23e246ce7d
1+
FROM eclipse-temurin@sha256:d7a82981336958683f147f17396fe2219cb1072a5853e8a8ef16d07f0535343a
22

33
LABEL "tee.launch_policy.allow_env_override"="API_TOKEN_SECRET_NAME,DEPLOYMENT_ENVIRONMENT,CORE_BASE_URL,OPTOUT_BASE_URL"
44

0 commit comments

Comments
 (0)