summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authornicolargo <nicolas@nicolargo.com>2023-12-10 20:12:21 +0100
committernicolargo <nicolas@nicolargo.com>2023-12-10 20:12:21 +0100
commita3e08966b5e3aa4063e756b074a47b10a6b99866 (patch)
tree0602fae6624d7c24c72f894ba36f091c496b3e1b /Makefile
parent1f1622a625c4d66a100cdb09654f0f56934b2742 (diff)
parent4a41c76953cbfc1e930af2f3793beac438f6a2cd (diff)
:Merge branch 'develop' into issue2181
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 18c0958b..1963c931 100644
--- a/Makefile
+++ b/Makefile
@@ -84,7 +84,7 @@ test-restful-api: ## Run unit tests of the RESTful API
./venv/bin/python ./unitest-restful.py
# ===================================================================
-# Linters and profilers
+# Linters, profilers and cyber security
# ===================================================================
format: ## Format the code
@@ -126,6 +126,10 @@ memory-profiling: ## Profile memory usage
./venv-dev/bin/mprof plot --output ./docs/_static/glances-memory-profiling-without-history.png
rm -f mprofile_*.dat
+# Trivy installation: https://aquasecurity.github.io/trivy/latest/getting-started/installation/
+trivy: ## Run Trivy to find vulnerabilities in container images
+ trivy fs .
+
# ===================================================================
# Docs
# ===================================================================