From 7a28ba4c4d818998973a7339b041273de7ecd404 Mon Sep 17 00:00:00 2001 From: Shreya Malviya Date: Mon, 20 Jun 2022 15:25:36 -0700 Subject: [PATCH] Island: Create new resource `Configuration` --- .../cc/resources/configuration.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 monkey/monkey_island/cc/resources/configuration.py diff --git a/monkey/monkey_island/cc/resources/configuration.py b/monkey/monkey_island/cc/resources/configuration.py new file mode 100644 index 000000000..79f1d2a0c --- /dev/null +++ b/monkey/monkey_island/cc/resources/configuration.py @@ -0,0 +1,18 @@ +from monkey_island.cc.resources.AbstractResource import AbstractResource +from monkey_island.cc.resources.request_authentication import jwt_required + + +class Configuration(AbstractResource): + urls = ["/api/configuration"] + + @jwt_required + def get(self): + pass + + @jwt_required + def post(self): + pass + + @jwt_required + def patch(self): # reset the config here? + pass