Module: check_mk
Branch: master
Commit: b5d2354115c22641b17310286c8ebf9fa88982a9
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b5d2354115c226…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Dec 20 08:14:58 2017 +0100
Bandit: Do not try to scan non python files in agent plugins directory
Change-Id: Icaaacd3bd48a50d33bd2ebf55666e7d87f605afb
---
tests/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/Makefile b/tests/Makefile
index 671f257..8f481db 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -38,7 +38,8 @@ test-bandit:
$$(grep -l python "$$CMK_DIR"/bin/*) \
"$$CMK_DIR"/{checks,inventory}/* \
$$(grep -l python "$$ENTERPRISE_DIR"/bin/*) \
- "$$ENTERPRISE_DIR"/agents/{plugins,bakery}/*
+ "$$ENTERPRISE_DIR"/agents/plugins/*.py \
+ "$$ENTERPRISE_DIR"/agents/bakery/*
test-bandit-ci: