Reporting made easy, Pentesting made powerful
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
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`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})