with DNSFilter and ServiceNow?
Emit new event when a new policy is created. See the documentation
Emit new event when a user's DNS query is blocked by a policy. See the documentation
Assigns a pre-existing policy to a specific site within your DNSFilter account. See the documentation
Blocks a selected category from a policy applied to your DNSFilter account's sites or roaming clients. See the documentation
Retrieves the record identified by the specified sys_id from the specified table.
The DNSFilter API enables you to automate interactions with your DNSFilter account, offering capabilities like managing filtered domains, accessing reports, updating settings, and more. Within Pipedream, you can wield this API for seamless and serverless integrations, crafting workflows that trigger on specified conditions, process DNSFilter data, and interact with other apps and services, all without managing infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dnsfilter: {
type: "app",
app: "dnsfilter",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.dnsfilter.com/v1/users`,
headers: {
"Authorization": `Token ${this.dnsfilter.$auth.oauth_access_token}`,
},
})
},
})
The ServiceNow API lets developers access and manipulate records, manage workflows, and integrate with other services on its IT service management platform. These capabilities support automating tasks, syncing data across platforms, and boosting operational efficiencies.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
servicenow: {
type: "app",
app: "servicenow",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.servicenow.$auth.instance_name}.service-now.com/api/now/table/incident`,
headers: {
Authorization: `Bearer ${this.servicenow.$auth.oauth_access_token}`,
},
})
},
})