Esta es una herramienta open source para generar un informe con las cookies que utiliza cada sitio y así poder cumplir con el Reglamento General de Protección de Datos (RGPD)
https://github.com/CovenantSQL/CookieScanner
1. Instalar Google Chrome o bien arrancar una versión de Chrme sin cabecera en docker con:
docker container run -d -p 9222:9222 zenika/alpine-chrome –no-sandbox –remote-debugging-address=0.0.0.0 –remote-debugging-port=9222
2. Intalar CookieScanner:
go get github.com/CovenantSQL/CookieScanner
Para ejecutarlo y generar el informe en formato json/html/pdf:
CookieScanner [
website cookie usage report generator
Flags:
–help Show context-sensitive help (also try –help-long
and –help-man).
–chrome=CHROME chrome application to run as remote debugger
–verbose run debugger in verbose mode
–timeout=1m0s timeout for a single cookie scan
–wait=WAIT wait duration after page load in scan
–classifier=CLASSIFIER classifier database for cookie report
–log-level=LOG-LEVEL set log level
Commands:
help [
Show help.
cli [
generate report for a single website
version
get debugger version
server [
start a report generation server
$ CookieScanner cli –help
usage: CookieScanner cli [
generate report for a single website
Flags:
–help Show context-sensitive help (also try –help-long
and –help-man).
–chrome=CHROME chrome application to run as remote debugger
–verbose run debugger in verbose mode
–timeout=1m0s timeout for a single cookie scan
–wait=WAIT wait duration after page load in scan
–classifier=CLASSIFIER classifier database for cookie report
–log-level=LOG-LEVEL set log level
–headless run chrome in headless mode
–port=9222 chrome remote debugger listen port
–json print report as json
–html=HTML save report as html
–pdf=PDF save report as pdf
Args: