RustImplementation #23
@@ -11,3 +11,4 @@ securitytest.py
|
||||
*.toml
|
||||
system_config.json
|
||||
Devel_unused/
|
||||
AirlockTools_client*/
|
||||
@@ -37,7 +37,6 @@ dotenv.load_dotenv()
|
||||
|
||||
|
||||
def getLocalApprovals(api: AirlockAPIWrapper):
|
||||
working_dir = load_env("WORKING_DIR")
|
||||
base_dir = get_base_directory
|
||||
result = api.otp_find_awaiting()
|
||||
local_approval = pd.DataFrame(result["response"]["otpusage"])
|
||||
|
||||
+1
-1
@@ -18,13 +18,13 @@
|
||||
import logging
|
||||
|
||||
from services.agenthandler import selectAgents
|
||||
from services.API import AirlockAPIWrapper
|
||||
from utils.selector import Selector
|
||||
from utils.utils import colorText, get_sanitized_input
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
from services.API import AirlockAPIWrapper
|
||||
|
||||
|
||||
def generate(api: AirlockAPIWrapper):
|
||||
|
||||
+2
-1
@@ -16,6 +16,7 @@
|
||||
import datetime
|
||||
import logging
|
||||
|
||||
import dotenv
|
||||
import pandas as pd
|
||||
|
||||
from flows.prepPolicy import selectPolicies
|
||||
@@ -25,7 +26,7 @@ from utils.selector import Selector
|
||||
from utils.utils import colorText, load_env
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
import dotenv
|
||||
|
||||
|
||||
dotenv.load_dotenv()
|
||||
|
||||
|
||||
+1
-6
@@ -15,18 +15,13 @@
|
||||
|
||||
|
||||
import logging
|
||||
from typing import Any, List, Optional, Union
|
||||
from typing import Any, Callable, List, Optional, Union
|
||||
|
||||
from utils.utils import get_sanitized_input
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
import logging
|
||||
from typing import Callable
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
class Selector:
|
||||
@staticmethod
|
||||
def _display_choices(
|
||||
|
||||
Reference in New Issue
Block a user