Update an existing trigger
Update an existing trigger
Trigger to update
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 | null
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_krl_expiration
on_x509_ca_expiration
on_ocsp_signer_expiration
on_tsa_signer_expiration
on_credentials_expiration
on_license_expiration
on_trigger_error
|
||||||
triggers
object | null (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 | null
Name of the credentials to use for authentication |
|||
headers
array of object | null (header)
The headers of the request |
|||
Array [
] |
|||
payloadType
string | null
For UI purposes in order to format the body correctly |
|||
payload
string | null
The body of the request. This is a customizable template string. |
|||
proxy
string | null
Name of a Proxy to use while making the request |
|||
name
string
Name of the notification |
|||
runPeriod
string | null
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_krl_expiration
on_x509_ca_expiration
on_ocsp_signer_expiration
on_tsa_signer_expiration
on_credentials_expiration
on_license_expiration
on_trigger_error
|
|||
triggers
object | null (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 | null
|
||
timeout
string | null
|
||
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 | null (TriggersBase)
|
||
|
storageType
string
requiredThe type of external CRL storage
Value
s3
|
||
forcePathStyle
boolean
required |
||
bucket
string
required |
||
roleArn
string | null
|
||
region
string | null
|
||
proxy
string | null
|
||
timeout
string | null
|
||
rlAlias
string | null
Template string defining the object name in the S3 bucket |
||
endpoint
string | null
|
||
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 | null (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 | null
SSH fingerprint of the host to ensure connection to the correct host. If not defined, all fingerprints are accepted. |
||
timeout
string | null
|
||
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 | null (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 | null
SSH fingerprint of the host to ensure connection to the correct host. If not defined, all fingerprints are accepted. |
||
timeout
string | null
|
||
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 | null (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 | null
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 | null
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 | null (TriggersBase)
|
||
|
-
200 Trigger successfully updated
application/jsontypestring requiredThe type of notification
Valueemail
templateobject (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
bodystring | nullThe body of the e-mail. This is a customizable template string.
namestringName of the notification
runPeriodstring | nullTime 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_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_krl_expiration
on_x509_ca_expiration
on_ocsp_signer_expiration
on_tsa_signer_expiration
on_credentials_expiration
on_license_expiration
on_trigger_error
triggersobject | null (TriggersNotificationBase)onTriggerErrorarray of string | nullNotifications to run when this notification fails. Not available if the event for the notification is already on_trigger_error
typestring requiredThe type of notification
Valuerest
methodstring 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.
Enumnoauth
basic
x509
bearer
custom
expectedHttpCodesarray 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.
credentialsstring | nullName of the credentials to use for authentication
headersarray of object | null (header)The headers of the request
Array [
namestringThe header name
valuestringThe header value. This is a customizable template string.
]
payloadTypestring | nullFor UI purposes in order to format the body correctly
payloadstring | nullThe body of the request. This is a customizable template string.
proxystring | nullName of a Proxy to use while making the request
namestringName of the notification
runPeriodstring | nullTime 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_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_krl_expiration
on_x509_ca_expiration
on_ocsp_signer_expiration
on_tsa_signer_expiration
on_credentials_expiration
on_license_expiration
on_trigger_error
triggersobject | null (TriggersNotificationBase)onTriggerErrorarray of string | nullNotifications 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
Valueldap
hoststring requiredportinteger requiredsecureboolean requireddisableHostnameValidationboolean requiredbaseDNstring requiredfilterstring requiredcrlAttributestring requiredfollowReferralsboolean requiredproxystring | nulltimeoutstring | nullnamestringName of the external CRL storage
typestringThe type of trigger
Valueexternal_rl_storage
descriptionstringThe description of this external CRL storage
credentialsstringName of the credentials to use to authenticate on the storage
triggersobject | null (TriggersBase)onTriggerErrorarray of string | nullNotifications to run when this trigger fails
storageTypestring requiredThe type of external CRL storage
Values3
forcePathStyleboolean requiredbucketstring requiredroleArnstring | nullregionstring | nullproxystring | nulltimeoutstring | nullrlAliasstring | nullTemplate string defining the object name in the S3 bucket
endpointstring | nullnamestringName of the external CRL storage
typestringThe type of trigger
Valueexternal_rl_storage
descriptionstringThe description of this external CRL storage
credentialsstringName of the credentials to use to authenticate on the storage
triggersobject | null (TriggersBase)onTriggerErrorarray of string | nullNotifications to run when this trigger fails
storageTypestring requiredThe type of external CRL storage
Valuescp
hoststring 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
fingerprintstring | nullSSH fingerprint of the host to ensure connection to the correct host. If not defined, all fingerprints are accepted.
timeoutstring | nullnamestringName of the external CRL storage
typestringThe type of trigger
Valueexternal_rl_storage
descriptionstringThe description of this external CRL storage
triggersobject | null (TriggersBase)onTriggerErrorarray of string | nullNotifications to run when this trigger fails
storageTypestring requiredThe type of external CRL storage
Valuesftp
hoststring 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
fingerprintstring | nullSSH fingerprint of the host to ensure connection to the correct host. If not defined, all fingerprints are accepted.
timeoutstring | nullnamestringName of the external CRL storage
typestringThe type of trigger
Valueexternal_rl_storage
descriptionstringThe description of this external CRL storage
triggersobject | null (TriggersBase)onTriggerErrorarray of string | nullNotifications to run when this trigger fails
storageTypestring requiredThe type of external CRL storage
Valuestream
endpointstring requiredStream base endpoint
credentialsstring requiredName of the credentials to use to authenticate on the storage
castring | nullName 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.
timeoutstring | nullTimeout when making the request to stream
namestringName of the external CRL storage
typestringThe type of trigger
Valueexternal_rl_storage
descriptionstringThe description of this external CRL storage
triggersobject | null (TriggersBase)onTriggerErrorarray of string | nullNotifications to run when this trigger fails
-
400 Bad Request
application/problem+jsonerrorstring requiredThe error code of the problem
ValueTRIGGER-002
messagestring requiredA short, human-readable summary of the problem type
ValueInvalid trigger
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInvalid trigger
detailstring | nullA 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-001
messagestring requiredA short, human-readable summary of the problem type
ValueUnexpected error
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueUnexpected error
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-002
messagestring requiredA short, human-readable summary of the problem type
ValueInvalid credentials or principal does not exist
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInvalid credentials or principal does not exist
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-003
messagestring requiredA short, human-readable summary of the problem type
ValueCertificate is not trusted
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueCertificate is not trusted
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-004
messagestring requiredA short, human-readable summary of the problem type
ValueCertificate is expired
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueCertificate is expired
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-005
messagestring requiredA short, human-readable summary of the problem type
ValueCertificate is revoked
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueCertificate is revoked
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-006
messagestring requiredA short, human-readable summary of the problem type
ValuePrincipal not authenticated or authentication expired
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValuePrincipal not authenticated or authentication expired
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-007
messagestring requiredA short, human-readable summary of the problem type
ValueInvalid Identity Provider
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInvalid Identity Provider
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-008
messagestring requiredA short, human-readable summary of the problem type
ValueInvalid redirect path
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInvalid redirect path
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-009
messagestring requiredA short, human-readable summary of the problem type
ValueAuthentication expired
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueAuthentication expired
detailstring | nullA 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-001
messagestring requiredA short, human-readable summary of the problem type
ValueInsufficient privileges
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInsufficient privileges
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueLIC-002
messagestring requiredA short, human-readable summary of the problem type
ValueExpired License
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueExpired License
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
-
404 Not Found
application/problem+jsonerrorstring requiredThe error code of the problem
ValueTRIGGER-003
messagestring requiredA short, human-readable summary of the problem type
ValueTrigger not found
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueTrigger not found
detailstring | nullA 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-001
messagestring requiredA short, human-readable summary of the problem type
ValueUnexpected Error
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueUnexpected Error
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-001
messagestring requiredA short, human-readable summary of the problem type
ValueUnexpected error
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueUnexpected error
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueLIC-001
messagestring requiredA short, human-readable summary of the problem type
ValueInvalid License
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInvalid License
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807