debian-mirror-gitlab/spec/frontend/security_configuration/mock_data.js
2022-01-26 12:08:38 +05:30

30 lines
640 B
JavaScript

export const securityTrainingProviders = [
{
id: 101,
name: 'Kontra',
description: 'Interactive developer security education.',
url: 'https://application.security/',
isEnabled: false,
},
{
id: 102,
name: 'SecureCodeWarrior',
description: 'Security training with guide and learning pathways.',
url: 'https://www.securecodewarrior.com/',
isEnabled: true,
},
];
export const securityTrainingProvidersResponse = {
data: {
securityTrainingProviders,
},
};
export const mockResolvers = {
Query: {
securityTrainingProviders() {
return securityTrainingProviders;
},
},
};