Audit. Improve. Empower. Make compliance happen.
Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.
Format a date string to another date string. For more examples on formatting, see the Sugar Date Format documentation.
The 21RISK API provides functionalities to manage and monitor risk within organizations. Leveraging Pipedream's integration capabilities allows for automated workflows that can streamline risk management processes, trigger alerts, and synchronize risk data across various business tools. This API is particularly useful for organizations looking to automate their risk assessment and mitigation strategies effectively.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
_21risk: {
type: "app",
app: "_21risk",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.21risk.com/odata/v5/organizations`,
headers: {
Authorization: `Bearer ${this._21risk.$auth.api_key}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})