diff --git a/README.md b/README.md index e621dc3..47a4dba 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# misp-exercise-dashboard +# SkillAegis ## Installation ```bash diff --git a/appConfig.py b/appConfig.py index cc8064f..1b89332 100644 --- a/appConfig.py +++ b/appConfig.py @@ -27,10 +27,10 @@ misp_settings = { } import logging -logger = logging.getLogger('misp-exercise-dashboard') +logger = logging.getLogger('SkillAegis') format = '[%(levelname)s] %(asctime)s - %(message)s' formatter = logging.Formatter(format) -logging.basicConfig(filename='misp-exercise-dashboard.log', encoding='utf-8', level=logging.DEBUG, format=format) +logging.basicConfig(filename='SkillAegis.log', encoding='utf-8', level=logging.DEBUG, format=format) # create console handler and set level to debug ch = logging.StreamHandler() ch.setLevel(logging.INFO) diff --git a/exercise.py b/exercise.py index f89bf4b..24aae85 100644 --- a/exercise.py +++ b/exercise.py @@ -276,7 +276,7 @@ def is_accepted_query(data: dict) -> bool: return False return True - if data.get('user_agent', None) == 'misp-exercise-dashboard': + if data.get('user_agent', None) == 'SkillAegis': return None url = data.get('url', None) if url is not None: diff --git a/misp_api.py b/misp_api.py index 6f0630a..45308a3 100644 --- a/misp_api.py +++ b/misp_api.py @@ -22,7 +22,7 @@ requestSession.mount('http://', adapterCache) async def get(url, data={}, api_key=misp_apikey): headers = { - 'User-Agent': 'misp-exercise-dashboard', + 'User-Agent': 'SkillAegis', "Authorization": api_key, "Accept": "application/json", "Content-Type": "application/json" @@ -46,7 +46,7 @@ async def get(url, data={}, api_key=misp_apikey): async def post(url, data={}, api_key=misp_apikey): headers = { - 'User-Agent': 'misp-exercise-dashboard', + 'User-Agent': 'SkillAegis', "Authorization": api_key, "Accept": "application/json", "Content-Type": "application/json" diff --git a/notification.py b/notification.py index c9b123d..0643193 100644 --- a/notification.py +++ b/notification.py @@ -187,7 +187,7 @@ def get_scope_action_from_url(url) -> Union[str, None]: def is_accepted_notification(notification) -> bool: global VERBOSE_MODE - if notification['user_agent'] == 'misp-exercise-dashboard': # Ignore message generated from this app + if notification['user_agent'] == 'SkillAegis': # Ignore message generated from this app return False if VERBOSE_MODE: return True @@ -208,7 +208,7 @@ def is_accepted_notification(notification) -> bool: def is_accepted_user_activity(notification) -> bool: global VERBOSE_MODE - if notification['user_agent'] == 'misp-exercise-dashboard': # Ignore message generated from this app + if notification['user_agent'] == 'SkillAegis': # Ignore message generated from this app return False if '@' not in notification['user']: # Ignore message from system return False diff --git a/package-lock.json b/package-lock.json index cd5727a..55df76d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "misp-exercise-dashboard", + "name": "SkillAegis", "version": "0.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "misp-exercise-dashboard", + "name": "SkillAegis", "version": "0.0.0", "dependencies": { "@fortawesome/fontawesome-svg-core": "^6.5.2", @@ -3876,4 +3876,4 @@ } } } -} +} \ No newline at end of file diff --git a/package.json b/package.json index 57425a7..29ea3dd 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "misp-exercise-dashboard", + "name": "SkillAegis", "version": "0.0.0", "private": true, "type": "module", @@ -35,4 +35,4 @@ "tailwindcss": "^3.4.4", "vite": "^5.3.1" } -} +} \ No newline at end of file diff --git a/src/assets/skillaegis-logo-lg.png b/src/assets/skillaegis-logo-lg.png new file mode 100644 index 0000000..3ad7b27 Binary files /dev/null and b/src/assets/skillaegis-logo-lg.png differ