with Security Reporter and Sage Intacct?
Emit new event when an assessment is created.
Emit new event when a finding is created.
Emit new event when a finding is updated.
Creates a new security assessment. See the documentation
Creates a new security finding. See the documentation
Updates an existing security finding. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
security_reporter: {
type: "app",
app: "security_reporter",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.security_reporter.$auth.base_url}/api/v1/users/me`,
headers: {
Authorization: `Bearer ${this.security_reporter.$auth.api_token}`,
"Content-Type": `application/json`,
"Accept": `application/json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sage_intacct: {
type: "app",
app: "sage_intacct",
}
},
async run({steps, $}) {
return this.sage_intacct.$auth.session_id;
},
})