PHPackages                             anglemx/audit-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. anglemx/audit-bundle

ActiveSymfony-bundle[Logging &amp; Monitoring](/categories/logging)

anglemx/audit-bundle
====================

Audit Bundle to produce automated reports for OS (Ubuntu) and DB (MySQL) privileged access

v1.0(1y ago)0138MITPHPPHP &gt;=8.1

Since Jul 26Pushed 1y ago2 watchersCompare

[ Source](https://github.com/Angle/AuditBundle)[ Packagist](https://packagist.org/packages/anglemx/audit-bundle)[ Docs](https://github.com/Angle/AuditBundle)[ RSS](/packages/anglemx-audit-bundle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (10)Versions (2)Used By (0)

Angle Audit Bundle
==================

[](#angle-audit-bundle)

Audit Bundle for Symfony 5.4+ to produce automated reports for OS (Ubuntu) and DB (MySQL) privileged access

Highly opinionated Angle deployment model, built on top of Symfony.

Installation
------------

[](#installation)

Install composer dependency:

```
composer require anglemx/audit-bundle

```

Make sure that the Bundle has been enabled and auto-wired in the `bundles.php` file.

```
// config/bundles.php

return [
    // ...
    Angle\AuditBundle\AngleAuditBundle::class => ['all' => true],
    // ...
];
```

Usage
-----

[](#usage)

```
php bin/console angle:audit:report-email
```

Available report commands:

```
angle:audit:application-updates
angle:audit:database-migrations
angle:audit:database-users
angle:audit:operating-system-access
angle:audit:operating-system-users

```

Requirements
------------

[](#requirements)

Standard Angle symfony application setup

- MySQL Database
- Ubuntu 18.04 - 22.04 Operating System
- SwiftMailer

Application is installed in `/var/www/`

Configuration
-------------

[](#configuration)

### Server-update.sh

[](#server-updatesh)

This will write to a file called `symfony-update.log` at the root of the project, where `server-update.sh` is run.

Verify that the following lines are included in your `server-update.sh` script:

Before the server update runs:

```
echo "$(date '+%Y-%m-%d %H:%M:%S') $(whoami) - started server-update..." >> ./symfony-update.log
echo "$(date '+%Y-%m-%d %H:%M:%S') $(whoami) - current git branch: $(git rev-parse --abbrev-ref HEAD 2>&1)" >> ./symfony-update.log
echo "$(date '+%Y-%m-%d %H:%M:%S') $(whoami) - current git tag:    $(git describe --tags --exact-match 2>&1)" >> ./symfony-update.log
echo "$(date '+%Y-%m-%d %H:%M:%S') $(whoami) - current git commit: $(head -n 1 ./.git/FETCH_HEAD | cut -c1-8)" >> ./symfony-update.log
```

After the server-update.sh completes:

```
echo "$(date '+%Y-%m-%d %H:%M:%S') $(whoami) - completed server-update!" >> ./symfony-update.log
echo "$(date '+%Y-%m-%d %H:%M:%S') $(whoami) - new git branch: $(git rev-parse --abbrev-ref HEAD 2>&1)" >> ./symfony-update.log
echo "$(date '+%Y-%m-%d %H:%M:%S') $(whoami) - new git tag:    $(git describe --tags --exact-match 2>&1)" >> ./symfony-update.log
echo "$(date '+%Y-%m-%d %H:%M:%S') $(whoami) - new git commit: $(head -n 1 ./.git/FETCH_HEAD | cut -c1-8)" >> ./symfony-update.log
echo "" >> ./symfony-update.log
```

server-update.sh script should write its updates to `symfony-update.log` on the root dir

### Mailer Configuration

[](#mailer-configuration)

Uses SwiftMailer (which is now deprecated in Symfony).

An .env variable called `MAILER_FROM` is required to be defined with a valid email address.

### Auth (`sshd`) Configurations

[](#auth-sshd-configurations)

#### Verify `sshd` log verbosity

[](#verify-sshd-log-verbosity)

Open the config file at `/etc/ssh/sshd_config`:

```
...

LogLevel VERBOSE

...

```

That is the default for Ubuntu 22.04, but verify that is the case.

#### Configure `rsyslog` to log `sshd` to a special location

[](#configure-rsyslog-to-log-sshd-to-a-special-location)

Create a file `60-sshd.conf` with the following line on it:

```
$template SshdFileFormat,"%TIMESTAMP:::date-rfc3339% %HOSTNAME% %syslogtag%%msg:::sp-if-no-1st-sp%%msg:::drop-last-lf%\n"
:programname, isequal, "sshd" /var/log/sshd.log;SshdFileFormat

```

Then copy it:

```
sudo cp sshd-rsyslog /etc/rsyslog.d/60-sshd.conf

```

Then test the configuration to make sure everything is OK:

```
rsyslogd -N1

```

Finally, restart the engine:

```
service rsyslog restart

```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

660d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/936483?v=4)[Edmundo Fuentes](/maintainers/edmundofuentes)[@edmundofuentes](https://github.com/edmundofuentes)

---

Top Contributors

[![edmundofuentes](https://avatars.githubusercontent.com/u/936483?v=4)](https://github.com/edmundofuentes "edmundofuentes (27 commits)")

---

Tags

Auditangleitgcaccess review

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/anglemx-audit-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/anglemx-audit-bundle/health.svg)](https://phpackages.com/packages/anglemx-audit-bundle)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

7310.3k29](/packages/open-dxp-opendxp)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
