Skip to content
This repository was archived by the owner on Dec 14, 2022. It is now read-only.

Commit 4bf22a9

Browse files
author
Chris Wiechmann
authored
Merge pull request #217 from Axway-API-Management-Plus/security-findings
Fixed assigned security findings
2 parents d6aaae8 + cb81a31 commit 4bf22a9

File tree

8 files changed

+4
-77
lines changed

8 files changed

+4
-77
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,7 @@ You can find more information about the individual certificates in the `.env` fi
804804
<p align="right"><a href="#table-of-content">Top</a></p>
805805

806806
### Secure API-Builder Traffic-Monitor API
807-
The API-Builder project for providing access to Elasticsearch data has no access restrictions right now. To ensure only API-Gateway Manager users (topology administrators with proper RBAC role) or other users with appropriate access rights can query the log data, one can expose this API via API-Manager and add security here.
807+
The API-Builder REST-API for accessing Elasticsearch data currently has no access restrictions. To ensure only API-Gateway Manager users (topology administrators with proper RBAC role) or other users with appropriate access rights can query the log data, one can expose this API via API-Manager and add security there.
808808

809809
To import the API Builder application REST-API into your API-Manager, you can access the Swagger/OpenAPI definition here (replace docker-host and port appropriately for the container that is hosting the API-Builder project):
810810
https://docker-host:8443/apidoc/swagger.json?endpoints/trafficMonitorApi

apibuilder4elastic/blocks/post_example.js

Lines changed: 0 additions & 13 deletions
This file was deleted.

apibuilder4elastic/blocks/pre_example.js

Lines changed: 0 additions & 14 deletions
This file was deleted.

apibuilder4elastic/conf/default.js

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ module.exports = {
6565
// default configuration.
6666

6767
// API key
68-
apikey: 'MH8gIje1mN0lAw5I3O52PmJ6JTC0sIOT',
68+
apikey: '',
6969

7070
// This is the base url the service will be reachable at not including the
7171
// port
@@ -195,23 +195,11 @@ module.exports = {
195195

196196
// You can generally leave this as-is since it is generated for each new
197197
// service you created.
198-
session: {
199-
encryptionAlgorithm: 'aes256',
200-
encryptionKey: 'fJuOadXFZcAh8G4MJ8ZairnpHIyNy4RSeeXm0Vksr20=',
201-
signatureAlgorithm: 'sha512-drop256',
202-
signatureKey: 'ETYlfmj6UYDok4HkzsApDqsjpvaavoZvs3UX2E1uMQ527pE9BQfRJ5C09n3IuQANg31ruSUp5q71EDjn01N7Jw==',
203-
// should be a large unguessable string
204-
secret: 'cYg2YZ8gGL3WnHDo01MrE+0QezqEhXZT',
205-
// how long the session will stay valid in ms
206-
duration: 86400000,
207-
// if expiresIn < activeDuration, the session will be extended by
208-
// activeDuration milliseconds
209-
activeDuration: 300000
210-
},
198+
session: { },
211199

212200
// If you want signed cookies, you can set this value. if you don't want
213201
// signed cookies, remove or make null
214-
cookieSecret: '9GGH5fVoGbl45JnHHV0YSn032D+/g5oR',
202+
cookieSecret: '',
215203

216204
// Your connector configuration goes here
217205
connectors: {

apibuilder4elastic/schemas/error.json

Lines changed: 0 additions & 12 deletions
This file was deleted.
Binary file not shown.
-5.3 KB
Binary file not shown.

apibuilder4elastic/web/public/index.html

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)