with SSLMate — Cert Spotter API and ServiceNow?
The SSLMate — Cert Spotter API allows you to monitor SSL/TLS certificates across the web, catching potentially misissued certs and identifying certificates that could affect your domain security. By tapping into the API with Pipedream, you can automate alerts, integrate certificate data into security analyses, and streamline compliance checks by reacting to newly issued certificates in real-time.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sslmate_cert_spotter_api: {
type: "app",
app: "sslmate_cert_spotter_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.certspotter.com/v1/issuances`,
headers: {
Authorization: `Bearer ${this.sslmate_cert_spotter_api.$auth.api_key}`,
},
params: {
domain: `example.com`,
},
})
},
})
The ServiceNow API lets developers access and manipulate records, manage workflows, and integrate with other services on its IT service management platform. These capabilities support automating tasks, syncing data across platforms, and boosting operational efficiencies.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
servicenow: {
type: "app",
app: "servicenow",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.servicenow.$auth.instance_name}.service-now.com/api/now/table/incident`,
headers: {
Authorization: `Bearer ${this.servicenow.$auth.oauth_access_token}`,
},
})
},
})