From 6c1097c02299139275f94875911be73114dbbe55 Mon Sep 17 00:00:00 2001 From: dhirsch1 Date: Sun, 6 Aug 2023 11:16:21 +0300 Subject: [PATCH] updates to Makefile --- Makefile | 5 +++++ config/contrast_security.yaml | 11 ++++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 64f0d0609..b17c98a94 100644 --- a/Makefile +++ b/Makefile @@ -20,6 +20,10 @@ validate: echo "md5sum is not installed. Please install it first."; \ exit 1; \ fi + if ! command which mvn &> /dev/null; then \ + echo "maven is not installed. Please install it first."; \ + exit 1; \ + fi docker: validate if ! command docker info &> /dev/null; then \ @@ -34,6 +38,7 @@ cluster: docker fi \ build: cluster + mvn install minikube image build -t petclinic:latest . deploy: build diff --git a/config/contrast_security.yaml b/config/contrast_security.yaml index 79aab797d..4db9935a5 100644 --- a/config/contrast_security.yaml +++ b/config/contrast_security.yaml @@ -1,5 +1,6 @@ -api: - url: https://intuit.contrastsecurity.com/Contrast - api_key: - service_key: - user_name: +agent: + java: + scan_all_classes: false + scan_all_code_sources: false + logger: + stdout: true