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