chg: [app] Renamed project to SkillAegis
This commit is contained in:
parent
d9f21f3606
commit
9e308c1cfd
8 changed files with 13 additions and 13 deletions
|
@ -1,4 +1,4 @@
|
|||
# misp-exercise-dashboard
|
||||
# SkillAegis
|
||||
|
||||
## Installation
|
||||
```bash
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
6
package-lock.json
generated
6
package-lock.json
generated
|
@ -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 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
BIN
src/assets/skillaegis-logo-lg.png
Normal file
BIN
src/assets/skillaegis-logo-lg.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 27 KiB |
Loading…
Reference in a new issue