with Detectify and Notion?
Emit new event when a severe security finding at high risk level is detected.
Emit new event when a moderate security finding at a medium risk level is recognized.
Emit new event as soon as a new security scan on the entered domain commences
Emit new event when a new comment is created in a page or block. See the documentation
Emit new event when a data source is created. See the documentation
Append new and/or existing blocks to the specified parent. See the documentation
Use this action to finalize a mode=multi_part
file upload after all of the parts have been sent successfully. See the documentation
Create a comment in a page or existing discussion thread. See the documentation
Create a database and its initial data source. See the documentation
The Detectify API provides a powerful interface for automating and integrating continuous web application security testing into your development cycle. With this API, you can programmatically start scans, fetch scan profiles, retrieve findings, and manage your Detectify domain assets. When leveraged through Pipedream, you can create serverless workflows that trigger actions in other apps based on the results from Detectify, ensuring timely responses to security threats and streamlining your DevSecOps processes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
detectify: {
type: "app",
app: "detectify",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.detectify.com/rest/v2/assets/`,
headers: {
"Content-Type": `application/json`,
"X-Detectify-Key": `${this.detectify.$auth.api_key}`,
},
})
},
})
Notion's API allows for the creation, reading, updating, and deleting of pages, databases, and their contents within Notion. Using Pipedream's platform, you can build workflows that connect Notion with various other services to automate tasks such as content management, task tracking, and data synchronization. With Pipedream's serverless execution, you can trigger these workflows on a schedule, or by external events from other services, without managing any infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
notion: {
type: "app",
app: "notion",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.notion.com/v1/users/me`,
headers: {
Authorization: `Bearer ${this.notion.$auth.oauth_access_token}`,
"Notion-Version": `2021-08-16`,
},
})
},
})