Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Character and Corporation statistics, including detailed information on ESS, Ratting, Trading, Mining, and other activities.
Character and Corporation statistics, including detailed information on ESS, Ratting, Trading, Mining, and other activities.
[!NOTE] AA Ledger needs at least Alliance Auth v4.0.0 Please make sure to update your Alliance Auth before you install this APP
Make sure you're in your virtual environment (venv) of your Alliance Auth then install the pakage.
pip install aa-ledger
Configure your Alliance Auth settings (local.py
) as follows:
'ledger',
to INSTALLED_APPS
To set up the Scheduled Tasks add following code to your local.py
CELERYBEAT_SCHEDULE["ledger_character_audit_update_all"] = {
"task": "ledger.tasks.update_all_characters",
"schedule": crontab(minute=0, hour="*/1"),
}
CELERYBEAT_SCHEDULE["ledger_corporation_audit_update_all"] = {
"task": "ledger.tasks.update_all_corps",
"schedule": crontab(minute=0, hour="*/1"),
}
CELERYBEAT_SCHEDULE["ledger_check_planetary_alarms"] = {
"task": "ledger.tasks.check_planetary_alarms",
"schedule": crontab(minute=0, hour="*/3"),
}
[!NOTE] If you have Member Audit installed add this to Fetch Member Audit Chars and Sync with Ledger
CELERYBEAT_SCHEDULE["ledger_character_member_audit_fetch"] = {
"task": "ledger.tasks.create_member_audit",
"schedule": crontab(minute=0, hour="*/1"),
}
python manage.py collectstatic
python manage.py migrate
With the Following IDs you can set up the permissions for the Ledger
[!IMPORTANT] Character, Corporation, Alliance Ledger only show Data from User has access to
advanced_access
give User access to see own Corporations he is in
ID | Description | |
---|---|---|
basic_access | Can access the Ledger module | All Members with the Permission can access the Ledger. |
advanced_access | Can access Corporation and Alliance Ledger | Can see Corporation & Alliance Ledger. |
admin_access | Can access the Administration tools | Can Add Corporations, Alliances. |
char_audit_manager | Has Access to all characters for own Corp | Can see all Chars from Corps he is in. |
char_audit_admin_manager | Has Access to all Characters | Can see all Chars. |
corp_audit_admin_manager | Has Access to all Corporations | Can see all Corps. |
The Following Settings can be setting up in the local.py
LEDGER_APP_NAME: "YOURNAME"
- Set the name of the APP
LEDGER_CORP_TAX: 15
- Set Tax Value for ESS Payout Calculation
LEDGER_LOGGER_USE: True / False
- Set to use own Logger File
If you set up LEDGER_LOGGER_USE to True
you need to add the following code below:
LOGGING_LEDGER = {
"handlers": {
"ledger_file": {
"level": "INFO",
"class": "logging.handlers.RotatingFileHandler",
"filename": os.path.join(BASE_DIR, "log/ledger.log"),
"formatter": "verbose",
"maxBytes": 1024 * 1024 * 5,
"backupCount": 5,
},
},
"loggers": {
"ledger": {
"handlers": ["ledger_file", "console"],
"level": "INFO",
},
},
}
LOGGING["handlers"].update(LOGGING_LEDGER["handlers"])
LOGGING["loggers"].update(LOGGING_LEDGER["loggers"])
[!NOTE] Contributing You want to improve the project? Just Make a Pull Request with the Guidelines. We Using pre-commit
FAQs
Character and Corporation statistics, including detailed information on ESS, Ratting, Trading, Mining, and other activities.
We found that aa-ledger demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.