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

Update automatic PR scan to HIGH level #96

Merged
merged 1 commit into from
Mar 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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