jeffersongoncalves / filament-lgpd-incidents
Filament plugin for laravel-lgpd-incidents: register LGPD security incidents, assess the risk and track the 3-business-day ANPD and data subject notification deadline from your panel.
Package info
github.com/jeffersongoncalves/filament-lgpd-incidents
pkg:composer/jeffersongoncalves/filament-lgpd-incidents
Requires
- php: ^8.2
- filament/filament: ^5.3
- jeffersongoncalves/filament-plugin-core: ^3.0
- jeffersongoncalves/laravel-lgpd-incidents: ^1.1
- spatie/laravel-package-tools: ^1.16
Requires (Dev)
- jeffersongoncalves/pest-plugin-database-migrations: ^1.0
- larastan/larastan: ^3.0
- laravel/pint: ^1.0
- orchestra/testbench: ^10.0|^11.0
- pestphp/pest: ^3.0|^4.0
- pestphp/pest-plugin-laravel: ^3.0|^4.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Filament LGPD Incidents
The Filament panel for laravel-lgpd-incidents: register security incidents involving personal data and keep the 3-business-day deadline to notify the ANPD and the data subjects in sight (Resolução CD/ANPD 15/2024).
Features
- Register an incident: the deadline is set from the discovery date, skipping weekends and Brazilian holidays. The discovery date is locked afterwards.
- Assess risk (low or relevant). An incident assessed as low risk doesn't need to be communicated.
- Record the ANPD notification (with protocol) and the data subject notification, then close with the measures taken.
- Partial notice: when details are still missing, tick Partial notice on the ANPD notification. The complementary information is then due within 20 business days (Res. CD/ANPD 15/2024, art. 6, §3). Record it with Complement sent to the ANPD. A late complement shows up as "Complement overdue".
- Status badge (open, notification pending, overdue, closed), "Notification pending" and "Overdue" filters, and a navigation badge with pending incidents (red when one is overdue).
- 19 languages.
Compatibility
| Plugin Version | Filament |
|---|---|
| 1.x | 3.x |
| 2.x | 4.x |
| 3.x | 5.x |
Installation
You can install the package via composer:
composer require jeffersongoncalves/filament-lgpd-incidents:"^3.0" php artisan vendor:publish --tag="lgpd-incidents-migrations" php artisan migrate
Upgrading from an earlier release? Publish and run the migrations again: laravel-lgpd-incidents 1.1 adds the complement columns.
Usage
use JeffersonGoncalves\Filament\LgpdIncidents\LgpdIncidentsPlugin; public function panel(Panel $panel): Panel { return $panel ->plugins([ LgpdIncidentsPlugin::make() ->navigationGroup('LGPD') // default: no group ->navigationSort(40) ->navigationIcon('heroicon-o-exclamation-triangle') ->slug('incidents'), ]); }
All fluent methods are optional. The deadline (3 or 6 business days) is configured in laravel-lgpd-incidents' lgpd-incidents config. Schedule lgpd:incidents-overdue to be alerted outside the panel.
The resource has no authorization of its own: register it only on panels whose users handle incidents, or add a policy for
JeffersonGoncalves\LgpdIncidents\Models\Incident. Records younger than 5 years can't be deleted.
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.
