Skip to content

Commit

Permalink
Update automatic scan to HIGH level
Browse files Browse the repository at this point in the history
  • Loading branch information
cYKatherine committed Mar 21, 2024
1 parent df68537 commit 5118245
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ on: [pull_request, push, workflow_dispatch]

jobs:
build:
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-build-and-test.yaml@main
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-build-and-test.yaml@v2
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/check-stable-dependency.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ on: [pull_request, workflow_dispatch]

jobs:
check_dependency:
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-check-stable-dependency.yaml@main
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-check-stable-dependency.yaml@v2
secrets: inherit
4 changes: 2 additions & 2 deletions .github/workflows/release-docker-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ on:
type: string
default: main
vulnerability_severity:
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).
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', 'HIGH' or 'MEDIUM'].
type: string
default: 'CRITICAL,HIGH'
default: 'HIGH'

jobs:
Image:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/validate-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
failure_severity:
description: 'Must be one of CRITICAL, HIGH, MEDIUM'
required: false
default: CRITICAL
default: HIGH
fail_on_error:
description: 'If true, will fail the build if vulnerabilities are found'
required: true
Expand All @@ -16,22 +16,22 @@ on:

jobs:
build-publish-docker-default:
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-validate-image.yaml@main
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-validate-image.yaml@v2
with:
failure_severity: ${{ inputs.failure_severity || 'CRITICAL'}}
fail_on_error: ${{ inputs.fail_on_error || true }}
cloud_provider: 'default'
secrets: inherit
build-publish-docker-aws:
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-validate-image.yaml@main
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-validate-image.yaml@v2
with:
failure_severity: ${{ inputs.failure_severity || 'CRITICAL'}}
fail_on_error: ${{ inputs.fail_on_error || true }}
cloud_provider: 'aws'
secrets: inherit
needs: [build-publish-docker-default]
build-publish-docker-gcp:
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-validate-image.yaml@main
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-validate-image.yaml@v2
with:
failure_severity: ${{ inputs.failure_severity || 'CRITICAL'}}
fail_on_error: ${{ inputs.fail_on_error || true }}
Expand Down

0 comments on commit 5118245

Please sign in to comment.