@itentialopensource/adapter-algosec_appviz 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 +39 -0
- package/BROKER.md +199 -0
- package/CALLS.md +170 -0
- package/CHANGELOG.md +9 -0
- package/CODE_OF_CONDUCT.md +43 -0
- package/CONTRIBUTING.md +172 -0
- package/ENHANCE.md +69 -0
- package/LICENSE +201 -0
- package/PROPERTIES.md +641 -0
- package/README.md +337 -0
- package/SUMMARY.md +9 -0
- package/SYSTEMINFO.md +11 -0
- package/TROUBLESHOOT.md +47 -0
- package/adapter.js +6079 -0
- package/adapterBase.js +1787 -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/ApplicationsApiController/action.json +580 -0
- package/entities/ApplicationsApiController/mockdatafiles/getActivitiesForApplicationUsingGET-default.json +9 -0
- package/entities/ApplicationsApiController/mockdatafiles/getAllApplicationsActivitiesUsingGET-default.json +23 -0
- package/entities/ApplicationsApiController/mockdatafiles/getAllApplicationsUsingGET-default.json +170 -0
- package/entities/ApplicationsApiController/mockdatafiles/getApplicationChangeRequestsUsingGET-default.json +94 -0
- package/entities/ApplicationsApiController/mockdatafiles/getApplicationContactsUsingGET-default.json +20 -0
- package/entities/ApplicationsApiController/mockdatafiles/getApplicationLabelsUsingGET-default.json +14 -0
- package/entities/ApplicationsApiController/mockdatafiles/getApplicationLabelsUsingGET1-default.json +14 -0
- package/entities/ApplicationsApiController/mockdatafiles/getApplicationRevisionsByAppIdUsingGET-default.json +46 -0
- package/entities/ApplicationsApiController/mockdatafiles/getApplicationRevisionsUsingGET-default.json +68 -0
- package/entities/ApplicationsApiController/mockdatafiles/getApplicationRisksUsingGET-default.json +9 -0
- package/entities/ApplicationsApiController/mockdatafiles/getPciApplicationsVulnerabilitiesUsingGET-default.json +26 -0
- package/entities/ApplicationsApiController/schema.json +68 -0
- package/entities/FlowsApiController/action.json +147 -0
- package/entities/FlowsApiController/mockdatafiles/editApplicationFlowUsingPOST-default.json +2024 -0
- package/entities/FlowsApiController/mockdatafiles/getApplicationFlowsUsingGET-default.json +5022 -0
- package/entities/FlowsApiController/mockdatafiles/getFlowRisksUsingGET-default.json +23 -0
- package/entities/FlowsApiController/schema.json +25 -0
- package/entities/NetworkObjectApiController/action.json +271 -0
- package/entities/NetworkObjectApiController/mockdatafiles/findNetworkObjectsApplicationsByIpUsingGET-default.json +330 -0
- package/entities/NetworkObjectApiController/mockdatafiles/findNetworkObjectsByIpUsingGET-default.json +491 -0
- package/entities/NetworkObjectApiController/mockdatafiles/getAllNetworkObjectsUsingGET-default.json +479 -0
- package/entities/NetworkObjectApiController/mockdatafiles/getNetworkObjectApplicationsUsingGET-default.json +277 -0
- package/entities/NetworkObjectApiController/mockdatafiles/getNetworkObjectsByNameUsingGET-default.json +364 -0
- package/entities/NetworkObjectApiController/schema.json +53 -0
- package/entities/NetworkServiceApiController/action.json +147 -0
- package/entities/NetworkServiceApiController/mockdatafiles/getAllNetworkServicesUsingGET-default.json +81 -0
- package/entities/NetworkServiceApiController/schema.json +47 -0
- package/entities/PermissionsApiController/action.json +168 -0
- package/entities/PermissionsApiController/schema.json +26 -0
- package/error.json +190 -0
- package/package.json +86 -0
- package/pronghorn.json +7756 -0
- package/propertiesDecorators.json +14 -0
- package/propertiesSchema.json +1248 -0
- package/refs?service=git-upload-pack +0 -0
- package/report/algosec-AppViz-swagger.json +4453 -0
- package/report/creationReport.json +485 -0
- package/sampleProperties.json +195 -0
- package/test/integration/adapterTestBasicGet.js +83 -0
- package/test/integration/adapterTestConnectivity.js +93 -0
- package/test/integration/adapterTestIntegration.js +2212 -0
- package/test/unit/adapterBaseTestUnit.js +949 -0
- package/test/unit/adapterTestUnit.js +3291 -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 +178 -0
- package/utils/findPath.js +74 -0
- package/utils/methodDocumentor.js +225 -0
- package/utils/modify.js +154 -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/tbScript.js +246 -0
- package/utils/tbUtils.js +490 -0
- package/utils/testRunner.js +298 -0
- package/utils/troubleshootingAdapter.js +195 -0
- package/workflows/README.md +3 -0
package/entities/ApplicationsApiController/mockdatafiles/getAllApplicationsUsingGET-default.json
ADDED
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"applicationID": 6,
|
|
4
|
+
"connectivityStatus": "string",
|
|
5
|
+
"contacts": [
|
|
6
|
+
{
|
|
7
|
+
"email": "string",
|
|
8
|
+
"name": "string",
|
|
9
|
+
"phone": "string",
|
|
10
|
+
"role": "string"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"email": "string",
|
|
14
|
+
"name": "string",
|
|
15
|
+
"phone": "string",
|
|
16
|
+
"role": "string"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"email": "string",
|
|
20
|
+
"name": "string",
|
|
21
|
+
"phone": "string",
|
|
22
|
+
"role": "string"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"createdDate": {
|
|
26
|
+
"calendarType": "string",
|
|
27
|
+
"firstDayOfWeek": 7,
|
|
28
|
+
"lenient": true,
|
|
29
|
+
"minimalDaysInFirstWeek": 4,
|
|
30
|
+
"time": "string",
|
|
31
|
+
"timeInMillis": 6,
|
|
32
|
+
"timeZone": {
|
|
33
|
+
"displayName": "string",
|
|
34
|
+
"dstsavings": 10,
|
|
35
|
+
"id": "string",
|
|
36
|
+
"rawOffset": 6
|
|
37
|
+
},
|
|
38
|
+
"weekDateSupported": false,
|
|
39
|
+
"weekYear": 8,
|
|
40
|
+
"weeksInWeekYear": 6
|
|
41
|
+
},
|
|
42
|
+
"customFields": [
|
|
43
|
+
{
|
|
44
|
+
"link": "string",
|
|
45
|
+
"name": "string",
|
|
46
|
+
"value": "string"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"link": "string",
|
|
50
|
+
"name": "string",
|
|
51
|
+
"value": "string"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"link": "string",
|
|
55
|
+
"name": "string",
|
|
56
|
+
"value": "string"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"link": "string",
|
|
60
|
+
"name": "string",
|
|
61
|
+
"value": "string"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"link": "string",
|
|
65
|
+
"name": "string",
|
|
66
|
+
"value": "string"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"link": "string",
|
|
70
|
+
"name": "string",
|
|
71
|
+
"value": "string"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"link": "string",
|
|
75
|
+
"name": "string",
|
|
76
|
+
"value": "string"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"link": "string",
|
|
80
|
+
"name": "string",
|
|
81
|
+
"value": "string"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"link": "string",
|
|
85
|
+
"name": "string",
|
|
86
|
+
"value": "string"
|
|
87
|
+
}
|
|
88
|
+
],
|
|
89
|
+
"expirationDate": {
|
|
90
|
+
"calendarType": "string",
|
|
91
|
+
"firstDayOfWeek": 3,
|
|
92
|
+
"lenient": true,
|
|
93
|
+
"minimalDaysInFirstWeek": 1,
|
|
94
|
+
"time": "string",
|
|
95
|
+
"timeInMillis": 6,
|
|
96
|
+
"timeZone": {
|
|
97
|
+
"displayName": "string",
|
|
98
|
+
"dstsavings": 3,
|
|
99
|
+
"id": "string",
|
|
100
|
+
"rawOffset": 9
|
|
101
|
+
},
|
|
102
|
+
"weekDateSupported": false,
|
|
103
|
+
"weekYear": 3,
|
|
104
|
+
"weeksInWeekYear": 2
|
|
105
|
+
},
|
|
106
|
+
"labels": [
|
|
107
|
+
{
|
|
108
|
+
"name": "string"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"name": "string"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"name": "string"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"name": "string"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"name": "string"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"name": "string"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"name": "string"
|
|
127
|
+
}
|
|
128
|
+
],
|
|
129
|
+
"lastRiskCheck": {
|
|
130
|
+
"calendarType": "string",
|
|
131
|
+
"firstDayOfWeek": 8,
|
|
132
|
+
"lenient": false,
|
|
133
|
+
"minimalDaysInFirstWeek": 5,
|
|
134
|
+
"time": "string",
|
|
135
|
+
"timeInMillis": 9,
|
|
136
|
+
"timeZone": {
|
|
137
|
+
"displayName": "string",
|
|
138
|
+
"dstsavings": 3,
|
|
139
|
+
"id": "string",
|
|
140
|
+
"rawOffset": 9
|
|
141
|
+
},
|
|
142
|
+
"weekDateSupported": true,
|
|
143
|
+
"weekYear": 2,
|
|
144
|
+
"weeksInWeekYear": 8
|
|
145
|
+
},
|
|
146
|
+
"lastUpdateDate": {
|
|
147
|
+
"calendarType": "string",
|
|
148
|
+
"firstDayOfWeek": 2,
|
|
149
|
+
"lenient": true,
|
|
150
|
+
"minimalDaysInFirstWeek": 5,
|
|
151
|
+
"time": "string",
|
|
152
|
+
"timeInMillis": 4,
|
|
153
|
+
"timeZone": {
|
|
154
|
+
"displayName": "string",
|
|
155
|
+
"dstsavings": 4,
|
|
156
|
+
"id": "string",
|
|
157
|
+
"rawOffset": 9
|
|
158
|
+
},
|
|
159
|
+
"weekDateSupported": true,
|
|
160
|
+
"weekYear": 1,
|
|
161
|
+
"weeksInWeekYear": 1
|
|
162
|
+
},
|
|
163
|
+
"lifecyclePhase": "string",
|
|
164
|
+
"name": "string",
|
|
165
|
+
"revisionID": 4,
|
|
166
|
+
"revisionStatus": "string",
|
|
167
|
+
"riskScore": 5,
|
|
168
|
+
"vulnerabilityScore": 5
|
|
169
|
+
}
|
|
170
|
+
]
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": 10,
|
|
4
|
+
"openedDate": {
|
|
5
|
+
"calendarType": "string",
|
|
6
|
+
"firstDayOfWeek": 4,
|
|
7
|
+
"lenient": true,
|
|
8
|
+
"minimalDaysInFirstWeek": 4,
|
|
9
|
+
"time": "string",
|
|
10
|
+
"timeInMillis": 5,
|
|
11
|
+
"timeZone": {
|
|
12
|
+
"displayName": "string",
|
|
13
|
+
"dstsavings": 2,
|
|
14
|
+
"id": "string",
|
|
15
|
+
"rawOffset": 3
|
|
16
|
+
},
|
|
17
|
+
"weekDateSupported": false,
|
|
18
|
+
"weekYear": 7,
|
|
19
|
+
"weeksInWeekYear": 8
|
|
20
|
+
},
|
|
21
|
+
"requestor": "string",
|
|
22
|
+
"status": "string",
|
|
23
|
+
"subject": "string"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"id": 1,
|
|
27
|
+
"openedDate": {
|
|
28
|
+
"calendarType": "string",
|
|
29
|
+
"firstDayOfWeek": 3,
|
|
30
|
+
"lenient": false,
|
|
31
|
+
"minimalDaysInFirstWeek": 8,
|
|
32
|
+
"time": "string",
|
|
33
|
+
"timeInMillis": 4,
|
|
34
|
+
"timeZone": {
|
|
35
|
+
"displayName": "string",
|
|
36
|
+
"dstsavings": 7,
|
|
37
|
+
"id": "string",
|
|
38
|
+
"rawOffset": 3
|
|
39
|
+
},
|
|
40
|
+
"weekDateSupported": false,
|
|
41
|
+
"weekYear": 3,
|
|
42
|
+
"weeksInWeekYear": 7
|
|
43
|
+
},
|
|
44
|
+
"requestor": "string",
|
|
45
|
+
"status": "string",
|
|
46
|
+
"subject": "string"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"id": 5,
|
|
50
|
+
"openedDate": {
|
|
51
|
+
"calendarType": "string",
|
|
52
|
+
"firstDayOfWeek": 6,
|
|
53
|
+
"lenient": false,
|
|
54
|
+
"minimalDaysInFirstWeek": 5,
|
|
55
|
+
"time": "string",
|
|
56
|
+
"timeInMillis": 3,
|
|
57
|
+
"timeZone": {
|
|
58
|
+
"displayName": "string",
|
|
59
|
+
"dstsavings": 2,
|
|
60
|
+
"id": "string",
|
|
61
|
+
"rawOffset": 1
|
|
62
|
+
},
|
|
63
|
+
"weekDateSupported": false,
|
|
64
|
+
"weekYear": 2,
|
|
65
|
+
"weeksInWeekYear": 7
|
|
66
|
+
},
|
|
67
|
+
"requestor": "string",
|
|
68
|
+
"status": "string",
|
|
69
|
+
"subject": "string"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"id": 8,
|
|
73
|
+
"openedDate": {
|
|
74
|
+
"calendarType": "string",
|
|
75
|
+
"firstDayOfWeek": 3,
|
|
76
|
+
"lenient": false,
|
|
77
|
+
"minimalDaysInFirstWeek": 2,
|
|
78
|
+
"time": "string",
|
|
79
|
+
"timeInMillis": 1,
|
|
80
|
+
"timeZone": {
|
|
81
|
+
"displayName": "string",
|
|
82
|
+
"dstsavings": 2,
|
|
83
|
+
"id": "string",
|
|
84
|
+
"rawOffset": 8
|
|
85
|
+
},
|
|
86
|
+
"weekDateSupported": false,
|
|
87
|
+
"weekYear": 9,
|
|
88
|
+
"weeksInWeekYear": 4
|
|
89
|
+
},
|
|
90
|
+
"requestor": "string",
|
|
91
|
+
"status": "string",
|
|
92
|
+
"subject": "string"
|
|
93
|
+
}
|
|
94
|
+
]
|
package/entities/ApplicationsApiController/mockdatafiles/getApplicationContactsUsingGET-default.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"email": "string",
|
|
4
|
+
"name": "string",
|
|
5
|
+
"phone": "string",
|
|
6
|
+
"role": "string"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"email": "string",
|
|
10
|
+
"name": "string",
|
|
11
|
+
"phone": "string",
|
|
12
|
+
"role": "string"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"email": "string",
|
|
16
|
+
"name": "string",
|
|
17
|
+
"phone": "string",
|
|
18
|
+
"role": "string"
|
|
19
|
+
}
|
|
20
|
+
]
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"applicationRevisionID": 3,
|
|
4
|
+
"createdDate": {
|
|
5
|
+
"calendarType": "string",
|
|
6
|
+
"firstDayOfWeek": 9,
|
|
7
|
+
"lenient": false,
|
|
8
|
+
"minimalDaysInFirstWeek": 2,
|
|
9
|
+
"time": "string",
|
|
10
|
+
"timeInMillis": 2,
|
|
11
|
+
"timeZone": {
|
|
12
|
+
"displayName": "string",
|
|
13
|
+
"dstsavings": 6,
|
|
14
|
+
"id": "string",
|
|
15
|
+
"rawOffset": 9
|
|
16
|
+
},
|
|
17
|
+
"weekDateSupported": true,
|
|
18
|
+
"weekYear": 8,
|
|
19
|
+
"weeksInWeekYear": 10
|
|
20
|
+
},
|
|
21
|
+
"revisionID": 4,
|
|
22
|
+
"revisionStatus": "string"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"applicationRevisionID": 10,
|
|
26
|
+
"createdDate": {
|
|
27
|
+
"calendarType": "string",
|
|
28
|
+
"firstDayOfWeek": 4,
|
|
29
|
+
"lenient": true,
|
|
30
|
+
"minimalDaysInFirstWeek": 6,
|
|
31
|
+
"time": "string",
|
|
32
|
+
"timeInMillis": 6,
|
|
33
|
+
"timeZone": {
|
|
34
|
+
"displayName": "string",
|
|
35
|
+
"dstsavings": 7,
|
|
36
|
+
"id": "string",
|
|
37
|
+
"rawOffset": 8
|
|
38
|
+
},
|
|
39
|
+
"weekDateSupported": false,
|
|
40
|
+
"weekYear": 10,
|
|
41
|
+
"weeksInWeekYear": 3
|
|
42
|
+
},
|
|
43
|
+
"revisionID": 9,
|
|
44
|
+
"revisionStatus": "string"
|
|
45
|
+
}
|
|
46
|
+
]
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"applicationRevisionID": 5,
|
|
4
|
+
"createdDate": {
|
|
5
|
+
"calendarType": "string",
|
|
6
|
+
"firstDayOfWeek": 3,
|
|
7
|
+
"lenient": false,
|
|
8
|
+
"minimalDaysInFirstWeek": 2,
|
|
9
|
+
"time": "string",
|
|
10
|
+
"timeInMillis": 7,
|
|
11
|
+
"timeZone": {
|
|
12
|
+
"displayName": "string",
|
|
13
|
+
"dstsavings": 2,
|
|
14
|
+
"id": "string",
|
|
15
|
+
"rawOffset": 6
|
|
16
|
+
},
|
|
17
|
+
"weekDateSupported": false,
|
|
18
|
+
"weekYear": 4,
|
|
19
|
+
"weeksInWeekYear": 3
|
|
20
|
+
},
|
|
21
|
+
"revisionID": 9,
|
|
22
|
+
"revisionStatus": "string"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"applicationRevisionID": 3,
|
|
26
|
+
"createdDate": {
|
|
27
|
+
"calendarType": "string",
|
|
28
|
+
"firstDayOfWeek": 8,
|
|
29
|
+
"lenient": false,
|
|
30
|
+
"minimalDaysInFirstWeek": 10,
|
|
31
|
+
"time": "string",
|
|
32
|
+
"timeInMillis": 6,
|
|
33
|
+
"timeZone": {
|
|
34
|
+
"displayName": "string",
|
|
35
|
+
"dstsavings": 4,
|
|
36
|
+
"id": "string",
|
|
37
|
+
"rawOffset": 1
|
|
38
|
+
},
|
|
39
|
+
"weekDateSupported": false,
|
|
40
|
+
"weekYear": 1,
|
|
41
|
+
"weeksInWeekYear": 3
|
|
42
|
+
},
|
|
43
|
+
"revisionID": 6,
|
|
44
|
+
"revisionStatus": "string"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"applicationRevisionID": 2,
|
|
48
|
+
"createdDate": {
|
|
49
|
+
"calendarType": "string",
|
|
50
|
+
"firstDayOfWeek": 2,
|
|
51
|
+
"lenient": false,
|
|
52
|
+
"minimalDaysInFirstWeek": 2,
|
|
53
|
+
"time": "string",
|
|
54
|
+
"timeInMillis": 6,
|
|
55
|
+
"timeZone": {
|
|
56
|
+
"displayName": "string",
|
|
57
|
+
"dstsavings": 2,
|
|
58
|
+
"id": "string",
|
|
59
|
+
"rawOffset": 6
|
|
60
|
+
},
|
|
61
|
+
"weekDateSupported": true,
|
|
62
|
+
"weekYear": 5,
|
|
63
|
+
"weeksInWeekYear": 7
|
|
64
|
+
},
|
|
65
|
+
"revisionID": 6,
|
|
66
|
+
"revisionStatus": "string"
|
|
67
|
+
}
|
|
68
|
+
]
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"application_id": 3,
|
|
4
|
+
"application_name": "string",
|
|
5
|
+
"application_severity": "string",
|
|
6
|
+
"application_vulnerability_score": 3,
|
|
7
|
+
"unscanned_pci_servers": 9,
|
|
8
|
+
"unscanned_servers": 7
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"application_id": 1,
|
|
12
|
+
"application_name": "string",
|
|
13
|
+
"application_severity": "string",
|
|
14
|
+
"application_vulnerability_score": 10,
|
|
15
|
+
"unscanned_pci_servers": 6,
|
|
16
|
+
"unscanned_servers": 10
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"application_id": 6,
|
|
20
|
+
"application_name": "string",
|
|
21
|
+
"application_severity": "string",
|
|
22
|
+
"application_vulnerability_score": 7,
|
|
23
|
+
"unscanned_pci_servers": 7,
|
|
24
|
+
"unscanned_servers": 1
|
|
25
|
+
}
|
|
26
|
+
]
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "schema.json",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"schema": "http://json-schema.org/draft-07/schema#",
|
|
5
|
+
"translate": true,
|
|
6
|
+
"dynamicfields": true,
|
|
7
|
+
"properties": {
|
|
8
|
+
"ph_request_type": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "type of request (internal to adapter)",
|
|
11
|
+
"default": "getAllApplicationsUsingGET",
|
|
12
|
+
"enum": [
|
|
13
|
+
"getAllApplicationsUsingGET",
|
|
14
|
+
"getAllApplicationsActivitiesUsingGET",
|
|
15
|
+
"getApplicationByAppIdUsingGET",
|
|
16
|
+
"getApplicationRevisionsByAppIdUsingGET",
|
|
17
|
+
"getApplicationByNameUsingGET",
|
|
18
|
+
"newApplicationUsingPOST",
|
|
19
|
+
"getPciApplicationsVulnerabilitiesUsingGET",
|
|
20
|
+
"getApplicationByIdUsingGET",
|
|
21
|
+
"getActivitiesForApplicationUsingGET",
|
|
22
|
+
"applyDraftUsingPOST",
|
|
23
|
+
"getApplicationUsersAndRolesUsingGET",
|
|
24
|
+
"getApplicationChangeRequestsUsingGET",
|
|
25
|
+
"runCheckConnectivityUsingPOST",
|
|
26
|
+
"getApplicationContactsUsingGET",
|
|
27
|
+
"editApplicationContactsUsingPOST",
|
|
28
|
+
"clearAllApplicationContactsUsingDELETE",
|
|
29
|
+
"editCustomFieldsUsingPOST",
|
|
30
|
+
"clearAllApplicationCustomFieldsUsingDELETE",
|
|
31
|
+
"decomissionApplicationUsingPOST",
|
|
32
|
+
"discardRevisionUsingPOST",
|
|
33
|
+
"getApplicationLabelsUsingGET1",
|
|
34
|
+
"editApplicationLabelsUsingPOST",
|
|
35
|
+
"removeAllApplicationLabelsUsingDELETE",
|
|
36
|
+
"getApplicationLabelsUsingGET",
|
|
37
|
+
"resolveApplicationUsingPOST",
|
|
38
|
+
"getApplicationRevisionsUsingGET",
|
|
39
|
+
"getApplicationRisksUsingGET",
|
|
40
|
+
"getApplicationVulnerabilitiesUsingGET"
|
|
41
|
+
],
|
|
42
|
+
"external_name": "ph_request_type"
|
|
43
|
+
},
|
|
44
|
+
"pageNumber": {
|
|
45
|
+
"type": "number",
|
|
46
|
+
"description": "The page number",
|
|
47
|
+
"parse": false,
|
|
48
|
+
"encode": false,
|
|
49
|
+
"encrypt": {
|
|
50
|
+
"type": "AES",
|
|
51
|
+
"key": ""
|
|
52
|
+
},
|
|
53
|
+
"external_name": "page_number"
|
|
54
|
+
},
|
|
55
|
+
"pageSize": {
|
|
56
|
+
"type": "number",
|
|
57
|
+
"description": "The page size",
|
|
58
|
+
"parse": false,
|
|
59
|
+
"encode": false,
|
|
60
|
+
"encrypt": {
|
|
61
|
+
"type": "AES",
|
|
62
|
+
"key": ""
|
|
63
|
+
},
|
|
64
|
+
"external_name": "page_size"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"definitions": {}
|
|
68
|
+
}
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "getApplicationFlowsUsingGET",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"entitypath": "{base_path}/{version}/applications/{pathv1}/flows?{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": "mockdatafiles/getApplicationFlowsUsingGET-default.json"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "editApplicationFlowUsingPOST",
|
|
26
|
+
"protocol": "REST",
|
|
27
|
+
"method": "POST",
|
|
28
|
+
"entitypath": "{base_path}/{version}/applications/{pathv1}/flows?{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": "mockdatafiles/editApplicationFlowUsingPOST-default.json"
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "createApplicationFlowUsingPOST",
|
|
46
|
+
"protocol": "REST",
|
|
47
|
+
"method": "POST",
|
|
48
|
+
"entitypath": "{base_path}/{version}/applications/{pathv1}/flows/new?{query}",
|
|
49
|
+
"requestSchema": "schema.json",
|
|
50
|
+
"responseSchema": "schema.json",
|
|
51
|
+
"timeout": 0,
|
|
52
|
+
"sendEmpty": 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": "getFlowUsingGET",
|
|
66
|
+
"protocol": "REST",
|
|
67
|
+
"method": "GET",
|
|
68
|
+
"entitypath": "{base_path}/{version}/applications/{pathv1}/flows/{pathv2}?{query}",
|
|
69
|
+
"requestSchema": "schema.json",
|
|
70
|
+
"responseSchema": "schema.json",
|
|
71
|
+
"timeout": 0,
|
|
72
|
+
"sendEmpty": false,
|
|
73
|
+
"sendGetBody": 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": "deleteFlowByIdUsingDELETE",
|
|
87
|
+
"protocol": "REST",
|
|
88
|
+
"method": "DELETE",
|
|
89
|
+
"entitypath": "{base_path}/{version}/applications/{pathv1}/flows/{pathv2}?{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": "runConnectivityOnFlowUsingPOST",
|
|
107
|
+
"protocol": "REST",
|
|
108
|
+
"method": "POST",
|
|
109
|
+
"entitypath": "{base_path}/{version}/applications/{pathv1}/flows/{pathv2}/check_connectivity?{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": "getFlowRisksUsingGET",
|
|
127
|
+
"protocol": "REST",
|
|
128
|
+
"method": "GET",
|
|
129
|
+
"entitypath": "{base_path}/{version}/applications/{pathv1}/flows/{pathv2}/risks?{query}",
|
|
130
|
+
"requestSchema": "schema.json",
|
|
131
|
+
"responseSchema": "schema.json",
|
|
132
|
+
"timeout": 0,
|
|
133
|
+
"sendEmpty": false,
|
|
134
|
+
"sendGetBody": false,
|
|
135
|
+
"requestDatatype": "JSON",
|
|
136
|
+
"responseDatatype": "JSON",
|
|
137
|
+
"headers": {},
|
|
138
|
+
"responseObjects": [
|
|
139
|
+
{
|
|
140
|
+
"type": "default",
|
|
141
|
+
"key": "",
|
|
142
|
+
"mockFile": "mockdatafiles/getFlowRisksUsingGET-default.json"
|
|
143
|
+
}
|
|
144
|
+
]
|
|
145
|
+
}
|
|
146
|
+
]
|
|
147
|
+
}
|