google / google/safebrowsing

SafeSites URL filter - query filter?

Open
#114 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
503
Forks
139
PR merge metrics
No merged PRs in 30d

Description

Hi Google

I'm trying to find out what websites are a part of your solution for GWfE domains - namely the "SafeSites URL filter", that filters adult content.
![image](https://user-images.githubusercontent.com/4117997/145034180-3b2817d4-62ae-471c-8619-2ad431c44b8d.png)

Is it possible to query this?

eg.
> curl -H "Content-Type:application/json" -H "Accept: application/json" --data-binary "{ \"client\": { \"clientId\": \"myclientid\", \"clientVersion\": \"1.5.2\" }, \"threatInfo\": { \"threatTypes\": [\"MALWARE\", \"SOCIAL_ENGINEERING\", \"THREAT_TYPE_UNSPECIFIED\", \"UNWANTED_SOFTWARE\", \"POTENTIALLY_HARMFUL_APPLICATION\"], \"platformTypes\": [\"ANY_PLATFORM\"], \"threatEntryTypes\": [\"URL\"], \"threatEntries\": [ {\"url\": \"http://pornhub.com\"}, {\"url\": \"https://xhamster.com\"} ] } }" -X POST "https://safebrowsing.googleapis.com/v4/threatMatches:find?key=xxxxxxxxxxxxxxxx"

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.