with Google Safe Browsing and Welcome?
Emit new event when a new event is created in Welcome. See the documentation
Emit new event when a threat list is updated. See the documentation
Scan a given URL or URLs for potential security threats. See the documentation
Get the latest threat list update information from Google Safe Browsing API. See the documentation
The Google Safe Browsing API lets you check URLs against Google's constantly updated lists of unsafe web resources. These include social engineering sites (like phishing and deceptive sites) and sites that host malware or unwanted software. Within Pipedream, you can leverage this API to automate the process of scanning URLs in various contexts, such as user-generated content, emails, or within applications that require high-security measures.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
google_safebrowsing: {
type: "app",
app: "google_safebrowsing",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://safebrowsing.googleapis.com/v4/threatLists`,
params: {
key: `${this.google_safebrowsing.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
welcome: {
type: "app",
app: "welcome",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.experiencewelcome.com/api/v1/events`,
headers: {
Authorization: `Bearer ${this.welcome.$auth.oauth_access_token}`,
"Accept": `application/json`,
},
})
},
})