mirror of https://github.com/MISP/MISP
chg: [internal] Invalid message for UUID contains that UUID must be RFC 4122 compliant
parent
a247bd3500
commit
935437d1bc
|
@ -548,7 +548,7 @@ class Attribute extends AppModel
|
||||||
'uuid' => array(
|
'uuid' => array(
|
||||||
'uuid' => array(
|
'uuid' => array(
|
||||||
'rule' => 'uuid',
|
'rule' => 'uuid',
|
||||||
'message' => 'Please provide a valid UUID'
|
'message' => 'Please provide a valid RFC 4122 UUID'
|
||||||
),
|
),
|
||||||
'unique' => array(
|
'unique' => array(
|
||||||
'rule' => 'isUnique',
|
'rule' => 'isUnique',
|
||||||
|
|
|
@ -14,8 +14,8 @@ class Dashboard extends AppModel
|
||||||
'role_id' => 'numeric',
|
'role_id' => 'numeric',
|
||||||
'uuid' => array(
|
'uuid' => array(
|
||||||
'uuid' => array(
|
'uuid' => array(
|
||||||
'rule' => array('uuid'),
|
'rule' => 'uuid',
|
||||||
'message' => 'Please provide a valid UUID'
|
'message' => 'Please provide a valid RFC 4122 UUID'
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
|
@ -291,7 +291,7 @@ class Event extends AppModel
|
||||||
'uuid' => array(
|
'uuid' => array(
|
||||||
'uuid' => array(
|
'uuid' => array(
|
||||||
'rule' => 'uuid',
|
'rule' => 'uuid',
|
||||||
'message' => 'Please provide a valid UUID'
|
'message' => 'Please provide a valid RFC 4122 UUID'
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
'extends_uuid' => array(
|
'extends_uuid' => array(
|
||||||
|
|
|
@ -25,8 +25,8 @@ class EventBlocklist extends AppModel
|
||||||
'message' => 'Event already blocklisted.'
|
'message' => 'Event already blocklisted.'
|
||||||
),
|
),
|
||||||
'uuid' => array(
|
'uuid' => array(
|
||||||
'rule' => array('uuid'),
|
'rule' => 'uuid',
|
||||||
'message' => 'Please provide a valid UUID'
|
'message' => 'Please provide a valid RFC 4122 UUID'
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
|
@ -60,7 +60,7 @@ class MispObject extends AppModel
|
||||||
'uuid' => array(
|
'uuid' => array(
|
||||||
'uuid' => array(
|
'uuid' => array(
|
||||||
'rule' => 'uuid',
|
'rule' => 'uuid',
|
||||||
'message' => 'Please provide a valid UUID'
|
'message' => 'Please provide a valid RFC 4122 UUID'
|
||||||
),
|
),
|
||||||
'unique' => array(
|
'unique' => array(
|
||||||
'rule' => 'isUnique',
|
'rule' => 'isUnique',
|
||||||
|
|
|
@ -25,7 +25,7 @@ class OrgBlocklist extends AppModel
|
||||||
),
|
),
|
||||||
'uuid' => array(
|
'uuid' => array(
|
||||||
'rule' => 'uuid',
|
'rule' => 'uuid',
|
||||||
'message' => 'Please provide a valid UUID'
|
'message' => 'Please provide a valid RFC 4122 UUID'
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
|
@ -35,7 +35,7 @@ class Organisation extends AppModel
|
||||||
),
|
),
|
||||||
'uuid' => array(
|
'uuid' => array(
|
||||||
'rule' => 'uuid',
|
'rule' => 'uuid',
|
||||||
'message' => 'Please provide a valid UUID',
|
'message' => 'Please provide a valid RFC 4122 UUID',
|
||||||
'allowEmpty' => true
|
'allowEmpty' => true
|
||||||
),
|
),
|
||||||
'valueNotEmpty' => array(
|
'valueNotEmpty' => array(
|
||||||
|
|
|
@ -129,7 +129,7 @@ class ShadowAttribute extends AppModel
|
||||||
'uuid' => array(
|
'uuid' => array(
|
||||||
'uuid' => array(
|
'uuid' => array(
|
||||||
'rule' => 'uuid',
|
'rule' => 'uuid',
|
||||||
'message' => 'Please provide a valid UUID'
|
'message' => 'Please provide a valid RFC 4122 UUID'
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
'proposal_to_delete' => array(
|
'proposal_to_delete' => array(
|
||||||
|
|
|
@ -24,8 +24,8 @@ class SharingGroup extends AppModel
|
||||||
),
|
),
|
||||||
'uuid' => array(
|
'uuid' => array(
|
||||||
'uuid' => array(
|
'uuid' => array(
|
||||||
'rule' => array('uuid'),
|
'rule' => 'uuid',
|
||||||
'message' => 'Please provide a valid UUID'
|
'message' => 'Please provide a valid RFC 4122 UUID'
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
|
@ -46,7 +46,7 @@ class TagCollection extends AppModel
|
||||||
'uuid' => array(
|
'uuid' => array(
|
||||||
'uuid' => array(
|
'uuid' => array(
|
||||||
'rule' => 'uuid',
|
'rule' => 'uuid',
|
||||||
'message' => 'Please provide a valid UUID'
|
'message' => 'Please provide a valid RFC 4122 UUID'
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue