docker-bastion/examples/osm-taxiways/allowed-commands.list

20 lines
1.1 KiB
Plaintext
Raw Normal View History

# ===========================================================================
# OSM taxiway broker allowlist
# ===========================================================================
# One extended-regex (ERE) rule per line; a request is permitted only if it
# matches WHOLE-LINE (anchored ^…$). Blank lines and # comments are ignored,
# and this file is re-read on every request (bind mount → edit without a
# restart). Matched requests are word-split and exec'd WITHOUT a shell, so the
# [A-Z]{4} class is the containment boundary, not just a filter — no ICAO
# argument can ever carry an operator or a path.
#
# NO COMMAND_PREFIX is used: the three wrappers are the whole surface.
# ===========================================================================
taxiways-list
taxiways-export [A-Z]{4}
# With the caller's coordinates of the aerodrome (decimal degrees, exactly six decimals):
# the export then picks the airfield there instead of any object carrying the ICAO tag.
taxiways-export [A-Z]{4} -?[0-9]{1,2}\.[0-9]{6} -?[0-9]{1,3}\.[0-9]{6}
taxiways-cat [A-Z]{4}