with Error and SSLMate — Cert Spotter API?
export default defineComponent({
async run({steps, $}) {
throw new Error('Oops something went wrong')
},
})
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`,
},
})
},
})