Skip to content
Snippets Groups Projects
Commit 88c1e9ae authored by František Dvořák's avatar František Dvořák
Browse files

Update megalinter file

parent 7557620a
No related branches found
No related tags found
No related merge requests found
Pipeline #20881 failed
......@@ -4,8 +4,6 @@ DISABLE:
- SPELL
DISABLE_LINTERS:
# Unable to import 'requests' (import-error)
- PYTHON_PYLINT
# can't be configured (bugs), too many checks
- REPOSITORY_KICS
# can't be configured
......@@ -31,23 +29,25 @@ ANSIBLE_ANSIBLE_LINT_ARGUMENTS: >-
# B603:subprocess_without_shell_equals_true: needed
PYTHON_BANDIT_ARGUMENTS: --skip B105,B404,B603
# Unable to import 'requests' (import-error)
PYTHON_PYLINT_ARGUMENTS: --disable=import-error
# CKV2_ANSIBLE_1 (http): local comunication
# CKV_OPENSTACK_2: useless check
# CKV_SECRET_6 (base64): just crazy check
# FIXME: jupyterhub-jwt.yaml
# CKV_SECRET_6 (base64): weird useless check
# XXX: jupyterhub-jwt.yaml
REPOSITORY_CHECKOV_ARGUMENTS: >-
--skip-check CKV2_ANSIBLE_1,CKV_OPENSTACK_2,CKV_SECRET_6
--skip-path .*/playbooks/files/(jupyterhub-jwt|calico).yaml
--skip-path .*/playbooks/upgrade.yaml
--skip-path /.*/playbooks/files/(jupyterhub-jwt|calico).yaml
--skip-path /.*/playbooks/upgrade.yaml
# DS126858 (algorithm): false positive, used as images tag
# DS137138 (http): local communication
# DS169125 (ssl): protocol actually banned
# DS169126 (ssl): protocol actually banned
# DS176209: FIXME jupyterhub-jwt.yaml
REPOSITORY_DEVSKIM_ARGUMENTS: >-
--ignore-globs /tmp/lint/.ansible/**,/tmp/lint/.git/**,/tmp/lint/**/playbooks/files/calico.yaml
--ignore-rule-ids DS126858,DS137138,DS169125,DS169126,DS176209
--ignore-globs **/.ansible/**,**/.git/**,**/playbooks/files/calico.yaml
--ignore-rule-ids DS126858,DS137138,DS169125,DS169126
# no check for terraform plugins
REPOSITORY_GRYPE_ARGUMENTS: --exclude ./*/terraform/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment