Skip to content

Commit ee79716

Browse files
authored
Include consolepassword endpoint into auditing. (#638)
1 parent e2ac853 commit ee79716

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/metal-api/internal/service/machine-service.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ func (r *machineResource) webService() *restful.WebService {
172172
Doc("get consolepassword for machine by id").
173173
Reads(v1.MachineConsolePasswordRequest{}).
174174
Metadata(restfulspec.KeyOpenAPITags, tags).
175+
Metadata(auditing.Include, true).
175176
Writes(v1.MachineConsolePasswordResponse{}).
176177
Returns(http.StatusOK, "OK", v1.MachineConsolePasswordResponse{}).
177178
DefaultReturns("Error", httperrors.HTTPErrorResponse{}))

0 commit comments

Comments
 (0)