with Firmalyzer IoTVAS API and GitHub?
Find issues and pull requests by state and keyword. See the documentation
Allows you to add a new gist with one or more files. See the documentation
Firmalyzer IoTVAS API provides a platform for assessing the security of IoT devices. By using this API, you can automate the analysis of firmware, uncover vulnerabilities, check for outdated software, and verify compliance with security standards. Integrating Firmalyzer with Pipedream allows for the seamless incorporation of IoT security checks into broader automation workflows, which can facilitate continuous monitoring, alerting, and reporting within your infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
firmalyzer_iotvas: {
type: "app",
app: "firmalyzer_iotvas",
}
},
async run({steps, $}) {
const data = {
"snmp_sysdescr": ``,
"ftp_banner": `AXIS P3346 Fixed Dome Network Camera 5.20 (2017) ready.`,
"telnet_banner": ``,
"hostname": ``,
"http_response": ``,
"https_response": ``,
"upnp_response": ``,
"nic_mac": ``,
}
return await axios($, {
method: "post",
url: `https://iotvas-api.firmalyzer.com/api/v1/device/detect`,
headers: {
"Accept": `application/json`,
"Content-Type": `application/json`,
"x-api-key": `${this.firmalyzer_iotvas.$auth.api_key}`,
},
data,
})
},
})
The GitHub API is a powerful gateway to interaction with GitHub's vast web of data and services, offering a suite of endpoints to manipulate and retrieve information on repositories, pull requests, issues, and more. Harnessing this API on Pipedream, you can orchestrate automated workflows that respond to events in real-time, manage repository data, streamline collaborative processes, and connect GitHub with other services for a more integrated development lifecycle.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
github: {
type: "app",
app: "github",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.github.com/user`,
headers: {
Authorization: `Bearer ${this.github.$auth.oauth_access_token}`,
"X-GitHub-Api-Version": `2022-11-28`,
},
})
},
})