GET SSL Networks

The GET /SSLClosed TLS (Transport Layer Security) and its predecessor SSL (Secure Sockets Layer) are protocols for establishing authenticated and encrypted links between networked computers./Networks method is used to retrieve one or more SSL networks from Keyfactor Command. Results can be limited to selected SSL networks using filtering, and URL parameters can be used to specify paging and the level of information detail. This method returns HTTP 200 OK on a success with details about the specified SSL networks.

Tip:  The following permissions (see Security Overview) are required to use this feature:

SslManagement: Read

Table 589: GET SSL Networks Input Parameters

Name In Description
queryString Query

A string containing a query to limit the results (e.g. field1 -eq value1 AND field2 -gt value2). The default is to return all records. Fields available for querying through the API for the most part match those that appear in the Keyfactor Command Management Portal search dropdowns for the same feature. For querying guidelines, refer to the Keyfactor Command Reference GuideUsing the Network Scan Details Search. The query fields supported for this endpoint are:

  • Name
  • Pool
pageReturned Query An integer that specifies how many multiples of the returnLimit to skip and offset by before returning results, to enable paging. The default is 1.
returnLimit Query An integer that specifies how many results to return per page. The default is 50.
sortField Query A string containing the property by which the results should be sorted. Fields available for sorting through the API for the most part match those that appear as sortable columns in the Keyfactor Command Management Portal. The default sort field is Name.
sortAscending Query An integer that sets the sort order on the returned results. A value of 0 sorts results in ascending order while a value of 1 sorts results in descending order. The default is ascending.This field is optional.

Table 590: GET SSL Networks Response Data

Name Description
NetworkId The Keyfactor Command reference GUID for the SSL network. This GUID is automatically set by Keyfactor Command.
Name

A string indicating the name for the SSL network.

AgentPoolName A string indicating the name of the orchestrator pool assigned to the SSL network. See Orchestrator Pools Definition in the Keyfactor Command Reference Guide for more information.
AgentPoolId The Keyfactor Command reference GUID for the orchestrator pool assigned to the SSL network.
Description A string indicating the description of the SSL network.
Enabled A Boolean that indicates whether scanning is enabled for the SSL network (true) or not (false). If this is set to false, no new network scans will be scheduled but any current scan will finish if one was in progress when the status was changed from true to false.
DiscoverSchedule

An array providing the discovery schedule for the SSL network group. The schedule can be off (unset) or one of the supported values. ClosedShow schedule details.

Name Description
Immediate

A Boolean that indicates a job scheduled to run immediately (true) or not (false).

Tip:  In some instances, jobs initially scheduled as Immediate will appear on a GET as null.
Interval A dictionary that indicates a job scheduled to run every x minutes with the specified parameter. Any interval that is selected in the UI will be converted to minutes when stored in the database.
NameDescription
MinutesAn integer indicating the number of minutes between each interval.

For example, every hour:

"Interval": {
   "Minutes": 60
}
Daily

A dictionary that indicates a job scheduled to run every day at the same time with the parameter:

Name Description
Time The date and time to next run the job. The date and time should be given using the ISO 8601 UTC time format YYYY-MM-DDTHH:mm:ss.000Z (e.g. 2021-05-19T16:23:01Z).

For example, daily at 11:30 pm:

"Daily": {
   "Time": "2022-02-25T23:30:00Z"
}
Weekly

A dictionary that indicates a job scheduled to run on a specific day or days every week at the same time with the parameters:

Name

Description
Time The date and time to next run the job. The date and time should be given using the ISO 8601 UTC time format YYYY-MM-DDTHH:mm:ss.000Z (e.g. 2021-05-19T16:23:01Z).
Days An array of values representing the days of the week on which to run the job. These can either be entered as integers (0 for Sunday, 1 for Monday, etc.) or as days of the week (e.g. “Sunday”).

For example, every Monday, Wednesday and Friday at 5:30 pm:

"Weekly": {
   "Days": [
      "Monday",
      "Wednesday",
      "Friday"
   ],
   "Time": "2022-02-27T17:30:00Z"
}
Monthly

A dictionary that indicates a job scheduled to run on a specific day or days every month at the same time with the parameters:

Name Description
Time The date and time to next run the job. The date and time should be given using the ISO 8601 UTC time format YYYY-MM-DDTHH:mm:ss.000Z (e.g. 2021-05-19T16:23:01Z).
Day The number of the day, in the month, to run the job.

For example, on the first of every month at 5:30 pm:

"Monthly": {
   "Day": 1
   "Time": "2022-02-27T17:30:00Z"
}
ExactlyOnce A dictionary that indicates a job scheduled to run at the time specified with the parameter:
Name

Description

TimeThe date and time to next run the job. The date and time should be given using the ISO 8601 UTC time format YYYY-MM-DDTHH:mm:ss.000Z (e.g. 2021-05-19T16:23:01Z).

For example, exactly once at 11:45 am:

"ExactlyOnce": {
   "Time": "2022-02-27T11:45:00Z"
}
Tip:  In some instances, jobs initially scheduled as Immediate will appear on a GET as ExactlyOnce.
MonitorSchedule

An array providing the monitoring schedule for the SSL network group. The schedule can be off (unset) or one of the supported values. ClosedShow schedule details.

Name Description
Immediate

A Boolean that indicates a job scheduled to run immediately (true) or not (false).

Tip:  In some instances, jobs initially scheduled as Immediate will appear on a GET as null.
Interval A dictionary that indicates a job scheduled to run every x minutes with the specified parameter. Any interval that is selected in the UI will be converted to minutes when stored in the database.
NameDescription
MinutesAn integer indicating the number of minutes between each interval.

For example, every hour:

"Interval": {
   "Minutes": 60
}
Daily

A dictionary that indicates a job scheduled to run every day at the same time with the parameter:

Name Description
Time The date and time to next run the job. The date and time should be given using the ISO 8601 UTC time format YYYY-MM-DDTHH:mm:ss.000Z (e.g. 2021-05-19T16:23:01Z).

For example, daily at 11:30 pm:

"Daily": {
   "Time": "2022-02-25T23:30:00Z"
}
Weekly

A dictionary that indicates a job scheduled to run on a specific day or days every week at the same time with the parameters:

Name

Description
Time The date and time to next run the job. The date and time should be given using the ISO 8601 UTC time format YYYY-MM-DDTHH:mm:ss.000Z (e.g. 2021-05-19T16:23:01Z).
Days An array of values representing the days of the week on which to run the job. These can either be entered as integers (0 for Sunday, 1 for Monday, etc.) or as days of the week (e.g. “Sunday”).

For example, every Monday, Wednesday and Friday at 5:30 pm:

"Weekly": {
   "Days": [
      "Monday",
      "Wednesday",
      "Friday"
   ],
   "Time": "2022-02-27T17:30:00Z"
}
Monthly

A dictionary that indicates a job scheduled to run on a specific day or days every month at the same time with the parameters:

Name Description
Time The date and time to next run the job. The date and time should be given using the ISO 8601 UTC time format YYYY-MM-DDTHH:mm:ss.000Z (e.g. 2021-05-19T16:23:01Z).
Day The number of the day, in the month, to run the job.

For example, on the first of every month at 5:30 pm:

"Monthly": {
   "Day": 1
   "Time": "2022-02-27T17:30:00Z"
}
ExactlyOnce A dictionary that indicates a job scheduled to run at the time specified with the parameter:
Name

Description

TimeThe date and time to next run the job. The date and time should be given using the ISO 8601 UTC time format YYYY-MM-DDTHH:mm:ss.000Z (e.g. 2021-05-19T16:23:01Z).

For example, exactly once at 11:45 am:

"ExactlyOnce": {
   "Time": "2022-02-27T11:45:00Z"
}
Tip:  In some instances, jobs initially scheduled as Immediate will appear on a GET as ExactlyOnce.
DiscoverPercentComplete An integer indicating the percentage complete for a discovery job. The percentage complete will be zero for small jobs for the entire duration of the job because this value is updated upon completion of each segment of a scan job (and small jobs generally consist of only one segment). All jobs will show 100% at completion. The counter resets when a new job begins.
MonitorPercentComplete An integer indicating the percentage complete for a monitoring job. The percentage complete will be zero for small jobs for the entire duration of the job because this value is updated upon completion of each segment of a scan job (and small jobs generally consist of only one segment). All jobs will show 100% at completion. The counter resets when a new job begins.
DiscoverStatus

An integer indicating the status of the discovery job. ClosedShow discovery status details.

MonitorStatus

An integer indicating the status of the monitoring job. ClosedShow monitor status details.

DiscoverLastScanned A string indicating the date and time, in UTC, of the most recent discovery job. This field is populated as soon as the job is initiated and updated when the job completes.
MonitorLastScanned A string indicating the date and time, in UTC, of the most recent monitoring job. This field is populated as soon as the job is initiated and updated when the job completes.
SslAlertRecipients An array of strings providing the list of recipients who will receive email messages regarding the status of SSL discovery and monitoring jobs.
Note:  To improve performance in requests, data is not returned in this field for the GET /SSL/Networks method. Use the GET /SSL/Networks/{id} method to return data in this field.
AutoMonitor A Boolean that indicates whether automatic monitoring of discovered endpoints is enabled (true) or not (false).
GetRobots A Boolean that indicates whether orchestrators should perform a GET /robots.txt request during scans in order to behave like a webcrawler and provide an explanation of network activity (true) or not (false).
DiscoverTimeoutMs An integer that indicates the amount of time (in milliseconds) the scan will wait (before timing out) to discover the endpoint. Shorter timeout periods will increase the overall scanning throughput, however they will also increase the chance of missing a certificate on a slow or congested network.
MonitorTimeoutMs An integer that indicates the amount of time (in milliseconds) the scan will wait (before timing out) to receive the discovered endpoint certificate expiration details.
ExpirationAlertDays An integer that indicates the number of days within which to begin providing warnings regarding upcoming expiration in notification email messages.
DiscoverJobParts An integer that indicates the number of job parts that have been created for a discovery job.
MonitorJobParts An integer that indicates the number of job parts that have been created for a monitoring job.
QuietHours An array providing the list of scheduled quiet hour periods.
Tip:  For code examples, see the Keyfactor API Endpoint Utility. To find the embedded web copy of this utility, click the help icon () at the top of the Keyfactor Command Management Portal page next to the Log Out button.