POST Monitoring Revocation Test
The POST /Monitoring/Revocation/Test method is used to test email alerts for a single configured revocation monitoring endpoint An endpoint is a URL that enables the API to gain access to resources on a server.. 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 548: POST Monitoring Revocation Test Input Parameters
Name | Description |
---|---|
AlertId | Required. An integer indicating the reference ID of revocation monitoring alert to test. |
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 549: POST Monitoring Revocation Test 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). |


Was this page helpful? Provide Feedback