The expiry thresholds, the Certificate Transparency policy and the DKIM selectors
curl --request GET \
--url https://app.trustivan.com/api/v1/certificates/settings \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.trustivan.com/api/v1/certificates/settings"
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/settings', 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/settings"
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))
}{
"thresholds": {
"low": 30,
"medium": 14,
"high": 7
},
"ct": {
"allowed_issuers": [
"<string>"
],
"expected_names": [
"<string>"
]
},
"email": {
"dkim_selectors": [
"<string>"
]
}
}{
"error": "<string>",
"code": "validation_failed",
"required_scope": "<string>",
"principal": "user"
}Certificate expiry, CT and DKIM settings
Days before expiry at which an expiring certificate is low, medium and
high severity, what certificates logged for a verified domain are
judged against (the allowed issuers and the names expected), and the
DKIM selectors the email DNS checks look up. Requires assets:read.
GET
/
certificates
/
settings
The expiry thresholds, the Certificate Transparency policy and the DKIM selectors
curl --request GET \
--url https://app.trustivan.com/api/v1/certificates/settings \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.trustivan.com/api/v1/certificates/settings"
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/settings', 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/settings"
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))
}{
"thresholds": {
"low": 30,
"medium": 14,
"high": 7
},
"ct": {
"allowed_issuers": [
"<string>"
],
"expected_names": [
"<string>"
]
},
"email": {
"dkim_selectors": [
"<string>"
]
}
}{
"error": "<string>",
"code": "validation_failed",
"required_scope": "<string>",
"principal": "user"
}