summaryrefslogtreecommitdiff
path: root/interface-definitions/https.xml.in
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2022-05-15 13:29:29 -0500
committerJohn Estabrook <jestabro@vyos.io>2022-07-24 08:44:58 -0500
commitb882e997e18c0d63aa7a4507df9b71c81c1970d1 (patch)
tree0cc2f075a1b8728e144eb13b999ae25cac98fdd3 /interface-definitions/https.xml.in
parent02beb3ead3783ce18087c897c4871786449c6bd1 (diff)
downloadvyos-1x-b882e997e18c0d63aa7a4507df9b71c81c1970d1.tar.gz
vyos-1x-b882e997e18c0d63aa7a4507df9b71c81c1970d1.zip
graphql: T3993: disable introspection unless set in CLI
Diffstat (limited to 'interface-definitions/https.xml.in')
-rw-r--r--interface-definitions/https.xml.in13
1 files changed, 10 insertions, 3 deletions
diff --git a/interface-definitions/https.xml.in b/interface-definitions/https.xml.in
index 775fae122..d096c4ff1 100644
--- a/interface-definitions/https.xml.in
+++ b/interface-definitions/https.xml.in
@@ -107,12 +107,19 @@
<valueless/>
</properties>
</leafNode>
- <leafNode name="gql">
+ <node name="gql">
<properties>
<help>GraphQL support</help>
- <valueless/>
</properties>
- </leafNode>
+ <children>
+ <leafNode name="introspection">
+ <properties>
+ <help>Schema introspection</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
<node name="cors">
<properties>
<help>Set CORS options</help>