Skip to content

Commit

Permalink
renamed security-checks to scanners (#2541)
Browse files Browse the repository at this point in the history
Fixes #2540
  • Loading branch information
DariuszPorowski committed Apr 8, 2023
1 parent 9ba99b8 commit 4363d26
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-ALPHA-flavors.yml
Expand Up @@ -130,7 +130,7 @@ jobs:
format: 'table'
exit-code: '1'
ignore-unfixed: true
security-checks: vuln
scanners: vuln
vuln-type: 'os,library'
severity: 'CRITICAL,HIGH'
timeout: 10m0s
4 changes: 2 additions & 2 deletions .github/workflows/deploy-BETA-flavors.yml
Expand Up @@ -44,7 +44,7 @@ jobs:
name: Deploy Docker Image - BETA - Flavors
# Set the agent to run on
runs-on: ${{ matrix.os }}
environment:
environment:
name: beta-flavors
strategy:
fail-fast: false
Expand Down Expand Up @@ -140,7 +140,7 @@ jobs:
format: 'table'
exit-code: '1'
ignore-unfixed: true
security-checks: vuln
scanners: vuln
vuln-type: 'os,library'
severity: 'CRITICAL,HIGH'
timeout: 10m0s
8 changes: 4 additions & 4 deletions .github/workflows/deploy-BETA-linters.yml
Expand Up @@ -41,7 +41,7 @@ jobs:

prepare:
name: Prepare matrix
runs-on: ubuntu-latest
runs-on: ubuntu-latest
steps:

- name: Build unique image name for beta
Expand All @@ -50,10 +50,10 @@ jobs:

- name: Prepare result is ${{ env.UNIQUE_DOCKER_IMAGE_NAME }}
shell: bash
run: echo ${{ env.UNIQUE_DOCKER_IMAGE_NAME }}
run: echo ${{ env.UNIQUE_DOCKER_IMAGE_NAME }}

outputs:
unique_docker_image_name: "${{ env.UNIQUE_DOCKER_IMAGE_NAME }}"
unique_docker_image_name: "${{ env.UNIQUE_DOCKER_IMAGE_NAME }}"

build:
needs: prepare
Expand Down Expand Up @@ -264,7 +264,7 @@ jobs:
format: 'table'
exit-code: '1'
ignore-unfixed: true
security-checks: vuln
scanners: vuln
vuln-type: 'os,library'
severity: 'CRITICAL,HIGH'
timeout: 10m0s
4 changes: 2 additions & 2 deletions .github/workflows/deploy-BETA.yml
Expand Up @@ -45,7 +45,7 @@ jobs:
runs-on: ubuntu-latest
# Only run this on the main repo
if: github.repository == 'oxsecurity/megalinter' && !contains(github.event.head_commit.message, 'skip deploy')
environment:
environment:
name: beta
##################
# Load all steps #
Expand Down Expand Up @@ -139,7 +139,7 @@ jobs:
# format: 'table'
# exit-code: '1'
# ignore-unfixed: true
# security-checks: vuln
# scanners: vuln
# vuln-type: 'os,library'
# severity: 'CRITICAL,HIGH'
# timeout: 10m0s
4 changes: 2 additions & 2 deletions .github/workflows/deploy-DEV-linters.yml
Expand Up @@ -230,7 +230,7 @@ jobs:
TEST_KEYWORDS_TO_USE_UPPER="${{ matrix.linter }}"
TEST_KEYWORDS_TO_USE="${TEST_KEYWORDS_TO_USE_UPPER,,}"
docker run -e TEST_CASE_RUN=true -e OUTPUT_FORMAT=text -e OUTPUT_FOLDER=${{ github.sha }} -e OUTPUT_DETAIL=detailed -e GITHUB_SHA=${{ github.sha }} -e GITHUB_REPOSITORY=${GITHUB_REPOSITORY} -e GITHUB_BRANCH=${GITHUB_BRANCH} -e PAT="${{ secrets.PAT }}" -e TEST_KEYWORDS="${TEST_KEYWORDS_TO_USE}" -e MEGALINTER_VOLUME_ROOT="${GITHUB_WORKSPACE}" -v "/var/run/docker.sock:/var/run/docker.sock:rw" -v ${GITHUB_WORKSPACE}:/tmp/lint oxsecurity/megalinter-only-${{ matrix.linter }}:${{ needs.prepare.outputs.tag }}
timeout-minutes: 30

Expand All @@ -244,7 +244,7 @@ jobs:
format: 'table'
exit-code: '1'
ignore-unfixed: true
security-checks: vuln
scanners: vuln
vuln-type: 'os,library'
severity: 'CRITICAL,HIGH'
timeout: 10m0s
2 changes: 1 addition & 1 deletion .github/workflows/deploy-DEV.yml
Expand Up @@ -269,7 +269,7 @@ jobs:
format: 'table'
exit-code: '1'
ignore-unfixed: true
security-checks: vuln
scanners: vuln
vuln-type: 'os,library'
severity: 'CRITICAL,HIGH'
timeout: 15m0s
4 changes: 2 additions & 2 deletions .github/workflows/deploy-RELEASE-flavors.yml
Expand Up @@ -34,7 +34,7 @@ jobs:
name: Deploy Docker Image - RELEASE - Flavors
# Set the agent to run on
runs-on: ${{ matrix.os }}
environment:
environment:
name: latest-flavors
strategy:
fail-fast: false
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
format: 'table'
exit-code: '1'
ignore-unfixed: true
security-checks: vuln
scanners: vuln
vuln-type: 'os,library'
severity: 'CRITICAL,HIGH'
timeout: 10m0s
2 changes: 1 addition & 1 deletion .github/workflows/deploy-RELEASE-linters.yml
Expand Up @@ -238,7 +238,7 @@ jobs:
format: 'table'
exit-code: '1'
ignore-unfixed: true
security-checks: vuln
scanners: vuln
vuln-type: 'os,library'
severity: 'CRITICAL,HIGH'
timeout: 10m0s

0 comments on commit 4363d26

Please sign in to comment.