mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
Merge pull request #7863 from Icinga/bugfix/disallow-receiving-ticket-salt-via-api
Disallow fetching the ticket salt via REST API
This commit is contained in:
commit
bb99106926
@ -99,6 +99,9 @@ bool VariableQueryHandler::HandleRequest(
|
||||
ArrayData results;
|
||||
|
||||
for (const Dictionary::Ptr& var : objs) {
|
||||
if (var->Get("name") == "TicketSalt")
|
||||
continue;
|
||||
|
||||
results.emplace_back(new Dictionary({
|
||||
{ "name", var->Get("name") },
|
||||
{ "type", var->Get("type") },
|
||||
|
Loading…
x
Reference in New Issue
Block a user