Node package manager
Emit new event with the latest count of downloads for an npm package. See the documentation.
Emit new event when a new version of an npm package is published. See the documentation
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`,
},
})
},
})