@itentialopensource/adapter-digicert_pki 0.1.1 → 1.0.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.
Files changed (92) hide show
  1. package/CALLS.md +1245 -0
  2. package/CHANGELOG.md +8 -1
  3. package/adapter.js +13519 -0
  4. package/entities/ACME/action.json +166 -0
  5. package/entities/ACME/mockdatafiles/createAcmeAuthentication-default.json +21 -0
  6. package/entities/ACME/mockdatafiles/getAcmeAuthentication-default.json +21 -0
  7. package/entities/ACME/mockdatafiles/listAcmeAuthentication-default.json +41 -0
  8. package/entities/ACME/mockdatafiles/updateAcmeAuthentication-default.json +21 -0
  9. package/entities/ACME/schema.json +125 -0
  10. package/entities/AuthenticationCACertificates/action.json +107 -0
  11. package/entities/AuthenticationCACertificates/schema.json +155 -0
  12. package/entities/AuthenticationCATemplates/action.json +187 -0
  13. package/entities/AuthenticationCATemplates/mockdatafiles/createAuthenticationCATemplate-default.json +33 -0
  14. package/entities/AuthenticationCATemplates/mockdatafiles/getAuthenticationCATemplate-default.json +33 -0
  15. package/entities/AuthenticationCATemplates/mockdatafiles/updateAuthenticationCATemplate-default.json +33 -0
  16. package/entities/AuthenticationCATemplates/schema.json +137 -0
  17. package/entities/AuthenticationCertificates/action.json +166 -0
  18. package/entities/AuthenticationCertificates/mockdatafiles/addAuthenticationCertificate-default.json +48 -0
  19. package/entities/AuthenticationCertificates/mockdatafiles/getAuthenticationCertificateDetails-default.json +49 -0
  20. package/entities/AuthenticationCertificates/mockdatafiles/listAuthenticationCertificates-default.json +93 -0
  21. package/entities/AuthenticationCertificates/mockdatafiles/updateAuthenticationCertificate-default.json +48 -0
  22. package/entities/AuthenticationCertificates/schema.json +202 -0
  23. package/entities/BatchCertificateEnrollment/action.json +268 -0
  24. package/entities/BatchCertificateEnrollment/mockdatafiles/batchCSREnroll-default.json +22 -0
  25. package/entities/BatchCertificateEnrollment/mockdatafiles/batchEnrollWithKeyGen-default.json +22 -0
  26. package/entities/BatchCertificateEnrollment/mockdatafiles/batchEnrollWithKeyGenMac-default.json +22 -0
  27. package/entities/BatchCertificateEnrollment/mockdatafiles/downloadCertificates-default.json +18 -0
  28. package/entities/BatchCertificateEnrollment/mockdatafiles/getBatchJobSettings-default.json +22 -0
  29. package/entities/BatchCertificateEnrollment/mockdatafiles/regenerateBatchJobPasscode-default.json +22 -0
  30. package/entities/BatchCertificateEnrollment/mockdatafiles/updateBatchJobSettings-default.json +22 -0
  31. package/entities/BatchCertificateEnrollment/schema.json +284 -0
  32. package/entities/CertificateProfiles/action.json +206 -0
  33. package/entities/CertificateProfiles/mockdatafiles/listCertificateProfiles-default.json +219 -0
  34. package/entities/CertificateProfiles/schema.json +116 -0
  35. package/entities/CertificateRequests/action.json +25 -0
  36. package/entities/CertificateRequests/mockdatafiles/getRequestStatus-default.json +5 -0
  37. package/entities/CertificateRequests/schema.json +30 -0
  38. package/entities/CertificateTemplates/action.json +186 -0
  39. package/entities/CertificateTemplates/schema.json +104 -0
  40. package/entities/Certificates/action.json +312 -0
  41. package/entities/Certificates/mockdatafiles/downloadApprovedCertificate-default.json +47 -0
  42. package/entities/Certificates/mockdatafiles/renewBySerial-default.json +23 -0
  43. package/entities/Certificates/mockdatafiles/renewCertificate-default.json +31 -0
  44. package/entities/Certificates/schema.json +462 -0
  45. package/entities/DeviceProfiles/action.json +126 -0
  46. package/entities/DeviceProfiles/mockdatafiles/createDeviceProfile-default.json +28 -0
  47. package/entities/DeviceProfiles/mockdatafiles/getDeviceProfile-default.json +28 -0
  48. package/entities/DeviceProfiles/mockdatafiles/listdeviceprofiles-default.json +53 -0
  49. package/entities/DeviceProfiles/mockdatafiles/updateDeviceProfile-default.json +28 -0
  50. package/entities/DeviceProfiles/schema.json +57 -0
  51. package/entities/Devices/action.json +166 -0
  52. package/entities/Devices/mockdatafiles/archiveDevice-default.json +33 -0
  53. package/entities/Devices/mockdatafiles/disableDevice-default.json +33 -0
  54. package/entities/Devices/mockdatafiles/enableDevice-default.json +33 -0
  55. package/entities/Devices/mockdatafiles/restoreDevice-default.json +33 -0
  56. package/entities/Devices/schema.json +103 -0
  57. package/entities/DevicesV2/action.json +186 -0
  58. package/entities/DevicesV2/mockdatafiles/archiveDeviceV2-default.json +33 -0
  59. package/entities/DevicesV2/mockdatafiles/disableDeviceV2-default.json +33 -0
  60. package/entities/DevicesV2/mockdatafiles/enableDeviceV2-default.json +33 -0
  61. package/entities/DevicesV2/mockdatafiles/restoreDeviceV2-default.json +33 -0
  62. package/entities/DevicesV2/schema.json +115 -0
  63. package/entities/Divisions/action.json +288 -0
  64. package/entities/Divisions/schema.json +164 -0
  65. package/entities/EnrollmentProfilePasscodes/action.json +186 -0
  66. package/entities/EnrollmentProfilePasscodes/schema.json +181 -0
  67. package/entities/EnrollmentProfiles/action.json +191 -0
  68. package/entities/EnrollmentProfiles/mockdatafiles/getEnrollmentProfile-default.json +153 -0
  69. package/entities/EnrollmentProfiles/mockdatafiles/getEnrollmentProfileSpecification-default.json +125 -0
  70. package/entities/EnrollmentProfiles/mockdatafiles/updateEnrollmentProfile-default.json +117 -0
  71. package/entities/EnrollmentProfiles/schema.json +148 -0
  72. package/entities/ExternalBatchCertificateEnrollment/action.json +150 -0
  73. package/entities/ExternalBatchCertificateEnrollment/mockdatafiles/batchEnrollExternal-default.json +16 -0
  74. package/entities/ExternalBatchCertificateEnrollment/mockdatafiles/downloadByCertificateValue-default.json +154 -0
  75. package/entities/ExternalBatchCertificateEnrollment/mockdatafiles/downloadByCommonName-default.json +150 -0
  76. package/entities/ExternalBatchCertificateEnrollment/mockdatafiles/downloadByJobIdAndCertificateValue-default.json +36 -0
  77. package/entities/ExternalBatchCertificateEnrollment/mockdatafiles/downloadByJobIdAndCommonName-default.json +130 -0
  78. package/entities/ExternalBatchCertificateEnrollment/mockdatafiles/downloadByJobIdAndUniqueId-default.json +42 -0
  79. package/entities/ExternalBatchCertificateEnrollment/schema.json +102 -0
  80. package/entities/Gateways/action.json +187 -0
  81. package/entities/Gateways/schema.json +126 -0
  82. package/entities/ICAs/action.json +46 -0
  83. package/entities/ICAs/schema.json +163 -0
  84. package/entities/OCSPGroups/action.json +167 -0
  85. package/entities/OCSPGroups/schema.json +466 -0
  86. package/package.json +1 -1
  87. package/pronghorn.json +22589 -32
  88. package/refs?service=git-upload-pack +0 -0
  89. package/report/adapterInfo.json +7 -7
  90. package/sampleProperties.json +3 -3
  91. package/test/integration/adapterTestIntegration.js +4544 -0
  92. package/test/unit/adapterTestUnit.js +4866 -0
@@ -0,0 +1,166 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "createAcmeAuthentication",
5
+ "protocol": "REST",
6
+ "method": "POST",
7
+ "entitypath": "{base_path}/{version}/api/v1/acme-authentication?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "requestDatatype": "JSON",
13
+ "responseDatatype": "JSON",
14
+ "headers": {},
15
+ "responseObjects": [
16
+ {
17
+ "type": "default",
18
+ "key": "",
19
+ "mockFile": "mockdatafiles/createAcmeAuthentication-default.json"
20
+ }
21
+ ]
22
+ },
23
+ {
24
+ "name": "listAcmeAuthentication",
25
+ "protocol": "REST",
26
+ "method": "GET",
27
+ "entitypath": "{base_path}/{version}/api/v1/acme-authentication?{query}",
28
+ "requestSchema": "schema.json",
29
+ "responseSchema": "schema.json",
30
+ "timeout": 0,
31
+ "sendEmpty": false,
32
+ "sendGetBody": false,
33
+ "requestDatatype": "JSON",
34
+ "responseDatatype": "JSON",
35
+ "headers": {},
36
+ "responseObjects": [
37
+ {
38
+ "type": "default",
39
+ "key": "",
40
+ "mockFile": "mockdatafiles/listAcmeAuthentication-default.json"
41
+ }
42
+ ]
43
+ },
44
+ {
45
+ "name": "getAcmeAuthentication",
46
+ "protocol": "REST",
47
+ "method": "GET",
48
+ "entitypath": "{base_path}/{version}/api/v1/acme-authentication/{pathv1}?{query}",
49
+ "requestSchema": "schema.json",
50
+ "responseSchema": "schema.json",
51
+ "timeout": 0,
52
+ "sendEmpty": false,
53
+ "sendGetBody": false,
54
+ "requestDatatype": "JSON",
55
+ "responseDatatype": "JSON",
56
+ "headers": {},
57
+ "responseObjects": [
58
+ {
59
+ "type": "default",
60
+ "key": "",
61
+ "mockFile": "mockdatafiles/getAcmeAuthentication-default.json"
62
+ }
63
+ ]
64
+ },
65
+ {
66
+ "name": "updateAcmeAuthentication",
67
+ "protocol": "REST",
68
+ "method": "PUT",
69
+ "entitypath": "{base_path}/{version}/api/v1/acme-authentication/{pathv1}?{query}",
70
+ "requestSchema": "schema.json",
71
+ "responseSchema": "schema.json",
72
+ "timeout": 0,
73
+ "sendEmpty": false,
74
+ "requestDatatype": "JSON",
75
+ "responseDatatype": "JSON",
76
+ "headers": {},
77
+ "responseObjects": [
78
+ {
79
+ "type": "default",
80
+ "key": "",
81
+ "mockFile": "mockdatafiles/updateAcmeAuthentication-default.json"
82
+ }
83
+ ]
84
+ },
85
+ {
86
+ "name": "disableAcmeAuthentication",
87
+ "protocol": "REST",
88
+ "method": "PUT",
89
+ "entitypath": "{base_path}/{version}/api/v1/acme-authentication/{pathv1}/disable?{query}",
90
+ "requestSchema": "schema.json",
91
+ "responseSchema": "schema.json",
92
+ "timeout": 0,
93
+ "sendEmpty": false,
94
+ "requestDatatype": "JSON",
95
+ "responseDatatype": "JSON",
96
+ "headers": {},
97
+ "responseObjects": [
98
+ {
99
+ "type": "default",
100
+ "key": "",
101
+ "mockFile": ""
102
+ }
103
+ ]
104
+ },
105
+ {
106
+ "name": "enableAcmeAuthentication",
107
+ "protocol": "REST",
108
+ "method": "PUT",
109
+ "entitypath": "{base_path}/{version}/api/v1/acme-authentication/{pathv1}/enable?{query}",
110
+ "requestSchema": "schema.json",
111
+ "responseSchema": "schema.json",
112
+ "timeout": 0,
113
+ "sendEmpty": false,
114
+ "requestDatatype": "JSON",
115
+ "responseDatatype": "JSON",
116
+ "headers": {},
117
+ "responseObjects": [
118
+ {
119
+ "type": "default",
120
+ "key": "",
121
+ "mockFile": ""
122
+ }
123
+ ]
124
+ },
125
+ {
126
+ "name": "deleteAcmeAuthentication",
127
+ "protocol": "REST",
128
+ "method": "PUT",
129
+ "entitypath": "{base_path}/{version}/api/v1/acme-authentication/{pathv1}/delete?{query}",
130
+ "requestSchema": "schema.json",
131
+ "responseSchema": "schema.json",
132
+ "timeout": 0,
133
+ "sendEmpty": false,
134
+ "requestDatatype": "JSON",
135
+ "responseDatatype": "JSON",
136
+ "headers": {},
137
+ "responseObjects": [
138
+ {
139
+ "type": "default",
140
+ "key": "",
141
+ "mockFile": ""
142
+ }
143
+ ]
144
+ },
145
+ {
146
+ "name": "restoreAcmeAuthentication",
147
+ "protocol": "REST",
148
+ "method": "PUT",
149
+ "entitypath": "{base_path}/{version}/api/v1/acme-authentication/{pathv1}/undelete?{query}",
150
+ "requestSchema": "schema.json",
151
+ "responseSchema": "schema.json",
152
+ "timeout": 0,
153
+ "sendEmpty": false,
154
+ "requestDatatype": "JSON",
155
+ "responseDatatype": "JSON",
156
+ "headers": {},
157
+ "responseObjects": [
158
+ {
159
+ "type": "default",
160
+ "key": "",
161
+ "mockFile": ""
162
+ }
163
+ ]
164
+ }
165
+ ]
166
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "id": "f92834ce-cdea-1584-b154-193bb198345e",
3
+ "name": "Example ACME Credentials",
4
+ "description": "Test",
5
+ "account_id": "1d1ec1ec-6502-11e9-a923-1681be663d3e",
6
+ "authentication_pem": "-----BEGIN PUBLIC KEY-----...",
7
+ "authentication_type": null,
8
+ "thumbprint": "9e00a421268a1e814805cb0571a157d2fdbd9b48a02286c77d4e76110727727d",
9
+ "status": "ACTIVE",
10
+ "created_at": "2021-02-18T21:02:15.285249Z",
11
+ "key_type": null,
12
+ "rsa_key_size": 3,
13
+ "ecdsa_curve": "string",
14
+ "key_description": "string",
15
+ "certificate_common_name": "example_common_name",
16
+ "issuer_common_name": "example_issuing_certificate",
17
+ "hmac_key": "FS3f8Q7yUZQQO4uLUP8vAyREMCKyUqRr7JoHy1aquKiPYwu42r67CcELWlYRy9oJyzJ09n5oojJzz9t0EhWiNQ",
18
+ "external_account_binding": true,
19
+ "account_bind": false,
20
+ "public_key_pem": "----BEGIN PUBLIC KEY-----..."
21
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "id": "f92834ce-cdea-1584-b154-193bb198345e",
3
+ "name": "Example ACME Credentials",
4
+ "description": "Test",
5
+ "account_id": "1d1ec1ec-6502-11e9-a923-1681be663d3e",
6
+ "authentication_pem": "-----BEGIN PUBLIC KEY-----...",
7
+ "authentication_type": null,
8
+ "thumbprint": "9e00a421268a1e814805cb0571a157d2fdbd9b48a02286c77d4e76110727727d",
9
+ "status": "ACTIVE",
10
+ "created_at": "2021-02-18T21:02:15.285249Z",
11
+ "key_type": null,
12
+ "rsa_key_size": 8,
13
+ "ecdsa_curve": "string",
14
+ "key_description": "string",
15
+ "certificate_common_name": "example_common_name",
16
+ "issuer_common_name": "example_issuing_certificate",
17
+ "hmac_key": "FS3f8Q7yUZQQO4uLUP8vAyREMCKyUqRr7JoHy1aquKiPYwu42r67CcELWlYRy9oJyzJ09n5oojJzz9t0EhWiNQ",
18
+ "external_account_binding": true,
19
+ "account_bind": false,
20
+ "public_key_pem": "----BEGIN PUBLIC KEY-----..."
21
+ }
@@ -0,0 +1,41 @@
1
+ {
2
+ "limit": 20,
3
+ "offset": 0,
4
+ "pagination": true,
5
+ "next": false,
6
+ "total": 2,
7
+ "records": [
8
+ {
9
+ "id": "f92834ce-cdea-1584-b154-193bb198345e",
10
+ "name": "Example ACME Credentials",
11
+ "description": "Test",
12
+ "account_id": "1d1ec1ec-6502-11e9-a923-1681be663d3e",
13
+ "status": "ACTIVE",
14
+ "created_at": "2021-02-18T21:02:15.285249Z",
15
+ "hmac_key": "FS3f8Q7yUZQQO4uLUP8vAyREMCKyUqRr7JoHy1aquKiPYwu42r67CcELWlYRy9oJyzJ09n5oojJzz9t0EhWiNQ",
16
+ "external_account_binding": true,
17
+ "account_bind": false,
18
+ "enrollment_profiles_assigned": 1
19
+ },
20
+ {
21
+ "id": "f92834ce-cdea-1584-b154-193bb198345e",
22
+ "name": "Example",
23
+ "description": "Example",
24
+ "account_id": "1d1ec1ec-6502-11e9-a923-1681be663d3e",
25
+ "authentication_pem": "-----BEGIN CERTIFICATE-----...",
26
+ "authentication_type": "certificate",
27
+ "thumbprint": "f99a9e95b9b7c40b985b36ea7a444801ed177ad5bd9aa4464f53694df2b98143",
28
+ "status": "ACTIVE",
29
+ "created_at": "2021-02-18T20:43:01.850786Z",
30
+ "key_type": "RSA",
31
+ "rsa_key_size": 2048,
32
+ "key_description": "RSA 2048",
33
+ "certificate_common_name": "Example Common Name",
34
+ "issuer_common_name": "Example Issuing CA",
35
+ "external_account_binding": false,
36
+ "account_bind": true,
37
+ "public_key_pem": "-----BEGIN PUBLIC KEY-----...",
38
+ "enrollment_profiles_assigned": 1
39
+ }
40
+ ]
41
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "id": "f92834ce-cdea-1584-b154-193bb198345e",
3
+ "name": "Example ACME Credentials",
4
+ "description": "Test",
5
+ "account_id": "1d1ec1ec-6502-11e9-a923-1681be663d3e",
6
+ "authentication_pem": "-----BEGIN PUBLIC KEY-----...",
7
+ "authentication_type": null,
8
+ "thumbprint": "9e00a421268a1e814805cb0571a157d2fdbd9b48a02286c77d4e76110727727d",
9
+ "status": "ACTIVE",
10
+ "created_at": "2021-02-18T21:02:15.285249Z",
11
+ "key_type": null,
12
+ "rsa_key_size": 1,
13
+ "ecdsa_curve": "string",
14
+ "key_description": "string",
15
+ "certificate_common_name": "example_common_name",
16
+ "issuer_common_name": "example_issuing_certificate",
17
+ "hmac_key": "FS3f8Q7yUZQQO4uLUP8vAyREMCKyUqRr7JoHy1aquKiPYwu42r67CcELWlYRy9oJyzJ09n5oojJzz9t0EhWiNQ",
18
+ "external_account_binding": true,
19
+ "account_bind": false,
20
+ "public_key_pem": "----BEGIN PUBLIC KEY-----..."
21
+ }
@@ -0,0 +1,125 @@
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
+ "createAcmeAuthentication",
14
+ "listAcmeAuthentication",
15
+ "getAcmeAuthentication",
16
+ "updateAcmeAuthentication",
17
+ "disableAcmeAuthentication",
18
+ "enableAcmeAuthentication",
19
+ "deleteAcmeAuthentication",
20
+ "restoreAcmeAuthentication"
21
+ ],
22
+ "external_name": "ph_request_type"
23
+ },
24
+ "accountId": {
25
+ "type": "string",
26
+ "description": "Limits results to ACME authentication credentials for 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
+ "createdAtFrom": {
36
+ "type": "string",
37
+ "description": "Limits results to ACME authentication credentials created **after** the given date and time (UTC). Use with `created_at_to` to search for credentials with a `created_at` ...(description truncated)",
38
+ "parse": false,
39
+ "encode": false,
40
+ "encrypt": {
41
+ "type": "AES",
42
+ "key": ""
43
+ },
44
+ "external_name": "created_at_from"
45
+ },
46
+ "createdAtTo": {
47
+ "type": "string",
48
+ "description": "Limits results to ACME authentication credentials created **before** the given date and time (UTC). Use with `created_at_from` to search for credentials with a `created_a...(description truncated)",
49
+ "parse": false,
50
+ "encode": false,
51
+ "encrypt": {
52
+ "type": "AES",
53
+ "key": ""
54
+ },
55
+ "external_name": "created_at_to"
56
+ },
57
+ "certificateCommonName": {
58
+ "type": "string",
59
+ "description": "Limits results to ACME authentication credentials with a `certificate_common_name` containing the given string.",
60
+ "parse": false,
61
+ "encode": false,
62
+ "encrypt": {
63
+ "type": "AES",
64
+ "key": ""
65
+ },
66
+ "external_name": "certificate_common_name"
67
+ },
68
+ "issuerCommonName": {
69
+ "type": "string",
70
+ "description": "Limits results to ACME authentication credentials with an `issuer_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
+ "enrollmentProfileId": {
80
+ "type": "string",
81
+ "description": "Limits results to ACME authentication credentials assigned to specific enrollment profile with id `enrollment_profile_id`.",
82
+ "parse": false,
83
+ "encode": false,
84
+ "encrypt": {
85
+ "type": "AES",
86
+ "key": ""
87
+ },
88
+ "external_name": "enrollment_profile_id"
89
+ },
90
+ "sortBy": {
91
+ "type": "",
92
+ "description": "Sorts results by the given property. Case-insensitive.",
93
+ "parse": false,
94
+ "encode": false,
95
+ "encrypt": {
96
+ "type": "AES",
97
+ "key": ""
98
+ },
99
+ "external_name": "sort_by"
100
+ },
101
+ "sortDirection": {
102
+ "type": "",
103
+ "description": "Sorts results in ascending or descending order by the value of the `sort_by` property. Case-insensitive.",
104
+ "parse": false,
105
+ "encode": false,
106
+ "encrypt": {
107
+ "type": "AES",
108
+ "key": ""
109
+ },
110
+ "external_name": "sort_direction"
111
+ },
112
+ "acmeAuthenticationId": {
113
+ "type": "string",
114
+ "description": "ID of ACME authentication credentials.",
115
+ "parse": false,
116
+ "encode": false,
117
+ "encrypt": {
118
+ "type": "AES",
119
+ "key": ""
120
+ },
121
+ "external_name": "acme_authentication_id"
122
+ }
123
+ },
124
+ "definitions": {}
125
+ }
@@ -0,0 +1,107 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "listAuthenticationCACertificates",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/api/v1/authentication-ca?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "sendGetBody": false,
13
+ "requestDatatype": "JSON",
14
+ "responseDatatype": "JSON",
15
+ "headers": {},
16
+ "responseObjects": [
17
+ {
18
+ "type": "default",
19
+ "key": "",
20
+ "mockFile": ""
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "listAuthenticationCACertificatesByAccount",
26
+ "protocol": "REST",
27
+ "method": "GET",
28
+ "entitypath": "{base_path}/{version}/api/v1/account/{pathv1}/authentication-ca?{query}",
29
+ "requestSchema": "schema.json",
30
+ "responseSchema": "schema.json",
31
+ "timeout": 0,
32
+ "sendEmpty": false,
33
+ "sendGetBody": false,
34
+ "requestDatatype": "JSON",
35
+ "responseDatatype": "JSON",
36
+ "headers": {},
37
+ "responseObjects": [
38
+ {
39
+ "type": "default",
40
+ "key": "",
41
+ "mockFile": ""
42
+ }
43
+ ]
44
+ },
45
+ {
46
+ "name": "uploadAuthenticationCACertificate",
47
+ "protocol": "REST",
48
+ "method": "POST",
49
+ "entitypath": "{base_path}/{version}/api/v1/account/{pathv1}/authentication-ca?{query}",
50
+ "requestSchema": "schema.json",
51
+ "responseSchema": "schema.json",
52
+ "timeout": 0,
53
+ "sendEmpty": false,
54
+ "requestDatatype": "FORM",
55
+ "responseDatatype": "JSON",
56
+ "headers": {},
57
+ "responseObjects": [
58
+ {
59
+ "type": "default",
60
+ "key": "",
61
+ "mockFile": ""
62
+ }
63
+ ]
64
+ },
65
+ {
66
+ "name": "getAuthenticationCACertificate",
67
+ "protocol": "REST",
68
+ "method": "GET",
69
+ "entitypath": "{base_path}/{version}/api/v1/account/{pathv1}/authentication-ca/{pathv2}?{query}",
70
+ "requestSchema": "schema.json",
71
+ "responseSchema": "schema.json",
72
+ "timeout": 0,
73
+ "sendEmpty": false,
74
+ "sendGetBody": false,
75
+ "requestDatatype": "JSON",
76
+ "responseDatatype": "JSON",
77
+ "headers": {},
78
+ "responseObjects": [
79
+ {
80
+ "type": "default",
81
+ "key": "",
82
+ "mockFile": ""
83
+ }
84
+ ]
85
+ },
86
+ {
87
+ "name": "deleteAuthenticationCACertificate",
88
+ "protocol": "REST",
89
+ "method": "PUT",
90
+ "entitypath": "{base_path}/{version}/api/v1/account/{pathv1}/authentication-ca/{pathv2}/delete?{query}",
91
+ "requestSchema": "schema.json",
92
+ "responseSchema": "schema.json",
93
+ "timeout": 0,
94
+ "sendEmpty": false,
95
+ "requestDatatype": "JSON",
96
+ "responseDatatype": "JSON",
97
+ "headers": {},
98
+ "responseObjects": [
99
+ {
100
+ "type": "default",
101
+ "key": "",
102
+ "mockFile": ""
103
+ }
104
+ ]
105
+ }
106
+ ]
107
+ }
@@ -0,0 +1,155 @@
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
+ "listAuthenticationCACertificates",
14
+ "listAuthenticationCACertificatesByAccount",
15
+ "uploadAuthenticationCACertificate",
16
+ "getAuthenticationCACertificate",
17
+ "deleteAuthenticationCACertificate"
18
+ ],
19
+ "external_name": "ph_request_type"
20
+ },
21
+ "accountId": {
22
+ "type": "string",
23
+ "description": "Limits results to authentication CA certificates for the given account.",
24
+ "parse": false,
25
+ "encode": false,
26
+ "encrypt": {
27
+ "type": "AES",
28
+ "key": ""
29
+ },
30
+ "external_name": "account_id"
31
+ },
32
+ "enrollmentProfileId": {
33
+ "type": "string",
34
+ "description": "Limits results to authentication CA certificates used in the given enrollment profile (UUID).",
35
+ "parse": false,
36
+ "encode": false,
37
+ "encrypt": {
38
+ "type": "AES",
39
+ "key": ""
40
+ },
41
+ "external_name": "enrollment_profile_id"
42
+ },
43
+ "enrollmentProfileName": {
44
+ "type": "string",
45
+ "description": "Limits results to authentication CA certificates used in an enrollment profile with the given name.",
46
+ "parse": false,
47
+ "encode": false,
48
+ "encrypt": {
49
+ "type": "AES",
50
+ "key": ""
51
+ },
52
+ "external_name": "enrollment_profile_name"
53
+ },
54
+ "createdFrom": {
55
+ "type": "string",
56
+ "description": "Limits results to authentication CA certificates created after the given date. Format: `YYYY-MM-DD`",
57
+ "parse": false,
58
+ "encode": false,
59
+ "encrypt": {
60
+ "type": "AES",
61
+ "key": ""
62
+ },
63
+ "external_name": "created_from"
64
+ },
65
+ "createdTo": {
66
+ "type": "string",
67
+ "description": "Limits results to authentication CA certificates created before the given date. Format: `YYYY-MM-DD`",
68
+ "parse": false,
69
+ "encode": false,
70
+ "encrypt": {
71
+ "type": "AES",
72
+ "key": ""
73
+ },
74
+ "external_name": "created_to"
75
+ },
76
+ "validFromStart": {
77
+ "type": "string",
78
+ "description": "Limits results to authentication CA certificates with a `valid_from` value on or after the given date or date-time. Use with `valid_from_end` to search for authentication...(description truncated)",
79
+ "parse": false,
80
+ "encode": false,
81
+ "encrypt": {
82
+ "type": "AES",
83
+ "key": ""
84
+ },
85
+ "external_name": "valid_from_start"
86
+ },
87
+ "validFromEnd": {
88
+ "type": "string",
89
+ "description": "Limits results to authentication CA certificates with a `valid_from` value on or before the given date or date-time. Use with `valid_from_start` to search for authenticat...(description truncated)",
90
+ "parse": false,
91
+ "encode": false,
92
+ "encrypt": {
93
+ "type": "AES",
94
+ "key": ""
95
+ },
96
+ "external_name": "valid_from_end"
97
+ },
98
+ "validToStart": {
99
+ "type": "string",
100
+ "description": "Limits results to authentication CA certificates with a `valid_to` value on or after the given date or date-time. Use with `valid_to_end` to search for authentication CAs...(description truncated)",
101
+ "parse": false,
102
+ "encode": false,
103
+ "encrypt": {
104
+ "type": "AES",
105
+ "key": ""
106
+ },
107
+ "external_name": "valid_to_start"
108
+ },
109
+ "validToEnd": {
110
+ "type": "string",
111
+ "description": "Limits results to authentication CA certificates with a `valid_to` value on or before the given date or date-time. Use with `valid_to_start` to search for authentication ...(description truncated)",
112
+ "parse": false,
113
+ "encode": false,
114
+ "encrypt": {
115
+ "type": "AES",
116
+ "key": ""
117
+ },
118
+ "external_name": "valid_to_end"
119
+ },
120
+ "sortBy": {
121
+ "type": "",
122
+ "description": "Sorts results by the given property. Case-insensitive. If not provided, results are sorted in descending order by date created (`created_at`).",
123
+ "parse": false,
124
+ "encode": false,
125
+ "encrypt": {
126
+ "type": "AES",
127
+ "key": ""
128
+ },
129
+ "external_name": "sort_by"
130
+ },
131
+ "sortDirection": {
132
+ "type": "",
133
+ "description": "Sorts results in ascending or descending order by the value of the `sort_by` property. Case-insensitive.",
134
+ "parse": false,
135
+ "encode": false,
136
+ "encrypt": {
137
+ "type": "AES",
138
+ "key": ""
139
+ },
140
+ "external_name": "sort_direction"
141
+ },
142
+ "authenticationCaId": {
143
+ "type": "string",
144
+ "description": "Authentication CA certificate ID (UUID).",
145
+ "parse": false,
146
+ "encode": false,
147
+ "encrypt": {
148
+ "type": "AES",
149
+ "key": ""
150
+ },
151
+ "external_name": "authentication_ca_id"
152
+ }
153
+ },
154
+ "definitions": {}
155
+ }