with Planview Leankit and Splunk?
Emit new event when a new alert is triggered in Splunk. See the documentation
Emit new event when a new search event is created. See the documentation
Emit new events when a search returns results in Splunk. See the documentation
Emit new event when a card is created in a specific lane.
Emit new event when a card is created on a board.
Create a new card type on a board. See the docs here
Sends a new event to a specified Splunk index. See the documentation
Create a comment in a card or task. See the docs here
Retrieve the status of a previously executed Splunk search job. See the documentation
Add tags in a card or task. See the docs here
Planview LeanKit API empowers users to automate and integrate their Kanban workflow management. With this API, you can programmatically access boards, cards, and related data to sync with other systems, trigger actions based on board updates, and extract analytics for reporting purposes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
planview_leankit: {
type: "app",
app: "planview_leankit",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.planview_leankit.$auth.domain}.leankit.com/io/scim/v1/Users`,
auth: {
username: `${this.planview_leankit.$auth.username}`,
password: `${this.planview_leankit.$auth.password}`,
},
})
},
})
import { axios } from "@pipedream/platform";
import https from "https";
export default defineComponent({
props: {
splunk: {
type: "app",
app: "splunk",
}
},
async run({steps, $}) {
const selfSigned = this.splunk.$auth.self_signed;
const agent = new https.Agent({
rejectUnauthorized: !selfSigned
});
return await axios($, {
url: `${this.splunk.$auth.api_url}:${this.splunk.$auth.api_port}/services/authentication/current-context`,
httpsAgent: agent,
headers: {
"content-type": `application/json`,
"authorization": `Splunk ${this.splunk.$auth.api_token}`,
},
params: {
output_mode: `json`,
},
})
},
})