mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
61 lines
1.6 KiB
JavaScript
61 lines
1.6 KiB
JavaScript
/**
|
|
* UndeployedProfile.js
|
|
*
|
|
* @description :: A model definition represents a database table/collection.
|
|
* @docs :: https://sailsjs.com/docs/concepts/models-and-orm/models
|
|
*/
|
|
|
|
module.exports = {
|
|
|
|
attributes: {
|
|
|
|
// ╔═╗╦═╗╦╔╦╗╦╔╦╗╦╦ ╦╔═╗╔═╗
|
|
// ╠═╝╠╦╝║║║║║ ║ ║╚╗╔╝║╣ ╚═╗
|
|
// ╩ ╩╚═╩╩ ╩╩ ╩ ╩ ╚╝ ╚═╝╚═╝
|
|
name: {
|
|
type: 'string',
|
|
required: true,
|
|
description: 'The name of the configuration profile on the Fleet instance.',
|
|
},
|
|
|
|
platform: {
|
|
type: 'string',
|
|
description: 'The type of operating system this profile is for.',
|
|
required: true,
|
|
isIn: [
|
|
'darwin',
|
|
'windows'
|
|
]
|
|
},
|
|
|
|
profileType: {
|
|
type: 'string',
|
|
description: 'The file extension of the configuration profile.',
|
|
required: true,
|
|
isIn: [
|
|
'.mobileconfig',
|
|
'.xml',
|
|
'.json',
|
|
],
|
|
},
|
|
|
|
profileContents: {
|
|
type: 'string',
|
|
required: true,
|
|
description: 'The contents of the configuration profile.',
|
|
},
|
|
|
|
|
|
// ╔═╗╔╦╗╔╗ ╔═╗╔╦╗╔═╗
|
|
// ║╣ ║║║╠╩╗║╣ ║║╚═╗
|
|
// ╚═╝╩ ╩╚═╝╚═╝═╩╝╚═╝
|
|
|
|
|
|
// ╔═╗╔═╗╔═╗╔═╗╔═╗╦╔═╗╔╦╗╦╔═╗╔╗╔╔═╗
|
|
// ╠═╣╚═╗╚═╗║ ║║ ║╠═╣ ║ ║║ ║║║║╚═╗
|
|
// ╩ ╩╚═╝╚═╝╚═╝╚═╝╩╩ ╩ ╩ ╩╚═╝╝╚╝╚═╝
|
|
|
|
},
|
|
|
|
};
|
|
|