with Murf and Microsoft Graph Security?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
murf: {
type: "app",
app: "murf",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.murf.ai/v1/speech/voices`,
headers: {
"api-key": `${this.murf.$auth.api_key}`,
"token": `${this.murf.$auth.token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
microsoft_graph_security: {
type: "app",
app: "microsoft_graph_security",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://graph.microsoft.com/v1.0/security/alerts`,
headers: {
Authorization: `Bearer ${this.microsoft_graph_security.$auth.oauth_access_token}`,
},
})
},
})