with Drata and Adtraction?
Emit a new event when an employee is terminated. See the documentation
Emit a new event for every new evidence for a control. See the documentation
Drata is a compliance automation platform. Drata’s platform is built by compliance and security experts so you don’t have to be one. With 75+ native integrations, you can easily connect your tech stack and automate evidence collection and testing.
Pipedream customers get 25% off Drata, with implementation fees waived. Visit https://drata.com/partner/pipedream for more information.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
drata: {
type: "app",
app: "drata",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://public-api.drata.com/public/controls`,
headers: {
Authorization: `Bearer ${this.drata.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
adtraction: {
type: "app",
app: "adtraction",
}
},
async run({steps, $}) {
const data = {
"market": `SE`,
}
return await axios($, {
method: "post",
url: `https://api.adtraction.com/v3/partner/programs/`,
headers: {
"content-type": `application/json;charset=UTF-8`,
},
params: {
token: `${this.adtraction.$auth.api_token}`,
},
data,
})
},
})