Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release version 0.7.0-rc1 #1193

Merged
merged 106 commits into from
Apr 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
106 commits
Select commit Hold shift + click to select a range
b7e4936
chore(deps): bump mikefarah/yq from 4.40.5 to 4.40.7
dependabot[bot] Feb 12, 2024
748ba64
chore(deps): bump helm/kind-action from 1.8.0 to 1.9.0
dependabot[bot] Feb 12, 2024
b74a242
Introduce new snapshot version 0.6.1-SNAPSHOT
eclipse-tractusx-bot Feb 12, 2024
53961b7
Merge pull request #1046 from eclipse-tractusx/dependabot/github_acti…
wolf4ood Feb 13, 2024
6f48dc3
chore(deps): bump testcontainers from 1.19.4 to 1.19.5
dependabot[bot] Feb 13, 2024
87f7807
chore: dependencies file
wolf4ood Feb 13, 2024
16a45f5
chore: dependencies file
wolf4ood Feb 13, 2024
55b1a79
Merge pull request #1043 from eclipse-tractusx/dependabot/gradle/main…
wolf4ood Feb 13, 2024
960ff4b
chore(deps): bump aws from 2.23.19 to 2.24.1
dependabot[bot] Feb 13, 2024
7c689c0
Merge pull request #1045 from eclipse-tractusx/dependabot/github_acti…
wolf4ood Feb 13, 2024
fb9f334
chore: dependencies file
wolf4ood Feb 13, 2024
17446ed
Merge pull request #1051 from eclipse-tractusx/dependabot/gradle/main…
wolf4ood Feb 13, 2024
7494d09
chore: make license header regex more permissive (#1052)
paullatzelsperger Feb 13, 2024
bf32441
chore(deps): bump org.flywaydb:flyway-core from 9.22.3 to 10.7.2 (#1042)
dependabot[bot] Feb 14, 2024
d7dd820
chore(deps): bump aquasecurity/trivy-action from 0.12.0 to 0.17.0 (#1…
dependabot[bot] Feb 15, 2024
a19de69
feat: implement new Policy eval fct for FrameworkAgreement (#1053)
paullatzelsperger Feb 15, 2024
3a5e352
chore: trivy fix (#1061)
wolf4ood Feb 16, 2024
2b67545
feat: add Dismantler constraint eval function (#1059)
paullatzelsperger Feb 16, 2024
eb250ba
improvement(memory-edc): remove EDC_VAULT_SECRETS rewrite (#1040)
KilianHaag Feb 18, 2024
d5750b9
feat: implements DIM STS adapter (#1054)
wolf4ood Feb 19, 2024
66e2192
chore: fix after EDC snapshot update (#1070)
wolf4ood Feb 19, 2024
edbed25
feat: implement Membership constraint fct (#1069)
paullatzelsperger Feb 19, 2024
d74b1ab
chore(deps): bump apache-sshd from 2.12.0 to 2.12.1 (#1063)
dependabot[bot] Feb 19, 2024
9d221b7
chore(deps): bump flyway from 10.7.2 to 10.8.1 (#1066)
dependabot[bot] Feb 19, 2024
3a74bfa
chore(deps): bump mikefarah/yq from 4.40.7 to 4.41.1 (#1064)
dependabot[bot] Feb 19, 2024
d9fa0d4
chore(deps): bump aws from 2.24.1 to 2.24.5 (#1067)
dependabot[bot] Feb 19, 2024
6dadb2d
chore(deps): bump com.apicatalog:iron-verifiable-credentials from 0.8…
dependabot[bot] Feb 19, 2024
2c28cf5
feat: dast scan integration (#1072)
wolf4ood Feb 20, 2024
c99a8eb
chore: Refactor BPN evaluation function (#1074)
wolf4ood Feb 20, 2024
08bd745
feat: register CX Policy Functions (#1075)
paullatzelsperger Feb 21, 2024
e6f18c5
chore: fix compile error after DataFlowRequest refactor (#1076)
wolf4ood Feb 26, 2024
aa2972a
chore(deps): bump aws from 2.24.5 to 2.24.10 (#1077)
dependabot[bot] Feb 26, 2024
a9a7db1
chore(deps): bump testcontainers from 1.19.5 to 1.19.6 (#1078)
dependabot[bot] Feb 26, 2024
bb3e313
chore(deps): bump mikefarah/yq from 4.41.1 to 4.42.1 (#1079)
dependabot[bot] Feb 26, 2024
ed22d0c
chore(deps): bump actions/upload-artifact from 3 to 4 (#1080)
dependabot[bot] Feb 26, 2024
1ed0bb3
chore(deps): bump org.postgresql:postgresql from 42.7.1 to 42.7.2 (#1…
dependabot[bot] Feb 26, 2024
d3cbf44
chore: fix compile issue after trackable removal (#1085)
wolf4ood Feb 28, 2024
7883ba5
chore: updates tx with the latest EDC changes (#1101)
wolf4ood Mar 4, 2024
e211f26
chore(deps): bump aquasecurity/trivy-action from 0.17.0 to 0.18.0 (#1…
dependabot[bot] Mar 4, 2024
bafc625
docs: fix broken link (#1084)
domreuter Mar 5, 2024
622b61e
fix: bpn migration if table exists (#1083)
domreuter Mar 5, 2024
3752e2a
Add DR
jimmarino Mar 5, 2024
902e64e
Update docs/development/decision-records/2024-03-05_token_refresh/REA…
jimmarino Mar 5, 2024
aa31d57
Update docs/development/decision-records/2024-03-05_token_refresh/REA…
jimmarino Mar 5, 2024
edb07fc
docs: add support documentation for DataPlane Signaling (#1104)
paullatzelsperger Mar 6, 2024
012a757
Merge pull request #1106 from jimmarino/feature/refresh-tokens
jimmarino Mar 6, 2024
4677c3b
chore: fixes after upstream changes (#1102)
wolf4ood Mar 6, 2024
e913a44
feat: implement Tractus-X-specific `DataPlaneAccessTokenService` (#1115)
paullatzelsperger Mar 8, 2024
1ec3225
docs(bpngroups): update supported operators (#1117)
domreuter Mar 9, 2024
d0f4b11
chore: fix compile error after upstream transformers refactor (#1118)
wolf4ood Mar 11, 2024
a80c97c
chore(deps): bump com.azure:azure-identity from 1.11.2 to 1.11.3 (#1092)
dependabot[bot] Mar 11, 2024
e7ad717
chore(deps): bump com.apicatalog:iron-verifiable-credentials from 0.1…
dependabot[bot] Mar 11, 2024
14b6786
chore(deps): bump com.apicatalog:titanium-json-ld from 1.3.3 to 1.4.0…
dependabot[bot] Mar 11, 2024
e008e75
chore(deps): bump aws from 2.24.10 to 2.25.1 (#1095)
dependabot[bot] Mar 11, 2024
a939764
chore(deps): bump com.azure:azure-security-keyvault-secrets from 4.7.…
dependabot[bot] Mar 11, 2024
88db876
docs: improve token refresh docu (#1123)
paullatzelsperger Mar 12, 2024
3c9e166
feat: add DataPlane Token Refresh API (#1120)
paullatzelsperger Mar 12, 2024
bd6f22d
feat: add expiry check to DataPlaneTokenRefreshServiceImpl (#1124)
paullatzelsperger Mar 12, 2024
a3b4c06
feat: store refresh token in vault (#1128)
paullatzelsperger Mar 14, 2024
5978673
feat: add TokenRefreshHandler (#1126)
paullatzelsperger Mar 15, 2024
cbcabb1
doc(policies): add policy description in tractusx-edc (#856)
BenediktSR Mar 15, 2024
1d5de46
chore: fix with the latest EDC/IH changes (#1138)
wolf4ood Mar 18, 2024
7ddba8e
feature(api): Update NegotiateEdrRequestDto (#1135)
saschaisele-zf Mar 18, 2024
68e6b04
chore: add CodeQL workflow (#1143)
paullatzelsperger Mar 18, 2024
e856f95
feat: add new V2 EDR API (#1140)
paullatzelsperger Mar 18, 2024
19c7866
refactor: code base now uses DPS (#1146)
paullatzelsperger Mar 20, 2024
3967480
chore(deps): bump testcontainers from 1.19.6 to 1.19.7 (#1133)
dependabot[bot] Mar 21, 2024
ef2fbf1
chore(deps): bump jackson from 2.16.1 to 2.17.0 (#1132)
dependabot[bot] Mar 21, 2024
1adb9ae
chore(deps): bump aws from 2.25.1 to 2.25.14 (#1147)
dependabot[bot] Mar 21, 2024
0bbf6b5
chore(deps): bump com.azure:azure-identity from 1.11.3 to 1.11.4 (#1131)
dependabot[bot] Mar 21, 2024
ea2f7d6
chore(deps): bump flyway from 10.8.1 to 10.10.0 (#1130)
dependabot[bot] Mar 21, 2024
1121a04
chore: fix compile issue after upstream EDC module changes (#1149)
wolf4ood Mar 22, 2024
08aab91
feat: adds Catalog and Transfer integration test with DIM (#1152)
wolf4ood Mar 22, 2024
04f1224
chore: fixes after junit and keys module refactoring (#1159)
wolf4ood Mar 25, 2024
fc8dd45
chore(deps): bump com.azure:azure-security-keyvault-secrets from 4.8.…
dependabot[bot] Mar 25, 2024
ee9cf7c
chore(deps): bump aws from 2.25.14 to 2.25.16 (#1157)
dependabot[bot] Mar 25, 2024
da5db30
chore(deps): bump github/codeql-action from 2 to 3 (#1156)
dependabot[bot] Mar 25, 2024
a67822e
chore(deps): bump mikefarah/yq from 4.42.1 to 4.43.1 (#1155)
dependabot[bot] Mar 25, 2024
5c8a549
feat: add Token Refresh e2e tests (#1160)
paullatzelsperger Mar 26, 2024
1fa8390
fix: compile errors after upstream refactor (#1166)
paullatzelsperger Mar 27, 2024
273c3d5
feat: add BDRS client w/ expiring cache (#1165)
paullatzelsperger Mar 27, 2024
cfa8917
feat: credential based identity extractor (#1164)
wolf4ood Mar 27, 2024
5c0f418
chore(build): updates to EDC 0.6.0 (#1168)
paullatzelsperger Mar 28, 2024
b83338b
fix: use local key resolver for data plane token verification (#1167)
wolf4ood Mar 28, 2024
b2ab647
chore: E2E tests refactor (#1169)
wolf4ood Mar 28, 2024
7101253
chore: remove MIW from code base (#1170)
paullatzelsperger Mar 29, 2024
524d5f5
chore: old EDR stuff removal + refactor (#1171)
wolf4ood Mar 29, 2024
b12d05a
chore: update to latest EDC package restructuring (#1176)
paullatzelsperger Mar 30, 2024
62600ad
chore: use of ContractRequest in edrs API + old edrs schema and migra…
wolf4ood Mar 30, 2024
857eaed
chore(deps): bump aws from 2.25.16 to 2.25.21 (#1183)
dependabot[bot] Apr 2, 2024
64bac13
chore(deps): bump org.postgresql:postgresql from 42.7.2 to 42.7.3 (#1…
dependabot[bot] Apr 2, 2024
6feb461
chore(deps): bump aquasecurity/trivy-action from 0.18.0 to 0.19.0 (#1…
dependabot[bot] Apr 2, 2024
8371e8e
chore(deps): bump eclipse-temurin (#1180)
dependabot[bot] Apr 2, 2024
60ee171
chore(deps): bump eclipse-temurin (#1179)
dependabot[bot] Apr 2, 2024
6e91b86
chore(deps): bump eclipse-temurin (#1178)
dependabot[bot] Apr 2, 2024
040252c
chore(deps): bump eclipse-temurin (#1177)
dependabot[bot] Apr 2, 2024
3f78a4a
chore: update Helm charts (#1185)
paullatzelsperger Apr 2, 2024
e877eec
feat: extract scopes only on relevant messages (#1184)
wolf4ood Apr 2, 2024
4972a3e
chore: updates with the latest EDC refactor (#1189)
wolf4ood Apr 3, 2024
8e1a320
feat: inject the audience(DID) as additional property in the DataFlow…
wolf4ood Apr 3, 2024
fd5e27b
feat: includes missing datasources (#1190)
wolf4ood Apr 4, 2024
d97a021
chore: fixes after testing (#1191)
wolf4ood Apr 5, 2024
7aa47cf
chore: pin edc version (#1192)
paullatzelsperger Apr 5, 2024
d129e1a
fix: remove newline
paullatzelsperger Apr 5, 2024
dd240ae
fix(javadoc): update references
paullatzelsperger Apr 5, 2024
11a2813
Prepare release 0.7.0-rc1
eclipse-tractusx-bot Apr 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 0 additions & 9 deletions .github/actions/run-deployment-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@ inputs:
required: true
description: "The directory that contains the docker file, e.g. edc-controlplane/edc-runtime-memory"

values_file:
required: true
description: "A yaml file that contains the values for the test installation. will be modified!"

runs:
using: "composite"
steps:
Expand Down Expand Up @@ -76,11 +72,6 @@ runs:
###################################################
# Install the test infrastructure
###################################################
- name: "Generate test credentials"
shell: bash
run: |-
sh -c "edc-tests/deployment/src/main/resources/prepare-test.sh \
${{ inputs.values_file }}"

- name: Install Runtime
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/setup-java/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ runs:
using: "composite"
steps:
- name: Setup JDK 17
uses: actions/setup-java@v3.13.0
uses: actions/setup-java@v4.1.0
with:
java-version: '17'
distribution: 'temurin'
Expand Down
73 changes: 73 additions & 0 deletions .github/actions/setup-memory-runtime/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
#################################################################################
# Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
#
# This program and the accompanying materials are made available under the
# terms of the Apache License, Version 2.0 which is available at
# https://www.apache.org/licenses/LICENSE-2.0.
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
#
# SPDX-License-Identifier: Apache-2.0
#################################################################################


---
name: "Setup TractusX EDC in memory runtime"
description: "Setup TractusX EDC in memory runtime"
runs:
using: "composite"
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-java

- uses: actions/checkout@v4

- name: Dockerize TractusX EDC in memory distribution
shell: bash
run: |
./gradlew :edc-controlplane:edc-runtime-memory:dockerize

- name: Starting MIW, Keycloak and Postgres Servers
shell: bash
run: |
cd edc-tests/miw-tests/src/test/resources/docker-environment
docker compose up -d --wait

- uses: nick-fields/retry@v3
name: Wait for MIW
with:
timeout_minutes: 5
max_attempts: 3
command: |
code=$(curl -IL -sw "%{http_code}" http://localhost:8000/api/actuator/health -o /dev/null)
if [ "$code" -ne "401" ]; then
echo "MIW not ready yet, status = $code"
exit 1;
fi

- name: Starting in memory TractusX EDC
shell: bash
run: |
cd dast
docker compose up -d


- uses: nick-fields/retry@v3
name: Wait for TractusX EDC
with:
timeout_minutes: 5
max_attempts: 3
command: |
code=$(curl -IL -sw "%{http_code}" http://localhost:8181/api/check/health -o /dev/null)
if [ "$code" -ne "401" ]; then
echo "TractusX EDC not ready yet, status = $code"
docker logs dast-edc-runtime-1
exit 1;
fi
84 changes: 84 additions & 0 deletions .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
#################################################################################
# Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
#
# This program and the accompanying materials are made available under the
# terms of the Apache License, Version 2.0 which is available at
# https://www.apache.org/licenses/LICENSE-2.0.
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
#
# SPDX-License-Identifier: Apache-2.0
#################################################################################

name: "CodeQL"

on:
push:
branches: [ "main" ]
paths-ignore:
- "**/*.md"
- "**/*.txt"
pull_request:
branches: [ "main" ]
paths-ignore:
- "**/*.md"
- "**/*.txt"
schedule:
- cron: "0 0 * * 0"
workflow_dispatch:

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
timeout-minutes: 360
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ "java" ] # Define languages here
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby', 'swift' ]
# Use only 'java' to analyze code written in Java, Kotlin or both
# Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support

steps:
- name: Checkout repository
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file
# By default, queries listed here will override any specified in a config file
# Prefix the list here with "+" to use these queries and those in the config file

# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# Use +security-extended,security-and-quality for wider security and better code quality
queries: +security-extended,security-and-quality


# build only production code, no test sources
- uses: ./.github/actions/setup-java
- name: Build Production Code
run: |
./gradlew compileJava --no-daemon

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
fail-on: error
123 changes: 123 additions & 0 deletions .github/workflows/dast-scan.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
#################################################################################
# Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
#
# This program and the accompanying materials are made available under the
# terms of the Apache License, Version 2.0 which is available at
# https://www.apache.org/licenses/LICENSE-2.0.
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
#
# SPDX-License-Identifier: Apache-2.0
#################################################################################

name: ZAP_ALL

on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:

jobs:
zap_scan:
runs-on: ubuntu-latest
name: OWASP ZAP API Scan

steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-memory-runtime

- name: Fetch MIW VP token
run: ./dast/fetch-token.sh

- name: API Catalog Request Test
id: catalog_request
run: |
dsp_response=$(curl -w "%{http_code}" --request POST \
--url http://localhost:8282/api/v1/dsp/catalog/request \
--header "Authorization: $VP_TOKEN" \
--header 'Content-Type: application/json' \
--data '{
"@type": "dspace:CatalogRequestMessage",
"dspace:filter": {
"@type": "QuerySpec",
"limit": 50,
"offset": 0,
"sortOrder": "ASC",
"filterExpression": []
},
"@context": {
"@vocab": "https://w3id.org/edc/v0.0.1/ns/",
"edc": "https://w3id.org/edc/v0.0.1/ns/",
"tx": "https://w3id.org/tractusx/v0.0.1/ns/",
"dcat": "http://www.w3.org/ns/dcat#",
"dct": "https://purl.org/dc/terms/",
"odrl": "http://www.w3.org/ns/odrl/2/",
"dspace": "https://w3id.org/dspace/v0.8/"
}
}')

echo "Response: $dsp_response"

- name: Generating report skeletons
if: success() || failure()
run: |
touch API_report.html
chmod a+w API_report.html
ls -lrt

- name: Run ZAP API scan
run: |
set +e

echo "Pulling ZAP image..."
docker pull ghcr.io/zaproxy/zaproxy:stable -q
echo "Starting ZAP Docker container..."
docker run --network miw-net -v ${GITHUB_WORKSPACE}:/zap/wrk/:rw ghcr.io/zaproxy/zaproxy:stable zap-api-scan.py -t http://edc-runtime:8282/api/v1/dsp -f openapi -r API_report.html -T 1

echo "... done."

- name: Upload HTML report
if: success() || failure()
uses: actions/upload-artifact@v4
with:
name: ZAP_API scan report
path: ./API_report.html

zap_scan2:
runs-on: ubuntu-latest
name: OWASP ZAP FULL Scan
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-memory-runtime

- name: Generating report skeletons
if: success() || failure()
run: |
touch fullscan_report.html
chmod a+w fullscan_report.html
ls -lrt

- name: Perform ZAP FULL scan
run: |
set +e

echo "Pulling ZAP image..."
docker pull ghcr.io/zaproxy/zaproxy:stable -q
echo "Starting ZAP Docker container..."
docker run --network miw-net -v ${GITHUB_WORKSPACE}:/zap/wrk/:rw ghcr.io/zaproxy/zaproxy:stable zap-full-scan.py -t http://edc-runtime:8282/api/v1/dsp -r fullscan_report.html -T 1

echo "... done."

- name: Upload HTML report
if: success() || failure()
uses: actions/upload-artifact@v4
with:
name: ZAP_FULL scan report
path: ./fullscan_report.html
4 changes: 0 additions & 4 deletions .github/workflows/deployment-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,9 @@ jobs:
with:
imagename: edc-runtime-memory
rootDir: edc-controlplane/edc-runtime-memory
values_file: edc-tests/deployment/src/main/resources/helm/tractusx-connector-memory-test.yaml
helm_command: |-
helm install tx-inmem charts/tractusx-connector-memory \
-f edc-tests/deployment/src/main/resources/helm/tractusx-connector-memory-test.yaml \
--set vault.secrets="client-secret:$(cat client.secret)" \
--wait-for-jobs --timeout=120s --dependency-update

# wait for the pod to become ready
Expand All @@ -87,7 +85,6 @@ jobs:
with:
imagename: "edc-controlplane-postgresql-hashicorp-vault edc-dataplane-hashicorp-vault"
rootDir: "."
values_file: edc-tests/deployment/src/main/resources/helm/tractusx-connector-test.yaml
helm_command: |-
helm install tx-prod charts/tractusx-connector \
-f edc-tests/deployment/src/main/resources/helm/tractusx-connector-test.yaml \
Expand Down Expand Up @@ -121,7 +118,6 @@ jobs:
with:
imagename: "edc-controlplane-postgresql-azure-vault edc-dataplane-azure-vault"
rootDir: "."
values_file: edc-tests/deployment/src/main/resources/helm/tractusx-connector-azure-vault-test.yaml
helm_command: |-
az keyvault secret set --vault-name ${{ secrets.AZURE_VAULT_NAME }} --name aes-keys --value "$(cat aes.key)" > /dev/null
az keyvault secret set --vault-name ${{ secrets.AZURE_VAULT_NAME }} --name client-secret --value "$(cat client.secret)" > /dev/null
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/draft-new-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
GITHUB_PACKAGE_USERNAME: ${{ github.actor }}
GITHUB_PACKAGE_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
- name: Bump version in /charts
uses: mikefarah/yq@v4.40.5
uses: mikefarah/yq@v4.43.1
with:
cmd: |-
find charts -name Chart.yaml -maxdepth 3 | xargs -n1 yq -i '.appVersion = "${{ github.event.inputs.version }}" | .version = "${{ github.event.inputs.version }}"'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Run Trivy vulnerability scanner in repo mode
uses: aquasecurity/trivy-action@0.12.0
uses: aquasecurity/trivy-action@0.19.0
with:
scan-type: "config"
# ignore-unfixed: true
exit-code: "1"
exit-code: "0"
hide-progress: false
format: "sarif"
output: "trivy-results-config.sarif"
Expand Down Expand Up @@ -102,12 +102,12 @@ jobs:
## the next two steps will only execute if the image exists check was successful
- name: Run Trivy vulnerability scanner
if: success() && steps.imageCheck.outcome != 'failure'
uses: aquasecurity/trivy-action@0.12.0
uses: aquasecurity/trivy-action@0.19.0
with:
image-ref: "tractusx/${{ matrix.image }}:sha-${{ needs.git-sha7.outputs.value }}"
format: "sarif"
output: "trivy-results-${{ matrix.image }}.sarif"
exit-code: "1"
exit-code: "0"
severity: "CRITICAL,HIGH"
timeout: "10m0s"
- name: Upload Trivy scan results to GitHub Security tab
Expand Down
Loading
Loading