jeffersongoncalves / filament-gdpr-dpia
Filament plugin for laravel-gdpr-dpia: data protection impact assessments (Art. 35) in your panel, with risks before and after measures, DPO advice, approval, prior consultation flag and the activities still missing one.
Package info
github.com/jeffersongoncalves/filament-gdpr-dpia
pkg:composer/jeffersongoncalves/filament-gdpr-dpia
Requires
- php: ^8.2
- filament/filament: ^5.3
- jeffersongoncalves/filament-plugin-core: ^3.0
- jeffersongoncalves/laravel-gdpr-dpia: ^1.0
- 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 GDPR DPIA
Write the data protection impact assessments (DPIA, GDPR Art. 35) of laravel-gdpr-dpia in your Filament panel.
Features
- Assessments linked to a processing activity from laravel-gdpr-records, with the description of the processing, its necessity and proportionality, and the DPO's opinion.
- Risks in a repeater. Each one has an optional LINDDUN threat, a likelihood and an impact from 1 to 3, the measures taken, and the scores after those measures.
- The table shows the highest inherent risk and the highest residual risk (low, medium or high), the status and the next review.
- Approve: asks for the approver's name and schedules the next review. Editing an approved assessment sends it back to draft.
- Missing assessments: lists the processing activities with special category (Art. 9) or criminal (Art. 10) data and no assessment yet (Art. 35(3)(b)).
- Prior consultation: a column flags assessments whose highest residual risk is still high, so you consult the supervisory authority first (Art. 36).
- Export (JSON) for each assessment.
- 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-gdpr-dpia:"^3.0" php artisan vendor:publish --tag="gdpr-records-migrations" # if not published yet php artisan vendor:publish --tag="gdpr-dpia-migrations" php artisan migrate
Usage
use JeffersonGoncalves\Filament\GdprDpia\GdprDpiaPlugin; public function panel(Panel $panel): Panel { return $panel ->plugins([ GdprDpiaPlugin::make() ->navigationGroup('GDPR') // default: no group ->navigationSort(7) ->navigationIcon('heroicon-o-shield-exclamation') ->slug('impact-assessments'), ]); }
All fluent methods are optional. Pair it with filament-gdpr-records to maintain the processing activities in the same panel.
The resource has no authorization of its own: register it only on panels whose users write the assessments, or add a policy for
JeffersonGoncalves\GdprDpia\Models\ImpactAssessment.
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.
