Skip to main content

AA Alt Corp

aa-altcorp is an Alliance Auth plugin for tracking alt-corporation relationships and auditing whether member-related characters, corporations, and alliances have the expected contact standings and access-list permissions.

It reads Alliance Auth and aa-contacts data, compares that data with configured policy, and reports differences for human review. It does not modify EVE contacts or access lists.

What it does

  • Records corporations and characters associated with Alliance Auth users.
  • Audits contact standings and access-list access for valid members.
  • Detects blue contacts and ACL entries without a matching Auth relationship.
  • Supports policies for Auth states, groups, positive contacts, named entities, and individual access lists.
  • Creates separate alert facets for contact and ACL problems.
  • Supports temporary exemptions with expiry, revocation, and an audit trail.
  • Delivers alerts through allianceauth-discordbot or a plain webhook.
  • Keeps the older corporation review flow available for existing installations.

The alert engine is informational. It never writes to EVE contacts or EVE access lists; changes remain manual administrator actions.

Requirements

The plugin supports Python 3.11 through 3.13 and requires:

Alliance Auth >= 5.3, < 6
aa-contacts >= 1.0.1, < 2
django-esi >= 10.0.0, < 11
croniter >= 6, < 7
django-celery-beat >= 2.7, < 3

Installation

Activate the virtual environment used by Alliance Auth and install the package:

pip install allianceauth-altcorp

Add the application to INSTALLED_APPS:

INSTALLED_APPS = [
    # ...
    "aa_altcorp",
]

Run migrations and collect static files:

python manage.py migrate
python manage.py collectstatic --noinput

The app configuration is aa_altcorp.apps.AaAltcorpConfig.

Configuration

Open Django Admin → Alt Corp settings after installation. Configure the standing target, valid Auth states, expected entity scope, alert delivery, notification interval, and Discord details there.

Alerting defaults to disabled so an upgrade does not immediately send notifications. Configure the expected state and policies first, then enable alerts.

An access list produces a missing-access alert only when it has an Access list policy in Django Admin. Present-but-unjustified entries can still produce alerts without a policy.

Scheduling

Create the periodic audit, alert scan, and Discord refresh tasks with:

python manage.py schedule_altcorp_tasks --scan-cron "0 * * * *"

The command is idempotent. --hours changes the audit interval, and --remove removes the tasks it created. On larger installations, schedule aa_altcorp.tasks.sync_all_access_lists separately to fan ACL synchronization out across characters.

Discord alerts

Discord integration is provided by allianceauth-discordbot. Go to that repository for installation, configuration, and bot worker instructions.

Permissions

Permission Purpose
aa_altcorp.basic_access View plugin pages
aa_altcorp.manage_relationships Attach corporations and characters
aa_altcorp.view_alerts Reserved for future use
aa_altcorp.manage_alerts Reserved for future use

Alerts, exemptions, and access-list policies are managed through Django Admin permissions. The reserved alert permissions do not independently grant admin access. Discord authorization follows the configured roles.

Development

python3.12 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install -e '.[dev]'
pre-commit run --all-files
pytest
tox -e py312

On Windows, run the complete local pipeline with:

.\scripts\run_pipeline.ps1

GitHub Actions runs pre-commit, the Auth-absent pytest suite on Python 3.11–3.13, and the Alliance Auth integration suite on Python 3.12. See RELEASING.md for the first push, development workflow, and releases.

License

This project is licensed under the GNU General Public License v3.0. See LICENSE.

Metadata

Release files for allianceauth-altcorp 0.0.15

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for allianceauth-altcorp 0.0.15
File Size Uploaded Provenance Actions
allianceauth_altcorp-0.0.15.tar.gz 127.9 kB With provenance Details for allianceauth_altcorp-0.0.15.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for allianceauth-altcorp 0.0.15
File Interpreter ABI Platform Actions
allianceauth_altcorp-0.0.15-py3-none-any.whl Python 3 none any Details for allianceauth_altcorp-0.0.15-py3-none-any.whl

Total release size: 245.0 kB

Release files / allianceauth_altcorp-0.0.15.tar.gz

Download URL allianceauth_altcorp-0.0.15.tar.gz
Size 127.9 kB
Tags Source
SHA-256 checksum
How to use checksums
82496dac5fcab08b6408e796ebd628b957cad28d7cc6b56a086c3d41f3813fbb
BLAKE2b-256 checksum
How to use checksums
0eba44a9b2ac7bca3cf77476be37cab51bce790b20db8e2e0e22956581a40197
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

Release files / allianceauth_altcorp-0.0.15-py3-none-any.whl

Download URL allianceauth_altcorp-0.0.15-py3-none-any.whl
Size 117.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
54b3564250d463b606421ec14a06e8309e59ce7979dbeec918f17a0b77015f4c
BLAKE2b-256 checksum
How to use checksums
c53b2221cbd2b462691418a401be58ca0f9c88794066e402d37a4aaee00b72f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

Security for allianceauth-altcorp 0.0.15

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for allianceauth_altcorp-0.0.15.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page