mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
21 lines
716 B
TypeScript
21 lines
716 B
TypeScript
import BackendAPI from './api';
|
|
|
|
export default {
|
|
updateContainerSecurityToScanning: async function (
|
|
security: $TSFixMe
|
|
): void {
|
|
return await BackendAPI.post(`container/scanning`, { security });
|
|
},
|
|
updateContainerSecurityToFailed: async function (security: $TSFixMe): void {
|
|
return await BackendAPI.post(`container/failed`, security);
|
|
},
|
|
updateContainerSecurityLogService: async function (
|
|
securityLog: $TSFixMe
|
|
): void {
|
|
return await BackendAPI.post(`container/log`, securityLog);
|
|
},
|
|
updateContainerSecurityScanTime: async function (scanTime: $TSFixMe): void {
|
|
return await BackendAPI.post(`container/time`, scanTime);
|
|
},
|
|
};
|