diff options
author | John Estabrook <jestabro@vyos.io> | 2022-05-15 13:29:29 -0500 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2022-07-24 08:44:58 -0500 |
commit | b882e997e18c0d63aa7a4507df9b71c81c1970d1 (patch) | |
tree | 0cc2f075a1b8728e144eb13b999ae25cac98fdd3 /src/conf_mode/http-api.py | |
parent | 02beb3ead3783ce18087c897c4871786449c6bd1 (diff) | |
download | vyos-1x-b882e997e18c0d63aa7a4507df9b71c81c1970d1.tar.gz vyos-1x-b882e997e18c0d63aa7a4507df9b71c81c1970d1.zip |
graphql: T3993: disable introspection unless set in CLI
Diffstat (limited to 'src/conf_mode/http-api.py')
-rwxr-xr-x | src/conf_mode/http-api.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/conf_mode/http-api.py b/src/conf_mode/http-api.py index 1ea7b86cd..04113fc09 100755 --- a/src/conf_mode/http-api.py +++ b/src/conf_mode/http-api.py @@ -68,6 +68,8 @@ def get_config(config=None): if conf.exists('gql'): http_api['gql'] = True + if conf.exists('gql introspection'): + http_api['introspection'] = True if conf.exists('socket'): http_api['socket'] = True |