POST Monitoring Revocation Test All
The POST /Monitoring/Revocation/Test method is used to test email alerts for all configured revocation monitoring endpoints. Alerts are generated when a CRL A Certificate Revocation List (CRL) is a list of digital certificates that have been revoked by the issuing Certificate Authority (CA) before their scheduled expiration date and should no longer be trusted. is expired or in the warning period as defined by the number of days configured in the Email Reminder setting or when an OCSP endpoint
An endpoint is a URL that enables the API to gain access to resources on a server. is unreachable. For example, if you had a CRL that expired on June 30 and configured the email reminder period to 15 days before expiration, the warning status would begin for that CRL on June 15 and CRL alerts would be generated. This method returns HTTP 200 OK on a success with details about the email message generated for each alert.
When alerts are tested or sent on a schedule, corresponding message are also written to the system event log on the server where the Keyfactor Command service runs. For testing, this is true regardless of the setting of the SendAlerts flag. Information is logged to the event log for both locations that are in a good state (e.g. CRL resolves and is not in a warning or expired state or response from OCSP) and locations that are in an error state (e.g. CRL resolves but is in the warning period or expired, CRL is expired, CRL or OCSP location does not resolve).
Table 481: POST Monitoring Revocation Test All Input Parameters
Name | Description |
---|---|
EvaluationDate |
Required. A string indicating the evaluation date/time for the test. The date and time should be given using the ISO 8601 UTC time format YYYY-MM-DDTHH:mm:ss.000Z (e.g. 2023-11-19T16:23:01Z). You can use the date to simulate running the alerts a month from now instead of today, for example, or put in a date far in the future to be sure you pick up some expiring CRLs for testing purposes. |
SendAlerts |
A Boolean indicating whether to send alert emails with the test (true) or not (false). The default is false. |
Table 482: POST Monitoring Revocation Test All Response Data
Parameter | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
RevocationMonitoringAlerts |
An array of objects containing alert details resulting from the test.
|
||||||||
AlertBuildResult | A string indicating the outcome of the test (e.g. Success). |


