Skip to content

Rostelecom-CERT/vior

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

13 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Build Status

Violations Receiver

Content Security Policy violations receiver.

Currently it uses Elasticsearch as a storage, but other dbs could be easily implemented.

How to start

Docker

sudo docker-compose up -d

Do not forget to specify volume for the Elasticsearch data if you want to persist the data.

Development version

Only Go 1.9+ is supported.

Listen on :8080 and use 127.0.0.1:9200 as the Elastic server storage.

$: VIOR_PORT=8080 \
   VIOR_ELASTIC_URL=http://127.0.0.1:9200 \
   go run cmd/vior-http/main.go