Skip to content
Snippets Groups Projects
Commit b2e2ee4d authored by Corné Lukken's avatar Corné Lukken
Browse files

Enable security dashboards

parent d53e08b9
No related branches found
No related tags found
1 merge request!3Enable security dashboards
Pipeline #59619 passed with warnings
Pipeline: Python Binary Wheel Package

#59620

    ...@@ -19,6 +19,11 @@ default: ...@@ -19,6 +19,11 @@ default:
    - cookiecutter --no-input --overwrite-if-exists --output-dir . . - cookiecutter --no-input --overwrite-if-exists --output-dir . .
    - cd my_awesome_app - cd my_awesome_app
    # Override semgrep-sast before script
    sast:
    before_script:
    - python --version # For debugging
    # Override unit test before script # Override unit test before script
    .run_unit_test_version_base: .run_unit_test_version_base:
    before_script: before_script:
    ......
    ...@@ -20,6 +20,12 @@ variables: ...@@ -20,6 +20,12 @@ variables:
    PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
    include:
    - template: Security/SAST.gitlab-ci.yml
    - template: Security/Dependency-Scanning.gitlab-ci.yml
    - template: Security/Secret-Detection.gitlab-ci.yml
    # Prepare image to run ci on # Prepare image to run ci on
    trigger_prepare: trigger_prepare:
    stage: prepare stage: prepare
    ...@@ -45,6 +51,22 @@ run_pylint: ...@@ -45,6 +51,22 @@ run_pylint:
    - tox -e pylint - tox -e pylint
    allow_failure: true allow_failure: true
    sast:
    variables:
    SAST_EXCLUDED_ANALYZERS: brakeman, kubesec, nodejs-scan, phpcs-security-audit,
    pmd-apex, sobelow, spotbugs
    stage: test
    dependency_scanning:
    # override default before_script, job won't have Python available
    before_script:
    - uname
    secret_detection:
    # override default before_script, job won't have Python available
    before_script:
    - uname
    # Basic setup for all Python versions for which we don't have a base image # Basic setup for all Python versions for which we don't have a base image
    .run_unit_test_version_base: .run_unit_test_version_base:
    before_script: before_script:
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment