expose a REST api for URL repudiation.
One connecter is already written(it uses the Brigthcloud api BRIGTHCLOUD API
go get marian-craciunescu/urlenricher
cd $GOPATH/src/github.com/marian-craciunescu/urlenricher
go build
./urlenricher --api_key=BrightcloudApiKey --api_secret=BrightcloudApiSecret
curl -XGET http://127.0.0.1:8081/resolve?target=www.google.com
#Response is the format
{
"Address": "www.google.com",
"ReputationPercentage": 81,
"Categories": [
{
"ID": 50,
"Name": "Search Engines",
"Group": "Productivity",
"Confidence": 100
}
],
"SubdomainNumber": 0,
"Ts": "2018-09-06T13:29:49.06775243Z"
}
- Increase Code coverage
- Add more connectors.
- Add swagger for the REST api description
- add golangci.com and codecov.io for CI/CD