Skip to content
OWASP A09Security Logging & Monitoring

Auth Log BundleStolen credentials don't break in. They sign in.

Every login your app accepts is invisible until you record it. This bundle logs each one — IP, device, location — and alerts the user the moment a context looks new.

New sign-in alertNew sign-in alert

The #1 symptom of OWASP A09:2021

“Auditable events, such as logins, failed logins, and high-value transactions, are not logged.”

An attacker with a stolen password doesn’t fail to log in — they succeed, silently. Recording every login context is the only way to see it, and this bundle closes that gap.

Read the security rationale →

Up and running in minutes

One command, four lines of YAML, two interfaces to implement — the rest is automatic.

bash
composer require spiriitlabs/auth-log-bundle
yaml
# config/packages/spiriit_auth_log.yaml
spiriit_auth_log:
    transports:
        sender_email: 'no-reply@yourdomain.com'
        sender_name: 'Security'
    location:
        provider: 'geoip2'
        geoip2_database_path: '%kernel.project_dir%/var/GeoLite2-City.mmdb'

Built and maintained by Spiriit — released under the MIT License.