Skip to content

Add (optional) allowed endpoints to global zones configuration #8182

@Mikesch-mp

Description

@Mikesch-mp

Is your feature request related to a problem? Please describe.

If you create a global zone which should only exist on masters and satellites (on many different zones), which hold sensitive data like passwords etc. , and dont add this global zones on agents. The agent will log

warning/ApiListener: Ignoring config update from endpoint 'some.host.fqdn' for unknown zone 'internal'.

With this information an user can easily add the zone on an agent and get the zone also synced to the agent and get the sensitive information out of this global zone.

Describe the solution you'd like

There should be an option with an filter/array which endpoints are allowed to sync this global zone.

object Zone "mysecretzone"  { 
    global = true 
    endpoints = [ "master02", satXY01", satZZ02" ]
}

## Describe alternatives you've considered

There is no alternative, because if you have access to the logfiles and a litle bit knowledge on how icinga2 works, you can just add the global zone and see its content after a reload.

Metadata

Metadata

Assignees

No one assigned

    Labels

    TBDTo be defined - We aren't certain about this yetenhancementNew feature or requeststalledBlocked or not relevant yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions