@itentialopensource/adapter-digicert_pki 0.1.1 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintignore +0 -1
- package/.jshintrc +3 -0
- package/CALLS.md +957 -3
- package/CHANGELOG.md +16 -1
- package/CONTRIBUTING.md +1 -160
- package/ENHANCE.md +2 -2
- package/README.md +31 -22
- package/adapter.js +13682 -334
- package/adapterBase.js +538 -873
- package/changelogs/changelog.md +16 -0
- package/entities/ACME/action.json +166 -0
- package/entities/ACME/mockdatafiles/createAcmeAuthentication-default.json +21 -0
- package/entities/ACME/mockdatafiles/getAcmeAuthentication-default.json +21 -0
- package/entities/ACME/mockdatafiles/listAcmeAuthentication-default.json +41 -0
- package/entities/ACME/mockdatafiles/updateAcmeAuthentication-default.json +21 -0
- package/entities/ACME/schema.json +125 -0
- package/entities/AuthenticationCACertificates/action.json +107 -0
- package/entities/AuthenticationCACertificates/schema.json +155 -0
- package/entities/AuthenticationCATemplates/action.json +187 -0
- package/entities/AuthenticationCATemplates/mockdatafiles/createAuthenticationCATemplate-default.json +33 -0
- package/entities/AuthenticationCATemplates/mockdatafiles/getAuthenticationCATemplate-default.json +33 -0
- package/entities/AuthenticationCATemplates/mockdatafiles/updateAuthenticationCATemplate-default.json +33 -0
- package/entities/AuthenticationCATemplates/schema.json +137 -0
- package/entities/AuthenticationCertificates/action.json +166 -0
- package/entities/AuthenticationCertificates/mockdatafiles/addAuthenticationCertificate-default.json +48 -0
- package/entities/AuthenticationCertificates/mockdatafiles/getAuthenticationCertificateDetails-default.json +49 -0
- package/entities/AuthenticationCertificates/mockdatafiles/listAuthenticationCertificates-default.json +93 -0
- package/entities/AuthenticationCertificates/mockdatafiles/updateAuthenticationCertificate-default.json +48 -0
- package/entities/AuthenticationCertificates/schema.json +202 -0
- package/entities/BatchCertificateEnrollment/action.json +268 -0
- package/entities/BatchCertificateEnrollment/mockdatafiles/batchCSREnroll-default.json +22 -0
- package/entities/BatchCertificateEnrollment/mockdatafiles/batchEnrollWithKeyGen-default.json +22 -0
- package/entities/BatchCertificateEnrollment/mockdatafiles/batchEnrollWithKeyGenMac-default.json +22 -0
- package/entities/BatchCertificateEnrollment/mockdatafiles/downloadCertificates-default.json +18 -0
- package/entities/BatchCertificateEnrollment/mockdatafiles/getBatchJobSettings-default.json +22 -0
- package/entities/BatchCertificateEnrollment/mockdatafiles/regenerateBatchJobPasscode-default.json +22 -0
- package/entities/BatchCertificateEnrollment/mockdatafiles/updateBatchJobSettings-default.json +22 -0
- package/entities/BatchCertificateEnrollment/schema.json +284 -0
- package/entities/CertificateProfiles/action.json +206 -0
- package/entities/CertificateProfiles/mockdatafiles/listCertificateProfiles-default.json +219 -0
- package/entities/CertificateProfiles/schema.json +116 -0
- package/entities/CertificateRequests/action.json +25 -0
- package/entities/CertificateRequests/mockdatafiles/getRequestStatus-default.json +5 -0
- package/entities/CertificateRequests/schema.json +30 -0
- package/entities/CertificateTemplates/action.json +186 -0
- package/entities/CertificateTemplates/schema.json +104 -0
- package/entities/Certificates/action.json +312 -0
- package/entities/Certificates/mockdatafiles/downloadApprovedCertificate-default.json +47 -0
- package/entities/Certificates/mockdatafiles/renewBySerial-default.json +23 -0
- package/entities/Certificates/mockdatafiles/renewCertificate-default.json +31 -0
- package/entities/Certificates/schema.json +462 -0
- package/entities/DeviceProfiles/action.json +126 -0
- package/entities/DeviceProfiles/mockdatafiles/createDeviceProfile-default.json +28 -0
- package/entities/DeviceProfiles/mockdatafiles/getDeviceProfile-default.json +28 -0
- package/entities/DeviceProfiles/mockdatafiles/listdeviceprofiles-default.json +53 -0
- package/entities/DeviceProfiles/mockdatafiles/updateDeviceProfile-default.json +28 -0
- package/entities/DeviceProfiles/schema.json +57 -0
- package/entities/Devices/action.json +166 -0
- package/entities/Devices/mockdatafiles/archiveDevice-default.json +33 -0
- package/entities/Devices/mockdatafiles/disableDevice-default.json +33 -0
- package/entities/Devices/mockdatafiles/enableDevice-default.json +33 -0
- package/entities/Devices/mockdatafiles/restoreDevice-default.json +33 -0
- package/entities/Devices/schema.json +103 -0
- package/entities/DevicesV2/action.json +186 -0
- package/entities/DevicesV2/mockdatafiles/archiveDeviceV2-default.json +33 -0
- package/entities/DevicesV2/mockdatafiles/disableDeviceV2-default.json +33 -0
- package/entities/DevicesV2/mockdatafiles/enableDeviceV2-default.json +33 -0
- package/entities/DevicesV2/mockdatafiles/restoreDeviceV2-default.json +33 -0
- package/entities/DevicesV2/schema.json +115 -0
- package/entities/Divisions/action.json +288 -0
- package/entities/Divisions/schema.json +164 -0
- package/entities/EnrollmentProfilePasscodes/action.json +186 -0
- package/entities/EnrollmentProfilePasscodes/schema.json +181 -0
- package/entities/EnrollmentProfiles/action.json +191 -0
- package/entities/EnrollmentProfiles/mockdatafiles/getEnrollmentProfile-default.json +153 -0
- package/entities/EnrollmentProfiles/mockdatafiles/getEnrollmentProfileSpecification-default.json +125 -0
- package/entities/EnrollmentProfiles/mockdatafiles/updateEnrollmentProfile-default.json +117 -0
- package/entities/EnrollmentProfiles/schema.json +148 -0
- package/entities/ExternalBatchCertificateEnrollment/action.json +150 -0
- package/entities/ExternalBatchCertificateEnrollment/mockdatafiles/batchEnrollExternal-default.json +16 -0
- package/entities/ExternalBatchCertificateEnrollment/mockdatafiles/downloadByCertificateValue-default.json +154 -0
- package/entities/ExternalBatchCertificateEnrollment/mockdatafiles/downloadByCommonName-default.json +150 -0
- package/entities/ExternalBatchCertificateEnrollment/mockdatafiles/downloadByJobIdAndCertificateValue-default.json +36 -0
- package/entities/ExternalBatchCertificateEnrollment/mockdatafiles/downloadByJobIdAndCommonName-default.json +130 -0
- package/entities/ExternalBatchCertificateEnrollment/mockdatafiles/downloadByJobIdAndUniqueId-default.json +42 -0
- package/entities/ExternalBatchCertificateEnrollment/schema.json +102 -0
- package/entities/Gateways/action.json +187 -0
- package/entities/Gateways/schema.json +126 -0
- package/entities/ICAs/action.json +46 -0
- package/entities/ICAs/schema.json +163 -0
- package/entities/OCSPGroups/action.json +167 -0
- package/entities/OCSPGroups/schema.json +466 -0
- package/metadata.json +49 -0
- package/package.json +22 -25
- package/pronghorn.json +23155 -266
- package/propertiesSchema.json +455 -42
- package/refs?service=git-upload-pack +0 -0
- package/report/adapter-openapi.json +3224 -0
- package/report/adapter-openapi.yaml +2185 -0
- package/report/adapterInfo.json +8 -8
- package/report/updateReport1691508686598.json +120 -0
- package/report/updateReport1692203137726.json +120 -0
- package/report/updateReport1694467869659.json +120 -0
- package/report/updateReport1698422457936.json +120 -0
- package/sampleProperties.json +67 -6
- package/test/integration/adapterTestBasicGet.js +1 -1
- package/test/integration/adapterTestConnectivity.js +91 -42
- package/test/integration/adapterTestIntegration.js +4704 -32
- package/test/unit/adapterBaseTestUnit.js +388 -313
- package/test/unit/adapterTestUnit.js +5211 -148
- package/utils/adapterInfo.js +1 -1
- package/utils/addAuth.js +1 -1
- package/utils/artifactize.js +1 -1
- package/utils/checkMigrate.js +1 -1
- package/utils/entitiesToDB.js +1 -0
- package/utils/findPath.js +1 -1
- package/utils/methodDocumentor.js +71 -23
- package/utils/modify.js +13 -15
- package/utils/packModificationScript.js +1 -1
- package/utils/taskMover.js +309 -0
- package/utils/tbScript.js +3 -10
- package/utils/tbUtils.js +2 -3
- package/utils/testRunner.js +1 -1
- package/utils/troubleshootingAdapter.js +1 -3
- package/workflows/README.md +0 -3
|
@@ -0,0 +1,466 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "schema.json",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"schema": "http://json-schema.org/draft-07/schema#",
|
|
5
|
+
"translate": false,
|
|
6
|
+
"dynamicfields": true,
|
|
7
|
+
"properties": {
|
|
8
|
+
"ph_request_type": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "type of request (internal to adapter)",
|
|
11
|
+
"default": "",
|
|
12
|
+
"enum": [
|
|
13
|
+
"listOCSPGroups",
|
|
14
|
+
"createOCSPGroup",
|
|
15
|
+
"getOCSPGroupDetails",
|
|
16
|
+
"updateOCSPGroup",
|
|
17
|
+
"deleteOCSPGroup",
|
|
18
|
+
"addCertsOCSPGroup",
|
|
19
|
+
"removeCertsOCSPGroup",
|
|
20
|
+
"listOCSPGroupCerts"
|
|
21
|
+
],
|
|
22
|
+
"external_name": "ph_request_type"
|
|
23
|
+
},
|
|
24
|
+
"accountId": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"description": "Limits results to OCSP groups belonging to the account with the given ID.",
|
|
27
|
+
"parse": false,
|
|
28
|
+
"encode": false,
|
|
29
|
+
"encrypt": {
|
|
30
|
+
"type": "AES",
|
|
31
|
+
"key": ""
|
|
32
|
+
},
|
|
33
|
+
"external_name": "account_id"
|
|
34
|
+
},
|
|
35
|
+
"divisionId": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"description": "Limits results to OCSP groups for the division with the given ID.",
|
|
38
|
+
"parse": false,
|
|
39
|
+
"encode": false,
|
|
40
|
+
"encrypt": {
|
|
41
|
+
"type": "AES",
|
|
42
|
+
"key": ""
|
|
43
|
+
},
|
|
44
|
+
"external_name": "division_id"
|
|
45
|
+
},
|
|
46
|
+
"certificateCommonName": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"description": "Limits results to OCSP groups that include certificates with a common name containing the given string.",
|
|
49
|
+
"parse": false,
|
|
50
|
+
"encode": false,
|
|
51
|
+
"encrypt": {
|
|
52
|
+
"type": "AES",
|
|
53
|
+
"key": ""
|
|
54
|
+
},
|
|
55
|
+
"external_name": "certificate_common_name"
|
|
56
|
+
},
|
|
57
|
+
"certificateSerialNumber": {
|
|
58
|
+
"type": "string",
|
|
59
|
+
"description": "Limits results to the OCSP group that includes the certificate with the given serial number.",
|
|
60
|
+
"parse": false,
|
|
61
|
+
"encode": false,
|
|
62
|
+
"encrypt": {
|
|
63
|
+
"type": "AES",
|
|
64
|
+
"key": ""
|
|
65
|
+
},
|
|
66
|
+
"external_name": "certificate_serial_number"
|
|
67
|
+
},
|
|
68
|
+
"issuerCommonName": {
|
|
69
|
+
"type": "string",
|
|
70
|
+
"description": "Limits results to OCSP groups for issuing CAs with a common name containing the given string.",
|
|
71
|
+
"parse": false,
|
|
72
|
+
"encode": false,
|
|
73
|
+
"encrypt": {
|
|
74
|
+
"type": "AES",
|
|
75
|
+
"key": ""
|
|
76
|
+
},
|
|
77
|
+
"external_name": "issuer_common_name"
|
|
78
|
+
},
|
|
79
|
+
"issuerSerialNumber": {
|
|
80
|
+
"type": "string",
|
|
81
|
+
"description": "Limits results to OCSP groups for the issuing CA with the given serial number.",
|
|
82
|
+
"parse": false,
|
|
83
|
+
"encode": false,
|
|
84
|
+
"encrypt": {
|
|
85
|
+
"type": "AES",
|
|
86
|
+
"key": ""
|
|
87
|
+
},
|
|
88
|
+
"external_name": "issuer_serial_number"
|
|
89
|
+
},
|
|
90
|
+
"deviceIdentifier": {
|
|
91
|
+
"type": "string",
|
|
92
|
+
"description": "Limits results to OCSP groups for certificates with a device name that contains the given string.",
|
|
93
|
+
"parse": false,
|
|
94
|
+
"encode": false,
|
|
95
|
+
"encrypt": {
|
|
96
|
+
"type": "AES",
|
|
97
|
+
"key": ""
|
|
98
|
+
},
|
|
99
|
+
"external_name": "device_identifier"
|
|
100
|
+
},
|
|
101
|
+
"certificateProfileId": {
|
|
102
|
+
"type": "string",
|
|
103
|
+
"description": "Limits results to OCSP groups for certificates issued from the certificate profile with the given ID (UUID).",
|
|
104
|
+
"parse": false,
|
|
105
|
+
"encode": false,
|
|
106
|
+
"encrypt": {
|
|
107
|
+
"type": "AES",
|
|
108
|
+
"key": ""
|
|
109
|
+
},
|
|
110
|
+
"external_name": "certificate_profile_id"
|
|
111
|
+
},
|
|
112
|
+
"enrollmentProfileId": {
|
|
113
|
+
"type": "string",
|
|
114
|
+
"description": "Limits results to OCSP groups for certificates issued from the enrollment profile with the given ID (UUID).",
|
|
115
|
+
"parse": false,
|
|
116
|
+
"encode": false,
|
|
117
|
+
"encrypt": {
|
|
118
|
+
"type": "AES",
|
|
119
|
+
"key": ""
|
|
120
|
+
},
|
|
121
|
+
"external_name": "enrollment_profile_id"
|
|
122
|
+
},
|
|
123
|
+
"createdAtFrom": {
|
|
124
|
+
"type": "string",
|
|
125
|
+
"description": "Limits results to OCSP groups created **after** the given date and time (UTC). Use with `created_at_to` to search for OCSP groups with a `created_at` date in a specific r...(description truncated)",
|
|
126
|
+
"parse": false,
|
|
127
|
+
"encode": false,
|
|
128
|
+
"encrypt": {
|
|
129
|
+
"type": "AES",
|
|
130
|
+
"key": ""
|
|
131
|
+
},
|
|
132
|
+
"external_name": "created_at_from"
|
|
133
|
+
},
|
|
134
|
+
"createdAtTo": {
|
|
135
|
+
"type": "string",
|
|
136
|
+
"description": "Limits results to OCSP groups created **before** the given date and time (UTC). Use with `created_at_from` to search for OCSP groups with a `created_at` date in a specifi...(description truncated)",
|
|
137
|
+
"parse": false,
|
|
138
|
+
"encode": false,
|
|
139
|
+
"encrypt": {
|
|
140
|
+
"type": "AES",
|
|
141
|
+
"key": ""
|
|
142
|
+
},
|
|
143
|
+
"external_name": "created_at_to"
|
|
144
|
+
},
|
|
145
|
+
"sortBy": {
|
|
146
|
+
"type": "",
|
|
147
|
+
"description": "Sorts results by the given property. Case-insensitive.",
|
|
148
|
+
"parse": false,
|
|
149
|
+
"encode": false,
|
|
150
|
+
"encrypt": {
|
|
151
|
+
"type": "AES",
|
|
152
|
+
"key": ""
|
|
153
|
+
},
|
|
154
|
+
"external_name": "sort_by"
|
|
155
|
+
},
|
|
156
|
+
"sortDirection": {
|
|
157
|
+
"type": "",
|
|
158
|
+
"description": "Sorts results in ascending or descending order by the value of the `sort_by` property. Default is descending (`DESC`). Case-insensitive.",
|
|
159
|
+
"parse": false,
|
|
160
|
+
"encode": false,
|
|
161
|
+
"encrypt": {
|
|
162
|
+
"type": "AES",
|
|
163
|
+
"key": ""
|
|
164
|
+
},
|
|
165
|
+
"external_name": "sort_direction"
|
|
166
|
+
},
|
|
167
|
+
"ocspGroupId": {
|
|
168
|
+
"type": "string",
|
|
169
|
+
"description": "OCSP group ID (UUID).",
|
|
170
|
+
"parse": false,
|
|
171
|
+
"encode": false,
|
|
172
|
+
"encrypt": {
|
|
173
|
+
"type": "AES",
|
|
174
|
+
"key": ""
|
|
175
|
+
},
|
|
176
|
+
"external_name": "ocsp_group_id"
|
|
177
|
+
},
|
|
178
|
+
"serialNumber": {
|
|
179
|
+
"type": "string",
|
|
180
|
+
"description": "Limits results to certificates with a serial number that contains the given string.",
|
|
181
|
+
"parse": false,
|
|
182
|
+
"encode": false,
|
|
183
|
+
"encrypt": {
|
|
184
|
+
"type": "AES",
|
|
185
|
+
"key": ""
|
|
186
|
+
},
|
|
187
|
+
"external_name": "serial_number"
|
|
188
|
+
},
|
|
189
|
+
"commonName": {
|
|
190
|
+
"type": "string",
|
|
191
|
+
"description": "Limits results to certificates with a common name that contains the given string.",
|
|
192
|
+
"parse": false,
|
|
193
|
+
"encode": false,
|
|
194
|
+
"encrypt": {
|
|
195
|
+
"type": "AES",
|
|
196
|
+
"key": ""
|
|
197
|
+
},
|
|
198
|
+
"external_name": "common_name"
|
|
199
|
+
},
|
|
200
|
+
"certificateValue": {
|
|
201
|
+
"type": "string",
|
|
202
|
+
"description": "Limits results to certificates with a certificate value that contains the given string.",
|
|
203
|
+
"parse": false,
|
|
204
|
+
"encode": false,
|
|
205
|
+
"encrypt": {
|
|
206
|
+
"type": "AES",
|
|
207
|
+
"key": ""
|
|
208
|
+
},
|
|
209
|
+
"external_name": "certificate_value"
|
|
210
|
+
},
|
|
211
|
+
"enrollmentMethod": {
|
|
212
|
+
"type": "",
|
|
213
|
+
"description": "Limits results to certificates issued using the given enrollment method.",
|
|
214
|
+
"parse": false,
|
|
215
|
+
"encode": false,
|
|
216
|
+
"encrypt": {
|
|
217
|
+
"type": "AES",
|
|
218
|
+
"key": ""
|
|
219
|
+
},
|
|
220
|
+
"external_name": "enrollment_method"
|
|
221
|
+
},
|
|
222
|
+
"createdFrom": {
|
|
223
|
+
"type": "string",
|
|
224
|
+
"description": "Limits results to certificates created after the given date. UTC timezone. Format: `YYYY-MM-DD`",
|
|
225
|
+
"parse": false,
|
|
226
|
+
"encode": false,
|
|
227
|
+
"encrypt": {
|
|
228
|
+
"type": "AES",
|
|
229
|
+
"key": ""
|
|
230
|
+
},
|
|
231
|
+
"external_name": "created_from"
|
|
232
|
+
},
|
|
233
|
+
"createdTo": {
|
|
234
|
+
"type": "string",
|
|
235
|
+
"description": "Limits results to certificates created before the given date. UTC timezone. Format: `YYYY-MM-DD`",
|
|
236
|
+
"parse": false,
|
|
237
|
+
"encode": false,
|
|
238
|
+
"encrypt": {
|
|
239
|
+
"type": "AES",
|
|
240
|
+
"key": ""
|
|
241
|
+
},
|
|
242
|
+
"external_name": "created_to"
|
|
243
|
+
},
|
|
244
|
+
"validToStart": {
|
|
245
|
+
"type": "string",
|
|
246
|
+
"description": "Limits results to certificates with a `valid_to` value on or after the given date or date-time. Use with `valid_to_end` to search for certificates with a `valid_to` date ...(description truncated)",
|
|
247
|
+
"parse": false,
|
|
248
|
+
"encode": false,
|
|
249
|
+
"encrypt": {
|
|
250
|
+
"type": "AES",
|
|
251
|
+
"key": ""
|
|
252
|
+
},
|
|
253
|
+
"external_name": "valid_to_start"
|
|
254
|
+
},
|
|
255
|
+
"validToEnd": {
|
|
256
|
+
"type": "string",
|
|
257
|
+
"description": "Limits results to certificates with a `valid_to` value on or before the given date or date-time. Use with `valid_to_start` to search for certificates with a `valid_to` da...(description truncated)",
|
|
258
|
+
"parse": false,
|
|
259
|
+
"encode": false,
|
|
260
|
+
"encrypt": {
|
|
261
|
+
"type": "AES",
|
|
262
|
+
"key": ""
|
|
263
|
+
},
|
|
264
|
+
"external_name": "valid_to_end"
|
|
265
|
+
},
|
|
266
|
+
"keyType": {
|
|
267
|
+
"type": "string",
|
|
268
|
+
"description": "Limits results to certificates with key type that contains the given string.",
|
|
269
|
+
"parse": false,
|
|
270
|
+
"encode": false,
|
|
271
|
+
"encrypt": {
|
|
272
|
+
"type": "AES",
|
|
273
|
+
"key": ""
|
|
274
|
+
},
|
|
275
|
+
"external_name": "key_type"
|
|
276
|
+
},
|
|
277
|
+
"revokedFrom": {
|
|
278
|
+
"type": "string",
|
|
279
|
+
"description": "Limits results to certificates revoked after a specific date. UTC timezone. Format: `YYYY-MM-DD`",
|
|
280
|
+
"parse": false,
|
|
281
|
+
"encode": false,
|
|
282
|
+
"encrypt": {
|
|
283
|
+
"type": "AES",
|
|
284
|
+
"key": ""
|
|
285
|
+
},
|
|
286
|
+
"external_name": "revoked_from"
|
|
287
|
+
},
|
|
288
|
+
"revokedTo": {
|
|
289
|
+
"type": "string",
|
|
290
|
+
"description": "Limits results to certificates revoked before a specific date. UTC timezone. Format: `YYYY-MM-DD`",
|
|
291
|
+
"parse": false,
|
|
292
|
+
"encode": false,
|
|
293
|
+
"encrypt": {
|
|
294
|
+
"type": "AES",
|
|
295
|
+
"key": ""
|
|
296
|
+
},
|
|
297
|
+
"external_name": "revoked_to"
|
|
298
|
+
},
|
|
299
|
+
"deviceId": {
|
|
300
|
+
"type": "string",
|
|
301
|
+
"description": "Limits results to certificates with a device ID that is an exact match for the given string.",
|
|
302
|
+
"parse": false,
|
|
303
|
+
"encode": false,
|
|
304
|
+
"encrypt": {
|
|
305
|
+
"type": "AES",
|
|
306
|
+
"key": ""
|
|
307
|
+
},
|
|
308
|
+
"external_name": "device_id"
|
|
309
|
+
},
|
|
310
|
+
"certificateType": {
|
|
311
|
+
"type": "",
|
|
312
|
+
"description": "Limits results to certificates of the given type.",
|
|
313
|
+
"parse": false,
|
|
314
|
+
"encode": false,
|
|
315
|
+
"encrypt": {
|
|
316
|
+
"type": "AES",
|
|
317
|
+
"key": ""
|
|
318
|
+
},
|
|
319
|
+
"external_name": "certificate_type"
|
|
320
|
+
},
|
|
321
|
+
"createdInLastNDays": {
|
|
322
|
+
"type": "number",
|
|
323
|
+
"description": "Limits results to certificates created in the last *n* days, where *n* is a numerical value you provide in your request.",
|
|
324
|
+
"parse": false,
|
|
325
|
+
"encode": false,
|
|
326
|
+
"encrypt": {
|
|
327
|
+
"type": "AES",
|
|
328
|
+
"key": ""
|
|
329
|
+
},
|
|
330
|
+
"external_name": "created_in_last_n_days"
|
|
331
|
+
},
|
|
332
|
+
"createdInCurrentMonth": {
|
|
333
|
+
"type": "boolean",
|
|
334
|
+
"description": "If true, limits results to certificates created in the current month.",
|
|
335
|
+
"parse": false,
|
|
336
|
+
"encode": false,
|
|
337
|
+
"encrypt": {
|
|
338
|
+
"type": "AES",
|
|
339
|
+
"key": ""
|
|
340
|
+
},
|
|
341
|
+
"external_name": "created_in_current_month"
|
|
342
|
+
},
|
|
343
|
+
"createdInPreviousMonth": {
|
|
344
|
+
"type": "boolean",
|
|
345
|
+
"description": "If true, limits results to certificates created in the previous month.",
|
|
346
|
+
"parse": false,
|
|
347
|
+
"encode": false,
|
|
348
|
+
"encrypt": {
|
|
349
|
+
"type": "AES",
|
|
350
|
+
"key": ""
|
|
351
|
+
},
|
|
352
|
+
"external_name": "created_in_previous_month"
|
|
353
|
+
},
|
|
354
|
+
"expiringInNextNDays": {
|
|
355
|
+
"type": "number",
|
|
356
|
+
"description": "Limits results to certificates expiring in the next *n* days, where *n* is a numerical value you provide in your request.",
|
|
357
|
+
"parse": false,
|
|
358
|
+
"encode": false,
|
|
359
|
+
"encrypt": {
|
|
360
|
+
"type": "AES",
|
|
361
|
+
"key": ""
|
|
362
|
+
},
|
|
363
|
+
"external_name": "expiring_in_next_n_days"
|
|
364
|
+
},
|
|
365
|
+
"expiringInRemainingOfCurrentMonth": {
|
|
366
|
+
"type": "number",
|
|
367
|
+
"description": "If true, limits results to certificates expiring before the end of the current month.",
|
|
368
|
+
"parse": false,
|
|
369
|
+
"encode": false,
|
|
370
|
+
"encrypt": {
|
|
371
|
+
"type": "AES",
|
|
372
|
+
"key": ""
|
|
373
|
+
},
|
|
374
|
+
"external_name": "expiring_in_remaining_of_current_month"
|
|
375
|
+
},
|
|
376
|
+
"expiringInNextMonth": {
|
|
377
|
+
"type": "number",
|
|
378
|
+
"description": "If true, limits results to certificates expiring before the end of the next month.",
|
|
379
|
+
"parse": false,
|
|
380
|
+
"encode": false,
|
|
381
|
+
"encrypt": {
|
|
382
|
+
"type": "AES",
|
|
383
|
+
"key": ""
|
|
384
|
+
},
|
|
385
|
+
"external_name": "expiring_in_next_month"
|
|
386
|
+
},
|
|
387
|
+
"keyUsage": {
|
|
388
|
+
"type": "string",
|
|
389
|
+
"description": "Limits results to certificates with the given key usage extension.",
|
|
390
|
+
"parse": false,
|
|
391
|
+
"encode": false,
|
|
392
|
+
"encrypt": {
|
|
393
|
+
"type": "AES",
|
|
394
|
+
"key": ""
|
|
395
|
+
},
|
|
396
|
+
"external_name": "key_usage"
|
|
397
|
+
},
|
|
398
|
+
"extendedKeyUsage": {
|
|
399
|
+
"type": "string",
|
|
400
|
+
"description": "Limits results to certificates with the given extended key usage (EKU) extension.",
|
|
401
|
+
"parse": false,
|
|
402
|
+
"encode": false,
|
|
403
|
+
"encrypt": {
|
|
404
|
+
"type": "AES",
|
|
405
|
+
"key": ""
|
|
406
|
+
},
|
|
407
|
+
"external_name": "extended_key_usage"
|
|
408
|
+
},
|
|
409
|
+
"certificatePolicies": {
|
|
410
|
+
"type": "string",
|
|
411
|
+
"description": "Limits results to certificates with the given certificate policies.",
|
|
412
|
+
"parse": false,
|
|
413
|
+
"encode": false,
|
|
414
|
+
"encrypt": {
|
|
415
|
+
"type": "AES",
|
|
416
|
+
"key": ""
|
|
417
|
+
},
|
|
418
|
+
"external_name": "certificate_policies"
|
|
419
|
+
},
|
|
420
|
+
"authenticationId": {
|
|
421
|
+
"type": "string",
|
|
422
|
+
"description": "Limits results to certificates requested with an authentication ID that contains the given string.",
|
|
423
|
+
"parse": false,
|
|
424
|
+
"encode": false,
|
|
425
|
+
"encrypt": {
|
|
426
|
+
"type": "AES",
|
|
427
|
+
"key": ""
|
|
428
|
+
},
|
|
429
|
+
"external_name": "authentication_id"
|
|
430
|
+
},
|
|
431
|
+
"authenticationType": {
|
|
432
|
+
"type": "",
|
|
433
|
+
"description": "Limits results to certificates requested with the given authentication type.",
|
|
434
|
+
"parse": false,
|
|
435
|
+
"encode": false,
|
|
436
|
+
"encrypt": {
|
|
437
|
+
"type": "AES",
|
|
438
|
+
"key": ""
|
|
439
|
+
},
|
|
440
|
+
"external_name": "authentication_type"
|
|
441
|
+
},
|
|
442
|
+
"authenticationName": {
|
|
443
|
+
"type": "string",
|
|
444
|
+
"description": "Limits results to certificates requested with an authentication name that contains the given string.",
|
|
445
|
+
"parse": false,
|
|
446
|
+
"encode": false,
|
|
447
|
+
"encrypt": {
|
|
448
|
+
"type": "AES",
|
|
449
|
+
"key": ""
|
|
450
|
+
},
|
|
451
|
+
"external_name": "authentication_name"
|
|
452
|
+
},
|
|
453
|
+
"caConnectorType": {
|
|
454
|
+
"type": "",
|
|
455
|
+
"description": "Limits results to certificates with the given CA connector type.",
|
|
456
|
+
"parse": false,
|
|
457
|
+
"encode": false,
|
|
458
|
+
"encrypt": {
|
|
459
|
+
"type": "AES",
|
|
460
|
+
"key": ""
|
|
461
|
+
},
|
|
462
|
+
"external_name": "ca_connector_type"
|
|
463
|
+
}
|
|
464
|
+
},
|
|
465
|
+
"definitions": {}
|
|
466
|
+
}
|
package/metadata.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "adapter-digicert_pki",
|
|
3
|
+
"webName": "Adapter for Integration to DigiCert PKI",
|
|
4
|
+
"vendor": "DigiCert",
|
|
5
|
+
"product": "PKI",
|
|
6
|
+
"osVersion": [],
|
|
7
|
+
"apiVersions": [],
|
|
8
|
+
"iapVersions": [
|
|
9
|
+
"2021.1.x",
|
|
10
|
+
"2021.2.x",
|
|
11
|
+
"2022.1.x",
|
|
12
|
+
"2023.1.x"
|
|
13
|
+
],
|
|
14
|
+
"method": "REST",
|
|
15
|
+
"type": "Adapter",
|
|
16
|
+
"domains": [
|
|
17
|
+
"Security (SASE)"
|
|
18
|
+
],
|
|
19
|
+
"tags": [],
|
|
20
|
+
"useCases": [],
|
|
21
|
+
"deprecated": {
|
|
22
|
+
"isDeprecated": false
|
|
23
|
+
},
|
|
24
|
+
"brokerSince": "",
|
|
25
|
+
"documentation": {
|
|
26
|
+
"storeLink": "",
|
|
27
|
+
"npmLink": "https://www.npmjs.com/package/@itentialopensource/adapter-digicert_pki",
|
|
28
|
+
"repoLink": "https://gitlab.com/itentialopensource/adapters/security/adapter-digicert_pki",
|
|
29
|
+
"docLink": "https://docs.itential.com/opensource/docs/digicert",
|
|
30
|
+
"demoLinks": [],
|
|
31
|
+
"trainingLinks": [],
|
|
32
|
+
"faqLink": "https://docs.itential.com/opensource/docs/troubleshooting-an-adapter",
|
|
33
|
+
"contributeLink": "https://gitlab.com/itentialopensource/adapters/contributing-guide",
|
|
34
|
+
"issueLink": "https://itential.atlassian.net/servicedesk/customer/portals",
|
|
35
|
+
"webLink": "",
|
|
36
|
+
"vendorLink": "",
|
|
37
|
+
"productLink": "",
|
|
38
|
+
"apiLinks": []
|
|
39
|
+
},
|
|
40
|
+
"assets": [],
|
|
41
|
+
"relatedItems": {
|
|
42
|
+
"adapters": [],
|
|
43
|
+
"integrations": [],
|
|
44
|
+
"ecosystemApplications": [],
|
|
45
|
+
"workflowProjects": [],
|
|
46
|
+
"transformationProjects": [],
|
|
47
|
+
"exampleProjects": []
|
|
48
|
+
}
|
|
49
|
+
}
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itentialopensource/adapter-digicert_pki",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "This adapter integrates with system described as: digicertPkiPlatformRestApis.",
|
|
5
5
|
"main": "adapter.js",
|
|
6
|
-
"wizardVersion": "2.44.
|
|
7
|
-
"engineVersion": "1.
|
|
6
|
+
"wizardVersion": "2.44.7",
|
|
7
|
+
"engineVersion": "1.67.14",
|
|
8
8
|
"adapterType": "http",
|
|
9
9
|
"scripts": {
|
|
10
10
|
"artifactize": "npm i && node utils/packModificationScript.js",
|
|
11
|
-
"preinstall": "node utils/setup.js
|
|
11
|
+
"preinstall": "node utils/setup.js",
|
|
12
12
|
"deinstall": "node utils/removeHooks.js",
|
|
13
13
|
"lint": "node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js",
|
|
14
14
|
"lint:errors": "node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js --quiet",
|
|
@@ -53,34 +53,31 @@
|
|
|
53
53
|
"author": "Itential",
|
|
54
54
|
"homepage": "https://gitlab.com/itentialopensource/adapters/security/adapter-digicert_pki#readme",
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@itentialopensource/adapter-utils": "^
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
56
|
+
"@itentialopensource/adapter-utils": "^5.3.0",
|
|
57
|
+
"acorn": "^8.10.0",
|
|
58
|
+
"ajv": "^8.12.0",
|
|
59
|
+
"axios": "^1.6.3",
|
|
60
|
+
"commander": "^11.0.0",
|
|
61
|
+
"dns-lookup-promise": "^1.0.4",
|
|
62
|
+
"fs-extra": "^11.1.1",
|
|
62
63
|
"json-query": "^2.2.2",
|
|
63
|
-
"mocha": "^
|
|
64
|
+
"mocha": "^10.2.0",
|
|
64
65
|
"mocha-param": "^2.0.1",
|
|
65
|
-
"mongodb": "^4.
|
|
66
|
-
"network-diagnostics": "^0.5.3",
|
|
66
|
+
"mongodb": "^4.16.0",
|
|
67
67
|
"nyc": "^15.1.0",
|
|
68
|
+
"ping": "^0.4.4",
|
|
68
69
|
"prompts": "^2.4.2",
|
|
69
70
|
"readline-sync": "^1.4.10",
|
|
70
|
-
"semver": "^7.3
|
|
71
|
-
"winston": "^3.
|
|
71
|
+
"semver": "^7.5.3",
|
|
72
|
+
"winston": "^3.9.0"
|
|
72
73
|
},
|
|
73
74
|
"devDependencies": {
|
|
74
|
-
"chai": "^4.3.
|
|
75
|
-
"eslint": "^
|
|
76
|
-
"eslint-config-airbnb-base": "^
|
|
77
|
-
"eslint-plugin-import": "^2.
|
|
78
|
-
"eslint-plugin-json": "^3.
|
|
79
|
-
"
|
|
80
|
-
"testdouble": "^3.16.1"
|
|
81
|
-
},
|
|
82
|
-
"resolutions": {
|
|
83
|
-
"minimist": "^1.2.5"
|
|
75
|
+
"chai": "^4.3.7",
|
|
76
|
+
"eslint": "^8.44.0",
|
|
77
|
+
"eslint-config-airbnb-base": "^15.0.0",
|
|
78
|
+
"eslint-plugin-import": "^2.27.5",
|
|
79
|
+
"eslint-plugin-json": "^3.1.0",
|
|
80
|
+
"testdouble": "^3.18.0"
|
|
84
81
|
},
|
|
85
82
|
"private": false
|
|
86
83
|
}
|