Drata automates your compliance journey from start to audit-ready and beyond and provides support from the security and compliance experts who built it.
Go to siteimport { 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}`,
},
})
},
})
Drata uses API keys for authentication. When you connect your Drata account, Pipedream securely stores the keys so you can easily authenticate to Drata APIs in both code and no-code steps.
Make sure you're logged into the Drata UI, then see these docs to create a Drata API key. Enter it below.