with Drata and Allocadence?
Emit new event when a new customer order is created.
Emit a new event when an employee is terminated. See the documentation
Emit new event when a new purchase order is created.
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: {
allocadence: {
type: "app",
app: "allocadence",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.allocadence.com/rest/items`,
auth: {
username: `${this.allocadence.$auth.api_key}`,
password: `${this.allocadence.$auth.api_secret}`,
},
})
},
})