File tree Expand file tree Collapse file tree 3 files changed +15
-2
lines changed
Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ jobs:
132132
133133 - name : Run Trivy vulnerability scanner on Java dependencies
134134 uses : aquasecurity/trivy-action@master
135- # continue-on-error: true
135+ continue-on-error : true
136136 with :
137137 scan-type : ' fs'
138138 scan-ref : ' ./backend'
@@ -174,7 +174,7 @@ jobs:
174174
175175 - name : Run Trivy vulnerability scanner for the entire image artifact
176176 uses : aquasecurity/trivy-action@master
177- # continue-on-error: true
177+ continue-on-error : true
178178 with :
179179 image-ref : localbuild/backend:${{ env.TAG }}
180180 severity : ' HIGH,CRITICAL'
Original file line number Diff line number Diff line change 5757 <scope >runtime</scope >
5858 </dependency >
5959
60+ <dependency >
61+ <groupId >org.springframework.boot</groupId >
62+ <artifactId >spring-boot-starter-actuator</artifactId >
63+ </dependency >
64+
65+ <dependency >
66+ <groupId >io.micrometer</groupId >
67+ <artifactId >micrometer-registry-prometheus</artifactId >
68+ </dependency >
6069 <!-- Lombok -->
6170 <dependency >
6271 <groupId >org.projectlombok</groupId >
151160 </plugins >
152161 </build >
153162
163+
154164 <distributionManagement >
155165 <repository >
156166 <id >github</id >
Original file line number Diff line number Diff line change @@ -18,3 +18,6 @@ spring.data.mongodb.uri=${MONGO_URI}
1818
1919# Server Configuration
2020server.port =8080
21+
22+ management.endpoints.web.exposure.include =*
23+ management.endpoint.health.show-details =always
You can’t perform that action at this time.
0 commit comments