mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-23 15:49:10 +00:00
14 lines
367 B
JavaScript
14 lines
367 B
JavaScript
const ErrorService = require('../utils/errorService');
|
|
const ContainerService = require('../utils/containerService');
|
|
|
|
module.exports = {
|
|
scan: async security => {
|
|
try {
|
|
await ContainerService.scan(security);
|
|
} catch (error) {
|
|
ErrorService.log('containerSecurity.scan', error);
|
|
throw error;
|
|
}
|
|
},
|
|
};
|