with Rapid7 Insight Platform and Nextcloud?
Emit new event whenever a share is created in Nextcloud. See the documentation
Creates a new share link from the specified path in Nextcloud. See the documentation
Retrieves a list of shares based on the specified criteria in Nextcloud. See the documentation
The Rapid7 Insight Platform API allows users to automate and integrate their security data with other applications. By harnessing this API on Pipedream, you can create custom workflows to streamline security operations, such as automating threat detection, managing vulnerabilities, or orchestrating incident response. This means you can connect the Insight Platform's capabilities with numerous other apps to trigger actions, process data, and get real-time insights, all within Pipedream's low-code environment.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
rapid7_insight_platform: {
type: "app",
app: "rapid7_insight_platform",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://us.api.insight.rapid7.com/validate`,
headers: {
"X-Api-Key": `${this.rapid7_insight_platform.$auth.api_key}`,
},
})
},
})
Nextcloud's API lets you tap into your self-hosted cloud storage and collaboration platform. With Pipedream, you can automate tasks like file management, user account operations, and accessing calendar and contacts. It's a treasure trove for creating workflows that sync, share, and manage data programmatically between Nextcloud and other apps.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
nextcloud: {
type: "app",
app: "nextcloud",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.nextcloud.$auth.url}/ocs/v2.php/apps/files_sharing/api/v1/shares`,
headers: {
"OCS-APIRequest": `true`,
},
auth: {
username: `${this.nextcloud.$auth.username}`,
password: `${this.nextcloud.$auth.password}`,
},
})
},
})