DataView\EventHistory: Do not permit `host' and `service' to be queried
refs #8613
This commit is contained in:
parent
b7e1c2d518
commit
ec67c28629
|
@ -28,9 +28,7 @@ class EventHistory extends DataView
|
||||||
'attempt',
|
'attempt',
|
||||||
'max_attempts',
|
'max_attempts',
|
||||||
'output',
|
'output',
|
||||||
'type',
|
'type'
|
||||||
'host',
|
|
||||||
'service'
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -46,8 +44,6 @@ class EventHistory extends DataView
|
||||||
|
|
||||||
public function getFilterColumns()
|
public function getFilterColumns()
|
||||||
{
|
{
|
||||||
return array(
|
return array('host', 'service', 'hostgroup');
|
||||||
'hostgroups'
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue