import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
misp: {
type: "app",
app: "misp",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.misp.$auth.server_url}/admin/users`,
headers: {
"authorization": `${this.misp.$auth.api_key}`,
"content-type": `application/json`,
"accept": `application/json`,
},
})
},
})
MISP uses API keys for authentication. When you connect your MISP account, Pipedream securely stores the keys so you can easily authenticate to MISP APIs in both code and no-code steps.