Certificate Transparency monitoring of verified domains
curl --request GET \
--url https://app.trustivan.com/api/v1/certificates/ct \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.trustivan.com/api/v1/certificates/ct"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.trustivan.com/api/v1/certificates/ct', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.trustivan.com/api/v1/certificates/ct"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"enabled": true,
"domains": [
{
"domain": "<string>",
"last_polled_at": "2023-11-07T05:31:56Z",
"last_error": "<string>",
"asset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"certificates": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"domain": "<string>",
"serial": "<string>",
"issuer": "<string>",
"common_name": "<string>",
"names": [
"<string>"
],
"not_before": "2023-11-07T05:31:56Z",
"not_after": "2023-11-07T05:31:56Z",
"problems": [
"ct-unexpected-issuer"
],
"first_seen_at": "2023-11-07T05:31:56Z",
"last_seen_at": "2023-11-07T05:31:56Z",
"log_id": 123
}
]
}{
"error": "<string>",
"code": "validation_failed",
"required_scope": "<string>",
"principal": "user"
}Certificate Transparency monitoring of domains
The domains monitored (the hosts of DAST targets whose ownership is
verified) with when each was last searched, and up to 1,000
unexpired certificates the public CT search showed for them, newest
first, deduplicated by serial and issuer, each with the CT checks it
failed. enabled is false when the deployment has not turned
monitoring on (CT_MONITORING_ENABLED); nothing is then searched.
Requires assets:read.
GET
/
certificates
/
ct
Certificate Transparency monitoring of verified domains
curl --request GET \
--url https://app.trustivan.com/api/v1/certificates/ct \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.trustivan.com/api/v1/certificates/ct"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.trustivan.com/api/v1/certificates/ct', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.trustivan.com/api/v1/certificates/ct"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"enabled": true,
"domains": [
{
"domain": "<string>",
"last_polled_at": "2023-11-07T05:31:56Z",
"last_error": "<string>",
"asset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"certificates": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"domain": "<string>",
"serial": "<string>",
"issuer": "<string>",
"common_name": "<string>",
"names": [
"<string>"
],
"not_before": "2023-11-07T05:31:56Z",
"not_after": "2023-11-07T05:31:56Z",
"problems": [
"ct-unexpected-issuer"
],
"first_seen_at": "2023-11-07T05:31:56Z",
"last_seen_at": "2023-11-07T05:31:56Z",
"log_id": 123
}
]
}{
"error": "<string>",
"code": "validation_failed",
"required_scope": "<string>",
"principal": "user"
}