Skip to content

Commit 55ab0c4

Browse files
committed
Readme update. Added security.md
1 parent b706e34 commit 55ab0c4

File tree

4 files changed

+21
-11
lines changed

4 files changed

+21
-11
lines changed

README.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,25 @@
11
# API server
22

3-
**Note**: this represents a part of the peer metrics WebRTC service. Check out the full project [here](https://github.com/peermetrics/peermetrics).
3+
> [!Note]
4+
> This repo is only one part of the bigger peer metrics WebRTC monitoring service. Check out the full project [here](https://github.com/peermetrics/peermetrics).
45
56
This folder contains code for the API server used to ingest the metrics sent by the [SDK](https://github.com/peermetrics/sdk-js).
67

78
* [How it works](#how-it-works)
89
* [How to run locally](#how-to-run-locally)
910
* [Tech stack](#tech-stack)
1011
* [Models](#models)
11-
* [Organization](#organization)
12-
* [App](#app)
13-
* [Conference](#conference)
14-
* [Participant](#participant)
15-
* [Session](#session)
16-
* [GenericEvent](#genericevent)
12+
* [Organization](#organization)
13+
* [App](#app)
14+
* [Conference](#conference)
15+
* [Participant](#participant)
16+
* [Session](#session)
17+
* [GenericEvent](#genericevent)
18+
1719
* [Routes](#routes)
18-
* [Public](#public)
19-
* [Private](#private)
20+
* [Public](#public)
21+
* [Private](#private)
22+
2023

2124
## How it works
2225

SECURITY.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
Thank you for making peer metrics more secure.
3+
4+
## Reporting Security Issues
5+
6+
**Please do not report security vulnerabilities through public GitHub issues or pull requests.**
7+
8+
If you found a security vulnerability, please reach out to andrei@peermetrics.io.

app/views/job_webhook_view.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ def v1_summary(conference):
180180
try:
181181
emos_score = JobWebhookView.compute_emos(event_data, response_object[connection_id][-1]['data']['remote'])
182182
except Exception as e:
183+
log.error(f'Error while processing data for eMOS score: {e}')
183184
pass
184185

185186
track_kind = event_data.get('kind')

populate_db.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,6 @@ def get_event_request_body(
8181
'eventName': event_name,
8282
}
8383

84-
print(f'get_event_request_body: {event_name} {peer} {connection_id} {token}')
85-
8684
return data
8785

8886

0 commit comments

Comments
 (0)