From cbe10268860d3939f7203cc19a99c46894a1e752 Mon Sep 17 00:00:00 2001 From: Dmitry Volodin Date: Wed, 31 Jan 2024 12:54:19 +0100 Subject: [PATCH] Add Snyk badge and policy settings --- .gitignore | 1 + .snyk | 6 ++++++ README.md | 1 + 3 files changed, 8 insertions(+) create mode 100644 .snyk diff --git a/.gitignore b/.gitignore index 9264b85..7e57772 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ syntax: glob !.devcontainer/ !.github/ !.requirements/ +!.snyk *.pyc *.pyo *.so diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..6680dc1 --- /dev/null +++ b/.snyk @@ -0,0 +1,6 @@ +# Snyk policy file +exclude: + global: + - Dockerfile + - examples/** + - tests/** diff --git a/README.md b/README.md index af7d92a..26b3316 100755 --- a/README.md +++ b/README.md @@ -8,6 +8,7 @@ ![Build](https://img.shields.io/github/actions/workflow/status/gufolabs/gufo_snmp/tests.yml?branch=master) ![Sponsors](https://img.shields.io/github/sponsors/gufolabs) [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v0.json)](https://github.com/charliermarsh/ruff) +[![Known Vulnerabilities](https://snyk.io/test/github/gufolabs/gufo_snmp/badge.svg)](https://snyk.io/test/github/gufolabs/gufo_snmp) ---