File tree 5 files changed +29
-16
lines changed
5 files changed +29
-16
lines changed Original file line number Diff line number Diff line change @@ -46,10 +46,10 @@ module.exports = {
46
46
required : true ,
47
47
description : 'What this user will be using Fleet for' ,
48
48
isIn : [
49
- 'vulnerability-management ' ,
50
- 'device-management ' ,
51
- 'endpoint-ops -it' ,
52
- 'endpoint-ops -security' ,
49
+ 'vm ' ,
50
+ 'mdm ' ,
51
+ 'eo -it' ,
52
+ 'eo -security' ,
53
53
] ,
54
54
} ,
55
55
Original file line number Diff line number Diff line change @@ -68,10 +68,10 @@ the account verification message.)`,
68
68
description : 'What the user will be using Fleet for.' ,
69
69
required : true ,
70
70
isIn : [
71
- 'endpoint-ops -security' ,
72
- 'endpoint-ops -it' ,
73
- 'device-management ' ,
74
- 'vulnerability-management '
71
+ 'eo -security' ,
72
+ 'eo -it' ,
73
+ 'mdm ' ,
74
+ 'vm '
75
75
] ,
76
76
}
77
77
@@ -153,6 +153,7 @@ the account verification message.)`,
153
153
signupReason,
154
154
password : await sails . helpers . passwords . hashPassword ( password ) ,
155
155
stripeCustomerId,
156
+ primaryBuyingSituation,
156
157
tosAcceptedByIp : this . req . ip
157
158
} , sails . config . custom . verifyEmailAddresses ? {
158
159
emailProofToken : await sails . helpers . strings . random ( 'url-friendly' ) ,
Original file line number Diff line number Diff line change @@ -202,6 +202,18 @@ without necessarily having a billing card.`
202
202
defaultsTo : false
203
203
} ,
204
204
205
+ primaryBuyingSituation : {
206
+ type : 'string' ,
207
+ description : 'The primary buying situation the user selected when they signed up.' ,
208
+ extendedDescription : 'User records created before 2024-03-14 will have this attribute set to ""' ,
209
+ isIn : [
210
+ 'eo-security' ,
211
+ 'eo-it' ,
212
+ 'mdm' ,
213
+ 'vm' ,
214
+ ]
215
+ }
216
+
205
217
// ╔═╗╔╦╗╔╗ ╔═╗╔╦╗╔═╗
206
218
// ║╣ ║║║╠╩╗║╣ ║║╚═╗
207
219
// ╚═╝╩ ╩╚═╝╚═╝═╩╝╚═╝
Original file line number Diff line number Diff line change 79
79
<div class =" selectbox" >
80
80
<select class =" form-control" id =" primaryBuyingSituation" name =" primaryBuyingSituation" :class =" [formErrors.primaryBuyingSituation ? 'is-invalid' : '']" v-model =" formData.primaryBuyingSituation" >
81
81
<option disabled hidden value =" undefined" >Choose an option</option >
82
- <option value =" endpoint-ops -security" >Endpoint operations for security engineers</option >
83
- <option value =" endpoint-ops -it" >Endpoint operations for IT admins</option >
84
- <option value =" device-management " >Device management</option >
85
- <option value =" vulnerability-management " >Vulnerability management</option >
82
+ <option value =" eo -security" >Endpoint operations for security engineers</option >
83
+ <option value =" eo -it" >Endpoint operations for IT admins</option >
84
+ <option value =" mdm " >Device management (MDM) </option >
85
+ <option value =" vm " >Vulnerability management</option >
86
86
</select >
87
87
</div >
88
88
<div class =" d-block invalid-feedback" v-if =" formErrors.topic" >Please select an option.</div >
Original file line number Diff line number Diff line change 46
46
<div class =" selectbox" >
47
47
<select class =" form-control" id =" primaryBuyingSituation" name =" primaryBuyingSituation" :class =" [formErrors.primaryBuyingSituation ? 'is-invalid' : '']" v-model =" formData.primaryBuyingSituation" @input =" typeClearOneFormError('primaryBuyingSituation')" >
48
48
<option disabled hidden value =" undefined" >Choose an option</option >
49
- <option value =" endpoint-ops -security" >Endpoint operations for security engineers</option >
50
- <option value =" endpoint-ops -it" >Endpoint operations for IT admins</option >
51
- <option value =" device-management " >Device management</option >
52
- <option value =" vulnerability-management " >Vulnerability management</option >
49
+ <option value =" eo -security" >Endpoint operations for security engineers</option >
50
+ <option value =" eo -it" >Endpoint operations for IT admins</option >
51
+ <option value =" mdm " >Device management (MDM) </option >
52
+ <option value =" vm " >Vulnerability management</option >
53
53
</select >
54
54
</div >
55
55
<div class =" d-block invalid-feedback" v-if =" formErrors.primaryBuyingSituation" >Please select an option.</div >
You can’t perform that action at this time.
0 commit comments