Register a new trigger
Register a new trigger
The trigger to register
|
type
string
requiredThe type of notification
Value
email
|
||||||
|
template
object (Email template)
required
Where and what to send in the email |
||||||
|
||||||
|
name
string
Name of the notification |
||||||
|
runPeriod
string
Time period at which the notification needs to run. Can only be defined on expiration and pending events. |
||||||
|
event
string
Event on which the notification runs
Enum
on_crl_gen
on_crl_gen_error
on_crl_gen_recover
on_crl_update
on_crl_update_error
on_crl_update_recover
on_crl_sync
on_crl_sync_error
on_crl_expiration
on_krl_gen
on_krl_gen_error
on_krl_gen_recover
on_krl_sync
on_krl_sync_error
on_x509_ca_expiration
on_ocsp_signer_expiration
on_tsa_signer_expiration
on_credentials_expiration
on_license_expiration
on_trigger_error
|
||||||
|
triggers
object (TriggersNotificationBase)
|
||||||
|
||||||
|
type
string
requiredThe type of notification
Value
rest
|
|||
|
method
string
requiredThe HTTP method to use for the request |
|||
|
url
string
requiredThe URL to request. This is a template string and can be customized. |
|||
|
authenticationType
string
requiredThe authentication type to use while making the REST call. Is linked to credentials.
Enum
noauth
basic
x509
bearer
custom
|
|||
|
expectedHttpCodes
array of integer
requiredThe success HTTP codes for the request. If the return code is not in this list, the notification will be considered failed. |
|||
|
timeout
string
requiredTimeout for the HTTP request. |
|||
|
credentials
string
Name of the credentials to use for authentication |
|||
|
headers
array of object (header)
The headers of the request |
|||
|
Array [
] |
|||
|
payloadType
string
For UI purposes in order to format the body correctly |
|||
|
payload
string
The body of the request. This is a customizable template string. |
|||
|
proxy
string
Name of a Proxy to use while making the request |
|||
|
name
string
Name of the notification |
|||
|
runPeriod
string
Time period at which the notification needs to run. Can only be defined on expiration and pending events. |
|||
|
event
string
Event on which the notification runs
Enum
on_crl_gen
on_crl_gen_error
on_crl_gen_recover
on_crl_update
on_crl_update_error
on_crl_update_recover
on_crl_sync
on_crl_sync_error
on_crl_expiration
on_krl_gen
on_krl_gen_error
on_krl_gen_recover
on_krl_sync
on_krl_sync_error
on_x509_ca_expiration
on_ocsp_signer_expiration
on_tsa_signer_expiration
on_credentials_expiration
on_license_expiration
on_trigger_error
|
|||
|
triggers
object (TriggersNotificationBase)
|
|||
|
|||
|
storageType
string
requiredThe type of external CRL storage
Value
ldap
|
||
|
host
string
required |
||
|
port
integer
required |
||
|
secure
boolean
required |
||
|
disableHostnameValidation
boolean
required |
||
|
baseDN
string
required |
||
|
filter
string
required |
||
|
crlAttribute
string
required |
||
|
followReferrals
boolean
required |
||
|
proxy
string
|
||
|
timeout
string
|
||
|
name
string
Name of the external CRL storage |
||
|
type
string
The type of trigger
Value
external_rl_storage
|
||
|
description
string
The description of this external CRL storage |
||
|
credentials
string
Name of the credentials to use to authenticate on the storage |
||
|
triggers
object (TriggersBase)
|
||
|
||
|
storageType
string
requiredThe type of external CRL storage
Value
s3
|
||
|
forcePathStyle
boolean
required |
||
|
bucket
string
required |
||
|
roleArn
string
|
||
|
region
string
|
||
|
proxy
string
|
||
|
timeout
string
|
||
|
rlAlias
string
Template string defining the object name in the S3 bucket |
||
|
endpoint
string
|
||
|
name
string
Name of the external CRL storage |
||
|
type
string
The type of trigger
Value
external_rl_storage
|
||
|
description
string
The description of this external CRL storage |
||
|
credentials
string
Name of the credentials to use to authenticate on the storage |
||
|
triggers
object (TriggersBase)
|
||
|
||
|
storageType
string
requiredThe type of external CRL storage
Value
scp
|
||
|
host
string
requiredHost to push the file to |
||
|
port
integer
requiredPort on which to access the host |
||
|
useCompression
boolean
requiredEnable compression for the protocol. |
||
|
path
string
requiredTemplate string to define the path on the host machine. |
||
|
credentials
string
requiredName of the credentials to use to authenticate on the storage |
||
|
fingerprint
string
SSH fingerprint of the host to ensure connection to the correct host. If not defined, all fingerprints are accepted. |
||
|
timeout
string
|
||
|
name
string
Name of the external CRL storage |
||
|
type
string
The type of trigger
Value
external_rl_storage
|
||
|
description
string
The description of this external CRL storage |
||
|
triggers
object (TriggersBase)
|
||
|
||
|
storageType
string
requiredThe type of external CRL storage
Value
sftp
|
||
|
host
string
requiredHost to push the file to |
||
|
port
integer
requiredPort on which to access the host |
||
|
useCompression
boolean
requiredEnable compression for the protocol. |
||
|
path
string
requiredTemplate string to define the path on the host machine. |
||
|
credentials
string
requiredName of the credentials to use to authenticate on the storage |
||
|
fingerprint
string
SSH fingerprint of the host to ensure connection to the correct host. If not defined, all fingerprints are accepted. |
||
|
timeout
string
|
||
|
name
string
Name of the external CRL storage |
||
|
type
string
The type of trigger
Value
external_rl_storage
|
||
|
description
string
The description of this external CRL storage |
||
|
triggers
object (TriggersBase)
|
||
|
||
|
storageType
string
requiredThe type of external CRL storage
Value
stream
|
||
|
endpoint
string
requiredStream base endpoint |
||
|
credentials
string
requiredName of the credentials to use to authenticate on the storage |
||
|
ca
string
Name of the ca on the distant Stream instance. This is a customizable template string. If not defined, the ca name on this Stream instance is given. |
||
|
timeout
string
Timeout when making the request to stream |
||
|
name
string
Name of the external CRL storage |
||
|
type
string
The type of trigger
Value
external_rl_storage
|
||
|
description
string
The description of this external CRL storage |
||
|
triggers
object (TriggersBase)
|
||
|
||
-
201 Trigger successfully registered
application/jsontypestring requiredThe type of notification
Valueemailtemplateobject (Email template) requiredWhere and what to send in the email
toarray of string requiredThe recipient(s) of the e-mail
fromstring requiredThe sender name of the e-mail
titlestring requiredThe title of the e-mail. This is a customizable template string.
isHtmlboolean requiredWhether the e-mail contains HTML code
bodystringThe body of the e-mail. This is a customizable template string.
idstring (Internal ID) requiredObject internal ID
namestringName of the notification
runPeriodstringTime period at which the notification needs to run. Can only be defined on expiration and pending events.
eventstringEvent on which the notification runs
Enumon_crl_genon_crl_gen_erroron_crl_gen_recoveron_crl_updateon_crl_update_erroron_crl_update_recoveron_crl_syncon_crl_sync_erroron_crl_expirationon_krl_genon_krl_gen_erroron_krl_gen_recoveron_krl_syncon_krl_sync_erroron_x509_ca_expirationon_ocsp_signer_expirationon_tsa_signer_expirationon_credentials_expirationon_license_expirationon_trigger_errortriggersobject (TriggersNotificationBase)onTriggerErrorarray of stringNotifications to run when this notification fails. Not available if the event for the notification is already on_trigger_error
typestring requiredThe type of notification
Valuerestmethodstring requiredThe HTTP method to use for the request
urlstring requiredThe URL to request. This is a template string and can be customized.
authenticationTypestring requiredThe authentication type to use while making the REST call. Is linked to credentials.
Enumnoauthbasicx509bearercustomexpectedHttpCodesarray of integer requiredThe success HTTP codes for the request. If the return code is not in this list, the notification will be considered failed.
timeoutstring requiredTimeout for the HTTP request.
idstring (Internal ID) requiredObject internal ID
credentialsstringName of the credentials to use for authentication
headersarray of object (header)The headers of the request
Array [
namestringThe header name
valuestringThe header value. This is a customizable template string.
]
payloadTypestringFor UI purposes in order to format the body correctly
payloadstringThe body of the request. This is a customizable template string.
proxystringName of a Proxy to use while making the request
namestringName of the notification
runPeriodstringTime period at which the notification needs to run. Can only be defined on expiration and pending events.
eventstringEvent on which the notification runs
Enumon_crl_genon_crl_gen_erroron_crl_gen_recoveron_crl_updateon_crl_update_erroron_crl_update_recoveron_crl_syncon_crl_sync_erroron_crl_expirationon_krl_genon_krl_gen_erroron_krl_gen_recoveron_krl_syncon_krl_sync_erroron_x509_ca_expirationon_ocsp_signer_expirationon_tsa_signer_expirationon_credentials_expirationon_license_expirationon_trigger_errortriggersobject (TriggersNotificationBase)onTriggerErrorarray of stringNotifications to run when this notification fails. Not available if the event for the notification is already on_trigger_error
storageTypestring requiredThe type of external CRL storage
Valueldaphoststring requiredportinteger requiredsecureboolean requireddisableHostnameValidationboolean requiredbaseDNstring requiredfilterstring requiredcrlAttributestring requiredfollowReferralsboolean requiredidstring (Internal ID) requiredObject internal ID
proxystringtimeoutstringnamestringName of the external CRL storage
typestringThe type of trigger
Valueexternal_rl_storagedescriptionstringThe description of this external CRL storage
credentialsstringName of the credentials to use to authenticate on the storage
triggersobject (TriggersBase)onTriggerErrorarray of stringNotifications to run when this trigger fails
storageTypestring requiredThe type of external CRL storage
Values3forcePathStyleboolean requiredbucketstring requiredidstring (Internal ID) requiredObject internal ID
roleArnstringregionstringproxystringtimeoutstringrlAliasstringTemplate string defining the object name in the S3 bucket
endpointstringnamestringName of the external CRL storage
typestringThe type of trigger
Valueexternal_rl_storagedescriptionstringThe description of this external CRL storage
credentialsstringName of the credentials to use to authenticate on the storage
triggersobject (TriggersBase)onTriggerErrorarray of stringNotifications to run when this trigger fails
storageTypestring requiredThe type of external CRL storage
Valuescphoststring requiredHost to push the file to
portinteger requiredPort on which to access the host
useCompressionboolean requiredEnable compression for the protocol.
pathstring requiredTemplate string to define the path on the host machine.
credentialsstring requiredName of the credentials to use to authenticate on the storage
idstring (Internal ID) requiredObject internal ID
fingerprintstringSSH fingerprint of the host to ensure connection to the correct host. If not defined, all fingerprints are accepted.
timeoutstringnamestringName of the external CRL storage
typestringThe type of trigger
Valueexternal_rl_storagedescriptionstringThe description of this external CRL storage
triggersobject (TriggersBase)onTriggerErrorarray of stringNotifications to run when this trigger fails
storageTypestring requiredThe type of external CRL storage
Valuesftphoststring requiredHost to push the file to
portinteger requiredPort on which to access the host
useCompressionboolean requiredEnable compression for the protocol.
pathstring requiredTemplate string to define the path on the host machine.
credentialsstring requiredName of the credentials to use to authenticate on the storage
idstring (Internal ID) requiredObject internal ID
fingerprintstringSSH fingerprint of the host to ensure connection to the correct host. If not defined, all fingerprints are accepted.
timeoutstringnamestringName of the external CRL storage
typestringThe type of trigger
Valueexternal_rl_storagedescriptionstringThe description of this external CRL storage
triggersobject (TriggersBase)onTriggerErrorarray of stringNotifications to run when this trigger fails
storageTypestring requiredThe type of external CRL storage
Valuestreamendpointstring requiredStream base endpoint
credentialsstring requiredName of the credentials to use to authenticate on the storage
idstring (Internal ID) requiredObject internal ID
castringName of the ca on the distant Stream instance. This is a customizable template string. If not defined, the ca name on this Stream instance is given.
timeoutstringTimeout when making the request to stream
namestringName of the external CRL storage
typestringThe type of trigger
Valueexternal_rl_storagedescriptionstringThe description of this external CRL storage
triggersobject (TriggersBase)onTriggerErrorarray of stringNotifications to run when this trigger fails
-
400 Bad Request
application/problem+jsonerrorstring requiredThe error code of the problem
ValueTRIGGER-002messagestring requiredA short, human-readable summary of the problem type
ValueInvalid triggertitlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInvalid triggerdetailstringA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueTRIGGER-004messagestring requiredA short, human-readable summary of the problem type
ValueTrigger already existstitlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueTrigger already existsdetailstringA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
-
401 Unauthorized request
application/problem+jsonerrorstring requiredThe error code of the problem
ValueSEC-AUTH-001messagestring requiredA short, human-readable summary of the problem type
ValueUnexpected errortitlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueUnexpected errordetailstringA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-002messagestring requiredA short, human-readable summary of the problem type
ValueInvalid credentials or principal does not existtitlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInvalid credentials or principal does not existdetailstringA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-003messagestring requiredA short, human-readable summary of the problem type
ValueCertificate is not trustedtitlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueCertificate is not trusteddetailstringA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-004messagestring requiredA short, human-readable summary of the problem type
ValueCertificate is expiredtitlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueCertificate is expireddetailstringA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-005messagestring requiredA short, human-readable summary of the problem type
ValueCertificate is revokedtitlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueCertificate is revokeddetailstringA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-006messagestring requiredA short, human-readable summary of the problem type
ValuePrincipal not authenticated or authentication expiredtitlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValuePrincipal not authenticated or authentication expireddetailstringA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-007messagestring requiredA short, human-readable summary of the problem type
ValueInvalid Identity Providertitlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInvalid Identity ProviderdetailstringA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-008messagestring requiredA short, human-readable summary of the problem type
ValueInvalid redirect pathtitlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInvalid redirect pathdetailstringA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-009messagestring requiredA short, human-readable summary of the problem type
ValueAuthentication expiredtitlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueAuthentication expireddetailstringA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
-
403 Forbidden action
application/problem+jsonerrorstring requiredThe error code of the problem
ValueSEC-PERM-001messagestring requiredA short, human-readable summary of the problem type
ValueInsufficient privilegestitlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInsufficient privilegesdetailstringA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueLIC-002messagestring requiredA short, human-readable summary of the problem type
ValueExpired Licensetitlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueExpired LicensedetailstringA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
-
500 Internal Server error
application/problem+jsonerrorstring requiredThe error code of the problem
ValueTRIGGER-001messagestring requiredA short, human-readable summary of the problem type
ValueUnexpected Errortitlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueUnexpected ErrordetailstringA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-001messagestring requiredA short, human-readable summary of the problem type
ValueUnexpected errortitlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueUnexpected errordetailstringA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueLIC-001messagestring requiredA short, human-readable summary of the problem type
ValueInvalid Licensetitlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInvalid LicensedetailstringA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807