From a948dcbe519e88344223cb28809af9b9931632a8 Mon Sep 17 00:00:00 2001 From: Weii Wang Date: Mon, 9 Dec 2024 13:08:18 +0800 Subject: [PATCH] Fix linting issues --- .licenserc.yaml | 16 +++++++++++++++- .trivyignore | 26 ++++++++++++++++++++++++++ .woke.yaml | 2 ++ 3 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 .trivyignore create mode 100644 .woke.yaml diff --git a/.licenserc.yaml b/.licenserc.yaml index ef7164e..afdab38 100644 --- a/.licenserc.yaml +++ b/.licenserc.yaml @@ -9,15 +9,29 @@ header: - '**' paths-ignore: - '.github/**' + - '**/.gitkeep' + - '**/*.cfg' + - '**/*.conf' + - '**/*.j2' - '**/*.json' - '**/*.md' + - '**/*.rule' + - '**/*.tmpl' - '**/*.txt' + - '.codespellignore' + - '.dockerignore' + - '.flake8' - '.jujuignore' - '.gitignore' - '.licenserc.yaml' + - '.trivyignore' + - '.woke.yaml' + - '.woke.yml' - 'CODEOWNERS' + - 'icon.svg' - 'LICENSE' - - 'trivy.yaml' - 'pyproject.toml' + - 'trivy.yaml' - 'zap_rules.tsv' + - 'lib/**' comment: on-failure diff --git a/.trivyignore b/.trivyignore new file mode 100644 index 0000000..d6c7012 --- /dev/null +++ b/.trivyignore @@ -0,0 +1,26 @@ +# penpot +CVE-2022-31159 +CVE-2020-36518 +CVE-2021-46877 +CVE-2022-42003 +CVE-2022-42004 +CVE-2022-25647 +CVE-2024-5971 +CVE-2024-6162 +CVE-2023-5685 +CVE-2021-37714 +CVE-2022-1471 +CVE-2024-21634 +CVE-2024-22871 +CVE-2024-7885 +CVE-2024-1635 +CVE-2024-47554 +CVE-2024-47535 +CVE-2023-4639 +# nodejs +CVE-2024-37890 +CVE-2024-21538 +# clojure +CVE-2024-22871 +# pebble +CVE-2024-34156 diff --git a/.woke.yaml b/.woke.yaml new file mode 100644 index 0000000..df1c258 --- /dev/null +++ b/.woke.yaml @@ -0,0 +1,2 @@ +ignore_files: + - lib/charms/redis_k8s/v0/redis.py