@itentialopensource/adapter-cisco_ise 0.1.1
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 +5 -0
- package/.eslintrc.js +18 -0
- package/.jshintrc +3 -0
- package/AUTH.md +34 -0
- package/BROKER.md +211 -0
- package/CALLS.md +2991 -0
- package/CODE_OF_CONDUCT.md +43 -0
- package/CONTRIBUTING.md +13 -0
- package/ENHANCE.md +69 -0
- package/LICENSE +201 -0
- package/PROPERTIES.md +646 -0
- package/README.md +349 -0
- package/SUMMARY.md +9 -0
- package/SYSTEMINFO.md +23 -0
- package/TAB1.md +13 -0
- package/TAB2.md +306 -0
- package/TROUBLESHOOT.md +56 -0
- package/adapter.js +53480 -0
- package/adapterBase.js +1452 -0
- package/entities/.generic/action.json +214 -0
- package/entities/.generic/schema.json +28 -0
- package/entities/.system/action.json +50 -0
- package/entities/.system/mockdatafiles/getToken-default.json +3 -0
- package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
- package/entities/.system/schema.json +19 -0
- package/entities/.system/schemaTokenReq.json +53 -0
- package/entities/.system/schemaTokenResp.json +53 -0
- package/entities/ACIConnection/action.json +330 -0
- package/entities/ACIConnection/schema.json +34 -0
- package/entities/ACIData/action.json +205 -0
- package/entities/ACIData/schema.json +28 -0
- package/entities/ADGroups/action.json +25 -0
- package/entities/ADGroups/schema.json +19 -0
- package/entities/ActiveDirectories/action.json +25 -0
- package/entities/ActiveDirectories/schema.json +19 -0
- package/entities/BackupAndRestore/action.json +125 -0
- package/entities/BackupAndRestore/schema.json +24 -0
- package/entities/Certificates/action.json +452 -0
- package/entities/Certificates/schema.json +40 -0
- package/entities/ClassificationRule/action.json +146 -0
- package/entities/ClassificationRule/schema.json +25 -0
- package/entities/Configuration/action.json +24 -0
- package/entities/Configuration/schema.json +19 -0
- package/entities/CustomAttributes/action.json +106 -0
- package/entities/CustomAttributes/schema.json +23 -0
- package/entities/DataconnectServices/action.json +106 -0
- package/entities/DataconnectServices/schema.json +23 -0
- package/entities/DeviceAdminMFARules/action.json +126 -0
- package/entities/DeviceAdminMFARules/schema.json +24 -0
- package/entities/DeviceAdministrationAuthenticationRules/action.json +126 -0
- package/entities/DeviceAdministrationAuthenticationRules/schema.json +24 -0
- package/entities/DeviceAdministrationAuthorizationExceptionRules/action.json +126 -0
- package/entities/DeviceAdministrationAuthorizationExceptionRules/schema.json +24 -0
- package/entities/DeviceAdministrationAuthorizationGlobalExceptionRules/action.json +126 -0
- package/entities/DeviceAdministrationAuthorizationGlobalExceptionRules/schema.json +24 -0
- package/entities/DeviceAdministrationAuthorizationRules/action.json +126 -0
- package/entities/DeviceAdministrationAuthorizationRules/schema.json +24 -0
- package/entities/DeviceAdministrationCommandSets/action.json +25 -0
- package/entities/DeviceAdministrationCommandSets/schema.json +19 -0
- package/entities/DeviceAdministrationConditions/action.json +230 -0
- package/entities/DeviceAdministrationConditions/schema.json +29 -0
- package/entities/DeviceAdministrationDictionaryAttributesList/action.json +67 -0
- package/entities/DeviceAdministrationDictionaryAttributesList/schema.json +21 -0
- package/entities/DeviceAdministrationIdentityStores/action.json +25 -0
- package/entities/DeviceAdministrationIdentityStores/schema.json +19 -0
- package/entities/DeviceAdministrationNetworkConditions/action.json +106 -0
- package/entities/DeviceAdministrationNetworkConditions/schema.json +23 -0
- package/entities/DeviceAdministrationPolicySets/action.json +126 -0
- package/entities/DeviceAdministrationPolicySets/schema.json +24 -0
- package/entities/DeviceAdministrationServiceNames/action.json +25 -0
- package/entities/DeviceAdministrationServiceNames/schema.json +19 -0
- package/entities/DeviceAdministrationShellProfiles/action.json +25 -0
- package/entities/DeviceAdministrationShellProfiles/schema.json +19 -0
- package/entities/DeviceAdministrationTimeDateConditions/action.json +106 -0
- package/entities/DeviceAdministrationTimeDateConditions/schema.json +23 -0
- package/entities/DuoIdentitySync/action.json +168 -0
- package/entities/DuoIdentitySync/schema.json +26 -0
- package/entities/DuoMfa/action.json +147 -0
- package/entities/DuoMfa/schema.json +25 -0
- package/entities/EnableMFA/action.json +24 -0
- package/entities/EnableMFA/schema.json +19 -0
- package/entities/EndpointStopReplicationService/action.json +45 -0
- package/entities/EndpointStopReplicationService/schema.json +20 -0
- package/entities/Endpoints/action.json +207 -0
- package/entities/Endpoints/schema.json +28 -0
- package/entities/ExternalConnection/action.json +25 -0
- package/entities/ExternalConnection/schema.json +19 -0
- package/entities/InboundRule/action.json +166 -0
- package/entities/InboundRule/schema.json +26 -0
- package/entities/LSDSettings/action.json +25 -0
- package/entities/LSDSettings/schema.json +19 -0
- package/entities/Licensing/action.json +231 -0
- package/entities/Licensing/schema.json +29 -0
- package/entities/NBARApplicationManagement/action.json +106 -0
- package/entities/NBARApplicationManagement/schema.json +23 -0
- package/entities/NativeIPsec/action.json +187 -0
- package/entities/NativeIPsec/schema.json +27 -0
- package/entities/NetworkAccessAuthenticationRules/action.json +126 -0
- package/entities/NetworkAccessAuthenticationRules/schema.json +24 -0
- package/entities/NetworkAccessAuthorizationExceptionRules/action.json +126 -0
- package/entities/NetworkAccessAuthorizationExceptionRules/schema.json +24 -0
- package/entities/NetworkAccessAuthorizationGlobalExceptionRules/action.json +126 -0
- package/entities/NetworkAccessAuthorizationGlobalExceptionRules/schema.json +24 -0
- package/entities/NetworkAccessAuthorizationProfiles/action.json +25 -0
- package/entities/NetworkAccessAuthorizationProfiles/schema.json +19 -0
- package/entities/NetworkAccessAuthorizationRules/action.json +126 -0
- package/entities/NetworkAccessAuthorizationRules/schema.json +24 -0
- package/entities/NetworkAccessConditions/action.json +230 -0
- package/entities/NetworkAccessConditions/schema.json +29 -0
- package/entities/NetworkAccessDictionaries/action.json +106 -0
- package/entities/NetworkAccessDictionaries/schema.json +23 -0
- package/entities/NetworkAccessDictionaryAttributes/action.json +106 -0
- package/entities/NetworkAccessDictionaryAttributes/schema.json +23 -0
- package/entities/NetworkAccessDictionaryAttributesList/action.json +67 -0
- package/entities/NetworkAccessDictionaryAttributesList/schema.json +21 -0
- package/entities/NetworkAccessIdentityStores/action.json +25 -0
- package/entities/NetworkAccessIdentityStores/schema.json +19 -0
- package/entities/NetworkAccessMFARules/action.json +126 -0
- package/entities/NetworkAccessMFARules/schema.json +24 -0
- package/entities/NetworkAccessNetworkConditions/action.json +106 -0
- package/entities/NetworkAccessNetworkConditions/schema.json +23 -0
- package/entities/NetworkAccessPolicySets/action.json +126 -0
- package/entities/NetworkAccessPolicySets/schema.json +24 -0
- package/entities/NetworkAccessSecurityGroups/action.json +25 -0
- package/entities/NetworkAccessSecurityGroups/schema.json +19 -0
- package/entities/NetworkAccessServiceNames/action.json +25 -0
- package/entities/NetworkAccessServiceNames/schema.json +19 -0
- package/entities/NetworkAccessTimeDateConditions/action.json +106 -0
- package/entities/NetworkAccessTimeDateConditions/schema.json +23 -0
- package/entities/NodeDeployment/action.json +186 -0
- package/entities/NodeDeployment/schema.json +27 -0
- package/entities/NodeGroup/action.json +167 -0
- package/entities/NodeGroup/schema.json +26 -0
- package/entities/NodeServices/action.json +107 -0
- package/entities/NodeServices/schema.json +23 -0
- package/entities/OutboundRule/action.json +146 -0
- package/entities/OutboundRule/schema.json +25 -0
- package/entities/PANHA/action.json +45 -0
- package/entities/PANHA/schema.json +20 -0
- package/entities/Patch/action.json +252 -0
- package/entities/Patch/schema.json +30 -0
- package/entities/PatchAndHotPatch/action.json +126 -0
- package/entities/PatchAndHotPatch/schema.json +24 -0
- package/entities/PrometheusAlertmanager/action.json +330 -0
- package/entities/PrometheusAlertmanager/schema.json +34 -0
- package/entities/Proxy/action.json +45 -0
- package/entities/Proxy/schema.json +20 -0
- package/entities/PxGridCloud/action.json +107 -0
- package/entities/PxGridCloud/schema.json +23 -0
- package/entities/PxGridDirect/action.json +290 -0
- package/entities/PxGridDirect/schema.json +32 -0
- package/entities/Repository/action.json +127 -0
- package/entities/Repository/schema.json +24 -0
- package/entities/RuleFlow/action.json +24 -0
- package/entities/RuleFlow/schema.json +19 -0
- package/entities/RuleSummary/action.json +24 -0
- package/entities/RuleSummary/schema.json +19 -0
- package/entities/SXP/action.json +67 -0
- package/entities/SXP/schema.json +21 -0
- package/entities/SXPDomainsWithMappingAndDevicesCounts/action.json +25 -0
- package/entities/SXPDomainsWithMappingAndDevicesCounts/schema.json +19 -0
- package/entities/SecurityGroupManagement/action.json +25 -0
- package/entities/SecurityGroupManagement/schema.json +19 -0
- package/entities/Sgt/action.json +25 -0
- package/entities/Sgt/schema.json +19 -0
- package/entities/SgtReservation/action.json +106 -0
- package/entities/SgtReservation/schema.json +23 -0
- package/entities/SharedMappings/action.json +25 -0
- package/entities/SharedMappings/schema.json +19 -0
- package/entities/Subscriber/action.json +147 -0
- package/entities/Subscriber/schema.json +25 -0
- package/entities/TaskService/action.json +46 -0
- package/entities/TaskService/schema.json +20 -0
- package/entities/Telemetry/action.json +45 -0
- package/entities/Telemetry/schema.json +20 -0
- package/entities/TrustSecMatrixPolicy/action.json +46 -0
- package/entities/TrustSecMatrixPolicy/schema.json +20 -0
- package/entities/TrustsecIntegrationRuleDefaultTrustsecIntegrationRuleSet/action.json +25 -0
- package/entities/TrustsecIntegrationRuleDefaultTrustsecIntegrationRuleSet/schema.json +19 -0
- package/entities/TrustsecIntegrationRuleDictionaries/action.json +67 -0
- package/entities/TrustsecIntegrationRuleDictionaries/schema.json +21 -0
- package/entities/TrustsecIntegrationRuleDictionaryAttributes/action.json +130 -0
- package/entities/TrustsecIntegrationRuleDictionaryAttributes/schema.json +24 -0
- package/entities/Upgrade/action.json +168 -0
- package/entities/Upgrade/schema.json +26 -0
- package/entities/UserEquipment/action.json +188 -0
- package/entities/UserEquipment/schema.json +27 -0
- package/entities/VirtualNetworkManagement/action.json +166 -0
- package/entities/VirtualNetworkManagement/schema.json +26 -0
- package/entities/WorkloadConnection/action.json +717 -0
- package/entities/WorkloadConnection/schema.json +53 -0
- package/error.json +190 -0
- package/metadata.json +85 -0
- package/package.json +81 -0
- package/pronghorn.json +22101 -0
- package/propertiesDecorators.json +14 -0
- package/propertiesSchema.json +1582 -0
- package/report/adapterInfo.json +10 -0
- package/report/auto-adapter-openapi.json +18045 -0
- package/report/creationReport.json +3745 -0
- package/report/ise.json +40324 -0
- package/sampleProperties.json +257 -0
- package/test/integration/adapterTestBasicGet.js +83 -0
- package/test/integration/adapterTestConnectivity.js +118 -0
- package/test/integration/adapterTestIntegration.js +12350 -0
- package/test/unit/adapterBaseTestUnit.js +1024 -0
- package/test/unit/adapterTestUnit.js +11628 -0
- package/utils/adapterInfo.js +206 -0
- package/utils/addAuth.js +94 -0
- package/utils/artifactize.js +146 -0
- package/utils/basicGet.js +50 -0
- package/utils/checkMigrate.js +63 -0
- package/utils/entitiesToDB.js +179 -0
- package/utils/findPath.js +74 -0
- package/utils/methodDocumentor.js +273 -0
- package/utils/modify.js +152 -0
- package/utils/packModificationScript.js +35 -0
- package/utils/patches2bundledDeps.js +90 -0
- package/utils/pre-commit.sh +32 -0
- package/utils/removeHooks.js +20 -0
- package/utils/setup.js +33 -0
- package/utils/taskMover.js +309 -0
- package/utils/tbScript.js +239 -0
- package/utils/tbUtils.js +489 -0
- package/utils/testRunner.js +298 -0
- package/utils/troubleshootingAdapter.js +193 -0
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "configBackup",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "POST",
|
|
7
|
+
"entitypath": "{base_path}/{version}/backup-restore/config/backup?{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": ""
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "cancelBackup",
|
|
25
|
+
"protocol": "REST",
|
|
26
|
+
"method": "POST",
|
|
27
|
+
"entitypath": "{base_path}/{version}/backup-restore/config/cancel-backup?{query}",
|
|
28
|
+
"requestSchema": "schema.json",
|
|
29
|
+
"responseSchema": "schema.json",
|
|
30
|
+
"timeout": 0,
|
|
31
|
+
"sendEmpty": false,
|
|
32
|
+
"requestDatatype": "JSON",
|
|
33
|
+
"responseDatatype": "JSON",
|
|
34
|
+
"headers": {},
|
|
35
|
+
"responseObjects": [
|
|
36
|
+
{
|
|
37
|
+
"type": "default",
|
|
38
|
+
"key": "",
|
|
39
|
+
"mockFile": ""
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "getLastConfigBackupStatus",
|
|
45
|
+
"protocol": "REST",
|
|
46
|
+
"method": "GET",
|
|
47
|
+
"entitypath": "{base_path}/{version}/backup-restore/config/last-backup-status?{query}",
|
|
48
|
+
"requestSchema": "schema.json",
|
|
49
|
+
"responseSchema": "schema.json",
|
|
50
|
+
"timeout": 0,
|
|
51
|
+
"sendEmpty": false,
|
|
52
|
+
"sendGetBody": false,
|
|
53
|
+
"requestDatatype": "JSON",
|
|
54
|
+
"responseDatatype": "JSON",
|
|
55
|
+
"headers": {},
|
|
56
|
+
"responseObjects": [
|
|
57
|
+
{
|
|
58
|
+
"type": "default",
|
|
59
|
+
"key": "",
|
|
60
|
+
"mockFile": ""
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"name": "restoreConfigBackup",
|
|
66
|
+
"protocol": "REST",
|
|
67
|
+
"method": "POST",
|
|
68
|
+
"entitypath": "{base_path}/{version}/backup-restore/config/restore?{query}",
|
|
69
|
+
"requestSchema": "schema.json",
|
|
70
|
+
"responseSchema": "schema.json",
|
|
71
|
+
"timeout": 0,
|
|
72
|
+
"sendEmpty": false,
|
|
73
|
+
"requestDatatype": "JSON",
|
|
74
|
+
"responseDatatype": "JSON",
|
|
75
|
+
"headers": {},
|
|
76
|
+
"responseObjects": [
|
|
77
|
+
{
|
|
78
|
+
"type": "default",
|
|
79
|
+
"key": "",
|
|
80
|
+
"mockFile": ""
|
|
81
|
+
}
|
|
82
|
+
]
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"name": "updateScheduledConfigBackup",
|
|
86
|
+
"protocol": "REST",
|
|
87
|
+
"method": "PUT",
|
|
88
|
+
"entitypath": "{base_path}/{version}/backup-restore/config/schedule-config-backup?{query}",
|
|
89
|
+
"requestSchema": "schema.json",
|
|
90
|
+
"responseSchema": "schema.json",
|
|
91
|
+
"timeout": 0,
|
|
92
|
+
"sendEmpty": false,
|
|
93
|
+
"requestDatatype": "JSON",
|
|
94
|
+
"responseDatatype": "JSON",
|
|
95
|
+
"headers": {},
|
|
96
|
+
"responseObjects": [
|
|
97
|
+
{
|
|
98
|
+
"type": "default",
|
|
99
|
+
"key": "",
|
|
100
|
+
"mockFile": ""
|
|
101
|
+
}
|
|
102
|
+
]
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"name": "createScheduledConfigBackup",
|
|
106
|
+
"protocol": "REST",
|
|
107
|
+
"method": "POST",
|
|
108
|
+
"entitypath": "{base_path}/{version}/backup-restore/config/schedule-config-backup?{query}",
|
|
109
|
+
"requestSchema": "schema.json",
|
|
110
|
+
"responseSchema": "schema.json",
|
|
111
|
+
"timeout": 0,
|
|
112
|
+
"sendEmpty": false,
|
|
113
|
+
"requestDatatype": "JSON",
|
|
114
|
+
"responseDatatype": "JSON",
|
|
115
|
+
"headers": {},
|
|
116
|
+
"responseObjects": [
|
|
117
|
+
{
|
|
118
|
+
"type": "default",
|
|
119
|
+
"key": "",
|
|
120
|
+
"mockFile": ""
|
|
121
|
+
}
|
|
122
|
+
]
|
|
123
|
+
}
|
|
124
|
+
]
|
|
125
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
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": "configBackup",
|
|
12
|
+
"enum": [
|
|
13
|
+
"configBackup",
|
|
14
|
+
"cancelBackup",
|
|
15
|
+
"getLastConfigBackupStatus",
|
|
16
|
+
"restoreConfigBackup",
|
|
17
|
+
"updateScheduledConfigBackup",
|
|
18
|
+
"createScheduledConfigBackup"
|
|
19
|
+
],
|
|
20
|
+
"external_name": "ph_request_type"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"definitions": {}
|
|
24
|
+
}
|
|
@@ -0,0 +1,452 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "getCSRs",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"entitypath": "{base_path}/{version}/certs/certificate-signing-request?{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": "generateCSR",
|
|
26
|
+
"protocol": "REST",
|
|
27
|
+
"method": "POST",
|
|
28
|
+
"entitypath": "{base_path}/{version}/certs/certificate-signing-request?{query}",
|
|
29
|
+
"requestSchema": "schema.json",
|
|
30
|
+
"responseSchema": "schema.json",
|
|
31
|
+
"timeout": 0,
|
|
32
|
+
"sendEmpty": false,
|
|
33
|
+
"requestDatatype": "JSON",
|
|
34
|
+
"responseDatatype": "JSON",
|
|
35
|
+
"headers": {},
|
|
36
|
+
"responseObjects": [
|
|
37
|
+
{
|
|
38
|
+
"type": "default",
|
|
39
|
+
"key": "",
|
|
40
|
+
"mockFile": ""
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "exportCSR",
|
|
46
|
+
"protocol": "REST",
|
|
47
|
+
"method": "GET",
|
|
48
|
+
"entitypath": "{base_path}/{version}/certs/certificate-signing-request/export/{pathv1}/{pathv2}?{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": ""
|
|
62
|
+
}
|
|
63
|
+
]
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "generateIntermediateCACsr",
|
|
67
|
+
"protocol": "REST",
|
|
68
|
+
"method": "POST",
|
|
69
|
+
"entitypath": "{base_path}/{version}/certs/certificate-signing-request/intermediate-ca?{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": ""
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "getCSRById",
|
|
87
|
+
"protocol": "REST",
|
|
88
|
+
"method": "GET",
|
|
89
|
+
"entitypath": "{base_path}/{version}/certs/certificate-signing-request/{pathv1}/{pathv2}?{query}",
|
|
90
|
+
"requestSchema": "schema.json",
|
|
91
|
+
"responseSchema": "schema.json",
|
|
92
|
+
"timeout": 0,
|
|
93
|
+
"sendEmpty": false,
|
|
94
|
+
"sendGetBody": false,
|
|
95
|
+
"requestDatatype": "JSON",
|
|
96
|
+
"responseDatatype": "JSON",
|
|
97
|
+
"headers": {},
|
|
98
|
+
"responseObjects": [
|
|
99
|
+
{
|
|
100
|
+
"type": "default",
|
|
101
|
+
"key": "",
|
|
102
|
+
"mockFile": ""
|
|
103
|
+
}
|
|
104
|
+
]
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"name": "deleteCSR",
|
|
108
|
+
"protocol": "REST",
|
|
109
|
+
"method": "DELETE",
|
|
110
|
+
"entitypath": "{base_path}/{version}/certs/certificate-signing-request/{pathv1}/{pathv2}?{query}",
|
|
111
|
+
"requestSchema": "schema.json",
|
|
112
|
+
"responseSchema": "schema.json",
|
|
113
|
+
"timeout": 0,
|
|
114
|
+
"sendEmpty": false,
|
|
115
|
+
"requestDatatype": "JSON",
|
|
116
|
+
"responseDatatype": "JSON",
|
|
117
|
+
"headers": {},
|
|
118
|
+
"responseObjects": [
|
|
119
|
+
{
|
|
120
|
+
"type": "default",
|
|
121
|
+
"key": "",
|
|
122
|
+
"mockFile": ""
|
|
123
|
+
}
|
|
124
|
+
]
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"name": "regenerateISERootCA",
|
|
128
|
+
"protocol": "REST",
|
|
129
|
+
"method": "POST",
|
|
130
|
+
"entitypath": "{base_path}/{version}/certs/ise-root-ca/regenerate?{query}",
|
|
131
|
+
"requestSchema": "schema.json",
|
|
132
|
+
"responseSchema": "schema.json",
|
|
133
|
+
"timeout": 0,
|
|
134
|
+
"sendEmpty": false,
|
|
135
|
+
"requestDatatype": "JSON",
|
|
136
|
+
"responseDatatype": "JSON",
|
|
137
|
+
"headers": {},
|
|
138
|
+
"responseObjects": [
|
|
139
|
+
{
|
|
140
|
+
"type": "default",
|
|
141
|
+
"key": "",
|
|
142
|
+
"mockFile": ""
|
|
143
|
+
}
|
|
144
|
+
]
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"name": "renewCerts",
|
|
148
|
+
"protocol": "REST",
|
|
149
|
+
"method": "POST",
|
|
150
|
+
"entitypath": "{base_path}/{version}/certs/renew-certificate?{query}",
|
|
151
|
+
"requestSchema": "schema.json",
|
|
152
|
+
"responseSchema": "schema.json",
|
|
153
|
+
"timeout": 0,
|
|
154
|
+
"sendEmpty": false,
|
|
155
|
+
"requestDatatype": "JSON",
|
|
156
|
+
"responseDatatype": "JSON",
|
|
157
|
+
"headers": {},
|
|
158
|
+
"responseObjects": [
|
|
159
|
+
{
|
|
160
|
+
"type": "default",
|
|
161
|
+
"key": "",
|
|
162
|
+
"mockFile": ""
|
|
163
|
+
}
|
|
164
|
+
]
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"name": "bindCSR",
|
|
168
|
+
"protocol": "REST",
|
|
169
|
+
"method": "POST",
|
|
170
|
+
"entitypath": "{base_path}/{version}/certs/signed-certificate/bind?{query}",
|
|
171
|
+
"requestSchema": "schema.json",
|
|
172
|
+
"responseSchema": "schema.json",
|
|
173
|
+
"timeout": 0,
|
|
174
|
+
"sendEmpty": false,
|
|
175
|
+
"requestDatatype": "JSON",
|
|
176
|
+
"responseDatatype": "JSON",
|
|
177
|
+
"headers": {},
|
|
178
|
+
"responseObjects": [
|
|
179
|
+
{
|
|
180
|
+
"type": "default",
|
|
181
|
+
"key": "",
|
|
182
|
+
"mockFile": ""
|
|
183
|
+
}
|
|
184
|
+
]
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"name": "exportSystemCert",
|
|
188
|
+
"protocol": "REST",
|
|
189
|
+
"method": "POST",
|
|
190
|
+
"entitypath": "{base_path}/{version}/certs/system-certificate/export?{query}",
|
|
191
|
+
"requestSchema": "schema.json",
|
|
192
|
+
"responseSchema": "schema.json",
|
|
193
|
+
"timeout": 0,
|
|
194
|
+
"sendEmpty": false,
|
|
195
|
+
"requestDatatype": "JSON",
|
|
196
|
+
"responseDatatype": "JSON",
|
|
197
|
+
"headers": {},
|
|
198
|
+
"responseObjects": [
|
|
199
|
+
{
|
|
200
|
+
"type": "default",
|
|
201
|
+
"key": "",
|
|
202
|
+
"mockFile": ""
|
|
203
|
+
}
|
|
204
|
+
]
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"name": "generateSelfSignedCertificate",
|
|
208
|
+
"protocol": "REST",
|
|
209
|
+
"method": "POST",
|
|
210
|
+
"entitypath": "{base_path}/{version}/certs/system-certificate/generate-selfsigned-certificate?{query}",
|
|
211
|
+
"requestSchema": "schema.json",
|
|
212
|
+
"responseSchema": "schema.json",
|
|
213
|
+
"timeout": 0,
|
|
214
|
+
"sendEmpty": false,
|
|
215
|
+
"requestDatatype": "JSON",
|
|
216
|
+
"responseDatatype": "JSON",
|
|
217
|
+
"headers": {},
|
|
218
|
+
"responseObjects": [
|
|
219
|
+
{
|
|
220
|
+
"type": "default",
|
|
221
|
+
"key": "",
|
|
222
|
+
"mockFile": ""
|
|
223
|
+
}
|
|
224
|
+
]
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"name": "importSystemCert",
|
|
228
|
+
"protocol": "REST",
|
|
229
|
+
"method": "POST",
|
|
230
|
+
"entitypath": "{base_path}/{version}/certs/system-certificate/import?{query}",
|
|
231
|
+
"requestSchema": "schema.json",
|
|
232
|
+
"responseSchema": "schema.json",
|
|
233
|
+
"timeout": 0,
|
|
234
|
+
"sendEmpty": false,
|
|
235
|
+
"requestDatatype": "JSON",
|
|
236
|
+
"responseDatatype": "JSON",
|
|
237
|
+
"headers": {},
|
|
238
|
+
"responseObjects": [
|
|
239
|
+
{
|
|
240
|
+
"type": "default",
|
|
241
|
+
"key": "",
|
|
242
|
+
"mockFile": ""
|
|
243
|
+
}
|
|
244
|
+
]
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"name": "getSystemCertificates",
|
|
248
|
+
"protocol": "REST",
|
|
249
|
+
"method": "GET",
|
|
250
|
+
"entitypath": "{base_path}/{version}/certs/system-certificate/{pathv1}?{query}",
|
|
251
|
+
"requestSchema": "schema.json",
|
|
252
|
+
"responseSchema": "schema.json",
|
|
253
|
+
"timeout": 0,
|
|
254
|
+
"sendEmpty": false,
|
|
255
|
+
"sendGetBody": false,
|
|
256
|
+
"requestDatatype": "JSON",
|
|
257
|
+
"responseDatatype": "JSON",
|
|
258
|
+
"headers": {},
|
|
259
|
+
"responseObjects": [
|
|
260
|
+
{
|
|
261
|
+
"type": "default",
|
|
262
|
+
"key": "",
|
|
263
|
+
"mockFile": ""
|
|
264
|
+
}
|
|
265
|
+
]
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"name": "getSystemCertificateById",
|
|
269
|
+
"protocol": "REST",
|
|
270
|
+
"method": "GET",
|
|
271
|
+
"entitypath": "{base_path}/{version}/certs/system-certificate/{pathv1}/{pathv2}?{query}",
|
|
272
|
+
"requestSchema": "schema.json",
|
|
273
|
+
"responseSchema": "schema.json",
|
|
274
|
+
"timeout": 0,
|
|
275
|
+
"sendEmpty": false,
|
|
276
|
+
"sendGetBody": false,
|
|
277
|
+
"requestDatatype": "JSON",
|
|
278
|
+
"responseDatatype": "JSON",
|
|
279
|
+
"headers": {},
|
|
280
|
+
"responseObjects": [
|
|
281
|
+
{
|
|
282
|
+
"type": "default",
|
|
283
|
+
"key": "",
|
|
284
|
+
"mockFile": ""
|
|
285
|
+
}
|
|
286
|
+
]
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"name": "updateSystemCert",
|
|
290
|
+
"protocol": "REST",
|
|
291
|
+
"method": "PUT",
|
|
292
|
+
"entitypath": "{base_path}/{version}/certs/system-certificate/{pathv1}/{pathv2}?{query}",
|
|
293
|
+
"requestSchema": "schema.json",
|
|
294
|
+
"responseSchema": "schema.json",
|
|
295
|
+
"timeout": 0,
|
|
296
|
+
"sendEmpty": false,
|
|
297
|
+
"requestDatatype": "JSON",
|
|
298
|
+
"responseDatatype": "JSON",
|
|
299
|
+
"headers": {},
|
|
300
|
+
"responseObjects": [
|
|
301
|
+
{
|
|
302
|
+
"type": "default",
|
|
303
|
+
"key": "",
|
|
304
|
+
"mockFile": ""
|
|
305
|
+
}
|
|
306
|
+
]
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"name": "deleteSystemCertificateById",
|
|
310
|
+
"protocol": "REST",
|
|
311
|
+
"method": "DELETE",
|
|
312
|
+
"entitypath": "{base_path}/{version}/certs/system-certificate/{pathv1}/{pathv2}?{query}",
|
|
313
|
+
"requestSchema": "schema.json",
|
|
314
|
+
"responseSchema": "schema.json",
|
|
315
|
+
"timeout": 0,
|
|
316
|
+
"sendEmpty": false,
|
|
317
|
+
"requestDatatype": "JSON",
|
|
318
|
+
"responseDatatype": "JSON",
|
|
319
|
+
"headers": {},
|
|
320
|
+
"responseObjects": [
|
|
321
|
+
{
|
|
322
|
+
"type": "default",
|
|
323
|
+
"key": "",
|
|
324
|
+
"mockFile": ""
|
|
325
|
+
}
|
|
326
|
+
]
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"name": "getTrustedCertificates",
|
|
330
|
+
"protocol": "REST",
|
|
331
|
+
"method": "GET",
|
|
332
|
+
"entitypath": "{base_path}/{version}/certs/trusted-certificate?{query}",
|
|
333
|
+
"requestSchema": "schema.json",
|
|
334
|
+
"responseSchema": "schema.json",
|
|
335
|
+
"timeout": 0,
|
|
336
|
+
"sendEmpty": false,
|
|
337
|
+
"sendGetBody": false,
|
|
338
|
+
"requestDatatype": "JSON",
|
|
339
|
+
"responseDatatype": "JSON",
|
|
340
|
+
"headers": {},
|
|
341
|
+
"responseObjects": [
|
|
342
|
+
{
|
|
343
|
+
"type": "default",
|
|
344
|
+
"key": "",
|
|
345
|
+
"mockFile": ""
|
|
346
|
+
}
|
|
347
|
+
]
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
"name": "exportTrustedCert",
|
|
351
|
+
"protocol": "REST",
|
|
352
|
+
"method": "GET",
|
|
353
|
+
"entitypath": "{base_path}/{version}/certs/trusted-certificate/export/{pathv1}?{query}",
|
|
354
|
+
"requestSchema": "schema.json",
|
|
355
|
+
"responseSchema": "schema.json",
|
|
356
|
+
"timeout": 0,
|
|
357
|
+
"sendEmpty": false,
|
|
358
|
+
"sendGetBody": false,
|
|
359
|
+
"requestDatatype": "JSON",
|
|
360
|
+
"responseDatatype": "JSON",
|
|
361
|
+
"headers": {},
|
|
362
|
+
"responseObjects": [
|
|
363
|
+
{
|
|
364
|
+
"type": "default",
|
|
365
|
+
"key": "",
|
|
366
|
+
"mockFile": ""
|
|
367
|
+
}
|
|
368
|
+
]
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
"name": "importTrustCert",
|
|
372
|
+
"protocol": "REST",
|
|
373
|
+
"method": "POST",
|
|
374
|
+
"entitypath": "{base_path}/{version}/certs/trusted-certificate/import?{query}",
|
|
375
|
+
"requestSchema": "schema.json",
|
|
376
|
+
"responseSchema": "schema.json",
|
|
377
|
+
"timeout": 0,
|
|
378
|
+
"sendEmpty": false,
|
|
379
|
+
"requestDatatype": "JSON",
|
|
380
|
+
"responseDatatype": "JSON",
|
|
381
|
+
"headers": {},
|
|
382
|
+
"responseObjects": [
|
|
383
|
+
{
|
|
384
|
+
"type": "default",
|
|
385
|
+
"key": "",
|
|
386
|
+
"mockFile": ""
|
|
387
|
+
}
|
|
388
|
+
]
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
"name": "getTrustedCertificateById",
|
|
392
|
+
"protocol": "REST",
|
|
393
|
+
"method": "GET",
|
|
394
|
+
"entitypath": "{base_path}/{version}/certs/trusted-certificate/{pathv1}?{query}",
|
|
395
|
+
"requestSchema": "schema.json",
|
|
396
|
+
"responseSchema": "schema.json",
|
|
397
|
+
"timeout": 0,
|
|
398
|
+
"sendEmpty": false,
|
|
399
|
+
"sendGetBody": false,
|
|
400
|
+
"requestDatatype": "JSON",
|
|
401
|
+
"responseDatatype": "JSON",
|
|
402
|
+
"headers": {},
|
|
403
|
+
"responseObjects": [
|
|
404
|
+
{
|
|
405
|
+
"type": "default",
|
|
406
|
+
"key": "",
|
|
407
|
+
"mockFile": ""
|
|
408
|
+
}
|
|
409
|
+
]
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
"name": "updateTrustedCertificate",
|
|
413
|
+
"protocol": "REST",
|
|
414
|
+
"method": "PUT",
|
|
415
|
+
"entitypath": "{base_path}/{version}/certs/trusted-certificate/{pathv1}?{query}",
|
|
416
|
+
"requestSchema": "schema.json",
|
|
417
|
+
"responseSchema": "schema.json",
|
|
418
|
+
"timeout": 0,
|
|
419
|
+
"sendEmpty": false,
|
|
420
|
+
"requestDatatype": "JSON",
|
|
421
|
+
"responseDatatype": "JSON",
|
|
422
|
+
"headers": {},
|
|
423
|
+
"responseObjects": [
|
|
424
|
+
{
|
|
425
|
+
"type": "default",
|
|
426
|
+
"key": "",
|
|
427
|
+
"mockFile": ""
|
|
428
|
+
}
|
|
429
|
+
]
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
"name": "deleteTrustedCertificateById",
|
|
433
|
+
"protocol": "REST",
|
|
434
|
+
"method": "DELETE",
|
|
435
|
+
"entitypath": "{base_path}/{version}/certs/trusted-certificate/{pathv1}?{query}",
|
|
436
|
+
"requestSchema": "schema.json",
|
|
437
|
+
"responseSchema": "schema.json",
|
|
438
|
+
"timeout": 0,
|
|
439
|
+
"sendEmpty": false,
|
|
440
|
+
"requestDatatype": "JSON",
|
|
441
|
+
"responseDatatype": "JSON",
|
|
442
|
+
"headers": {},
|
|
443
|
+
"responseObjects": [
|
|
444
|
+
{
|
|
445
|
+
"type": "default",
|
|
446
|
+
"key": "",
|
|
447
|
+
"mockFile": ""
|
|
448
|
+
}
|
|
449
|
+
]
|
|
450
|
+
}
|
|
451
|
+
]
|
|
452
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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": "getCSRs",
|
|
12
|
+
"enum": [
|
|
13
|
+
"getCSRs",
|
|
14
|
+
"generateCSR",
|
|
15
|
+
"exportCSR",
|
|
16
|
+
"generateIntermediateCACsr",
|
|
17
|
+
"getCSRById",
|
|
18
|
+
"deleteCSR",
|
|
19
|
+
"regenerateISERootCA",
|
|
20
|
+
"renewCerts",
|
|
21
|
+
"bindCSR",
|
|
22
|
+
"exportSystemCert",
|
|
23
|
+
"generateSelfSignedCertificate",
|
|
24
|
+
"importSystemCert",
|
|
25
|
+
"getSystemCertificates",
|
|
26
|
+
"getSystemCertificateById",
|
|
27
|
+
"updateSystemCert",
|
|
28
|
+
"deleteSystemCertificateById",
|
|
29
|
+
"getTrustedCertificates",
|
|
30
|
+
"exportTrustedCert",
|
|
31
|
+
"importTrustCert",
|
|
32
|
+
"getTrustedCertificateById",
|
|
33
|
+
"updateTrustedCertificate",
|
|
34
|
+
"deleteTrustedCertificateById"
|
|
35
|
+
],
|
|
36
|
+
"external_name": "ph_request_type"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"definitions": {}
|
|
40
|
+
}
|